body {
    display: flex;
    flex-direction: column;

    min-height: 100vh;
}

main {
    flex: 1;
}


/* =========================home============================= */

.home {
    background-image: url('/static/img/vodogray.png');
    background-size: cover;
    background-position: center top;

    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: overlay;
    background-repeat: no-repeat;

    height: 100vh;
    /* padding-top: 10%; */
    /* padding-left: 60px; */

    box-sizing: border-box;
    position: relative;

}

.home .info {
    max-width: 65%;

    color: white;

    display: flex;
    flex-direction: column;

    position: absolute;

    left: 60px;
    bottom: 40px;
}

.home .info h1 {
    font-size: 70px;
    font-weight: 100;
    line-height: 0.9;
    font-family: 'Merriweather';
}

.home .info h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
    margin: 40px auto 50px;
}

.home .info p {
    font-size: 30px;
    font-family: 'Lora';
    font-weight: 100;

    width: 60%;
}

.home .info a {
    font-size: 24px;
    color: white;
    font-family: 'Montserrat';

    padding: 15px 30px;
    background-color: #BD9765;
    border-radius: 10px;

    margin-top: 80px;

    width: fit-content;
}


/* =========================about us============================= */

.about.us {
    padding: 0 120px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.about.us img {
    width: 508px;
    height: 470px;

    border-radius: 20px;
}

.about.us .info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 25px;
}

.about.us .info p {
    font-size: 20px;
    font-family: 'Lora';
    color: #3F3E45;
}

.about.us .info h2 {
    font-size: 30px;
    font-family: 'Merriweather';
    color: #15304D;
}

.about.us .info .stars {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

    width: 100%;
    margin-top: 45px;
}

.about.us .info .stars .star {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about.us .info .stars .star img {
    width: 50px;
    height: 50px;
}

.about.us .info .stars .star h2 {
    font-size: 32px;
    font-family: 'Lora';
    color: #3F3E45;
}

.about.us .info .stars .star p {
    font-size: 14px;
    font-family: 'Lora';
    color: #3F3E45;
}


/* =========================about hotel============================= */

.about.hotel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: #E4DFD5;

    padding: 20px;
}

.about.hotel h2 {
    font-size: 30px;
    font-family: 'Lora';
    font-weight: 100;
    color: #3F3E45;

    margin-bottom: 25px;
}

.about.hotel .perspective {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;

    gap: 40px;
}

