body {
    background-color: #FFF9F3;
}

a {
    text-decoration: none;
}

header {
    background-image: url('../img/54b1d1569e027c592590b333ed34717698b7bb57.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1; /* Чтобы содержимое header было поверх затемнения */
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000033; /* Затемнение */
    z-index: 0; /* Затемнение будет под содержимым */
}


.size {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    /* border: 2px solid red; */
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* заменено с 0.5 на 0.2 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 10;
}


/* PopUP */
#popUP {
  background-color: #FFFCFA;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 50%;
  left: 50%;
    transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  z-index: 10000 !important;
  text-align: center;
  /* width: 90%;          */
  max-width: 839px;    
  height: auto;
  max-height: max-content;    
  /* overflow-y: auto;     */
  border-radius: 40px;
  padding: 25px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;

    .ModalLogo {
        width: 140px; 
        height: 53px;
        margin-top: 70px;
    }

    h2 {
        font-weight: 600;
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 0%;
        text-align: center;
        vertical-align: bottom;
        color: #232323;
        margin-top: 12px;
    }

    p {
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 0%;
        text-align: center;
        color: #999999;
        margin-top: 12px;
    }

    .switchButtons {
        width: 361px;
        height: 46px;
        border-radius: 100px;
        padding: 2px;
        background-color: #F5F5F5;
        display: flex;
        flex-direction: row;
        margin-top: 12px;

        button {
            width: 179px;
            height: 42px;
            border-radius: 100px;
            padding-top: 3px;
            padding-right: 10px;
            padding-bottom: 3px;
            padding-left: 10px;
            color: #616161;
            background-color: #F5F5F5;
            font-weight: 400;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0%;
            text-align: center;
            border: none;
            cursor: pointer;

        }

        .active {
            background-color: #FFFFFF;
            border: 0.5px solid #0000000A;
            box-shadow: 0px 3px 1px 0px #0000000A;
            color: #000000;
        }
    }
    form {
        display: flex;
        flex-direction: column;
        height: max-content;
        /* bordeR: 2px solid red; */

        label {
            color: #1A1919;
            font-weight: 400;
            font-size: 20px;
            line-height: 28px;
            letter-spacing: 0%;
            text-align: start;
            padding-top: 8px;
            padding-right: 16px;
            padding-left: 16px;
        }
        div {
            width: 629px;
            height: 48px;
            border-radius: 99px;
            padding-right: 16px;
            padding-bottom: 8px;
            padding-left: 16px;
            display: flex;
            flex-direction: row;
            align-items: center;
            background-color: #FFF9F3;

            img {
                width: 17px;
                height: 15px;

            }
        }
        input {
            width: 629px;
            height: 48px;
            border: none;
            outline: none;
            background-color: #FFF9F3;
        }

        input[type='submit'] {
            width: 90%;
            margin-right: auto;
            margin-left: auto;
            height: 48px;
            border-radius: 100px;
            padding-top: 12px;
            padding-right: 10px;
            padding-bottom: 12px;
            padding-left: 10px;
            font-family: Mluvka;
            font-weight: 500;
            font-size: 16px;
            line-height: 100%;
            letter-spacing: 0%;
            text-align: center;
            color: #FFFFFF;
            background-color: #F07E26;
            margin-top: 25px;
        }
    }

    span {
        font-weight: 400;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0%;
        color: #F07E26;
        text-align: start;
        padding-right: 16px;
        padding-bottom: 8px;
        padding-left: 16px;
    }

    .line {
        margin-top: 37px;
        width: 180px;
        height: 2px;
        background-color: #B5B5B5;
        border: none;
    }
    
    .linesOr {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 37px;
    }
    
    .linesOr div {
        margin: 0 10px;
    }

    .googleButton {
        width: 629px;
        height: 40px;
        border-radius: 12px;
        gap: 12px;
        padding: 12px;
        border: 1px solid #E8DBDB;
        display: flex;
        flex-direction: row;
        margin-top: 12px;
       
        img {
            width: 30px;
            height: 30px;
        }

        button {
            width: 100%;
            border: none;
            background-color: #FFFCFA;
            cursor: pointer;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            font-weight: 500;
            font-size: 20px;
            line-height: 100%;
            letter-spacing: 0%;
            color: #000099;
            gap: 12px; 
        }
    }
}

/* Крестик */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: none;
    color:#ff6600;
    transition: 0.6s;
}

