@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-color: rgb(37, 65, 54);
    --secondary-color: rgb(242, 219, 174);
    --first-header-size: 0.9em;
    --trail-size: 1.1em;
    --hluboka-size: 1.9em;
    --button-size: 1.1em;
    --section-p-size: 1.1em;
    --section-h2-size: 1.3rem;
    --section-h1-size: 2rem;
    --card-size: 0.7em;
    --footer-size: 1.0em;
}

html {
    scroll-behavior: smooth;
}

* {
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

.container {
    width: 100vw;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

#header {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    height: calc(100% + 100px);
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

#first-header {
    text-transform: uppercase;
    font-size: var(--first-header-size);
    padding-top: 30px;
    font-weight: 300;
}

#main {
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#trail {
    padding-top: 30px;
    font-size: var(--trail-size);
    font-weight: 400;
}

#hluboka {
    font-size: var(--hluboka-size);
    font-weight: 700;
    padding-top: 30px;
}

#welcome-text {
    text-transform: initial;
    font-weight: 400;
    padding-top: 30px;
}

.btn-cta {
    background-color: var(--secondary-color);
    border: none;
    padding: 15px 25px;
    font-size: var(--button-size);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

#hero-cta {
    margin-top: 50px;
}

.btn-cta > a {
    text-decoration: none;
    color: var(--primary-color);
}

#castle {
    margin-top: 30px;
    width: 80%;
    height: 100%;
    object-fit: cover;
    max-width: 500px;
}

.secondary-section, .primary-section {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.secondary-section {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.primary-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.secondary-section > h1, .primary-section > h1 {
    margin-top: 50px;
    text-transform: uppercase;
    font-size: var(--section-h1-size);
}

.secondary-section > p, .primary-section > p {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: var(--section-p-size);
    font-weight: 400;
    width: 80%;
    text-align: center;
}

.secondary-section h2, .primary-section h2 {
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: var(--section-h2-size);
}

#video-frame {
    width: 90%;
    height: 90%;
    aspect-ratio: 16/9;
}

.card-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    width: 300px;
    height: 300px;
    margin-bottom: 30px;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    font-size: var(--card-size);
    text-align: center;
}

.card > img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.card.full-width > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#footer {
    width: 100%;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    font-size: var(--footer-size);
    font-weight: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 3px solid var(--secondary-color);
}

#main > div {
    min-width: 300px;
    width: 100%;
    height: 100%;
}

#map {
    width: 80%;
    height: 80%;
    border: 3px solid var(--primary-color);
    margin-bottom: 30px;
}

.grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.grid-item {
    width: 30%;
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid-item > p {
    margin-top: 30px;
}

#qrcode {
    width: 50%;
    height: 50%;
    margin-bottom: 30px;
}

#download-cta {
    margin-bottom: 30px;
}

#video-section > iframe {
    margin-top: 30px;
    margin-bottom: 30px;
}

@media only screen and (min-width: 768px) {
    #qrcode {
        width: 40%;
        height: 40%;
    }
}

@media only screen and (min-width: 1024px) {
    :root {
        --first-header-size: 1.3em;
        --trail-size: 1.5em;
        --hluboka-size: 2.3em;
        --button-size: 1.5em;
        --section-p-size: 1.5em;
        --section-h2-size: 1.3rem;
        --footer-size: 0.8em;
    }

    .card-slider {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 90%;
    }

    #main {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 70%;
        margin: auto;
    }

    #castle {
        max-width: 800px;
    }

    #main > div {
        text-align: left;
    }

    #map {
        width: 50%;
        height: 50%;
    }

    .grid {
        flex-direction: row;
        justify-content: space-between;
    }

    #qrcode {
        width: 20%;
        height: 20%;
    }

    #video-frame {
        width: 50%;
        height: 50%;
        aspect-ratio: 16/9;
    }
}