@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');


* {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

body{
    background-color: #1A1A1A;
    color: white;
    font-size: 18px;
}

h1{
    font-size: 60px;
}
h2{
    font-size: 48px;
}

h6{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
}
a{
    color: #f1ae0e;
}
.image-block-small{
    width: 366px;
    height: 375px;
    border-radius: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.gap-16{
    gap: 16px;
}
.p-32{
    padding: 32px 0;
}

.image-block-big{
    width: 540px;
    height: 521px;
    border-radius: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.button{
    background-color: #f1ae0e;
    display: inline-block;
    padding: 8px 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    cursor: pointer;
    border-radius: 8px;
}
.button:hover{
    background-color: #d2980e;
}
.button-green{
    background-color:#99e54d ;
}
.button-green:hover{
    background-color: #70ad34;
}
.header{
    background-color: #F9F6EE;
    color: #111111;
    text-transform: uppercase;
    font-size: 16px;
    padding: 32px 0;
}
.header a{
    color: #111111;
    padding: 10px 20px;
}

.header a:hover{
    color: #f1ae0e;
}

.container{
    max-width: 1140px;
    padding: 0 20px;
    margin: 0 auto;
}

.light-flex{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.flex{
    display: flex;
    flex-wrap: wrap;
}

.close-burger{
    font-size: 21px;
    padding: 16px ;
    text-align: right;
    display: none;

}

.close-burger span:hover{
    color: #f1ae0e;
    cursor: pointer;
}
.adaptive-header{
    background-color: #F9F6EE;
    color: #111111;
    font-size: 21px;
    text-align: center;
    padding: 16px 0;
    display: none;
    position: fixed;
    width: 100%;
}
.adaptive-header span:hover{
    cursor: pointer;
    color: #f1ae0e;
}
@media screen and (max-width: 520px) {
    .header{
        position: fixed;
        width: 200px;
        height: 100vh;
        background-color: black;
        color: white;
        padding-right: 16px;
        padding-left: 16px;
        display: none;
    }
    .adaptive-header{
        display: block;
    }
    .close-burger{
        display: block;
    }
    .header a{
        color: white;
    }
    .adaptive-menu{
        flex-direction: column;
        gap: 16px;
    }
}

.text-block{
    max-width:583px ;
    padding-top: 300px;
}
.text-block h1{
    margin: 21px 0;
}

.main-banner{
    width: 100%;
    height: 800px;
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 1240px){
    .text-block{
        padding-top: 200px;
        padding-left: 30px;
        text-align: center;
    }
}


.image-text{
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 16px 0;
    gap: 16px;
}

.image-text .text {
    max-width: 550px;
}
.image-text .image{
    width: 540px;
    height: 500px;

}
.image-text .image img{
    width: 100%;
    height: 100%;
    border-radius: 32px;
}

.image-text h6{
    margin: 16px 0;
}

@media screen and (max-width: 1185px) {
    .adaptive-flex{
        flex-direction: column;
    }
    .image-block-small{
        width: 100%;
        border-radius: 18px;
    }
    .image-text{
        flex-direction: column-reverse;
        align-items: center;
    }
    .image-text .image{
        width: 100%;
        height: auto;
    }
    .image-text .image img{
        width: 100%;
        height: auto;
    }
}

.menu-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 30px;
}
.main-menu{
    padding-top: 60px;
}
.main-menu h2{
    text-align: center;
}
.menu-flex{

    gap: 30px;
}
.menu-item img{
    width: 545px;
    height: 484px;
    border-radius: 16px;
}

@media screen and (max-width: 1175px) {
    .menu-flex{
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 600px) {
    .menu-item img{
        width: 100%;
        height: auto;
        border-radius: 16px;
    }
}
.footer-top{
    padding: 64px 32px;
    gap: 16px;
    justify-content: space-between;
}

.footer-top-item{
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
.footer-top-item p{
    color: #f1ae0e ;
}
.top-item-icon{
    width: 67px;
    height: 67px;
    border-radius: 50%;
    background-color: #99E54D;
    color: #1A1A1A;
    font-size: 21px;
}
.center{
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 720px) {
    .footer-top{
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
}
.footer-bottom{
    padding: 64px 32px;
    text-align: center;
    background-color: #333333;
}
.footer-bottom p{
    padding: 32px 0;
}
.about-us{
    background-color: #F9F6EE;
    padding: 64px 32px;
    color: #1A1A1A;
}
.about-us-item{
    margin: 16px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 32px;
    padding: 24px;
}
.about-us-item:nth-child(even)
{
    flex-direction: row-reverse;
}
.about-item-image img{
    width: 540px;
    height: 521px;
    border-radius: 16px;
}
.about-item-text{
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media screen and (max-width: 1220px) {
    .about-item-image img{
        width: 340px;
        height: 321px;
    }
}
@media screen and (max-width: 1010px) {
    .about-item-image img{
        width: 340px;
        height: 321px;
    }
    .about-us-item{
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 32px;
    }
    .about-us-item:nth-child(even)
    {
        flex-direction: column;
    }
}

@media screen and (max-width: 525px) {
    .about-item-image img{
        width: 340px;
        height: 321px;
    }
    .about-item-image img{
        width: 100%;
        height: auto;
    }
    .about-item-text p{
        font-size: 14px;
        padding: 0 8px;
    }
    .about-item-text h2{
        font-size: 21px;
    }
}

.contact{
    background-color: #F9F6EE;
    padding: 64px 32px;
}
.contact-form{
    background-color: white;
    color: #1A1A1A;
    border-radius: 32px;
    padding: 24px;
}
.contact-form p, .contact-form h2{
    text-align: center;
    padding: 8px 0;
}

.form-input{
    padding: 16px 0;
    width: 100%;
}

.form-input input, .form-input textarea{
    width: 90%;
    height: 46px;
    border: 2px solid #1A1A1A;
    padding: 4px 8px;
    outline: none;
    background-color: transparent;
    border-radius: 12px;

}

.form-input textarea{
    height: 120px;
    width: 95%;
}
.form-input button{
    outline: none;
    border:none ;
    padding: 16px 24px;
    font-size: 18px;
}



.double-input{
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.double-input .form-input{
    width: 45%;
}
@media screen and (max-width: 650px) {
    .double-input{
        flex-direction: column;
    }
    .double-input .form-input{
        width: 100%;
    }
    .contact-form h2{
        font-size: 21px;
    }
    .contact {
        padding: 64px 0;
    }

}

.menu-item p{
    max-width: 545px;
    text-align: center;
}

.login-form{
    color: #1A1A1A;
    max-width: 500px;
    margin: 32px auto;
    background-color: white;
    padding: 32px;
    border-radius: 16px;
}
.form-error{
    color: #d26565;
}
.about-item-text p{
	    word-break: break-word;
}