html {
    scroll-behavior: smooth;
}

:root {
    --clr-bg-main: #FCFFF2;
    --clr-red: #FF3333;
    --clr-red-dark: #b60000;
    --clr-yellow-section: #F9E4B7;
    --clr-footer: #1A1A1A;
}

body {
    box-sizing: border-box;
    font-family: 'Niveau Grotesk', sans-serif;
    margin: 0;
    background-color: var(--clr-bg-main);
    display: grid;
    position: relative;
    grid-template-columns: minmax(1em, .4fr) minmax(20rem, 4fr) minmax(1em, .4fr);
}

.translate {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: .5rem;
}

.translate__flag {
    max-width: 50px;
    cursor: pointer;
    outline: 1px black solid;
}

.header {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.logo {
    transform: scale(.9);
}

.navbar--mobile-sign {
    position: fixed;
    top: 4%;
    right: 0;
    display: none;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--clr-bg-main);
    padding: .5rem .8rem;
    padding-right: 2.5rem;
    box-shadow: 0px 0px 10px  rgba(0,0,0,.2);
    font-size: 2rem;
    z-index: 1001;
    border: none;
    cursor: pointer;
}

.navbar {
    min-width: 50%;
    margin-left: auto;
    margin-top: auto;
    padding: 0;
    z-index: 1000;
    transition: .5s ease-in-out;
    background-color: var(--clr-bg-main);
}

.navbar--mobile {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--clr-bg-main);
    display: none;
    grid-template-columns: 1em 1fr 1em;
    grid-template-rows: min-content 1fr;
    z-index: 1002;
    width: 100%;
    max-width: 100%;
    transition: .5s ease-in-out;
}

.navbar--mobile div:nth-of-type(2) {
    max-height: min-content;
    grid-column: 2 / -1;
    display: flex;
    align-items: center;
    padding: 0;
    padding-right: 2rem;
    margin: 0;
}

.logo--mobile {
    transform: scale(.6);
    margin-left: -3rem;
}

.navbar--mobile--close {
    text-decoration: none;
    color: black;
    font-size: 2rem;
    font-weight: 300;
    border: none;
    background: transparent;
    margin-left: auto;
    align-self: flex-end;
}

.nav__list--mobile {
    grid-row: 2;
    grid-column: 1 / -1;
    list-style-type: none;
    padding: 0;
    margin-bottom: 0;
}

.navbar--mobile li {
    display: flex;
}

.nav__list--mobile li a {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 0 100%;
    padding: 1.4rem 0;
    font-size: 1.6rem;
    font-weight: 300;
}

.sticky {
    position: fixed;
    top: 0;
    right: 8.35%;
}

.nav__list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    flex-grow: 1;
}

.nav__list__item {
    flex: 1 0 20%;
}

.nav__list__item a {
    text-decoration: none;
    color: inherit;
    
    display: flex;    
    min-height: 50px;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;
    cursor: pointer;
}

.nav__list__item:hover:not(.list__item--rezervace), .nav__list__item:focus:not(.list__item--rezervace) {
    background-color: gainsboro;
}

.list__item--rezervace {
    background-color: var(--clr-red);
    color: white;
}

.list__item--rezervace:hover, .list__item--rezervace:focus {
    background-color: var(--clr-red-dark);
}

.item--active {
    background-color: gainsboro;
    font-weight: bold;
}

/************************************************************************************************************************************/

