/* === Globální reset stylů === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Základní styl těla stránky === */
body {
    background: scroll;
    color: #fff;
    justify-content: center;
    align-items: center;
}

/* === Navigace: odkazy v menu === */
nav ul li a {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
    text-decoration: none;
}

/* === Navigace: pozadí a barva textu === */
nav{
    background-color: #f08c09;
    color: #bdc3c7;
}

/* === Seznam v navigaci === */
ul li {
    margin-right: 3vh;
    font-family: "Roboto";
    font-weight: 600;
}

/* === Video sekce === */
video {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === Hlavní nadpis přes video === */
.nadpis h1 {
    position: absolute;
    color: #f08c09;
    font-size: 10vh;
    text-align: center;
    padding-left: 5vh;
    padding-top: 15vh;
    font-family: "REM", sans-serif;
    font-weight: 700;
}

/* === Scroll indikátor === */
.indicator { 
    width: 75px;
    height: 125px;
    border: 2px solid #fff;
    border-radius: 50px;
    position: absolute;
    margin-top: 37%;
    margin-left: 50%;
}

/* === Animační tečka uvnitř indikátoru === */
.indicator:before {
    content: " ";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #f08c09;
    margin: auto;
    left: 0;
    right: 0;
    top: 30px;
    border-radius: 50%;
    animation: animate 1.5s linear infinite;
}

/* === Klíčová animace indikátoru === */
@keyframes animate {
    0% {
        opacity: 1;
        top: 30px;
    }
    100% {
        opacity: 0;
        top: 100px;
        transform: scale(0.8);
    }
}

/* === Titulek sekce === */
.title .text h1 {
    color: #f08c09;
    display: flex;
    justify-content: center;
    padding-top: 5vh;
    font-size: 7vh;
    animation: fade 3s linear both;
    animation-timeline: view();  /*animace se spustí při scrollování */
    animation-range: entry 50% cover 50%; /* začátek animace */
}

/* === Podnadpisy === */
.content h2 {
    color: #f08c09;
    display: flex;
    justify-content: center;
    padding-top: 5vh;
    font-weight: 500;
    font-family: "DynaPuff", system-ui;
    animation: fade 3s linear both;
    animation-timeline: view(); /*animace se spustí při scrollování */
    animation-range: entry 50% cover 50%; /* začátek animace */
}

/* === Nadpisy podsekcí === */
.content .row h4 {
    padding-top: 2vh;
    color: #f08c09;
    padding-left: 5vh;
    font-size: 5vh;
    text-align: center;
    font-family: "Kadwa", serif;
    font-weight: 600;
    animation: fade 3s linear both;
    animation-timeline: view(); /*animace se spustí při scrollování */
    animation-range: entry 50% cover 50%; /* začátek animace */
}

/* === Sekundární nadpisy === */
.content .row h3 {
    padding-top: 2vh;
    padding-left: 5vh;
    font-family: "Roboto", sans-serif;
    animation: fade 3s linear both;
    animation-timeline: view(); /*animace se spustí při scrollování */
    animation-range: entry 50% cover 50%; /* začátek animace */
}

/* === Odstavce textu === */
.content .row p {
    display: flex;
    justify-content: center;
    padding-top: 3vh;
    font-size: 2.5vh;
    letter-spacing: 0.1vw; /* Mezera mezi písmeny*/
    padding-left: 5vh;
    margin: 5vh;
    font-family: "Roboto", sans-serif;
    animation: fade 3s linear both;
    animation-timeline: view(); /*animace se spustí při scrollování */
    animation-range: entry 50% cover 50%; /* začátek animace */
}

/* === Obrázky v obsahu === */
.content .row img {
    width: 70ch;
    margin-left: 20vh;
    padding-bottom: 5vh;
    border-radius: 10%;
    animation: fade 3s linear both;
    animation-timeline: view(); /*animace se spustí při scrollování */
    animation-range: entry 50% cover 50%; /* začátek animace */
}

/* === Klíčová animace pro zobrazení prvků === */
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* === Styl formuláře === */
.form {
    width: 400px;
    margin: auto;
    background: transparent;
    border-radius: 3px;
    margin-top: 1em;
    margin-bottom: 6em;
    padding: 1.25em;
}

/* === Nadpis formuláře === */
.form h3 {
    font-size: 1.98em;
    margin-bottom: .8em;
    margin-top: .2em;
    margin-left: .4em;
    font-weight: 500;
    color: #f08c09;
}

/* === Tlačítko formuláře === */
.btn-warning {
    box-shadow: none;
    border: none;
    outline: none;
    transition: all .5s; /* Plynulé přecházení*/
    padding: 10px 19px;
    font-size: 17px;
    line-height: 1.471;
    width: 30%;
    border-radius: 3px;
    text-transform: uppercase;
    margin: auto;
    margin-top: 1.44em;
    margin-bottom: .55em;
    margin-left: 6em;
    display: inherit;
}

/* === Skupiny formulářových prvků === */
.form-group {
    position: relative;
    opacity: 1;
    transition: .6s;
    padding: 1vh;
}

/* === Styl pro inputy === */
.form-control {
    transition: opacity .6s; /* Změna průhlednosti*/
    opacity: 1;
    border: 0;
    border-bottom: 2px solid #bdc3c7;
    border-radius: 0;
    background: #f08c09;
    font-size: 15px;
    line-height: 1.467;
    padding: 4px;
    height: 42px;
}

/* === Kontaktní formulář === */
textarea {
    transition: all 800ms; /* Plynulé přecházení*/
    font-family: "Roboto";
    resize: none;
    overflow: auto;
    outline: none;
    box-sizing: border-box;
    width: 100%;
    padding: 0px 4px;
    color: #34495e;
    margin-top: 1.25em;
}

/* === Nadpis sekce kontakt === */
.contactus h2 {
    margin: 6vh;
    color: #fff;
    font-family: "Roboto";
    background-color: #f08c09;
    padding: 5vh;
    border-radius: 10%;
    font-size: 2vh;
}

/* === Oddělovač (čára) === */
.content hr {
    border-top: 10px dashed #f08c09;
}

/* === Ikony (zarovnání) === */
i {
    padding-right: 5px;
    padding-left: 5px;
}

/* === Footer === */
#footer {
    padding: 3vh 0;
    background-color: #000000;
}

#footer p {
    margin: 0;
    padding: 5px;
    font-size: 20px;
    text-align: center;
    color: #fff;
    font-weight: 800;
}

#footer p a {
    margin: 0;
    padding: 5px;
    font-size: 20px;
    text-decoration: none;
    color: #f08c09;
    font-weight: 900;
}