
html{
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    scroll-behavior:smooth;
}
*,
*::after,
*::before{
    box-sizing: inherit;
}
body{
    display: flex;
    flex-direction: column;
    font-size: 16px;
    line-height: 1.2;
    height: 100%;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}
.home{
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 4rem;
    width: 100%;
    height: 100vh;
    background-color: #e2eef7;
    margin-top: 2px;
}
.container{
    width: 100%;
    margin: 0 auto;
    height: 100%;
    padding: 0 15px;
}
.navbar{
    display: flex;
    flex-wrap: wrap;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 75px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: #294153;
    z-index: 1010;
}
.navbar__wrap{
    display:flex;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
}
.hamb{
    display: none;
}
.popup{
    display: none;
}
.logo{
    text-decoration: none;
    color:#294153;
    font-size: 20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}
.menu > li > a {
    text-decoration: none;
    font-size: 20px;
}
.navbar__wrap .menu{
    display: flex;
    flex-wrap: wrap;
}
.navbar__wrap .menu > li{
    display: flex;
    
}
.navbar__wrap .menu > li > a{
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #294153;
}
.navbar__wrap .menu > li > a:hover{
    border-bottom: 1px solid #294153;
}
.socialIcons{
    display: flex;
    flex-direction: column;
    margin-top: 500px;
    position: fixed;
    z-index: 1100;
}
.main{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #294153;
    margin-top: 100px;
}

.firstBlock, .secondBlock{
    display: flex;
    flex-wrap: wrap;
   justify-content: space-between;
   
}
.firstBlock{
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 550px;
    position: relative;
    z-index: 900;
   
}
button{
    border-radius: 20px;
    border: none;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-size: 20px;
    padding: 10px;
    width: 250px;
    text-transform: uppercase;
    margin: 5px;
}
a{
    text-decoration: none;
    color: #1E3E62;
}

#btn{
    background-color:#e2eef7;
    color: #1E3E62;
    border-radius: 15px;
    border: 2px solid #fff;
    margin-top: 30px;
}
.secondBlock{
    position: relative;
    z-index: 900;
}
.header, .headerSec{
    display: flex;
    flex-direction: column;
}
.header{
    align-items: flex-end;
}
.headingDown, .headingUp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    text-align: center;
    color: #294153;
    margin: 5px;
    width: 300px;
    background-color: #fff; 
}
.textWelcome, .fotoAbout{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    text-align: center;
    margin: 5px;
    background-color: #fff;
}
.textWelcome{
    width: 270px;
    height: 360px;
   background-color: #fff;
    color: #294153;
   
}
.fotoAbout{
    width: 300px;
    color: #294153; 
}
.foto, .picture, .pictureSec{
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px; 
    opacity: 70%;
}
.foto{
    width: 280px;
    background-color: #fff;    
    opacity: 80%;
    
}
.picture{
    width: 250px;    
}
.pictureSec{
    width: 280px;    
    
}
.headingDown{
    transform: translate(0px, -100px);
    transition: all 0.8s ease 0s;  
}
.headingUp{
    transform: translate(0px, 20px);
    transition: all 0.8s ease 0s; 
}
.textWelcome{
    transform: translate(-100px, 0px);
    transition: all 0.8s ease 0s; 
}
.fotoAbout{
    transform: translate(20px, 0px);
    transition: all 0.8s ease 0s; 
}
.headingDown.element-show, .headingUp.element-show, .textWelcome.element-show, .fotoAbout.element-show {
    transform: translate(0px, 0px);
}
.greetings{
    width: 500px;
    height: 200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;  
}
h1{
    font-size: 50px;
    color: #1E3E62;
    text-align: center;
    margin-top: 30px;
    font-weight: 500;
}
h3{
    margin-top: 10px;
    text-align: center;
    font-size: 40px;
    color: #1E3E62;
    margin-bottom: 15px;
}

