/********************
        GENERAL
********************/
html {
    scroll-behavior: smooth;
    }
     
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* background: linear-gradient(90deg, rgba(238, 237, 235, 0.8) 0%, rgba(173, 173, 170, 0.8) 100%), url(img/svestky-art-tiny.jpg); */
    background: linear-gradient(90deg, rgba(238, 237, 235, 0.8) 0%, rgba(173, 173, 170, 0.8) 100%), url(img/svestky-art-orez-tiny.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/********************
        HEADER
********************/
header {
    background: rgb(245, 217, 43);
    height: 80px;
    width: 100%;
}

.logo {
    color: rgb(245, 217, 43);
    font-size: 25px;
    line-height: 80px;
    padding: 0 60px;
    font-family: 'Instrument Serif', serif;
    }

nav {
    position: relative;
    }
    
nav ul {
    position: absolute;
    top: -78px;
    right: 60px;
    }

nav li {
    display: inline-block;
    list-style-type: none;
    line-height: 80px;
    margin: 0 5px; 
}

nav a {
    text-decoration: none;
    color: black;
    font-family: 'Instrument Serif', serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-left: 10px;
    margin-right: 10px;
    line-height: 80px;
    padding: 8px;
}

a.active, nav a:hover {
    background: rgba(252, 243, 189, 1);
    border-radius: 15px;
    transition: background-color 0.3s;
}

.checkicon {
    position: absolute;
    right: 20px;
    top: -78px;
    font-size: 30px;
    color: black;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
    }

/********************
       SECTIONS
********************/

/*** NÁZEV STRANY ***/
.nazev {
    width: 100%;
    height: 400px;
    border: 0.2px solid rgb(210, 182, 10);
    /* background: url(img/plums-orez-tiny.jpg); */
    /* background: url(img/svestky-art-orez-tiny.jpg); */
    background: url(img/plums-orez1-tiny.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.nazev h1 {
    font-family: 'Instrument Serif', serif;
    text-align: center;
    margin: 80px 50px;
    padding: 30px 30px;
    color: black;
    font-size: 130px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 4px 4px 6px rgb(255, 255, 255);
    border-radius: 60px;
    background: rgba(220, 225, 228, 0.2);

    animation: fromTop 1s linear;
}


/*** AKTUALITY ***/

.aktuality {
    background: rgba(247, 226, 92, 0.6);
    margin: 0 auto;
    border-top: 18px solid rgb(210, 182, 10);
    border-bottom: 18px solid rgb(210, 182, 10);
    /* margin-top: 0px; */
    padding: 15px;
}

.aktuality h1 {
    font-family: 'Instrument Serif', serif;
    text-align: center;
    color: black;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 15px;

    animation: aktuality 1s 1s linear;
    animation-fill-mode: backwards;
}

.aktuality p {
    font-family: 'Instrument Serif', serif;
    text-align: center;
    color: black;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;

    animation: aktuality 1s 1s linear;
    animation-fill-mode: backwards;
}

.sezona {
    padding-bottom: 10px;

    animation: aktuality 1s 1s linear;
    animation-fill-mode: backwards;
}


/*** O NÁS, O PĚSTITELSKÉM PÁLENÍ ***/
.sloupecky {
    width: 95vw;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.o-nas, .o-pestitelskem-paleni {
    width: 45%;
    background: rgba(238, 237, 235, 0.4);
    border-radius: 30px;
    padding: 25px;
    font-family: 'Instrument Serif', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.2px;
    text-align: justify;
}

.o-nas img {
    width: 100%;
    margin-top: 10px;
}

.o-nas h1, .o-pestitelskem-paleni h1, .o-prubehu-paleni h1, .kontakty h1 {
    font-size: 28px;
    padding-bottom: 15px;
    text-align: center;
}


/*** O PRŮBĚHU PÁLENÍ ***/

.text-a-obrazek-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.o-prubehu-paleni {
    width: 90vw;
    margin: 0 auto;
    margin-top: 40px;
    background: rgba(238, 237, 235, 0.4);
    border-radius: 30px;
    padding: 25px;
    font-family: 'Instrument Serif', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.2px;
    text-align: justify;
}

.o-prubehu-paleni img {
    width: 20%;
}

.sloupec-1 {
    width: 75%;
}


/*** KONTAKTY ***/

.kontakty {
    width: 90vw;
    margin: 0 auto;
    margin-top: 40px;
    background: rgba(238, 237, 235, 0.4);
    border-radius: 30px;
    padding: 25px;
    font-family: 'Instrument Serif', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.2px;
    text-align: justify;
}

.sloupecky-kontakt {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.kontaktni-udaje {
    width: 40%
}

.nazev-kategorie {
    font-size: 24px;
    text-transform: uppercase;
    padding-bottom: 5px;
}

.kontaktni-osoba {
    font-weight: 900;
    text-transform: uppercase;
}

.kategorie {
    text-transform: uppercase;
    padding-bottom: 5px;
    padding-top: 15px;
}

.osoba, .adresa, .email {
    border-bottom: 1px solid black;
}

.info {
    margin-top: 15px;
}

/********************
       FOOTER
********************/

footer {
    width: 100%;
    height: 65px;
    margin-top: 40px;
    background: rgb(245, 217, 43);
    font-family: 'Instrument Serif', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 65px;
    text-align: center;
}



/*****************************
          KEYFRAMES
*****************************/

@keyframes fromTop {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes aktuality {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
