*,
*::after,
*::before {
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: "Akrobat Black", sans-serif;
    src: url(../fonts/Akrobat-Black.woff);
}

@font-face {
    font-family: "Akrobat Thin", sans-serif;
    font-style: normal;
    font-weight: 100;
    src: url(../fonts/Akrobat-Thin.woff);
}

body {
    background-color: #FBF7F4;
}

.header {
    padding-top: 30px;
    padding-bottom: 30px;
    height: 100vh;
}

.my_container {
    display: block;
    margin: 0 auto;
    max-width: 1260px;
    padding-left: 30px;
    padding-right: 30px;
}

.header__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -30px;
    margin-top: 50vh;
    transform: translateY(-50%);
}

.header__subtitle-1,
.header__subtitle-2 {
    text-align: center;
    position: absolute;
}

.header__span.anim-item-1 {
    opacity: 0;
    animation: anim-item-1 7s ease-in-out;
    animation-delay: 0;
    animation-fill-mode: backwards;
}

@keyframes anim-item-1 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.header__span.anim-item-2 {
    opacity: 0;
    animation: anim-item-2 6s ease-in-out;
    animation-delay: 1s;
    animation-fill-mode: backwards;
}

@keyframes anim-item-2 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.header__span.anim-item-3 {
    opacity: 0;
    animation: anim-item-3 5s ease-in-out;
    animation-delay: 2s;
    animation-fill-mode: backwards;
}

@keyframes anim-item-3 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.header__span.anim-item-4 {
    opacity: 0;
    animation: anim-item-4 4s ease-in-out;
    animation-delay: 3s;
    animation-fill-mode: backwards;
}

@keyframes anim-item-4 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.header__span.anim-item-5 {
    opacity: 0;
    animation: anim-item-5 3s ease-in-out;
    animation-delay: 4s;
    animation-fill-mode: backwards;
}

@keyframes anim-item-5 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.header__subtitle-2 {
    text-align: center;
    animation: header__subtitle-2 5.2s ease-in-out;
    animation-fill-mode: both;
    animation-delay: 7.1s;
}

