*,
*::after,
*::before{
    box-sizing: border-box;
}


.body{
    font-family: "Rethink Sans", sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.surfing-school{
    height: 100%;
    width: 100%;
    background-image: url(../img/Surfing\ woman.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 50px;
}

.header{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

.header-links{
    width: 70%;
}

.header-links a{
    margin-left: 2%;
    color: #0A507A;
    text-decoration: none;
    line-height: auto;
    font-weight: bold;
    font-size: 20px;
}


.header-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    margin-left: auto;
    margin-right: auto;
    background-color: #0A507A;
    color: #fff;
    border-radius: 10px;
}

.header-phone a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    margin-left: 10px;
}

.header-phone img {
    display: inline-block;
    margin-left: 0;
    margin-right: 0;
}


.header-phone:hover{
    cursor: pointer;
}

.main{
    width: 100%;
    height: auto;
}

.main-title{
    margin-left: auto;
    margin-right: auto;
}

.main-title img{
    display: block;
    width: 90%;
    height: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}


.btn{
    width: 200px;
    height: 40px;
    color: #fff;
    background-color: #2B2A29;
    text-decoration: none;
    border-radius: 30px;
    text-align: center;
    padding: 10px 20px;
    line-height: auto;
    font-weight: bold;
    font-size: 18px;
}


.main-container{
    height: auto;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: start;
}

.main-container-choices{
    height: 450px;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    margin-left: auto;
    margin-right: auto;

}

.main-box{
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto auto auto;
    column-gap: 10px;
    row-gap: 10px;

}

.main-box a{
    width: 200px;
    height: 50%;
    text-decoration: none;
    color: #0A507A;
    border: 1px solid #0A507A;
    border-radius: 30px;
    text-align: center;
    background-color: rgba(255,  255,  255, 0.6);
    line-height: auto;
    font-weight: bold;
    font-size: 22px;

}


.event-wave{
    width: 392px;
    height: 450px;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255,  255,  255, 0.6);

}


.event-wave h1{
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    line-height: auto;
    font-weight: bolder;
    font-size: 24px;
}



.event-wave a{
    color: #2B2A29;
    margin-left: 12%;
    line-height: auto;
    font-weight: bolder;
    font-size: 14px;

}

.event-wave img{
    margin-left: auto;
    margin-right: auto;
}



