/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

:root {
    --background-primary: #FFFFFF;
    --background-secondary: #F2F2F2;
    --primary: #2F4157;
    --secondary: #577C8E;
    --contact: #262626;
    --accent: #333333;

    --section-margin-3xl: 164px;
    --section-margin-2xl: 128px;
    --section-margin-xl: 92px;
    --section-margin-lg: 64px;
    --section-margin-base: 32px;
}

* {
    font-family: 'Poppins';
}

html {
	scroll-behavior: smooth;
}

/**** BUTTONS ****/

.btn {
    display: inline-flex;
    flex: 0 0 auto;        
    align-self: flex-start;
    justify-content: center;
    align-items: center;
    gap: 8px;

    border-radius: 1000px;
    padding: 12px 24px;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

.btn-not-float {
    display: flex; 
    justify-content: center;
    align-items: center;
    gap: 8px;

    border-radius: 1000px;
    padding: 12px 24px;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

.btn-link {
    display: flex;     
    align-self: center;
    justify-content: center;
    align-items: center;
    gap: 8px;

    border-radius: 1000px;
    padding: 12px 24px;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

.btn-primary {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);

    transition: all 0.5s ease;
}

.btn-primary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover.btn-arrow::after {
    content: url("./assets/icons/arrow_down_white.svg");
    transform: rotate(-90deg);
}

.btn-primary:hover.btn-arrow__white::after {
    transform: rotate(-90deg);
}

.btn-secondary__special:hover {
    color: white !important;
}

.btn-secondary__special:hover.btn-arrow__white::after{
    content: url("./assets/icons/arrow_down_white.svg") !important;
}

.btn-primary:hover path {
    stroke: #FFF !important;
}

.btn-secondary {
    background-color: var(--primary);
    color: white;
    transition: all 0.5s ease;
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover.btn-arrow__white::after {
    content: url("./assets/icons/arrow_down.svg");
    transform: rotate(-90deg);
}

.btn-secondary svg path {
    fill: white !important;
}

.btn-arrow::after {
    content: url("./assets/icons/arrow_down.svg");
    width: 24px;
    height: 24px;
    transition: all 0.5s ease;
}

.btn-arrow__white::after {
    content: url("./assets/icons/arrow_down_white.svg");
    width: 24px;
    height: 24px;
    transition: all 0.5s ease;
}

.btn-black {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.btn-white {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.btn-black::after {
    content: url("./assets/icons/carbon_return.svg");
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-white::after {
    display: flex;
    justify-content: center;
    align-items: center;
    content: url("./assets/icons/waga.svg");
}



.section-container {
    width: 100%;
    padding-left: var(--section-margin-2xl) !important;
    padding-right: var(--section-margin-2xl) !important;
}

@media (min-width: 1440px) { .section-container { padding-left: var(--section-margin-3xl) !important;
                                                padding-right: var(--section-margin-3xl) !important; } }

@media (max-width: 991px) { .section-container { padding-left: var(--section-margin-xl) !important;
                                                padding-right: var(--section-margin-xl) !important; } }

@media (max-width: 767px) { .section-container { padding-left: var(--section-margin-lg) !important;
                                                padding-right: var(--section-margin-lg) !important; } }

@media (max-width: 478px) { .section-container { padding-left: var(--section-margin-base) !important;
                                                padding-right: var(--section-margin-base) !important; } }

.section-container__top-radius {
    border-top-left-radius: 80px;  
    border-top-right-radius: 80px; 
    background: linear-gradient(to right, #284B6E 50%, #262626 50%);
}

@media (max-width: 767px) {
    .section-container__top-radius {
        background: linear-gradient(to bottom, #284B6E 45%, #262626 45%);
    }
}

.text-primary {
    font-family: 'Poppins';
}

.accordeon-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.accordeon-element .accordion-title-wrapper {
    padding: 12px 28px;
    background-color: var(--background-primary);
    border-radius: 50px;
}

.accordeon-element .accordion-content-wrapper {
    padding-left: 28px !important;
    padding-right: 28px !important;
    background-color: var(--background-primary);
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    font-size: 18px;
}

.brx-open .accordion-title-wrapper {
    background-color: var(--secondary) !important;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.brx-open .brxe-heading {
    color: white !important;
}

.brx-open svg rect {
    fill: white !important;
}

.brx-open svg path:last-child {
    fill: var(--secondary) !important;
}

.accordeon-element .brxe-heading {
    color: black;
    font-weight: 500;
}

.mobile-menu {
    display: none;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    background-color: white;
}

.mobile-menu__container {
    position: fixed;
    display: flex;
    flex-direction: column;
    color: white;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100vw;
    height: 100vh;
    top: 0;
    right: 0;
    background-color: #284B6E;
    transform: translateX(100vw);

    transition: all 0.5s ease;
}

.mobile-menu__container--open {
    transform: translateX(0);
}

.mobile-menu__container svg path {
    stroke: white;
}  

.btn-primary--negative {
    border: 1px solid white;
    color: white;
}

textarea {
    border-radius: 20px !important;
}

input[type="file"] {
    padding: 0 !important;
}

.choose-files {
    border: none;
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.choose-files::before {
    content: url("./assets/icons/file.svg");
    margin-right: 5px;
}

.options-wrapper li {
  display: flex;
  align-items: flex-start; 
  gap: 8px;
}

.options-wrapper input[type="checkbox"] {
  margin: 3px 0 0;
  flex-shrink: 0;
}

.options-wrapper label {
  flex: 1;
  line-height: 1.4;
}


@media (max-width: 1260px) {
    .header-nav, .icon-links {
        display: none !important;
    }
    
    .mobile-menu {
        display: flex;
        justify-content: center;
        align-items: center;

        z-index: 99;
    }
}


/**** FONTS ****/

.text-xs { font-size: 12px; }
@media (max-width: 991px) { .text-xs { font-size: 12px; } }
@media (max-width: 767px) { .text-xs { font-size: 12px; } }
@media (max-width: 478px) { .text-xs { font-size: 12px; } }

.text-sm { font-size: 14px; }
@media (max-width: 991px) { .text-sm { font-size: 12px; } }
@media (max-width: 767px) { .text-sm { font-size: 12px; } }
@media (max-width: 478px) { .text-sm { font-size: 12px; } }

.text-base { font-size: 16px; }
@media (max-width: 991px) { .text-base { font-size: 14px; } }
@media (max-width: 767px) { .text-base { font-size: 12px; } }
@media (max-width: 478px) { .text-base { font-size: 12px; } }

.text-lg { font-size: 18px; }
@media (max-width: 991px) { .text-lg { font-size: 16px; } }
@media (max-width: 767px) { .text-lg { font-size: 14px; } }
@media (max-width: 478px) { .text-lg { font-size: 12px; } }

.text-xl { font-size: 20px; }
@media (max-width: 991px) { .text-xl { font-size: 18px; } }
@media (max-width: 767px) { .text-xl { font-size: 16px; } }
@media (max-width: 478px) { .text-xl { font-size: 14px; } }

.text-2xl { font-size: 24px; }
@media (max-width: 991px) { .text-2xl { font-size: 20px; } }
@media (max-width: 767px) { .text-2xl { font-size: 18px; } }
@media (max-width: 478px) { .text-2xl { font-size: 16px; } }

.text-3xl { font-size: 30px; }
@media (max-width: 991px) { .text-3xl { font-size: 24px; } }
@media (max-width: 767px) { .text-3xl { font-size: 20px; } }
@media (max-width: 478px) { .text-3xl { font-size: 18px; } }

.text-4xl { font-size: 36px; }
@media (max-width: 991px) { .text-4xl { font-size: 30px; } }
@media (max-width: 767px) { .text-4xl { font-size: 24px; } }
@media (max-width: 478px) { .text-4xl { font-size: 20px; } }

.text-5xl { font-size: 48px; }
@media (max-width: 991px) { .text-5xl { font-size: 36px; } }
@media (max-width: 767px) { .text-5xl { font-size: 30px; } }
@media (max-width: 478px) { .text-5xl { font-size: 24px; } }

.text-6xl { font-size: 60px; }
@media (max-width: 991px) { .text-6xl { font-size: 48px; } }
@media (max-width: 767px) { .text-6xl { font-size: 36px; } }
@media (max-width: 478px) { .text-6xl { font-size: 30px; } }

.text-7xl { font-size: 72px; }
@media (max-width: 991px) { .text-7xl { font-size: 60px; } }
@media (max-width: 767px) { .text-7xl { font-size: 48px; } }
@media (max-width: 478px) { .text-7xl { font-size: 36px; } }

.text-8xl { font-size: 96px; }
@media (max-width: 991px) { .text-8xl { font-size: 72px; } }
@media (max-width: 767px) { .text-8xl { font-size: 60px; } }
@media (max-width: 478px) { .text-8xl { font-size: 48px; } }

.text-9xl { font-size: 128px; }
@media (max-width: 991px) { .text-9xl { font-size: 96px; } }
@media (max-width: 767px) { .text-9xl { font-size: 72px; } }
@media (max-width: 478px) { .text-9xl { font-size: 60px; } }


.animate path {
    animation: draw 1.5s linear forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}