@import url(./fonts/roboto.css);
@import url(./fonts/ubuntu.css);
@import url(style.css);

*:focus {
    outline: none;
}

body {
    color: #fff;
}

.header__contacts-item span {
  font-weight: 500;
}

.inform-inputs {
    background: #000;
    width: 100%;
}

.inputs {
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
}

.react-ui-jfj1jd {
    padding: 8px 6px !important;
}

.gallery {
    position: relative;
    width: 100%;
    height: 575px;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-backgrounds__container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
}

.gallery-backgrounds {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.gallery-background {
    flex: 0 0 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease-in-out;
}

.gallery-background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__btn-container {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.arrows {
    display: flex;
    position: absolute;
    top: 50%;
    right: -100%;
    transform: translateX(-50%) translateY(-50%);
    gap: 12px;
}

@media screen and (max-width: 1200px) {
    .gallery__btn-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .arrows {
        position: relative;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: 24px auto 0;
        transform: none;
    }
}

.slide-arrow {
    z-index: 100;
    border: none;
    cursor: pointer;
    color: #000;
    position: relative;
}

.gallery-info {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.gallery__title {
    font-family: 'Roboto', sans-serif;
    font-size: 80px;
    font-weight: 400;
    letter-spacing: 18px;
    text-align: center;
    margin: auto;
}

.gallery__subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 24px;
    margin: 0 auto 54px;
}

@media screen and (max-width: 930px) {
    .gallery__title {
        font-size: 60px;
    }

    .gallery__subtitle {
        font-size: 18px;
    }
}

@media screen and (max-width: 770px) {
    .gallery__title {
        font-size: 34px;
    }

    .gallery__subtitle {
        font-size: 12px;
    }
}

.facilities {
    width: 80%;
    box-shadow: 0 4px 4px 0 #00000040;
    border-radius: 10px;
    background: #fff;
    color: #957554;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    z-index: 3;
}

.facilities__title {
    margin-bottom: 14px;
}

.facilities h1 {
    font-family: 'Ubuntu', sans-serif;
    color: #957554;
    text-align: center;
    margin-top: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

.facilities {
    padding: 20px 120px;
}

.facilities-items {
    display: flex;
    justify-content: space-between;
    margin: auto;
}

.facilities-items img {
    width: 43px;
    height: 43px;
}

.facilities-items span {
    font-family: 'Roboto', sans-serif;
    font-size: 19px;
}

.facilities-kitchen, .facilities-wifi, .facilities-taxi, .facilities-laundry, .facilities-breakfast, .facilities-cctv {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.room-categories {
    padding: 88px 20px 18px;
    display: flex;
    flex-direction: column;
}

.room-categories__container {
    max-width: 1406px;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
}

.rooms__title {
    margin-bottom: 24px;
}

.rooms {
    display: flex;
    flex-direction: column;
}

.rooms-grid {
    display: grid;
    gap: 30px;
}

.room-row {
    justify-items: center;
}

.room-row.full-width {
    display: grid;
    grid-template-columns: repeat(4, minmax(320px, 1fr));
    gap: 30px;
}

.room-row.centered {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.room-card {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-size: 320px 260px;
    border-radius: 10px;
    width: 320px;
    height: 254px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px 25px 10px 25px;
}

.room-card span {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin: 0 auto;
    text-align: center;
}

.room-card a {
    color: #fff;
    text-decoration: none;
    background: #DFAA5B;
    padding: 10px 0;
    text-align: center;
    border-radius: 15px;
    font-size: 17px;
    font-weight: 550;
    max-width: 222px;
    width: 100%;
    margin: 3px auto 0;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.room-card a:hover {
    background: #A87831;
}

@media (max-width: 1430px) {
    .room-row.full-width {
         grid-template-columns: repeat(3, 1fr);
     }

    .room-row.full-width .room-card:nth-child(4) {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    .room-row.centered {
        gap: 30px;
        justify-content: space-around;
    }
}

@media (max-width: 1084px) {
    .room-row.full-width {
        grid-template-columns: repeat(2, 1fr);
    }

    .room-card {
        width: 100%;
    }
}

@media (max-width: 928px) {
    .room-row.centered {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }

    .room-row.centered .room-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 250px;
    }
}

.room-card-1 {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #000000 100%),
    url('../../image/rooms/room-1.png');
}

.room-card-2 {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #000000 100%),
    url('../../image/rooms/room-2.png');
}

.room-card-3 {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #000000 100%),
    url('../../image/rooms/room-3.png');
}

.room-card-4 {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #000000 100%),
    url('../../image/rooms/room-4.png');
}

.room-card-5 {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #000000 100%),
    url('../../image/rooms/room-5.png');
}

.room-card-6 {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #000000 100%),
    url('../../image/rooms/room-6.png');
}

.room-card-7 {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #000000 100%),
    url('../../image/rooms/room-7.png');
}

.how-to-find {
    margin-bottom: 26px;
}

.how-to-find__container {
    padding: 0 10px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.hot-to-find__title {
    margin-bottom: 18px;
}

.how-to-find__inner {
    display: flex;
    justify-content: space-between;
    column-gap: 60px;
    row-gap: 16px;
}

.yandex__feedback-container {
    max-width: 315px;
    width: 100%;
    height: 371px;
    overflow: hidden;
    position: relative;
}

.yandex__map {
    max-width: 955px;
    width: 600px;
    height: 374px;
}

@media screen and (max-width: 1092px) {
    .how-to-find__container {
        padding: 0;
    }

    .how-to-find__inner {
        flex-direction: column-reverse;
        align-items: center;
    }

    .how-to-find__inner iframe {
        width: 100%;
        margin-bottom: 16px;
    }
}

.youtube__title {
    margin-bottom: 26px;
}

#background-video {
    display: block;
    width: 100%;
    height: 488px;
    background-image: url("../../image/youtube.png");
    background-position: center;
    background-size: cover;
    cursor: pointer;
}

.reservation {
    padding: 26px 10px 36px;
}

@media screen and (max-width: 1180px) {
    .room-categories {
        padding-top: 120px;
    }

    .facilities {
        padding: 20px 10px;
    }

    .facilities-items {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 10px;
    }
}

.no-scroll {
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: fixed;
}

@media screen and (max-width: 820px) {
    .room-categories {
        padding-top: 160px;
    }

    .facilities-items {
        grid-template-columns: 1fr 1fr;
    }

    .facilities-items span {
        font-size: 16px;
    }
}

@media screen and (max-width: 620px) {
    .facilities-items span {
        font-size: 12px;
    }

    .rooms-grid {
        gap: 0;
    }

    .room-row.full-width,
    .room-row.centered {
        display: block;
    }

    .room-card {
        width: auto;
        margin-bottom: 30px;
    }

    .room-row.centered .room-card:last-child:nth-child(odd) {
        width: auto;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 413px) {
    .BookingSearchForm_control {
        padding: 10px !important;
    }
}