.footer{
    width: 100%;
    margin-top: 103px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.footer-media{
    width: 350px;
    margin-left: 28%;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
}


.footer-btn{
    margin-left: auto;
     margin-right: auto;
}



      /* .footer{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-media{
        margin-left: auto;
        margin-right: auto;
    }

    .footer-btn{
        margin-left: auto;
        margin-right: auto;
    } */


.footer-item{
    background-color: #2B2A29;
    width: 216px;
    height: 62px;
    border-radius: 30px;
    color: #FFFFFF;
    line-height: auto;
    font-weight: bolder;
    font-size: 26px;
    outline: none;
}

.white{
    color: #2B2A29;
    background-color: rgba( 255, 255, 255, 0.3);
    outline: none;
} 

.footer-item:hover{
    cursor: pointer;
}


.about-us{
    margin-top: 70px;
}

.about-us h1:first-child{
    margin-left: 5%;
    margin-bottom: 100px;
    line-height: auto;
    font-weight: bolder;
    font-size: 45px;
}


.about-us-container{
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    margin-left: auto;
    margin-right: auto;
}

/*Сделал центрирование текста*/


.information-box{
    width: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.box-title{
    margin-bottom: 80px;
}

.box-title h3{
    line-height: auto;
    font-weight: bold;
    font-size: 18px;
}

.box-title h1{
    line-height: auto;
    font-weight: bolder;
    font-size: 45px;
}

.btn-box{
    width: 450px;
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.btn-box button:first-child{
    margin-right: 15px;
    margin-bottom: 10px;
    width: 130px;
}

.btn-box button:last-child{
   width: 450px;
}

.btn-box button{
    height: 54px;
    border-radius: 30px;
    width: 180px;
    line-height: auto;
    font-weight: bold;
    font-size: 22px;
    color: #0A507A;
    border-color: #0A507A;
    outline: none;
}

.btn-box button:hover{
    cursor: pointer;
}

.box-title h3{
    margin-bottom: 20px;
}

.box-paragraph{
    margin-left: auto;
    margin-right: auto;
}

.box-paragraph p{
    width: 400px;
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
}

.information-img{
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.information-img img{
    width: 100%;
}


.activity-btn{
   position: absolute;
   bottom: 50px;
   right: 100px;
   color: #fff;
   background-color: rgba( 255, 255, 255, 0.3);
   border-color: #fff;
   outline: none;
}







.Activities {
    margin-top: 100px;
}

.Activities-container-information {
    width: inherit;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    
}

.Activities h3{
    display: inline-block;
    margin-left: 15%;
    width: auto;
    line-height: auto;
    font-weight: bold;
    font-size: 18px;   
}

.Activities-sircles {
    display: flex;
    justify-content: center;   
    align-items: center;      
    gap: 32px;                
    width: 100%;               
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    /* flex-wrap: wrap;         */

}

.Activities-sircles a{
    margin-left: auto;
    margin-right: auto;
}



.container-box{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.container-box div h1{
    line-height: auto;
    font-weight: bolder;
    font-size: 45px;
}

.container-information-box{
    width: 650px;
}

.container-information-box button{
    margin-top: 36px;
}

.container-information-box p{
    margin-top: 0px;
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
}

.Activities-sircles a  img{
    width: 220px;  
    height: auto;
    display: block;
}

.Surfing-woman{
    width: 100%;
}

.review{
    width: 100%;
    margin-top: 150px;
}



.review-box{
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    align-items: end;
    margin-left: auto;
    margin-right: auto;
}


.review-box-item1{
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.box-container1{
    width: 220px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.box-container1 img{
    width: 220px;
    height: 325px;
    margin-bottom: 15px;
}

.box-container1 p{
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 15px;
}

.box-container1 span{
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
}

.box-container2{
    width: 480px;
    margin-left: auto;
    margin-right: auto;
}


.box-container2 img{
    width: 480px;
    height: 340px;
    margin-bottom: 20px;
}

.box-container2 div p{
    width: 250px;
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.box-container2 div span{
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
}

.box-container2 div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 0px;
}

.box-container-information{
    margin-bottom: 100px;
}

.box-container-information h3{
    line-height: auto;
    font-weight: bold;
    font-size: 18px;   
}

.box-container-information h1{
    line-height: auto;
    font-weight: bolder;
    font-size: 45px;
}


.box-information-review{
    display: flex;
    justify-content: space-between;
    align-items: end;
}



.box-container3{
    width: 480px;
    margin-bottom: 50px;
}

.box-container3 img{
    width: 480px;
    height: 320px;
    margin-bottom: 15px;
}

.box-container3 div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: last baseline;
}

.box-container3 div p{
    width: 250px;
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.box-container3 div span{
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
}

.box-container4{
    width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.box-container4 img{
    width: 220px;
    height: 325px;
    margin-bottom: 15px;
}


.box-container4 p{
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 15px;
}


.box-container4 span{
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
}


.footer-section{
    width: 100%;
    background-color: #2B2A29;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 60px;
    margin-top: 150px;
}

.footer-container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
}


.footer-container-information{
    margin-left: auto;
    margin-right: auto;
}


.footer-container-information h1{
    line-height: auto;
    font-weight: bolder;
    font-size: 45px;
    margin-bottom: 30px;
}



.information-box-footer{
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto;
    column-gap: 30px;
}

.information-box-item{
    width: 222px;
}

.information-box-item h3{
    line-height: auto;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
}

.information-box-item p{
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

.information-box-item span{
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
}



#logo{
    max-width: 125px;
    max-height: 125px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    gap: 60px;
    margin-bottom: 100px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links-item1{
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-left: auto;
    margin-right: auto;
}


.footer-links-item1 a{
    color: #FFFFFF;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
}

.footer-links-item2 a{
    line-height: auto;
    font-weight: 700;
    font-size: 14px;
    color: #FFFFFF;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
}

.footer-links-item2{
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 45px;
    margin-left: auto;
    margin-right: auto;
}





@media (max-width: 1400px){
    .box-container1{
        width: 200px;
    }
    .box-container1 img{
        width: 200px;
        height: 305px;
    }

    .box-container2{
        width: 450px;
    }

    .box-container2 img{
        width: 450px;
    }

    .box-container3{
        width: 450px;
    }
    .box-container3 img{
        width: 450px;
        height: 340px;
    }

    .box-container4{
        width: 200px;
    }

    .box-container4 img{
        width: 200px;
        height: 305px;
    }
}


@media (max-width:1320px){
   .box-container1{
    width: 180px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.box-container1 img{
    width: 180px;
    height: 280px;
    margin-bottom: 15px;
}

.box-container2{
    width: 420px;
    margin-left: auto;
    margin-right: auto;
}


.box-container2 img{
    width: 420px;
    height: 300px;
    margin-bottom: 20px;
}

.box-container3{
    width: 420px;
    margin-bottom: 50px;
}

.box-container3 img{
    width: 420px;
    height: 300px;
    margin-bottom: 15px;
}

.box-container4{
    width: 180px;
    margin-left: auto;
    margin-right: auto;
}

.box-container4 img{
    width: 180px;
    height: 280px;
    margin-bottom: 15px;
}



}


@media (max-width: 1240px){
    .Activities-sircles a  img{
    width: 170px;  
    height: auto;
    display: block;
}


.box-container1{
    width: 160px;
}

.box-container1 img{
    width: 160px;
    height: 260px;
}

.box-container2{
    width: 390px;
}


.box-container2 img{
    width: 390px;
    height: 280px;

}

.box-container3{
    width: 390px;

}

.box-container3 img{
    width: 390px;
    height: 280px;
}

.box-container4{
    width: 160px;
}

.box-container4 img{
    width: 160px;
    height: 260px;
}

.about-us-container{
    align-items: center;
}

.information-img img{
    width: 100%;
    height: auto;
}



}

@media (max-width: 1150px){
    .Activities-sircles a  img{
    width: 140px;  
    height: auto;
    display: block;
}


.box-container1{
    width: 130px;
}

.box-container1 img{
    width: 130px;
    height: 230px;
}

.box-container2{
    width: 350px;
}


.box-container2 img{
    width: 350px;
    height: 240px;

}

.box-container3{
    width: 350px;

}

.box-container3 img{
    width: 350px;
    height: 240px;
}

.box-container4{
    width: 130px;
}

.box-container4 img{
    width: 130px;
    height: 230px;
}

.activity-btn{
    width: 190px;
    height: 50px;
}



}


@media(max-width: 980px){
    .Activities-sircles a img{
        width: 120px;
        height: auto;
    }

    .box-container1{
    width: 100%;
    }

    .box-container1 img{
    width: 100%;
    height: auto;
    }

    .box-container2{
    width: 100%;
    }


    .box-container2 img{
    width: 100%;
    height: auto;

    }

    .box-container3{
    width: 100%;
    margin-left: auto;
    margin-right: auto;

    }

    .box-container3 img{
    width: 100%;
    height: auto;
    }

    .box-container4{
    width: 100%;
    }

    .box-container4 img{
    width: 100%;
    height: auto;
    }

    .information-img{
        margin-top: 20px;
    }

    .about-us-container{
        display: block;
    }

    .btn-box{
        margin-bottom: 50px;
    }

    .review-box{
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
        margin-left: auto;
        margin-right: auto;
    }

    .review-box-item1{
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .review-box-item2{
        margin-left: auto;
        margin-right: auto;
    }

    .box-container-information h3{
        text-align: center;
    }

    .box-information-review{
        display: block;
    }

    .footer-container{
        flex-direction: column-reverse;
        gap: 20px;
    }

    .footer-links{
        flex-direction: column;
        gap: 20px;
    }








}

@media (max-width:840px){
    .main-container-choices{
        width: 30%;
    }

    .main-box{
        grid-template-columns: auto;
    }

    .footer{
        flex-direction: column;
        gap: 20px;
    }

}

@media (max-width:765px){
    .header-links{
        width: 300px;
        display: flex;
        flex-wrap: wrap;
        margin-left: auto;
        margin-right: auto;

    }

    .header-links a{
        margin-left: auto;
        margin-right: auto;
    }

    .Activities-sircles a img{
        width: 95px;
        height: auto;
    }

    .footer-container-information h1{
        font-size: 35px;
    }

    .information-box-footer{
        grid-template-columns: auto auto;
        justify-content: center;
        row-gap: 20px;
    }

    .information-box-item:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .container-box{
        width: 100%;
    }
    

    .container-information-box p{
        width: 100%;
    }

    .Activities-sircles{
        flex-wrap: wrap;
    }


}

@media(max-width:670px){
    .main-container{
        flex-direction: column-reverse;
        row-gap: 20px;
    }

    .main-container-choices{
        width: 350px;
    }

    .event-wave{
        width: 350px;
    }

    .event-wave img{
        width: 325px;
    }

    .information-box{
        width: 100%;
    }
}


@media (max-width: 560px){
    .about-us{
        width: 100%;
    }

    .about-us-container{
        width: 100%;
    }

    .box-title{
        width: 100%;
    }

    .box-title h3{
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    .box-title h1{
        width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

}

@media (max-width: 500px){
    .footer-container-information h1{
        font-size: 25px;
    }

    .information-box-footer{
        display: grid;
        grid-template-columns: auto;
        justify-content: center;
        row-gap: 20px;
    }
    
    .information-box-item {
        grid-column: auto;
        justify-self: center;
    }

    .footer-links-item2{
        flex-wrap: wrap;
    }

    .header{
        flex-wrap: wrap;
        gap: 20px;
    }

    .container-box{
        flex-wrap: wrap;
    }

    .btn-box{
        width: 350px;
    }

    .footer-btn{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 450px){
    .box-title h1{
        width: 350px;
    }

    .box-paragraph p{
        width: 300px;
    }
}


@media (max-width: 360px){
    .btn{
        margin-left: auto;
        margin-right: auto;
    }
    .main-box a{
        margin-left: auto;
        margin-right: auto;
    }

    .event-wave{
        width: 320px;
    }

    .event-wave img{
        width: 300px;
    }

    .main-container-choices{
        width: 320px;
    }

    .footer-media{
        width: auto;
        flex-wrap: wrap;
        gap: 10px;
    }

    .box-title h1{
        width: 320px;
    }

    .btn-box{
        width: 320px;
        gap: 10px;
    }
}


@media (max-width: 330px){
    .event-wave{
        width: 280px;
    }

    .event-wave img{
        width: 270px;
    }

    .main-container-choices{
        width: 280px;
    }

    .box-title h1{
        width: 280px;
    }

    .btn-box{
        width: 280px;
    }

    .footer-container-information{
        width: 280px;
    }

    .footer-links-item1{
        flex-wrap: wrap;
    }

    .box-paragraph p{
        width: 280px;
    }
}





