* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: #D9D9D9
}

header {
    width: 100%;
    height: 50px;
    background-color: #1c1717;
    color: #D9D9D9;
    text-align: center;
    font-size: 23px;
    font-family: Kanit, Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

h2 {
    margin-bottom: 20px;
    text-align: left;
    font-family: Kanit, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 55px;
    width: 80%;
}

a {
    color: inherit;
    /* blue colors for links too */
    text-decoration: inherit;
    /* no underline */
}

.maininfo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 650px;
    background-image: url(img/mainback-gaus.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 100%;
}

.maintext {
    width: 1300px;
    height: auto;
    margin-right: -150px;
    user-select: none;
    animation-duration: 2.5s;
    animation-name: shake;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes shake {

    0%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-10px);
    }

    75% {
        transform: translateY(10px);
    }
}

/* odpocet do 1.12.2024 */

.timer {
    width: 1400px;
    height: 160px;
    margin: auto;
    margin-top: -80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.days,
.hours,
.minutes,
.seconds {
    display: flex;
    flex-direction: row;
    margin-left: 10px;
    margin-right: 10px;
}

.splitter {
    width: 20px;
    height: 80px;
    user-select: none;
}

.card {
    width: 80px;
    height: 110px;
    background-image: url(img/tile.png);
    background-repeat: no-repeat;
    background-size: auto;
    background-size: 100%;
    margin-left: 5px;
    margin-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #D9D9D9;
    font-family: Kanit, Arial, Helvetica, sans-serif;
    font-size: 50px;
}

/* ramecek pro celou stranku */
.content {
    width: 1400px;
    height: 3300px;
    margin: auto;
    background-color: #D9D9D9;
    z-index: 2;
    padding-top: 85px;
    margin-top: -80px;
}

/* informativni sekce */

.sec1 {
    height: 500px;
    display: flex;
    flex-direction: row;
}

.left_s1 {
    width: 60%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.left_s1 h2 {
    margin-bottom: 20px;
    text-align: right;
    font-family: Kanit, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 55px;
    width: 80%;
}

.left_s1 p {
    text-align: right;
    font-family: Kanit, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 25px;
    margin-right: 50px;
    width: 80%;
}

/* zdurazneni datumu */

.left_s1 .highlight {
    text-align: right;
    font-family: Kanit, Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 28px;

}

.right_s1 {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right_s1 .skolaLogoBrown {
    width: 450px;
    margin-right: 150px;
}

.sec2 {
    height: 500px;
    display: flex;
    flex-direction: row;
}

.left_s2 {
    width: 45%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.left_s2 .hotDogStand {
    width: 500px;
}

.right_s2 {
    width: 55%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.right_s2 h2 {
    margin-bottom: 20px;
    text-align: left;
    font-family: Kanit, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 55px;
    width: 80%;
}

.right_s2 p {
    text-align: left;
    font-family: Kanit, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 25px;
    width: 80%;
    margin-left: 50px;
}

/* delici cara */
hr {
    width: 95%;
    margin: auto;
    margin-top: 25px;
    margin-bottom: 25px;
    height: 5px;
    border-radius: 7px 7px 7px 7px;
    background-color: #1c1717;
}

/* sekce novinky */

.news {
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.imagesNews1,
.imagesNews2 {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.newsText {
    width: 50%;
    text-align: center;
    width: 50%;
    padding: 30px;
}

.newsText h2 {
    margin-bottom: 50px;
    text-align: center;
    font-family: Kanit, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 55px;
    width: 100%
}

.newsText p {
    text-align: center;
    font-family: Kanit, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 25px;
    width: 100%;
}

.svgnews1,
.svgnews2,
.svgnews3,
.svgnews4 {
    height: 50%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nw1img,
.nw2img,
.nw3img,
.nw4img {
    width: 200px;
}

.nw2img {
    rotate: 340deg;
}

.nw3img {
    width: 300px;
}

.nw4img {
    rotate: 15deg;
    width: 250px;
}

/* Sekce program */

.program {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.nadpisProgram {
    width: 100%;
}

.nadpisProgram h2 {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.mainProgram {
    height: 900px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.leftProgramDecoration {
    width: 50%;
    height: 250px;
    display: inline-block;
    position: relative;
    left: 10.5%;
    margin-top: 450px;
    user-select: none;
}

.middleProgram {
    width: 600px;
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.karty {
    width: 100%;
    height: 200px;
    margin-top: 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.rightProgramDecoration {
    width: 50%;
    height: 200px;
    user-select: none;
}

.programPicture1,
.programPicture2,
.programPicture3 {
    width: 600px;
    transition: 0.3s;
    z-index: 2;
}

.programPicture1:hover,
.programPicture2:hover,
.programPicture3:hover {
    width: 650px;
    z-index: 5;
    transition: 0.3s;
    cursor: pointer;
}

.rgtdec,
.lftdec {
    width: 250px;
    user-select: none;
}

.lftdec {
    align-self: right;
}

.sponsors {
    height: 500px;
    display: flex;
    flex-direction: row;
}

.sponsorLeft {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sponsorRight {
    width: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.sponsorRight h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

.sponzori {
    height: 300px;
    margin-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blue {
    color: rgb(30, 113, 207);
}

.sponzoriodkaz {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 390px;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 60px;
    background-color: white;
    box-shadow: 5px 5px 2px 1px rgba(0, 0, 0, .1);
    border-radius: 25px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 30px;
    cursor: pointer;
    transition: 0.4s;
}

.sponzoriodkaz:hover {
    width: 450px;
    transition: 0.4s;
    box-shadow: 5px 5px 2px 1px rgba(0, 0, 0, .3);
}


/* Footer */

.blackline {
    height: 20px;
    width: 100%;
    background-color: #1c1717;
}

/* krajni menu pro odkazy a text "Odkazy" */
.edge {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 600px;
}

.odkazy {
    height: 60px;
    width: 100%;
    color: #D9D9D9;
}

.odkazy h2 {
    font-size: 32px;
}


.odkazy-down {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
}

.whiteline {
    height: 20px;
    width: 100%;
    background-color: #d9d9d9;
}

.footerContent {
    width: 100%;
    background-color: #1c1717;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.bottomMenu {
    height: 200px;
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #D9D9D9;
}

.bottomMenu ul li {
    font-family: Kanit, Arial, Helvetica, sans-serif;
    font-size: 24px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.bottomDivideLine {
    width: 6px;
    height: 120px;
    margin-right: 5px;
    margin-left: 5px;
    background-color: #D9D9D9;
    border-radius: 5px;

}

.bottomContact {
    height: 200px;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #D9D9D9;
}

.bottomContact ul li {
    font-family: Kanit, Arial, Helvetica, sans-serif;
    font-size: 24px;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* ramecek pro footer, jelikoz neni v zakladnim "content" divu */
.mv-1400 {
    width: 1400px;
    background-color: #1c1717;
    height: 300px;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.bottomZaci {
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: baseline;
}

.bottomZaci img {
    width: 100%;
    margin-top: 8px;
    margin-left: 60px;

}

.bottomSchool {
    width: 29%;
    height: 100%;
}

.bottomSchool img {
    width: auto;
    height: 98%;
}

/* responzive design - stranka zustane stejna jak na pc, tak na telefonech - Na telefonech lze stranku priblizit a oddalit, tak si myslim, ze je to ok.*/

@media screen and (max-width: 1400px) {

    .blackline,
    .whiteline,
    footer,
    header,
    .maininfo {
        width: 1400px;
    }

    .maintext {
        width: 1200px;
    }

    .odkazy,
    .odkazy-down {
        margin-left: 60px;
    }
}