@font-face {
    font-family: "Aeonik";
    src: url("./fonts/Aeonik-Regular/Aeonik-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Aeonik";
    src: url("./fonts/Aeonik-Bold/Aeonik-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Gravity";
    src: url("./fonts/Gravity/ABCGravity.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

html, body {
    padding: 0;
    margin: 0;
    background: #EFEFEF;
    font-family: 'Aeonik', Tahoma;
}

.layout {
    min-height: 100vh;
}

.header {
    height: 7.4em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #000;
    padding: 0 2.4em;
}

@media (min-width: 0px) {
    .header {
        font-size: 0.65em;
    }
}

@media (min-width: 768px) {
    .header {
        font-size: 1em;
    }
}


.header-controls {
    display: flex;
    align-items: flex-start;
    gap: 1.3em;
}

.header-control {
    display: inline-flex;
    text-decoration: none;
    color: #fff;
    box-sizing: border-box;
    height: 3.6em;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    padding: 0 3.1em;
    transition: all 0.5s;
}

.header-control span {
    font-size: 1.7em;
}

.control-sign-in {
    border: 1px solid #fff;
}

.control-sign-in:hover {
    box-shadow: inset 0 0 0 2px;
}

.control-register {
    background: #8c1eff;
}

.control-register:hover {
    background: #a956ff;
}

.logo {
    background: url(./imgs/logo.svg);
    background-size: cover;
    aspect-ratio: 251 / 66;
    height: 4.6em;
}

.intro {
    height: 67.4em;
    background: url(./imgs/background.webp) center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

@media (min-width: 0px) {
    .intro {
        font-size: 0.33em;
    }
}

@media (min-width: 768px) {
    .intro {
        font-size: 0.6em;
    }
}

@media (min-width: 1152px) {
    .intro {
        font-size: 1em;
    }
}

.slogan-container {
    max-width: 1370px;
    margin: auto;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 7.9em 13.3em;
}

.slogan {
    height: 41em;
    transform: translate(17em, 0);
}

@media (min-width: 768px) {
    .slogan {
        transform: translate(26em, 0);
    }
}

h2 {
    font-size: min(calc(6vw * 1.25), 65px);
    line-height: 1.2;
    text-align: center;
    padding: 1vw 4vw;
    margin: 0.6em 0 0 0;
    font-family: Gravity;
    font-weight: normal;
}

.spoiler {
    font-size: min(calc(2vw*1.7), 23px);
    font-weight: bold;
    line-height: 26px;
    text-align: center;
    padding: 0 4vw;
}

.list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: min(3.7em, 4vh) 1.3em;
    justify-content: center;
    max-width: 1700px;
    margin: min(9em, calc(7 * 1vw)) auto;
}

.hotel {
    width: min(440px, 90%);
    position: relative;
    font-size: min(22px, 5vw);
    display: block;
    text-decoration: none;
    color: #000;
}

.hotel__pic {
    aspect-ratio: 440/260;
    background-size: cover;
}

.hotel__discount:not(:empty) {
    aspect-ratio: 87/77;
    width: 20%;
    background: #8C1EFF;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.hotel__discount:not(:empty)::before {
    content: '-';
}

.hotel__content {
    padding: 0.65em .7em;
    background: #fff;
    line-height: 1;
}

.hotel__rating {
    color: #F89F03;
    font-size: 0.6em;
    height: 1.2em;
}

.hotel__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.82em;
    font-weight: bold;
    height: 1em;
    margin-top: 0.3em;
}

.hotel__place {
    color: #696969;
    font-size: 0.68em;
    height: 1em;
    margin-top: 0.6em;
}

.hotel__date {
    font-size: 0.82em;
    letter-spacing: 0.03em;
    height: 1em;
    margin-top: 0.45em;
}

.hotel__date:not(:empty)::before {
    content: 'Travel dates: ';
}

#headline .hotel__date {
    height: 0;
}

.hotel__book {
    height: 3.05em;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.3s;
    font-size: 0.75em;
    margin-top: 1.25em;
}

.hotel:hover .hotel__book {
    background: #8C1EFF;
}

/* footer */

* {
    box-sizing: inherit;
}

.Footer_root__89bO0 {
    padding-bottom: 18px;
    padding-top: 25px;
    background-color: var(--color-black-100);
    border-bottom: 4px solid var(--color-purple-100);
}

@media screen and (min-width: 1920px) {
    .Footer_root__89bO0 {
        border-bottom-width: 8px;
    }
}

@media screen and (min-width: 1400px) {
    .Footer_root__89bO0 {
        padding-top: 60px;
        padding-bottom: 20px;
    }
}

@media screen and (min-width: 1920px) {
    .Footer_root__89bO0 {
        padding-bottom: 24px;
    }
}

.Container_root__n_Nmn {
    --container-padding: var(--space-xl);
    margin: 0px auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 1700px;
    padding-inline: var(--container-padding);
}

@media screen and (min-width: 1400px) {
    .Container_root__n_Nmn {
        --container-padding: var(--space-4xl);
    }
}

@media screen and (min-width: 1920px) {
    .Container_root__n_Nmn {
        --container-padding: var(--space-6xl);
    }
}

.Footer_container__QxD0T {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-l);
}

@media screen and (min-width: 768px) {
    .Footer_container__QxD0T {
        flex-direction: row;
        gap: var(--space-2xl);
    }
}

.Footer_textsGroup__FQeWU {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    color: var(--color-black-50);
}

blockquote, body, dd, dl, figcaption, figure, li, ol, p, ul {
    margin: 0px;
}

.Typography_root_variant_p3__5PR7c, .Typography_root_variant_p4__aIuWL, .Typography_root_variant_p5___pE9W {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
}

@media screen and (min-width: 768px) {
    .Typography_root_variant_p3__5PR7c, .Typography_root_variant_p4__aIuWL, .Typography_root_variant_p5___pE9W {
        font-size: 12px;
        line-height: 12px;
    }
}

@media screen and (min-width: 1400px) {
    .Typography_root_variant_p4__aIuWL, .Typography_root_variant_p5___pE9W {
        font-size: 14px;
        line-height: 14px;
    }
}

@media screen and (min-width: 1920px) {
    .Typography_root_variant_p4__aIuWL {
        font-size: 16px;
        line-height: 22px;
    }
}

a {
    background-color: transparent;
}

.Footer_textsGroup__FQeWU a {
    text-decoration: none;
    color: var(--color-black-50);
}

.Footer_legalInfo__4zBBG {
    white-space: pre-line;
}

.Footer_links__I1TdK {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 0%;
    flex-wrap: wrap;
    gap: var(--space-2xl);
}

@media screen and (min-width: 768px) {
    .Footer_links__I1TdK {
        align-items: flex-start;
    }
}

ol, ul {
    list-style: none;
    padding: 0px;
}

.Footer_internal__PuHtp, .Footer_media__9mJue {
    display: flex;
    gap: var(--space-4xl);
    justify-content: normal;
    list-style-type: none;
}

.Footer_internal__PuHtp {
    justify-content: flex-end;
}

@media screen and (min-width: 768px) {
    .Footer_internal__PuHtp {
        flex-direction: column;
        gap: var(--space-s);
    }
}

@media screen and (min-width: 1400px) {
    .Typography_root_variant_p3__5PR7c {
        font-size: 16px;
        line-height: 22px;
    }
}

@media screen and (min-width: 1920px) {
    .Typography_root_variant_p3__5PR7c {
        font-size: 18px;
        line-height: 22px;
    }
}

.Footer_links__I1TdK a {
    text-decoration: none;
    color: var(--color-white-100);
}

@media screen and (min-width: 768px) {
    .Footer_media__9mJue {
        gap: var(--space-8xl);
        flex: 1 1 100%;
    }
}


html {
    --color-red-100: #ff1e1e;
    --color-yellow-50: #ffee80;
    --color-yellow-100: #fedd00;
    --color-white-90: #e5e5e5;
    --color-white-100: #fff;
    --color-black-25: #bfbfbf;
    --color-black-50: grey;
    --color-black-75: #404040;
    --color-black-90: #2d2d2d;
    --color-black-100: #000;
    --color-purple-50: #c58fff;
    --color-purple-75: #a956ff;
    --color-purple-100: #8c1eff;
    --color-background-image: #f0f1f3;
    --space-5xs: 2px;
    --space-4xs: 4px;
    --space-3xs: 6px;
    --space-2xs: 8px;
    --space-xs: 10px;
    --space-s: 12px;
    --space-m: 14px;
    --space-l: 16px;
    --space-xl: 18px;
    --space-2xl: 20px;
    --space-3xl: 22px;
    --space-4xl: 24px;
    --space-5xl: 26px;
    --space-6xl: 28px;
    --space-7xl: 30px;
    --space-8xl: 32px;
    --space-9xl: 34px;
    --space-10xl: 36px;
    --space-11xl: 38px;
    --space-12xl: 40px;
    --space-13xl: 42px;
    --space-14xl: 44px;
    --space-15xl: 46px;
    --space-16xl: 48px;
    --space-17xl: 50px;
    --space-18xl: 52px;
    --space-19xl: 54px;
    --space-20xl: 56px;
    --space-21xl: 58px;
    --space-22xl: 60px;
    --font-primary: "Aeonik Regular", sans-serif;
    --font-primary-bold: "Aeonik Bold", sans-serif;
    --font-secondary: "ABCGravityCyrillicVariable", sans-serif;
    --z-index-header: 10;
    --z-index-popover: 110;
    --z-index-dialog: 1000;
    --header-height: 58px;
}
