@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300&family=Cormorant+Unicase:wght@400&family=WindSong&display=swap');
html{
    overflow-x: hidden;
}
body{
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    max-width: 100%;
    overflow: hidden;
}
section{
    padding: 50px;
}
a{
    text-decoration: none;
}
h2, h3, h4{
    font-weight: bolder;
    margin-top: 0;
    color: rgb(62, 104, 105);
    text-transform: uppercase;
}
h2{
    font-size: 30px;
}
h3{
    font-size: 25px;
}
p{
    text-align: justify;
}

.hidden{
    display: none !important;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    font-size: 40px;
    background-color: white;
    width: 100%;
}
.header__container{
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
}
.dr{
    color: black;
    font-size: 40px;
}
.menu__list{
    list-style-type: none;
    display: flex;
}
.menu__list2{
    display: none;
}
.menu__link{
    color: black;
    font-size: 22px;
    padding: 0 15px;
}
.header__menu img{
    display: none;
}
.menu__list_burger{
    display: none;
}

/* section1 */
.section1{
    padding: 0;
}
.section1 p{
    margin-top: 0;
}
.section1_wrapper{
    display: flex;
    flex-direction: row-reverse;
    position: relative;
    padding-left: 50px;
    margin-top: 100px;
    height: calc(100vh - 100px);
    overflow: hidden;
}
.text{
    width: 100%;
    display: flex;
    flex-direction: column;
    z-index: 10;
    justify-content: center;
    padding-bottom: 50px;
}
.picture{
    text-align: right;
    overflow: hidden;
    z-index: 8;
    display: flex;
    height: fit-content;
}
.dr-main{
    display: flex;
    margin-top: auto;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.section1_wrapper:after {
	content: "";
	display: block;    
	width: 100%;
	height: 100%;    
	position: absolute;
	top: 0;      
	left: 0;   
	background: linear-gradient(to bottom, transparent, #a5a5a5);
    }
h1{
    font-size: 35px;
    font-weight: lighter;
}
.section1 a{
    color: white;
    background-color: rgb(58, 79, 80);
    padding: 10px 70px;
    margin: 0 auto 0 0;
}




/* section2 */
.grey{
    background-color: #ecebeb;
}
.section2{
    display: grid;
    grid-template-columns: 50px auto;
    grid-gap: 20px;
    align-items: center;
}
.section2 img{
    height: 50px;
}
.section2 p{
    margin: 0;
}

/* section3 */
.videos2{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 10px;
}
.videos{
    display: none;
    position: relative;

}
video{
    width: 100%;
}
.prev, .next{
    position: absolute;
    top: calc(50% - 25px);
    font-size: 25px;
    text-shadow: white 2px 0px 2px;
}
.next{
    right: 0;
    text-shadow: white -2px 0px 2px;

}
.prev:hover, .next:hover{
    cursor: pointer;
}

/* section4 */
.section4 .slider2, .section5 .slider2{
    margin: 0 auto;
    padding: 10px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 10px;
}
.section4 .slider, .section5 .slider{
    display: none;
    position: relative;
}
.section4 .slider2 img, .section5 .slider2 img{
    width: 100%;
}
/* section5 */
.section5 .button{
    color: white;
    background-color: rgb(58, 79, 80);
    padding: 10px 70px;
    width: fit-content;
    display: flex;
    justify-content: center;
    margin: 50px auto 0 auto;
    transform: translate(0, 200px);
    opacity: 0;
    transition: all .8s ease 0s;
}
.section5 .button._active{
    opacity: 1;
    transform: translate(0, 0);
}



/* section6 */
.section6 .slider0{
    position: relative;
}
.section6 .slider{
    margin: 0 150px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 10px;
}
.review{
    display: none;
}
.review:nth-child(1), .review:nth-child(2), .review:nth-child(3){
    display: flex;
    flex-direction: column;
    background-color: rgb(58, 79, 80);
    padding: 20px;
    height: 90%;
    color: rgb(216, 216, 216);
}
.review p{
    text-align: left;

}
.review__name{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.review__name *{
    margin: 0;
    font-weight: bolder;
}
.person{
    height: 50px;
    margin-right: 10px;
}
.section6 .prev, .section6 .next{
    top: 25px;
    color: rgb(58, 79, 80);
    text-shadow:  white 2px 0px 2px;
}
.section6 .prev{
    left: 110px;
}
.section6 .next{
    right: 110px;
}

/* section7 */
.section7_wrapper{
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
}
.questions_img{
    width: 30%;
    position: relative;
}
.after{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}
.after._active{
    opacity: 1;
    transform: translate(0, 0);
}

.after img{
    width: 100%;
    z-index: 10;
}
.after:after{
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgb(187, 161, 128);
    position: absolute;
    top: -15px;
    left: 15px;
    z-index: -1;
}
.section7_questions{
    width: 70%;
}
.panel{
    display: none;
    margin-right: 40px;
    text-align: justify;
}
.visible{
    display: block;
}
.section7 a{
    cursor: pointer;
}
.section7 h4{
    text-transform: none;
    font-weight: bolder;
}
.accordion{
    display: flex;
    flex-direction: column;
    margin: 5px;
    transform: translate(0, 200px);
    opacity: 0;
    transition: all .8s ease 0s;
}
.question{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.question:hover{
    cursor: pointer;
}
.question img{
    margin: 7px 10px;
    height: 15px;
}
.accordion h4{
    margin: 0;
}
.answer p{
    margin:0 2em 0 0 ;
}
.section7 h4{
    font-size: larger;
}

/* section8 */
.section8_wrapper{
    display: grid;
    grid-template-columns: 3fr 7fr;
    grid-column-gap: 10px
}
.about_img img{
    width: 100%;
    height: auto;
    z-index: 20;
}
.aboutme{
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.aboutme_section{
    display: flex;
    flex-direction: column;
    transform: translate(200vw, 0);
    opacity: 0;
    transition: all 1s ease 0s;
    overflow: hidden;
}
.aboutme_section._active{
    opacity: 1;
    transform: translate(0,0);
}
.aboutme_section img{
    margin:3px 10px;
    height: 15px;
}
.section8 .quest{
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.quest:hover{
    cursor: pointer;
}
.quest img{
    margin: 7px 10px;
    height: 15px;
}

.aboutme_section p{
    margin: 0;
}
.section8 h4{
    margin: 15px auto 10px 0;
}
.section9{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
}
iframe{
    width: 100%;
}
.accordion._active{
    opacity: 1;
    transform: translate(0, 0);
}
.contacts{
    display: grid;
    grid-template-columns: 90px 1fr;
}
.contacts p{
    margin: 0;
}
footer{
    font-size: 15px;
    padding:0 50px;
}

@media all and (max-width:1200px){
    .header__menu img{
        display: block;
        height: 25px;
        position: relative;
        top: 0;
        right: 0;
    }
    .menu__list{
        display: none;
    }
    .menu__list2{
        display: block;
        position: fixed;
        margin: 0;
        top: 50px;
        right: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(250, 250, 250, 1);
        flex-direction: column;
        text-align: right;
        padding-right: 35px;
    }
    .section6 .slider{
        grid-template-columns: 1fr;
        margin: 0 15vw;
    }
    .review:nth-child(2), .review:nth-child(3){
        display: none;
    }
    .section6 .slider{
        margin: 0 150px;
    }
    
}

@media all and (max-width:900px){
    section{
        padding: 50px 20px;
    }
    .header__container{
        padding: 0 15px;
        height: 50px;
    }
    .menu_list2{
        top: 50px;
    }
    .dr{
        font-size: 30px;
    }
    .header__menu img{
        height: 20px;
    }  
    .section1_wrapper{
        padding: 0;
        margin-top: 70px;
    }
    .section1_wrapper{
        flex-direction: column;
        height: auto;
    }
    h1{
        font-size: 25px;
    }
    .text{
        text-align: center;
        position: relative;
        top: -80px;
        margin-bottom: -80px;
        background-color: rgba(180, 182, 184, .9);
        padding-bottom: 20px;
    }
    .text >*{
        margin: 0;
        padding: 10px 20px;
    }
    .section1 a{
        margin: 20px auto;
    }
    .section2{
        grid-template-columns: 30px auto;
        grid-gap: 10px;
    }
    .section2 img {
        height: 30px;
    }
    .videos2, .section4 .slider2, .section5 .slider2{
        display: none;
    }
    .section4 .slider, .section5 .slider{
        display: none;
    }
    .section3 .videos, .section4 .slider, .section5 .slider{
        display: grid;
        grid-template-columns: 1fr;
    }
    .section4 .slider img, .section5 .slider img{
        width: 100%;
    }
    .section6 .slider{
        margin: 0 25px;
    }
    .section6 .next{
        right: 0;
    }
    .section6 .prev{
        left: 0;
    }

    .section7_wrapper{
        flex-direction: column;
    }
    .section7_wrapper > *{
        width: 100%;
    }
    .section8_wrapper{
        display: flex;
        flex-direction: column;
    }
    .aboutme{
        margin: 0;
    }
    .aboutme_section{
        grid-column-gap: 0;
    }
    .aboutme_section img {
        margin: 3px 10px 3px 0;
    }
    .section9{
        grid-template-columns: 1fr;
        grid-column-gap: 0;
        font-size: 18px;
    }
    footer{
        padding: 0 20px;
    }
    
    
    
}