.close-btn:hover {
    color:#007A41;
    transition: 0.6s;
}

/* Кнопка */
#modalPage {
    margin: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

/* Анимация открытия */
.show-popup {
    opacity: 1 !important;
    visibility: visible !important;
    animation: zoomInUp 0.3s ease-in-out forwards;
}

/* Анимация закрытия */
.hide-popup {
    animation: zoomInDown 0.3s ease-in-out forwards;
}

/* Анимации */
@keyframes zoomInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }
    to {
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes zoomInDown {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }
}

/* Активные классы */
.active-overlay {
    opacity: 1 !important;
    visibility: visible !important;
}


.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
     z-index: 10001;
    width: 1120px;
    height: 30px;
    

    border-radius: 100px;
    border-image-source: linear-gradient(270.25deg, rgba(241, 241, 241, 0) 1.6%, rgba(218, 218, 218, 0.4) 100%);
    border-image-slice: 1;

    background: linear-gradient(90.26deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.39) 100%);
    backdrop-filter: blur(20px);

    box-shadow: 0px 0px 60px rgba(204, 204, 204, 0.1);

    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    
    /* position: fixed;
    z-index: 1000; */



.logoHeaderSize {
    width: 99px;
    height: 38px;

}
.othercontrols {
    display: flex;
    align-items: center;
    gap: 30px;
    a{
        color: white;
    }
}

.signIn {
    background: white;
    width: 134px;
    height: 49px;
    border-radius: 100px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 30px;
    padding-right: 30px;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #F07E26;
    border: none;
    cursor: pointer;
    transition: 0.6s;

}

.signIn:hover {
    color: white;
    background-color: #007A41;
    transition: 0.6s;
}

a {
    text-decoration: none;
    color: #302F2F;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: #F07E26;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}


a img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

a:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px #007A41);
}




}



.sidebar {
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none; /* предотвращает клик по закрытой панели */
}

.sidebar.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.textHeadButton {
  transition: opacity 0.3s ease;
  opacity: 1;
}

.hide-text {
  opacity: 0;
  pointer-events: none;
}

.textHeadButton {
    text-align: center;
    color: #fff;
    width: 1120px;
    margin-top: 50px;
    position: absolute;
    z-index: 2;

}

.textHeadButton h1 {
    color: #F9F9F9;
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0%;
    text-align: center;
    

}


.textHeadButton p {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    color: white;    
    font-weight: bold;

}

.page-part {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding-top: 24px;
    padding-right: 12px;
    padding-bottom: 24px;
    padding-left: 12px;


    p, a {

            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0%;
            color: #939393;

        span {
            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0%;
            color: #F07E26;
        }

        h5 {
            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0%;
            color: #2B2828;
        }
    }
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    margin-top: 45px;
    gap: 5px;

    h2 {
        font-weight: 700;
        font-size: 32px;
        line-height: 24px;
        letter-spacing: 0%;
        color: #000000;        
        margin-bottom: 20px;
    }
    
    p {
        font-weight: 400;
        font-size: 20px;
        line-height: 40px;
        letter-spacing: 0%;
        color: black;
    }

    span {
        font-weight: 600;
        font-size: 20px;
        line-height: 40px;
        letter-spacing: 0%;
        color: black;
    }

    a {
        font-weight: 400;
        font-size: 20px;
        line-height: 40px;
        letter-spacing: 0%;
        text-decoration: underline;
        text-decoration-style: solid;
        text-decoration-offset: 0%;
        text-decoration-thickness: 0%;
        text-decoration-skip-ink: auto;
        color: #F48F1D;
    }
}


.footerLogoText {
    .footerLogoSize {
        width: 225px;
        height: 85px;
    
    }
    p {
        font-weight: 500;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0%;
        color: #363434;
        margin-top: 16px;
    }
}

