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;
    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;
    margin-bottom: .5rem;
}

.translate__flag {
    max-width: 50px;
    cursor: pointer;
    outline: 1px black solid;
}

.header {
    display: flex;
    flex-wrap: wrap;
}

.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: 70%;
    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;
    align-items: flex-start;
    list-style: none;
    flex-grow: 1;
}

.nav__list__item {
    flex: 1 0 15%;
}

.nav__list__item a {
    text-decoration: none;
    color: inherit;
    
    display: flex;    
    min-height: 50px;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    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: var(--clr-red-dark);
    font-weight: bold;
}
/************************************************************************************************************************************/

.main__header {
    background-color: var(--clr-bg-main);
}

.main__h1 {
    text-align: center;
    font-size: 2.5rem;
}

.main__content {
    background-color: var(--clr-yellow-section);
    padding: 4rem;
}

.form__row {
    display: grid;
    grid-template-columns: 50% 50%;
}

.column-4060 {
    grid-template-columns: 40% 60%;
}

.row--info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.row--grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.align--center {
    justify-self: center;
}

.d--flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.d--flex--2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.d--grid {
    display: grid;
    grid-template-columns: repeat(3, 37%);
}

.justify--center {
    justify-content: space-around;
}

.input {
    border: none;
    max-width: 80%; /*95*/
    font-size: 1rem;
    padding: 15px 0;
    padding-left: 1rem;
    margin: 0;
}

.input:focus {
    outline: 2px var(--clr-red-dark) solid;
}

.input--wide {
    grid-column: 1 / -1;
    max-width: 100%;
    resize: none;
}

.info--line {
    display: grid;
    grid-template-columns: max-content auto;
}

.line--text {
    font-weight: bold;
    max-width: max-content;
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
}

.flex--center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pocet_ubytovanych {
    padding: 5px 1rem;
    font-size: 1.1rem;
}

.flex-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-col > label {
    font-weight: 400;
}

.flex-col:not(:nth-of-type(3)) {
    margin-right: 2rem;
}

.checkbox {
    width: 30px;
    height: 30px;
}

.datum {
    margin-right: 1rem;
}

#datum_od, #datum_do {
    border: none;
    padding: .5rem 15px;
    font-size: 1.1rem;
}

.datum:nth-of-type(2) {
    margin-left: 1rem;
}

.margin--top {
    margin-top: 2rem;
}

.btn__holder {
    text-align: center;
}

.send_info {
    margin-top: 1rem;
}

.send_info a {
    color: var(--clr-red);
}

.btn__send {
    border: none;
    background-color: var(--clr-red);
    color: white;
    padding: .8rem 6rem;
    font-size: 1.3rem;
    transition: .3s ease-in-out;
    cursor: pointer;
}

.btn__send:hover, .btn__send:focus {
    background-color: var(--clr-red-dark);
}

.email--res {
    font-size: 2rem;
    font-weight: 500;
    color: red;
}

.price__text {
    font-size: 1.5rem;
}

/*********************************************************/


.akcni_nabidka {
    grid-column: 2 / -1;
    grid-row: 1 / 3;
    /* display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    align-items: center; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.nabidka__holder {
    /* grid-column: 1 / -1; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.akce__nadpis {
    margin: 0 auto;
    text-align: center;
}

.margin--top {
    margin-top: 3rem;
}

.akce__img {
    max-width: 50%;
}

.akce__popis {
    text-align: center;
    font-size: 1.1rem;
    max-width: 65ch;
}

.akcni__sleva__fotky {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    /* display: grid;
    grid-template-columns: 1fr 1rem 1fr;
    grid-template-areas: "foto1 space foto2"; */
}

.akcni__fotka {
    max-width: 49%;
    display: inherit;
    flex: 0 1 40%;
}

/* .akcni__fotka:first-of-type {
    grid-area: foto1;
}

.akcni__fotka:last-of-type {
    grid-area: foto2;
} */

.akce__btn--holder {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    min-width: 100%;
}

.akce__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    background-color: var(--clr-red);
    padding: .7rem 3rem;
    font-size: 1.1rem;
    transition: .3s ease-in-out;
}

.akce__btn:hover, .akce__btn:focus {
    background-color: var(--clr-red-dark);
}


/*********************************************************/

/*.akcni_nabidka {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 1rem;
}

.an__element {
    max-width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.element__img-img {
    max-width: 100%;
}

.el__info {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.element_nadpis {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.element_info {
    margin-top: 0;
    margin-bottom: 3rem;
    text-align: center;
    font-size: 1.1rem;
    max-width: 40ch;
    color: gray;
}*/

/************************************************************************************************************************************/

.obsazenost--holder {
    margin-top: 3rem;
}

.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: 460px;
}

.kalendar-mobile {
    display: none;
}

/************************************************************************************************************************************/

.dark {
    background-color: var(--clr-footer);
}

.footer {
    padding: 3rem;
}

.footer__info, .footer__info a {
    color: white;
    text-align: center;
}

/************************************************************************************************************************************/

