@import url(https://fonts.googleapis.com/css?family=Rethink+Sans:regular,500,600,700,800);

@import "../css/reset.css";

body,
html {
    font-family: "Rethink Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2b2a29;
    height: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
}

.container {
    margin: 0 auto;
    padding: 0 10px;
    max-width: 1740px;
}

.header {
    background-image: url(../img/background2.png);
    background-repeat: no-repeat;
    background-position: top center;
    margin-bottom: 150px;

}

.title__img {
    position: relative;
    z-index: -1;
    width: 100%;
}

.header__menu {
    padding-top: 50px;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header__item a {
    font-family: "Rethink Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #0a507a;
}

.header__phone {
    border-radius: 30px;
    padding: 10px 20px;
    width: 226px;
    height: 46px;
    background: #0a507a;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__phone span {
    font-size: 20px;
    font-size: 20px;
    text-transform: lowercase;
    color: #fff;
}

.header__subtitle {
    margin-top: 16px;
    border-radius: 30px;
    padding: 10px 20px;
    background: #2b2a29;
    font-size: 20px;
    color: #fff;
    display: inline-block;
}

.header__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info__list {
    max-width: 483px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 10px;
    margin-top: 226px;
    margin-bottom: 118px;
}

.info__item {
    border: 1px solid #0a507a;
    border-radius: 30px;
    padding: 10px 20px;
}

.info__link {
    font-family: "Rethink Sans", sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #0a507a;
}

.info__social a {
    margin-right: 20px;
}

.info__social {
    margin-bottom: 80px;
}

.news {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.news__box {

    border: 1px solid #fff;
    border-radius: 10px;
    padding: 50px 20px;
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.8);
    margin-top: -46px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 103px;
}

.news__title {
    font-size: 32px;
}

.news__time {
    font-size: 32px;
    margin-bottom: 10px;
}

.news__subtitle {
    font-size: 16px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    margin-bottom: 30px;
}

.news__buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    margin-bottom: 80px;
}

.buttons__book {
    border-radius: 30px;
    padding: 10px 20px;
    background: #2b2a29;
    font-family: "Rethink Sans", sans-serif;
    font-weight: 800;
    font-size: 32px;
    text-transform: uppercase;
    color: #fff;
}

.news__activities {
    border: 1px solid #2b2a29;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 800;
    font-size: 32px;
    text-transform: uppercase;
}

.title1 {
    max-width: 1073px;
    font-weight: 800;
    font-size: 64px;
    text-transform: uppercase;
    margin-bottom: 150px;
}

.about {
    margin-bottom: 150px;
}

.about__box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #2b2a29;

}

.about__info {
    max-width: 560px;
    display: flex;
    flex-direction: column;
}

.about__subtitle {
    font-size: 20px;
    margin-bottom: 20px;
}

.about__title {
    font-weight: 800;
    font-size: 64px;
    text-transform: uppercase;
    margin-bottom: 100px;
}

.about__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.about__item {
    border: 1px solid #0a507a;
    border-radius: 30px;
    padding: 10px 20px;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.2);
    font-size: 26px;
    color: #0a507a;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-weight: 600;
    margin-top: auto;
}

.about__img {
    position: relative;
    flex-basis: 50%;
}

.img {
    width: 100%;
}

.about__activites {
    position: absolute;
    right: 68px;
    bottom: 46px;
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 10px 20px;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.3);
    font-size: 32px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 800;
}

.activities {
    margin-bottom: 100px;
}

.activities__subtitle {
    font-size: 20px;
    margin-bottom: 20px;
}

.activities__info {
    display: flex;
    gap: 20px;
    margin-bottom: 100px;
}

.activities__title {
    font-weight: 800;
    font-size: 64px;
    text-transform: uppercase;
    flex-basis: 50%;
}

.activities__text {
    padding: 12.5px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    flex-basis: 50%;
}

.activities__text .buttons__book {
    align-self: flex-start;
}