.infoFooter {
    span {
        font-weight: 700;
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0%;
        color: #B6B6B6;
    }

    a {
        text-decoration: none;
        font-weight: 500;
        font-size: 18px;
        line-height: 26px;
        letter-spacing: 0%;
        color: #363434;
    }
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-top: 130px;
    background-color: #FFFFFF;
    padding-top: 60px;
    padding-bottom: 32px;

    .infoFooter {
        display: flex;
        flex-direction: row;
        gap: 50px;

        .numberMail {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .socialIconsLinks {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
    }

}

.underFooter {
    box-sizing: border-box;
    padding-right: 160px;
    padding-bottom: 10px;
    padding-left: 160px;
    padding-top: 10px;
    background-color: #FFFFFF;
    position: relative;

    span {
        font-weight: 500;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: right;
        color: #B5B5B5;
    }

    .line {
        position: absolute; 
        left: 0;
        right: 0;
        top: -2px;
        width: 100%;
        height: 2px;
        background-color: #B5B5B5;
        border: none; 
    }
}


.oneLevelmgText {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.oneLevelmgText a {
    display: flex;
    align-items: center;
    gap: 8px; 
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: #363434;
}

.oneLevelmgText img {
    width: 24px;
    height: 24px;
}

.numberMail a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: #363434;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.numberMail a:hover {
    color: #F07E26;
    text-shadow: 0 1px 6px rgba(240, 126, 38, 0.4);
}

.oneLevelmgText a {
    display: flex;
    align-items: center;
    gap: 8px; 
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: #363434;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.oneLevelmgText a:hover {
    color: #F07E26;
    text-shadow: 0 1px 6px rgba(240, 126, 38, 0.4);
}

.oneLevelmgText img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.oneLevelmgText a:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 10px rgba(240, 126, 38, 0.5));
}
@media (max-width: 768px) {
    footer {
        flex-direction: column; /* Меняем направление на вертикальное */
        align-items: flex-start;
        padding-top: 40px;
    }

    .footerLogoText {
        text-align: start !important;
        margin-bottom: 20px;
        padding: 15px !important;

        p {
            text-align: start;

            br {
                display: none;
            }
        }
    }

    .footerLogoSize {
        width: 180px; 
        height: 70px;

        p {
            font-size: 14px;
            line-height: 22px;
            color: #363434;
            margin-top: 10px;
            text-align: center;
        }
    }



    .infoFooter {
        display: flex;
        flex-direction: column !important;
        gap: 20px;
        margin-top: 20px;
        padding: 20px;
    }

    .socialIconsLinks, .numberMail {
        display: flex;
        flex-direction: column;
        gap: 15px;

        span {
            text-align: start;
        }
    }

    .oneLevelmgText a {
        font-size: 16px;
    }

    .underFooter {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 20px;
        padding-bottom: 20px;

        span {
            text-align: center;
            font-size: 12px !important;
        }
    }

    .line {
        width: 100%;
        top: 0;
    }


}

@media (max-width: 1024px) {
    header {
        height: 600px; 
    }
    
    .textHeadButton {
        max-width: 80%;
        margin-left: 5%;
    }

    .textHeadButton h1 {
        font-size: 32px !important;
    }

    .textHeadButton p {
        font-size: 18px !important;
    }

    .textHeadButton a button {
        font-size: 16px;
        padding: 10px 20px;
    }
}



@media (max-width: 480px) {
    header {
        height: 400px;
    }

    .textHeadButton {
        max-width: 95%;
        margin-left: 3%;
    }

    .textHeadButton h1 {
        font-size: 20px;
    }

    .textHeadButton p {
        font-size: 12px;
    }

    .textHeadButton a button {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .navbar {
        max-width: 100% !important;
        border-radius: 0px;
        padding: 0 !important;
        margin: 0 !important;
        top: 0 !important; 
        right: 0 !important;
        padding: 20px !important;
        margin: 10px !important;
        border: none; /* убираем бордер */
        border-image: none;
        background: transparent; /* полностью прозрачный фон */
        backdrop-filter: none; /* убираем размытие */
        box-shadow: none; /* убираем тень */
    }

    .sidebar {
        display: block !important;
    }

    .openbtn {
        display: block !important;
    }

    .overlaytus {
        display: block !important;
    }

    .othercontrols {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .navbar {
        width: 100% !important;
        border-radius: 0;
        padding: 0 !important;
        margin: 0 !important;
        top: 0 !important;
        right: 0 !important;
        border: none;
        border-image: none;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        margin: 0 auto !important;
        justify-content: space-between;
        backdrop-filter: blur(7.699999809265137px);
        position: fixed;
        padding: 20px !important;
        margin-left: 10px !important;
    }

    .sidebar {
        display: block !important;
    }

    .openbtn {
        display: block !important;
    }

    .overlaytus {
        display: block !important;
    }

    .othercontrols {
        display: none !important;
    }
}



@media (max-width: 480px) {
    .navbar {
        padding: 12px !important;
        margin: 0 6px 0 6px !important;
    }
}