.reviews {
    padding-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reviews--link {
    font-size: 1.2rem;
}


/************************************************************************************************************************************/

/************************************************************************************************************************************/

@media only screen and (max-device-width: 1650px) {
    .form__row {
        grid-template-columns: 40% 60%;
    }
    #datum_od, #datum_do {
        padding: .5rem 5px;
        font-size: 1rem;
    }
}

@media only screen and (max-device-width: 1375px) {
    .form__row {
        grid-template-columns: 100%;
        grid-template-rows: repeat(3, auto);
    }
    .akcni_nabidka {
        grid-row: 1;
        grid-column: 1;
        margin-bottom: 2rem;
    }
    .akcni_nabidka {
        grid-template-columns: 40% 60%;
    }
    .akce__img {
        grid-column: 1;
        grid-row: 1 / 4;
        max-width: 100%;
    }
    .akce__nadpis, .akce__popis, .akce__btn--holder {
        grid-column: 2;
    }
    .akce__popis {
        padding: 0 1rem;
    }

    .top__line {
        grid-template-columns: 100%;
    }
    .top__line--pokoje {
        justify-content: center;
    }
}

@media only screen and (max-device-width: 1260px) {
    .form__row {
        grid-template-columns: 100%;
    }
    .input {
        max-width: 100%;
    }
    .row--grid {
        margin-top: 2rem;
        grid-template-columns: max-content max-content;
        justify-content: left;
    }
}

@media only screen and (max-device-width: 990px) {
    body {
        grid-template-columns: 1em minmax(20rem, 4fr) 1em;
    }
    .header {
        flex-direction: column;
    }
    .navbar {
        margin-left: auto;
        margin-right: auto;
        margin-top: 1rem;
        min-width: 100%;
    }
    .sticky {
        top: 0;
        right: 0;
        margin: 0;
    }
    .main__content {
        padding: 2rem;
    }
    .element_nadpis {
        font-size: 1.2rem;
    }
    .element_info {
        font-size: 1rem;
    }
}

@media only screen and (max-device-width : 700px) {
    body {
        grid-template-columns: 100%;
        min-width: 100%;
    }
    .translate {
        justify-content: flex-start;
        padding-left: 2rem;
    }
    .navbar--mobile-sign {
        display: flex;
        right: 0;
    }
    .navbar--mobile {
        display: grid;
    }
    .navbar {
        display: none;
    }

    .akcni_nabidka {
        grid-template-columns: 100%;
        grid-template-rows: repeat(4, auto);
    }
    .akce__img {
        grid-row: 1;
    }
    .akce__nadpis, .akce__popis, .akce__btn--holder {
        grid-column: 1;
    }
    .akce__nadpis {
        grid-row: 2;
        margin-top: 1rem;
    }
    .akce__popis{
        grid-row: 3;
        margin-top: 0;
    }
    .akcni__fotka {
        max-width: 100%;
    }
    .akce__btn--holder {
        grid-row: 4;
    }
    .akcni_nabidka {
        flex-direction: column;
    }
    .an__element {
        max-width: 100%;
        flex-direction: row;
    }
    .element__img {
        max-width: 50%;
    }
    .element_info {
        padding-left: 10px;
    }
    .top__line--pokoje {
        display: none;
    }
    .row--grid {
        gap: 1rem;
        grid-template-columns: max-content 1fr;
    }
    .align--center {
        justify-self: center;
    }
    .d--grid {
        width: 100%;
        grid-template-columns: 50% 50%;
    }
    .flex-col:not(:nth-of-type(3)) {
        margin-right: 0;
    }
    .flex-col:nth-of-type(3) {
        grid-row: 2;
        grid-column: 1 / -1;
    }
    .d--flex:last-of-type {
        flex-direction: column;
    }
    .line--text {
        font-size: 1.2rem;
    }
    .pocet_ubytovanych {
        font-size: 1.2rem;
    }
    .checkbox {
        width: 30px;
        height: 30px;
    }
    .datum {
        margin-bottom: 5px;
    }
    #datum_od {
        margin-bottom: 1rem;
    }
    #datum_do, #datum_od {
        padding: .5rem 15px;
        font-size: 1.1rem;
    }
    .datum:nth-of-type(2) {
        margin-left: 0;
    }
    .kalendar-mobile {
        display: block;
    }
    .kalendar-pc {
        display: none;
    }
    .obsaz--nadpis {
        text-align: center;
    }
}

@media only screen and (max-device-width: 460px) {
    .line--text {
        font-size: 1.1rem;
    }
    .d--grid {
        grid-template-columns: 100%;
        max-width: fit-content;
    }
    .d--flex--2 {
        flex-direction: column;
    }
    .flex-col:nth-of-type(3) {
        grid-row: 3;
        grid-column: 1 / -1;
    }
    .align--center {
        justify-self: center;
    }
    .an__element {
        max-width: 100%;
        flex-direction: column;
    }
    .element__img {
        max-width: 100%;
    }
}

@media only screen and (max-device-width: 400px) {
    .main__h1 {
        margin: 2rem 0;
        text-align: left;
        padding-left: 1rem;
        font-size: 1.5rem;
    }
    .row--grid {
        grid-template-columns: 100%;
    }
    .line--text {
        min-width: 100%;
        font-size: 1.2rem;
        text-align: center;
    }
}