.activities__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.activities__item {
    border: 1px solid #2b2a29;
    border-radius: 50%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activities__item h5 {
    font-size: 26px;
    align-items: center;
    max-width: 115px;
}

.site-img {
    margin-bottom: 150px;
    width: 100%;
}

.reviews {
    margin-bottom: 150px;
}

.reviews__top {
    margin-bottom: 100px;
    margin-left: calc(50% + 10px);
}

.reviews__subtitle {
    font-size: 20px;
    margin-bottom: 20px;
}

.reviews__title {
    font-size: 64px;
    font-weight: 800;
    text-transform: uppercase;
}

.reviews__items {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 2fr 2fr 1fr;
}

.reviews__item:nth-child(even) {
    padding-top: 100px;
}

.reviews__item {}

.reviews__img {
    margin-bottom: 20px;
    max-width: 100%;
}

.blockquote {
    font-weight: 600;
}

.blockquote__text {
    margin-bottom: 15px;
}

.blockquote__name:before {
    content: '/';
}

.blockquote__name {
    display: block;
    margin-bottom: 5px;
    text-align: right;
}

.lockquote__time {
    text-align: right;
    display: block;
}



.footer {
    background-color: #2B2A29;
    padding: 100px 0;
    color: #fff;
}

.footer__wrapper {
    max-width: 1160px;
    padding: 0 10px;
    margin: 0 auto;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.footer__title {
    font-size: 64px;
    font-weight: 800;
    text-transform: uppercase;
}

.footer__info {
    margin-bottom: 60px;
}

.footer__info-list {
    display: flex;
    gap: 68px;
}

.footer__info-list a {
    color: #fff;
    font-weight: 600;
}

.footer__info-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__info-item dt {
    font-size: 20px;
}

.footer__info-item span {
    display: block;
}

.footer__info-item dd {
    font-weight: 600;
}

.footer__botton {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.social__list {
    display: flex;
    gap: 20px;
}

.footer__nav {
    display: flex;
    gap: 40px;
}

.footer__nav-link {
    color: #fff;
    font-weight: 600;
}

.menu__btn {
    display: none;
    width: 50px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.menu__btn span {
    width: 100%;
    height: 4px;
    background-color: #0a507a;
    transition: background-color .3s ease-in;

}

.header__menu.header__menu--open .header__list {
    transform: translateY(0);
}

.header__menu.header__menu--open .menu__btn span {
    background-color: #fff;
}

@media(max-width:1344px) {
    .about__title {
        margin-bottom: 10px;
    }

    .title1 {
        margin-bottom: 100px;
    }

}

@media (max-width:1180px) {
    .about__img {
        align-self: flex-end;
       
    }

    .about__info {
        flex-basis: 50%;
    }

    .reviews__top {
        margin-left: 0;
    }

}



@media (max-width:992px) {
    .header {
        margin-bottom: 40px;
    }

    .buttons__book {
        font-size: 25px;
    }

    .news__activities {
        font-size: 25px;
    }

    .menu__btn {
        display: flex;
    }

    .header__list {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: #0a507a;
        flex-direction: column;
        justify-content: space-around;
        text-transform: uppercase;
        font-size: 25px;
        z-index: 1;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in;
    }

    .header__list a {
        color: #fff;
    }

    .news__box {
        margin-top: 30px;
        margin-bottom: 34px;
    }

    .title1 {
        font-size: 40px;
    }

    .title1 {
        margin-bottom: 60px;
    }

    .about {
        margin-bottom: 60px;
    }

    .about__box {
        flex-direction: column;


    }

    .about__info {
        flex-basis: 100%;
        max-width: 100%;
    }

    .about__img {
        align-self: center;
    }

    .site-img {
        margin-bottom: 60px;
    }

    .activities__info {
        margin-bottom: 50px;
    }

    .reviews__items {
        grid-template-columns: repeat(2,1fr);
        
    }

    .reviews__item:nth-child(even){
        padding: 0;
    }

    .reviews__img{
        width: 100%;
    }


}

@media (max-width:866px) {

    .header {
        background-size: cover;
        padding-bottom: 20px;
    }

    .header__box {
        flex-direction: column;
    }

    .info__list {
        flex-direction: column;
        margin-top: 50px;
        margin-bottom: 30px;
    }

    .new__box {
        padding: 20px 10px;

    }

    .header__subtitle {
        margin-top: 20px;
    }

    .header__menu {
        padding-top: 32px;
        padding-bottom: 46px;
    }

    .buttons__book {
        font-size: 25px;
    }

    .buttons__book {
        font-size: 25px;
    }

    .info__social {
        margin-bottom: 40px;
    }

    .news__box {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 25px 10px;

    }

    .news__buttons {
        margin-bottom: auto;

    }

    .title1 {
        font-size: 40px;
    }

    .about__title {
        font-size: 50px;
    }

    .about__item {
        font-size: 18px;
    }

    .about__text {
        font-size: 14px;
    }

    .about__activites {
        font-size: 25px;
    }

    .activities__info {
        flex-direction: column;
    }

    .activities__list {
        grid-template-columns: repeat(3, 1fr);
    }



}

@media (max-width:749px) {
    .header {
        margin-bottom: 20px;
        background-position: top left;
        background-size: cover;
        padding-bottom: 20px;
    }

    .header__box {
        flex-direction: column;
    }

    .info__list {
        margin-top: 30px;
        margin-bottom: 20px;
        gap: 12px;
    }

    .info__social {
        margin-bottom: 20px;
    }

    .activities__item h5 {
        font-size: 18px;
    }

    .about__title {
        font-size: 40px;
    }

    .activities__title {
        font-size: 40px;
    }

    .reviews__title {
        font-size: 40px;
    }

    .reviews__top {
        margin-bottom: 50px;
    }

    .reviews {
        margin-bottom: 60px;
    }

    .footer{
        padding: 50px 0;
    }

    .footer__info-list {
        gap: 20px;
    }

    .footer__nav{
        gap: 20px;
    }

    .footer__title{
        font-size: 40px;
    }
    .footer__info-item dt {
        font-size: 18px;
    }

    .footer__info-item{
        gap: 10px;
    }

    .footer__botton{
        flex-direction: column;
        align-items:start;
    }

    .footer__nav{
        order: -1;
    }

    
}

@media (max-width:400px) {
    .header {
        margin-bottom: 20px;
    }

    .news__title {
        font-size: 24px;
    }

    .news__time {
        font-size: 24px;
    }

    .news__subtitle {
        font-size: 14px;
    }

    .buttons__book {
        font-size: 20px;
    }

    .news__activities {
        font-size: 20px;
    }

    .news {
        align-items: stretch;
    }

    .title1 {
        font-size: 30px;
        text-align: center;
    }

    .info__link {
        font-size: 24px;
    }

    .header__subtitle {
        font-size: 18px;
    }

    .header__phone span {
        font-size: 16px;


    }

    .header__phone {
        width: 196px;
    }

    .about__subtitle {
        margin-bottom: 10px;
    }

    .info__social a {
        margin-right: 10px;
    }

    .about__title {
        font-size: 30px;
    }

    .activities {
        margin-bottom: 60px;
    }

    .activities__title {
        font-size: 30px;

    }

    .activities__subtitle {
        margin-bottom: 10px;
    }

    .activities__item h5 {
        max-width: 50px;
    }

    .activities__info {
        margin-bottom: 24px;
    }

    .title1 {
        margin-bottom: 20px;
    }

    .footer__info-list{
        flex-direction: column;
        gap: 10px;
    }
    

}