.about.hotel .perspective .per {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about.hotel .perspective .per img {
    width: 65px;
    height: 65px;

    margin-bottom: 15px;
}

.about.hotel .perspective .per p {
    font-size: 14px;
    font-family: 'Lora';
    color: #3F3E45;
}


/* ========================rooms&holl========================= */

.rooms,
.holl {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 0 60px;
}

.rooms h2,
.holl h2 {
    font-size: 30px;
    font-family: "Lora";
    color: #3F3E45;
    font-weight: 200;

    margin-bottom: 30px;
}

.rooms .room,
.holl .hotel-holl {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

    gap: 50px;
    margin-bottom: 55px;
}

/* .rooms .room img,
.holl .hotel-holl img {
    width: 510px;
    height: 390px;

    border-radius: 20px;
} */

.rooms .room .info,
.holl .hotel-holl .info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.rooms .room .info h1,
.holl .hotel-holl .info h1 {
    font-size: 40px;
    font-family: 'Merriweather';
    color: #15304D;
    font-weight: 300;

    margin-bottom: 90px;
}

.rooms .room .info .description,
.holl .hotel-holl .info .description {
    max-width: 520px;
    color: #3F3E45;
    font-family: 'Lora';
    font-size: 17px;
    line-height: 1.6;
    margin: -65px 0 70px;
}

.holl .hotel-holl .info h1 {
    margin-bottom: 35px;
}

.holl .hotel-holl .info .description {
    margin: -12px 0 28px;
}

.rooms .room .info .include,
.holl .hotel-holl .info .include {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 50px;

    margin-top: -40px;
}

.holl .hotel-holl .info .include {
    grid-template-columns: repeat(1, 1fr);

    margin-top: 0;
}

.rooms .room .info .include .incl,
.holl .hotel-holl .info .include .incl {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    gap: 5px;
}

.rooms .room .info .include .incl img,
.holl .hotel-holl .info .include .incl img {
    width: 20px;
    height: 20px;
}

.rooms .room .info .include .incl p,
.holl .hotel-holl .info .include .incl p {
    font-size: 16px;
    font-family: 'Lora';
    color: #3F3E45;
}

.rooms .room .info .price,
.holl .hotel-holl .info .price,
.holl .hotel-holl .info .book {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;

    margin-top: 40px;
}

.holl .hotel-holl .info .price {
    margin-top: 10px;
}

.rooms .room .info .price p,
.holl .hotel-holl .info .price p,
.holl .hotel-holl .info .book p {
    font-size: 24px;
    font-family: 'Montserrat';
    color: #3F3E45;
}

.holl .hotel-holl .info .book p {
    font-size: 18px;
}

.rooms .room .info .price h2,
.holl .hotel-holl .info .price h2,
.holl .hotel-holl .info .book h2 {
    font-size: 46px;
    font-family: 'Gabriela';
    color: #15304D;

    margin-bottom: 0;
    margin-left: 10px;
}

.rooms .room .info .price span,
.holl .hotel-holl .info .price span {
    color: #3F3E45;
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 400;
    margin-left: 10px;
    margin-bottom: 7px;
}

.holl .hotel-holl .info .price h2 {
    font-size: 36px;
}

.holl .hotel-holl .info .book h2 {
    font-size: 24px;
}

.rooms .room .info .price h2::after,
.holl .hotel-holl .info div::after {
    font-size: 24px;
    font-family: 'Montserrat';
    font-weight: 400;
    color: #3F3E45;
    margin-left: 10px;
}

.rooms .room .info .price h2::after {
    content: '';
}

.holl .hotel-holl .info .price::after {
    content: '';
}

.empty-state {
    color: #3F3E45;
    font-family: 'Lora';
    font-size: 18px;
    text-align: center;
}


/* ============================history========================= */

.history {
    padding: 15px;
    height: 800px;

    background-image: url('/static/img/history_fon.png');
    background-size: cover;
    background-position: center top;

    position: relative;

}

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

.history .info {
    width: 50%;
    text-align: center;

    z-index: 10;
}

.history .info h1 {
    font-size: 46px;
    font-family: 'Old Standard TT';
    font-weight: 100;
    color: #303030;
    text-transform: uppercase;

    margin-bottom: 90px;
}

.history .info h2 {
    font-size: 38px;
    font-family: 'Old Standard TT';
    font-weight: 800;
    color: #303030;

    margin-top: -80px;
}

.history .info p {
    font-size: 14;
    font-family: 'Literata';
    color: #303030;

    width: 70%;
}

.history .slideshow .slide {
    background-image: url('/static/img/leter_border.png');
    background-size: cover;
    background-position: center top;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: center;

    box-sizing: border-box;

    padding: 2%;

    position: absolute;
    z-index: 1;

    width: 25%;
    height: max-content;
}

.history .slideshow .slide img {
    display: block;
    margin: 0 auto;

    width: 90%;
    max-height: 45%;

    object-fit: cover;
}

.history .slideshow .slide .title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.history .slideshow .slide:nth-child(1) {
    width: 28%;
    height: 418px;

    transform: rotate(-10.25deg);

    top: 25px;
    left: 29px;

    z-index: 2;
}

.history .slideshow .slide:nth-child(2) {
    height: 403px;

    transform: rotate(2.79deg);

    bottom: 35px;
    left: 79px;
    z-index: 1;
}

.history .slideshow .slide:nth-child(2) .title {
    margin-top: 10px;
}

.history .slideshow .slide:nth-child(3) {
    height: 365px;

    transform: rotate(-9.32deg);

    bottom: 55px;
    left: 35%;
}

.history .slideshow .slide:nth-child(3) .title {
    margin-top: 5px;
}

.history .slideshow .slide:nth-child(4) {
    height: 403px;

    transform: rotate(-2.79deg);

    bottom: 30px;
    right: 35px;
}

.history .slideshow .slide:nth-child(4) .title {
    margin-top: 15px;
}

.history .slideshow .slide:nth-child(5) {
    width: 28%;
    height: 403px;

    transform: rotate(2.79deg);

    top: 20px;
    right: 20px;
}

.history .slideshow .slide:nth-child(5) .title {
    margin-top: 10px;
}

.history .slideshow .slide .title h2 {
    font-size: 22px;
    font-family: 'Old Standard TT';
    color: #303030;
}

.history .slideshow .slide p {
    font-size: 14px;
    font-family: 'Literata';
    color: #303030;
}

.history-slider .history-buttons {
    display: none;
}


/* ===================contacts======================= */

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

    padding: 0 60px;
    gap: 15px;
}

.contacts img,
.contacts iframe {
    width: 380px;
    height: 400px;

    border-radius: 20px;
    object-fit: cover;
    object-position: center;
}

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

.contacts .contact h2 {
    font-size: 30px;
    font-family: 'Lora';
    font-weight: 300;
    color: #3F3E45;

    margin-bottom: 15px;
}

.contacts .contact .cont {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;

    gap: 10px;
    margin-bottom: 20px;
}

.contacts .contact .cont img {
    width: 30px;
    height: 30px;

    object-fit: contain;
    border-radius: 0;
}