@keyframes header__subtitle-2 {
    from {
        transform: translate(0, -50%);
        opacity: 0;
    }

    20% {
        opacity: 0.4;
    }

    30% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.9;
        transform: translate(0, 0) scale(1.1);
    }

    55% {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.header__span {
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    color: #bb9b49;
    font-weight: 400;
    font-size: 44px;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(to right, #ebd197, #b48811, #ebd197, #a2790d, #bb9b49, #ebd197);
}

.subtitle-1 {
    font-family: 'Marck Script', sans-serif;
}

.header__cover {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header__subtitle-h2 {
    font-family: 'Akrobat Thin', sans-serif;
    font-size: 16px;
    letter-spacing: 0.08em;
    color: #848789;
    text-align: center;
    padding-bottom: 20px;
    text-transform: lowercase;
    animation: header__subtitle-h2 2.7s ease-in-out;
    animation-fill-mode: both;
    animation-delay: 12.3s;
}

@keyframes header__subtitle-h2 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.header__title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50px;
}

.header__img-cont {
    max-width: 300px;
    margin-right: 80px;
}

.header__img {
    width: 100%;
    animation: header__img 2.7s ease-in-out;
    animation-fill-mode: both;
    animation-delay: 12.3s;
}

@keyframes header__img {
    from {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    10% {
        opacity: 0.2;
    }

    30% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.8;
        transform: translate(0, 0);
    }

    to {
        opacity: 1;
    }
}

.header__h1 {
    font-family: 'Marck Script', sans-serif;
    color: #bb9b49;
    font-weight: normal;
    font-size: 122px;
    text-transform: capitalize;
    padding-top: 0;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-align: right;
    animation: header__h1 2.7s ease-in-out;
    animation-fill-mode: both;
    animation-delay: 12.3s;
}

@keyframes header__h1 {
    from {
        transform: translate(50%, 0);
        opacity: 0;
    }

    10% {
        opacity: 0.2;
    }

    30% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.8;
        transform: translate(0, 0);
    }

    to {
        opacity: 1;
    }
}

.header__mission {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: header__mission 1.2s ease-in-out;
    animation-delay: 14.3s;
    animation-fill-mode: both;
}

@keyframes header__mission {
    from {
        transform: translateY(50%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header__mission-p {
    font-family: 'Akrobat Thin', sans-serif;
    font-size: 18px;
    letter-spacing: 0.08em;
    color: #525252;
    text-align: center;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    text-transform: uppercase;
    max-width: 500px;
}

.header__mission-p::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: #bb9b49;
    margin: 0 auto 20px;
}

.header__mission-p::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: #bb9b49;
    margin: 20px auto 0;
}


.header__burger-icon {
    width: 40px;
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 30px;
    right: 30px;
}

.header__burger-icon:hover {
    transform: scale(1.1);
}

@media (max-width: 1640px) {
    .header__h1 {
        font-size: 94px;
    }
}

@media (max-width: 1200px) {
    .header__h1 {
        font-size: 80px;
        letter-spacing: 0.01em;
        line-height: 1;
    }

    .header__img-cont {
        margin-right: 60px;
    }
}

@media (max-width: 980px) {
    .header__h1 {
        font-size: 72px;
    }

    .header__span {
        font-size: 40px;
        letter-spacing: 0.01em;
        line-height: 1.1;
    }
}

@media (max-width: 768px) {
    .header {
        height: 100vh;
    }

    .header__span {
        font-size: 36px;
    }

    .subtitle-1 {
        line-height: 1.5;
    }

    .header__title {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .header__img-cont {
        max-width: 180px;
        margin-right: 0;
    }

    .header__h1 {
        font-size: 80px;
    }
}

@media (max-width: 530px) {
    .header {
        height: 100vh;
    }

    .header__h1 {
        font-size: 76px;
    }

    .header__span {
        font-size: 34px;
        letter-spacing: 0.01em;
        line-height: 0.8;
    }

    .subtitle-1 {
        line-height: 1.5;
    }
}

@media (max-width: 380px) {
    .header {
        height: 100vh;
    }

    .header__h1 {
        font-size: 72px;
    }

    .header__span {
        font-size: 34px;
        letter-spacing: 0.01em;
        line-height: 0.8;
    }

    .subtitle-1 {
        line-height: 1.5;
    }

    .header__mission-p {
        font-size: 16px;
        letter-spacing: 0.06em;
    }

    .header__img-cont {
        max-width: 140px;
        margin-right: 0;
    }
}

/* Всплывающее меню */

.uk-offcanvas-bar {
    background: rgb(187, 155, 73, 0.9);
}

.numbers__h2,
.rooms__h2,
.tracking__h2,
.food__h2,
.bathroom__h2,
.sea__h2,
.feedback__h2,
.price__h2,
.footer__h2 {
    font-family: 'Akrobat Black', sans-serif;
    font-size: 20px;
    color: #bb9b49;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
}

.bathroom__text::after,
.feedback__text::after,
.food__text::after,
.sea__text::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: #bb9b49;
    margin: 20px auto 0;
}

/* Секция с видео */

.background-video {
    position: relative;
    min-width: 100%;
    min-height: 100%;
  }
 
@media (max-width: 780px) {
    .background-video {
        width: 100%;
        /* min-height: 100%; */
      }
}

/* Секция карточки с описанием центра */

.numbers {
    padding-top: 0;
    padding-bottom: 70px;
}

.my_container.card-numbers {
    max-width: 800px;
}

.numbers__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 40px;
    box-shadow: 4px 5px 13px rgb(0, 0, 0, 0.25);
    padding-top: 70px;
    padding-bottom: 70px;
    padding-left: 60px;
    padding-right: 60px;
}

.activity.numbers__card {
    animation: numbers-card 0.9s ease-in-out;
}

@keyframes numbers-card {
    from {
        transform: scale(0.1, 0.1);
        opacity: 0.3;
    }

    70% {
        transform: scale(1, 1);
        opacity: 0.6;
    }

    80% {
        transform: scale(1.1, 1.1);
        opacity: 1;
    }

    to {
        transform: scale(1, 1);
        opacity: 1;
    }
}

.numbers__list {
    margin-top: 45px;
    list-style-type: none;
    padding-left: 0;
}

.numbers__item {
    font-family: 'Akrobat Thin', sans-serif;
    font-size: 16px;
    letter-spacing: 0.01em;
    color: #4D4959;
    text-transform: none;
    text-align: center;
    padding-bottom: 16px;
}

.numbers__item::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: #bb9b49;
    margin: 20px auto 0;
}