.section_video {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.arrow_holder {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.video_arrow_down {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: .7rem;
    padding-bottom: 4.2rem;
    background-color: var(--clr-red);
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    min-width: 55px;
}

.video {
    object-fit: fill;
    max-width: 100%;
    min-height: 100%;
}

/************************************************************************************************************************************/

.popup {
    position: fixed;
    top: 50%;
    width: fit-content;
    max-width: 23%;
    min-width: 400px;
    transform: translateY(-50%);
    z-index: 1001;
    display: flex;
    align-items: center;
    transition: .5s ease-in-out;
}

.popup--open {
    text-decoration: none;
    color: white;
    background-color: var(--clr-red);
    text-transform: uppercase;
    font-size: 1.5rem;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    padding: 1rem;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    cursor: pointer;
}

.popup--content {
    background-color: var(--clr-bg-main);
    border-top-left-radius: 15px;
    text-align: center;
}

.popup--nadpis {
    font-size: 1.5rem;
    padding: 0 1rem;
}

.popup--info {
    font-size: 1.1rem;
    margin: 1rem 0;
}

.popup--img {
    max-width: 100%;
}

.popup--detaily-btn {
    background-color: var(--clr-red);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100%;
    padding: 1rem 0;
    color: white;
    font-size: 1.1rem;
    transition: .3s ease-in-out;
}

.popup--detaily-btn:hover, .popup--detaily-btn:focus {
    background-color: var(--clr-red-dark);
}

/************************************************************************************************************************************/

.yellow {
    background-color: var(--clr-yellow-section);
}

.zazijte_rychleby {
    padding: 4rem 5rem;
}

.warning__info {
    text-align: center;
    color: red;
    margin-top: 0;
    margin-bottom: 4rem;
    font-size: 2rem;
}

.h2nadpis {
    font-size: 2.5rem;
    margin: 0;
}

.subheader3 {
    font-size: 1.7rem;
}

.rychleby_content {
    margin-top: 2rem;
    transition: .5s ease-in-out;
}

.rychleby_content_arrow--mobile {
    display: none;
    min-width: 100%;
    min-height: 40px;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    color: black;
    margin-top: 1rem;
    background: transparent;
    border: none;
}

.rychleby_text--mobile {
    transition: .5s ease-in-out;
}

.rychleby_video {
    height: 390px;
    width: 100%;
    max-height: fit-content;
}

.video--holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 3rem;
    width: 50%;
    float: right;
}

.video--mobile {
    display: none;
}

.video--popis {
    font-size: 1.1rem;
    margin: .5rem 0;
}

.span-bold {
    font-weight: 600;
}

.rychleby_text {
    font-weight: 300;
    font-size: 1.2rem; /*1.25rem*/
    line-height: 1.5;
    margin-bottom: .5rem;
    margin-top: 0;
    text-align: justify;
}

/***** KALENDAR OBSAZENOSTI ******************************/

.obsazenost_section {
    padding: 3rem 0;
}

.top__line {
    padding: 0 2rem;
    display: grid;
    grid-template-columns: max-content 1fr;
}

.obsaz--nadpis {
    font-size: 2rem;
}

.top__line--pokoje {
    display: flex;
    justify-content: flex-end;
}

.hp {
    display: flex;
    align-items: center;
    gap: 6rem;
    position: relative;
}

.hp::after {
    content: "";
    position: absolute;
    width: 105%;
    height: 1px;
    left: -5%;
    background-color: black;
    bottom: 1rem;
}

.selected {
    position: absolute;
    width: 20%;
    height: 3px;
    left: -4%;
    background-color: black;
    bottom: 1rem;
    transition: .3s ease-in-out;
}

.obsaz--pokoj {
    font-size: 1.3rem;
    font-weight: 300;
    cursor: pointer;
}

.obsaz--pokoj:last-of-type {
    padding-right: 2rem;
}

.selected--item {
    font-weight: bold;
}

.kalendar--holder {
    margin-top: 1rem;
    overflow-y: hidden;
    min-height: 300px;
}

.kalendar-mobile {
    display: none;
}

/************************************************************************************************************************************/

.sec_pokoje {
    padding: 4rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pokoje_nadpis {
    font-size: 2rem;
    text-align: center;
    position: relative;
}

.pokoje_nadpis::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: -25%;
    height: 2px;
    width: 150%;
    background-color: black;
}

.pokoje-holder {
    min-width: 80%;
    max-width: 100%;
    margin-top: 1.5rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    grid-template-rows: min-content min-content;
}

.flex-holder {
    min-height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pokoj-slider {
    position: relative;
    flex: 1 0 30%;
    min-height: 320px;
    min-width: 300px;
    background-position: center center;
    background-size: cover;
    transition: .3s ease-in-out;
}

.first {
    background-image: url("../assets/rodinny/rodinny1.jpg");
}

.second {
    background-image: url("../assets/alpsky/alpsky20.jpg");
}

.third {
    background-image: url("../assets/olomoucky/olomoucky1.jpg");
}

.wide {
    background-image: url("../assets/zazemi/zazemi1.jpg");
}

.slider__btn {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .4);
    transition: .3s ease-in-out;
}

.btn-pokoj {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px white solid;
    text-decoration: none;
    font-size: 1.5rem;
    background-color: transparent;
    color: white;
    padding: .7rem 2rem;
    position: relative;
    transition: .3s ease-in-out;
}

.slider__btn:hover {
    background-color: rgba(0, 0, 0, .6);
}

.btn-pokoj:hover, .btn-pokoj:focus {
    background-color: white;
    color: black;
}

/************************************************************************************************************************************/

.muj_pribeh_lekarna {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4rem;
    background-color: var(--clr-yellow-section);
}

.muj_pribeh__card {
    justify-self: center;
    padding-bottom: 0;
    display: flex;
    padding-bottom: 15%;
    flex-direction: column;
    align-items: center;
}

.card__img {
    max-width: 80%;
    margin: 2rem;
}

.muj_pribeh_nadpis {
    font-size: 1.7rem;
    margin-top: 0;
}

.muj_pribeh__text {
    max-width: 75%;
    font-weight: 300;
    font-size: 1.1rem;
    word-spacing: -1px;
    line-height: 1.3;
    text-align: justify;
    font-style: italic;
}

.muj_pribeh__btn {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--clr-red);
    color: white;
    text-decoration: none;
    padding: .7rem 3rem;
    font-size: 1.5rem;
    font-weight: 300;
    transition: .1s ease-in-out;
}

.muj_pribeh__btn:hover, .muj_pribeh__btn:focus {
    background-color: var(--clr-red-dark);
}