h2{
    font-size: 25px;
    color: #1E3E62;
    text-align: center;
    margin-top: 5px;
}
h4, h5, h6{
    font-size: 18px;
    margin: 5px;
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    font-weight: lighter;
    font-style: italic;  
    color: #1E3E62;  
}
p, .blue{
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    font-weight: lighter;
    font-style: italic;  
    margin: 0;
    padding-top: 5px;
    font-size: 16px;
}
p{  
    color: #fff;
}
.blue{
    color: #1E3E62;
}
h5{
    font-weight: 500;
}
#blockAbout{
    margin-top: 2px;
}
.blockAbout{
    display: flex;
    justify-content: space-around;
    background-color: #EDDFE0;   
}
.textBtn, .textBtnTwo, .textBtnTree, .textBtnFour{
    border: 2px solid #fff;
    color: #1E3E62;
    font-size: 18px;
    background-color: #EDDFE0;
    text-transform: none;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    width: 300px;
}
.textBtn:hover, .textBtnTwo:hover, .textBtnTree:hover, .textBtnFour:hover{
    background-color: #e2eef7;
}
.underBtn, .underBtnTwo, .underBtnTree, .underBtnFour {
    border: 2px solid #fff;
    border-radius: 20px;
    padding: 10px;
    display: none;
    background-color: #e2eef7;
    width: 750px;
}
.underBtnOpen, .underBtnTwoOpen, .underBtnTreeOpen, .underBtnFourOpen {
    display: block;
    position: absolute;
}
.blocksContainer{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;  
}
.blocks{
    border: 2px solid #fff;
    border-radius: 20px;
    padding: 12px;
    font-size: 16px;
    margin: 5px;
    color: #1E3E62;
}
#blockPrices{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #EDDFE0;
    margin-top: 2px;
}
.blockPrices{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
}
.picBox{
    align-items: center;
}
.textBox{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
    border: 2px solid #fff;
    border-radius: 10px;
    margin-left: 50px;
    margin-right: 30px;
}
.hide{
    display: none;
}
.hideTwo{
    display: none;
}
.arrow{
    display: flex;
    justify-content: center;
  
}
#drop-arrow{
    display: flex;
    background-color: #e2eef7;
    display: flex;
    justify-content: center;
    margin-bottom: 2px;
    position: relative;
}
input {
    display: none;
  }
  label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    text-align: center;
    transition: 0.3s;
  }
  label {
    width: 64px;
    height: 64px;
  }
  input:checked + label {
    transform: rotate(180deg);
  }
.drop-arrow{
    width: 30px;
    height: 2px;
    background-color: #fff; 
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}
.left{
    transform: translateY(-8px) rotate(50deg); 
}
.right{
    transform: translateY(-8px) rotate(-50deg); 
    margin-left: -12px;  
}

.hideOpen{
    display:block;
}
.hideTwoOpen{
    display: block;
}
#video{
    width: 532px;
    border: 2px solid #fff;
    border-radius: 10px;
}
.price{
    border: 2px solid #fff;
    background-color: #EDDFE0;
    border-radius: 10px;
    text-align: center;
    width: 250px;
    padding: 20px;
    margin: 20px;   
}
.textPrice{
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-size: 20px;
    color: #1E3E62;

}
.pictureOne, .pictureTwo{
    width: 350px;
    margin-top: 150px;
    margin-bottom: 50px;
    border-radius: 5px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px; 
    padding-bottom: 45px;
    background-color: #fff;
    opacity: 70%;  
    opacity: 0;
    transition: all 0.8s ease 0s;  
}
.pictureOne{
    margin-left: 50px;
    transform: translate(-30px, 0px);
}
.pictureTwo{
    margin-right: 50px;
    transform: translate(30px, 0px);
}
.certificates{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-bottom: 4rem;
    background-color: #e2eef7;
    margin-top: 2px;
   padding-bottom: 100px;
   
}
.boxes{
    display: flex;  
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 130px;
    margin-right: 130px;
}
.box{
    border-radius: 10px;
    background-color: #284d77;
    margin: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translate(0px, 20%);
    opacity: 0;
    transition: all 0.8s ease 0s;  
}
.box:hover{
    border: 2px solid #EE66A6;
  
}

.box.element-show {
    transform: translate(0px, 0px);
    opacity: 1;
}
.pictureOne.element-show, .pictureTwo.element-show{
    transform: translate(0px, 0px);
    opacity: 70%;
}
.one{
    width: 260px;
    height: 330px;
    
}

.two{
    width: 350px;
    height: 320px;
}
.certImgVert{
    width: 190px;
    border: 10px solid white;
}
.certImg{
    width: 320px;
    border: 10px solid white;
}

#contacts{
    background-color: #EDDFE0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2px;
}
.contacts{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}
.item{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    width: 150px;
    height: 200px;
    border-radius: 10px;
    border: 2px solid #fff;
    background-color: #284d77;
    color: #1E3E62;
    font-size: 16px;
    margin: 5px;
    margin-top: 50px;
    margin-bottom: 50px;

}
.imgItem{
    width: 100px;
}
footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #294153;
    width: 100%;
    padding: 20px;
}
.logoFooter{
    text-decoration: none;
    color: #1E3E62;
    text-transform: uppercase;
    text-align: center;
}
.by{
    color: #294153;
    font-size: 16px;
}