.numbers__item:last-child {
    margin-bottom: 0;
}

@media (max-width: 524px) {
    .numbers {
        padding-top: 0;
        padding-bottom: 70px;
    }

    .numbers__card {
        padding-top: 70px;
        padding-bottom: 70px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .numbers__text {
        font-size: 14px;
        padding-bottom: 20px;
    }
    .numbers__item {
        font-size: 14px;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 477px) {
    .numbers__card {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .numbers__item {
        font-size: 12px;
        letter-spacing: 0.05em;
        text-align: center;

    }
}

@media (max-width: 390px) {
    .numbers__card {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .numbers__item {
        font-size: 10px;
        letter-spacing: 0.05em;
        text-align: center;

    }
}

/* Слайдер с фото интерьеров */

.gallery {
    padding-bottom: 0px;
    text-align: center;
}

.gallery.rooms {
    padding-bottom: 70px;
    padding-top: 70px;
}

.rooms__h2 {
    padding-bottom: 60px;
}

.rooms__text,
.tracking__text,
.food__text,
.sea_text {
    font-family: 'Akrobat Thin', sans-serif;
    font-size: 16px;
    color: #525252;
    text-align: center;
    text-transform: lowercase;
    padding-bottom: 30px;
}

/* Секция меню */

.food__text {
    padding-top: 20px;
}

.gallery__img {
    object-fit: contain;
    max-height: 100%;
    cursor: zoom-in;
}

.food {
    padding-top: 70px;
    padding-bottom: 70px;
}

.food__descr {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.food__text {
    padding-bottom: 10px;
    text-transform:none;
}

/* Секция сауна */

.bathroom {
    padding-top: 70px;
    padding-bottom: 70px;
}

@media (max-width: 524px) {
    .food {
        padding-top: 0px;
        padding-bottom: 70px;
    }
}

.bathroom__flex {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding-bottom: 20px;
}

.bathroom__image {
    max-width: 400px;
}

.activity.bathroom__image {
    animation: bathroom-img 1.1s ease-in-out;
}

.reveal {
    position: relative;
    opacity: 0;
}

.reveal.activity {
    opacity: 1;
}

@keyframes bathroom-img {
    from {
        transform: translateX(50%);
        opacity: 0.1;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.bathroom__img {
    width: 100%;
}

.bathroom__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: none;
}

.bathroom__p {
    font-family: 'Akrobat Thin', sans-serif;
    font-size: 16px;
    color: #525252;
    text-align: center;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 500px;
}

@media (max-width: 685px) {
    .bathroom__flex {
        flex-direction: column;
        justify-content: center;
    }

    .bathroom {
        padding-top: 90px;
        padding-bottom: 60px;
    }

    .bathroom__text {
        padding-bottom: 60px;
    }

    .gallery.rooms {
        padding-bottom: 70px;
        padding-top: 0;
    }
}

@media (max-width: 524px) {
    .bathroom {
        padding-top: 0;
        padding-bottom: 70px;
    }
}


/* Секция Природные достопримечательности */

.tracking {
    padding-top: 70px;
}

@media (max-width: 685px) {
    .tracking {
        padding-top: 90px;
    }
}

@media (max-width: 524px) {
    .tracking {
        padding-top: 0;
    }
}

/* Секция море со слайдером */

.sea {
    padding-top: 140px;
    padding-bottom: 70px;
}

.sea__descr {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 685px) {
    .sea {
        padding-top: 70px;
        padding-bottom: 0px;
    }
}

/* Секция Отзывы */

.feedback {
    padding-top: 70px;
    padding-bottom: 70px;
    text-align: center;
}

.feedback__h2 {
    padding-bottom: 60px;
}

.feedback__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 90px;
    background-color: #fff;
    border-radius: 40px;
    height: 98%;
    width: 98%;
    text-align: center;
    box-shadow: 2px 5px 7px rgb(0, 0, 0, 0.25);
    margin-right: 10px;
}

.feedback__card:last-child {
    margin-right: 0;
}

.feedback__text {
    max-width: 230px;
    text-align: center;
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
}

.feedback__span {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #bb9b49;
    text-align: center;
}

.feedback__video {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    max-width: 400px;
}

polyline {
    fill: #bb9b49;
}

@media (max-width: 524px) {
    .feedback {
        padding-bottom: 0px;
    }
}

/* Секция с кнопкой обратной связи */

.price {
    padding-top: 70px;
    padding-bottom: 70px;
    text-align: center;
}

.price__button {
    text-decoration: none;
    color: #bb9b49;
    border: solid 2px #bb9b49;
    border-radius: 40px;
    padding: 10px 15px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.price__button:hover {
    text-decoration: none;
    color: #bb9b49;
    box-shadow: 2px 5px 7px rgb(0, 0, 0, 0.25);
}

/* Футер */

.footer {
    background-color: #b48811;
    padding-top: 70px;
    padding-bottom: 70px;
}

.footer__flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer__h2 {
    color: #fff;
    font-size: 20px;
    text-align: left;
}

.footer__span {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    letter-spacing: 0.02em;
    text-align: left;
}

.span-2 {
    text-align: right;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.footer__link {
    padding-bottom: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.footer__link:last-child {
    padding-bottom: 0;
}

.footer__link:hover {
    text-decoration: none;
}

.footer__img {
    max-width: 40px;
    padding-right: 8px;
}

@media (max-width: 680px) {
    .footer__flex {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer__h2,
    .footer__span {
        text-align: center;
    }

    .footer__h2 {
        font-size: 16px;
    }

    .footer__span {
        font-size: 14px;
    }

    .footer__address {
        margin-bottom: 30px;
    }

    .footer__contacts {
        align-items: center;
    }

    .footer__link {
        padding-bottom: 6px;
    }
}

/* Форма обратной связи */

.uk-modal-body {
    border-radius: 20px;
}

.uk-modal-body h2 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #bb9b49;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
}

.uk-modal-body p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #848789;
    text-align: center;
}

.modal__form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal__form-input {
    padding: 15px 0 15px 15px;
    width: 100%;
    margin-bottom: 30px;
    border: none;
    border: 2px dotted #bb9b49;
    transition: all 0.3s ease-in;
}

.modal__form-input:hover {
    border: none;
}

.modal__form-input:focus {
    border-bottom: 2px solid #bb9b49;
    transition: all 0.3s ease-out;
}

.modal__form-input._error {
    box-shadow: 2px 2px #ff0000;
}

.uk-button {
    background-color: #bb9b49;
    border-radius: 40px;
    color: #fff;
    padding: 10px 15px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    width: 120px;
    text-align: center;
}

.uk-button:hover {
    box-shadow: 4px 5px 7px rgb(0, 0, 0, 0.25);
    text-decoration: none;
    color: #fff;
    background-color: #bb9b49;
}