/************************************************************************************************************************************/

.mapa {
    padding: 4rem 0;
    background-color: var(--clr-yellow-section);
}

.mapa__nadpis {
    text-align: center;
    font-size: 2rem;
}

.mapa--holder {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.mapa__mapa {
    width: 60%;
    height: 60vh;
}

/************************************************************************************************************************************/

.recenze {
    padding: 4rem 0;
}

.recenze_nadpis {
    text-align: center;
    font-size: 2rem;
}

/************************************************************************************************************************************/

.karavan {
    padding: 4rem 0;
}

.karavan__nadpis {
    text-align: center;
    font-size: 2rem;
}

.karavan__text {
    text-align: center;
    font-size: 1.2rem;
}

.karavan__photos {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.img__karavan {
    max-width: 40%;
}

/************************************************************************************************************************************/

.dark {
    background-color: var(--clr-footer);
}

.footer {
    padding: 3rem;
}

.footer__info, .footer__info a {
    color: white;
    text-align: center;
}

/************************************************************************************************************************************/

@media only screen and (max-device-width: 1375px) {
    .obsazenost_section {
        padding: 2rem 0;
    }
    .top__line {
        grid-template-columns: 100%;
    }
    .top__line--pokoje {
        justify-content: center;
    }
}

@media only screen and (max-device-width: 1100px) {
    .video--holder {
        margin-left: 0;
        float: none;
        width: 100%;
    }
}

@media only screen and (max-device-width: 990px) {
    body {
        grid-template-columns: 1em minmax(20rem, 4fr) 1em;
    }
    .header {
        flex-direction: column;
    }
    .logo, .navbar {
        margin-left: auto;
        margin-right: auto;
    }
    .navbar {
        margin-top: 1rem;
        min-width: 100%;
    }
    .sticky {
        top: 0;
        right: 0;
        margin: 0;
    }
    .popup--open {
        font-size: 1.2rem;
    }
    .mapa__mapa {
        width: 90%;
    }
}

@media only screen and (max-device-width : 700px) {
    body {
        grid-template-columns: 100%;
    }
    .translate {
        justify-content: flex-start;
        padding-left: 2rem;
    }
    .navbar--mobile-sign {
        display: flex;
    }
    .navbar--mobile {
        display: grid;
    }
    .header {
        margin-top: 0;
        grid-column: 1 / -1;
        position: unset;
    }
    .logo {
        transform: scale(.8);
        margin-left: -1rem;
    }
    .navbar {
        display: none;
    }
    .mobile-gone {
        display: none;
    }
    .section_video {
        grid-column: 1 / -1;
        background-color: var(--clr-yellow-section);
    }
    .arrow_holder {
        display: none;
    }
    .popup--info {
        padding: 0 10px;
    }
    .video {
        max-width: 100%;
        min-height: auto;
    }
    .zazijte_rychleby {
        padding: 2rem 1rem;
    }
    .warning__info {
        font-size: 1.5rem;
    }
    .h2nadpis {
        font-size: 2rem;
        text-align: center;
    }
    .video--nonmobile {
        display: none;
    }
    .rychleby_text {
        font-size: 1.1rem;
    }
    .rychleby_text--mobile {
        display: none;
        flex-direction: column;
    }
    .rychleby_content_arrow--mobile {
        display: flex;
    }
    .video--mobile {
        display: block;
        height: 350px;
        margin-top: 1rem;
        margin-bottom: 5rem;
    }
    .sec_pokoje {
        padding: 4rem 2rem;
    }
    .pokoje_nadpis::after {
        width: 100%;
        left: 0;
    }
    .pokoj-slider {
        max-width: 70%;
    }
    .wide {
        justify-self: center;
        width: 70%;
        min-width: 300px;
    }
    .hp {
        gap: 3rem;
    }
    .muj_pribeh_lekarna {
        padding: 2rem 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .muj_pribeh__card {
        position: relative;
    }
    .muj_pribeh__card:first-of-type::after {
        content: "";
        position: absolute;
        bottom: 1rem;
        left: 5%;
        width: 90%;
        height: 1px;
        background-color: black;
    }
    .muj_pribeh__btn {
        font-size: 1.2rem;
    }
    .karavan__text {
        max-width: 40ch;
        margin: 0 auto;
    }
    .karavan__photos {
        flex-direction: column;
        padding: 2rem;
        justify-content: center;
        align-items: center;
    }
    .img__karavan {
        max-width: 60%;
    }
    .card__img {
        max-width: 75%;
    }
    .muj_pribeh__text, .recenze {
        padding: 0 1rem;
    }
}

@media only screen and (max-device-width: 680px) {
    .muj_pribeh__text {
        max-width: 70%;
    }
}

@media only screen and (max-device-width: 500px) {
    .muj_pribeh__text {
        max-width: 90%;
    }
    .mapa__mapa {
        height: 40vh;
    }
    .popup {
        min-width: 0;
        max-width: 100%;
    }
    .popup--open {
        font-size: 1rem;
    }
}