@media all and (max-width: 1024px){
    .socialIcons{
        margin-top: 300px;
    }
    .foto{
        width: 190px;
    }
    .picture{
        width: 170px;    
    }
    .pictureSec{
        width: 190px;     
    }
    .headingDown, .headingUp {  
        width: 200px;
     }
    .textWelcome{
        width: 180px;
        height: 270px;

    }
    .fotoAbout{
        width: 200px;
    }
}
@media all and (max-width: 1000px){
    .navbar__wrap .menu{
        display:none;
    }
    .hamb{
        display: flex;
        align-items: center;
    }
    .hamb__field{
        padding: 10px 20px;
        cursor: pointer;
    }
    .bar{
        display: block;
        width: 30px;
        height: 3px;
        margin: 6px auto;
        background-color: #1E3E62;
        transition: 0.2s;
    }
    .popup{
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: #fff;
        z-index: 1000;
        display: flex;
        flex-wrap: wrap;
        transition: 0.3s;
    }
    .popup.open{
        left:0;
        right: 0;
    }
    .popup .menu{
        width: 100%;
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding: 50px 0;
        overflow: hidden;
    }
    .popup .menu > li {
        width: 100%;
    }

    .popup .menu > li > a {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 20px 0;
        font-size: 30px;
        font-weight: bold;
        color: #1E3E62;
  }
    .popup .menu > li > a:hover {
        background-color: rgba(122, 82, 179, 0.1);
  }

    .hamb__field.active .bar:nth-child(2) {
        opacity: 0;
  }

    .hamb__field.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
  }

    .hamb__field.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
  }

    body.noscroll {
        overflow: hidden;
  }
  li{
    list-style-type: none;
  }
  .home{
    flex-direction: column;
    justify-content: center;
    height: 100%;
   
  }
  .main{
    margin-top: 10px;
    justify-content: center;
    align-items: flex-start;
  }
  .firstBlock{
    margin-top: 30px;
    margin-left: 1px;
}
.socialIcons{
    margin-top: 50px;
}
.boxes{
    margin-left: 30px;
    margin-right: 30px; 
}
.box{
    margin-bottom: 15px;
}
h3{
    font-size: 40px;
}
}
@media all and (max-width: 820px){
    .home{
        height: auto;
    }
    #logo{
    margin-right: 20px;
  }
    .greetings{
    height: 100px;
}
    h1{
        text-align: center;
        margin-top: 5px;
    }
    .pictureOne {
        width: 250px;
        margin-left: 35px;
        margin-right: 5px;
    }
    .pictureTwo{
        width: 250px;
        margin-left: 5px;
        margin-right: 20px;
    }
    h3{
        font-size: 30px;
    }
    .textBox{
        padding-left: 20px;
        padding-right: 20px;
        margin-left: 20px;
        margin-right: 20px;
    }
    .certImgVert{
        width: 160px;
    }
    .certImg{
        width: 260px;
    }
    .one{
        width: 200px;
        height: 290px;
        
    }
    .two{
        width: 290px;
        height: 260px;
    }
}

@media all and (max-width: 560px){
  
    .container{
        max-width: 560px;
       }
    .greetings{
        height: 90px;
        margin-top: 25px;
    }
   .blockAbout{
    flex-direction: column-reverse;
   }
   #btn{
    margin-top: 5px;
}
   .reverse{
    flex-direction: column;
   }
    h1{
        font-size: 25px;
    }
    h2{
        font-size: 20px;
    }
    h3{
        font-size: 23px;
    }
    button{
        width: 150px;
        margin: 1px;
    }
    .foto{
        width: 140px;
    }
    .picture{
        width: 120px;    
    }
    .pictureSec{
        width: 140px;     
    }
    .headingDown, .headingUp {  
        width: 150px;
     }
    .textWelcome{
        width: 130px;
        height: 220px;

    }
    .fotoAbout{
        width: 150px;
    }
    .firstBlock{
        width: 350px;
    }
    .greetings{
        width: 350px;
    }
    h1{
        margin-top: 10px;
    }
    h4{
        font-size: 16px;
    }
    h5{
        font-size: 16px;
    }
    .pictureOne{
        margin-left: 80px;
        margin-top: 50px;
    }
    .pictureTwo{
        margin-top: 30px;
        margin-left: 80px;
        margin-right: 80px;
    }
    .textBox{
        padding-left: 5px;
        padding-right: 5px;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 10px;
    }
    .underBtn, .underBtnTwo, .underBtnTree, .underBtnFour {
        width: 350px;
    }
    .certImgVert{
        width: 100px;
    }
    .certImg{
        width: 200px;
    }
    .one{
        width: 110px;
        height: 210px;
        
    }
    .two{
        width: 220px;
        height: 200px;
    }
    .by{
        font-size: 12px;
    }
    .price{
        width: 150px;
    }
    .textPrice{
        font-size: 16px;
    }
    .item{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    #video{
        width: 432px;
    }
    .certificates{
       padding-bottom: 10px;  
    }
}
@media all and (max-width: 420px){
   .container{
    max-width: 420px;
   }
   .main{
    margin-top: 170px;
}
#video{
    width: 350px;
}
.greetings{
    height: 80px;
    margin-top: 5px;
}
h1{
    font-size: 23px;
    margin-top: 50px;
}
h4{
    font-size: 15px;
}
.price{
    padding: 5px;  
    margin: 5px;
}
.textPrice{
    font-size: 16px;
}
.boxes{
    margin-left: 10px;
    margin-right: 10px; 
}
}
@media all and (max-width: 380px){
  
    .container{
     max-width: 380px;
    }
    .popup{
        max-width: 380px;
    }
   
 }