.contacts .contact .cont p,
.contacts .contact .cont a {
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 400;
    color: #3F3E45;
}

.contacts .contact .route-btn {
    font-size: 20px;
    font-family: 'Montserrat';
    color: #E3DEDE;

    background-color: #32302D;
    border-radius: 10px;

    padding: 15px 30px;
    text-align: center;
}


/* ==============================adaptive==================== */
@media (max-width: 1200px) {

    .rooms,
    .holl,
    .contacts,
    .about.us {
        padding-left: 40px;
        padding-right: 40px;
    }

    .home {
        padding-left: 40px;
    }

    .home .info {
        width: 75%;
    }
}

@media (max-width: 1024px) {
    .home .info h1 {
        font-size: 60px;
    }

    .home .info h1::after {
        margin: 40px auto 50px;
    }

    .home .info p {
        font-size: 20px;
    }

    .home .info a {
        font-size: 18px;

        margin-top: 80px;
    }
}

@media (max-width: 992px) {
    .about.us {
        flex-direction: column;
        align-items: center;
    }

    .rooms .room,
    .holl .hotel-holl {
        flex-direction: column;
        align-items: center;
    }

    .contacts {
        flex-direction: column;
    }

    .about.us img,
    /* .rooms .room img,
    .holl .hotel-holl img, */
    .contacts iframe,
    .contacts>img {
        width: 100%;
        max-width: 600px;
        height: auto;
    }

    .history {

        height: auto;
        overflow: hidden;
        padding-bottom: 40px;

    }

    .history .info {

        width: 90%;
        margin-bottom: 30px;

    }

    .history .info p {
        width: 100%;
    }

    .history .info h1 {
        font-size: 36px;
    }

    .history .info h2 {
        font-size: 24px;
    }

    .history-slider {

        width: 100%;
        overflow: hidden;

    }

    .history .slideshow {

        display: flex;
        width: 100%;

        transition: transform .45s ease;

    }

    .history-slider .history-buttons {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        position: absolute;

        width: calc(100vw - 35px);
        top: 65%;
    }

    .history-buttons button {

        pointer-events: auto;

        width: 50px;
        height: 50px;

        border: none;
        border-radius: 50%;

        background: rgba(0, 0, 0, .45);

        color: white;

        font-size: 28px;

        cursor: pointer;

        transition: .3s;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .history-buttons button:hover {

        background: rgba(0, 0, 0, .7);

        transform: scale(1.1);

    }


    .history .slideshow .slide {

        flex: 0 0 100%;

        position: relative !important;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        transform: none !important;

        width: 70% !important;
        height: auto !important;

        padding: 25px 60px;
        padding-top: 10%;

        box-sizing: border-box;

    }

    .history .slideshow .slide img {

        width: 75% !important;
        height: auto !important;

    }

    .history .slideshow .slide .title {

        width: 80% !important;

    }

    .history .slideshow .slide .title {
        margin-bottom: 10px;
    }
}

@media (max-width: 868px) {
    .home {
        padding: 180px 25px 0;
    }

    .home .info {
        width: 100%;

        left: 60px;
        top: 180px;
    }

    .home .info h1 {
        font-size: 48px;
    }

    .home .info p {
        width: 100%;
        font-size: 22px;
    }

    .home .info a {
        font-size: 18px;

        padding: 10px 15px;
    }

    .rooms,
    .holl {
        padding: 0 20px;
    }

    .rooms .room .info h1,
    .holl .hotel-holl .info h1 {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .rooms .room .info .description,
    .holl .hotel-holl .info .description {
        margin: -15px 0 35px;
    }

    .rooms .room .info .include {
        margin-top: 0;
    }

    .rooms .room .info .include .incl p,
    .holl .hotel-holl .info .include .incl p {
        font-size: 12px;
    }

    .rooms .room .info .price p,
    .holl .hotel-holl .info .price p {
        font-size: 20px;
    }

    .rooms .room .info .price h2,
    .holl .hotel-holl .info .price h2 {
        font-size: 36px;
    }

    .rooms .room .info .price h2::after,
    .holl .hotel-holl .info .price h2::after {
        font-size: 20px;
    }

    .holl .hotel-holl .info .book h2 {
        font-size: 18px;
    }

    .holl .hotel-holl .info .book p {
        font-size: 16px;
    }

    .contacts {
        padding: 0 20px;
    }

    .about.us {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .home .info h1 {
        font-size: 34px;
    }

    .home .info p {
        font-size: 18px;
    }

    .home .info a {
        width: 80%;
        text-align: center;
    }

    .history .slideshow .slide .title h2 {
        font-size: 18px;
    }

    .history .slideshow .slide p {
        font-size: 10px;
    }

    .history .slideshow .slide .title {
        margin-bottom: 5px;
    }

    .history-slider .history-buttons {
        top: 80%;
    }
}