/* obecná nastavení, font Inter */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Inter' , sans-serif;
    scroll-behavior: smooth;
}
/* hlavička  */
header{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 10%;
    background: transparent;
}
.logo img{
    height: auto;
    width: 100%;
}
/* programování menu společně s hoverem a změnou na hb menu */
.navbar{
    display: flex;
}
.navbar a{
    padding: 5px;
    margin: 0 25px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    transition: all ease .50s;
    border-bottom: 2px solid transparent;
}
.navbar a:hover{
    border-bottom: 2px solid #fff;
}
.navbar a:active{
    border-bottom: 2px solid #fff;
}
.nav-in{
    display: flex;
    align-items: center;
}
.nav-in a{
    color: #fff;
    font-size: 15px;
}
#menu-icon{
    font-size: 38px;
    z-index: 10001;
    cursor: pointer;
    margin-left: 5px;
    display: none;
}
.harmonogram{
    height: 100vh;
    width: 100%;
    background: url();
    background-size: cover;
    background-position: center;
    color: #fff;
}
@media (max-width: 1440px){
    header{
        padding: 25px 5%;
    }
}
@media (max-width: 1170px){
    header{
        padding: 20px 3%;
    }
    .logo img{
        width: 100%;
        max-width: 250px;
        height: auto;
    }
    .navbar a{
        margin: 0 15px;
    }
}

@media (max-width: 1030px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        width: 100%;
        height: 100vh;
        padding: 70px 50px;
        top: 0;
        right: 0;
        bottom: 0;
        left: 100%;
        display: flex;
        flex-direction: column;
        background: #401C06;
        transition: all 0.5s ease-in-out;
    }
    .navbar a{
        display: block;
        padding: 0;
        margin: 0px 0px 50px 0px;
        font: 2.1rem;
        font-weight: 500;
        border-bottom: none;
    }
    .navbar a:hover{
        color: #899abe;
        border-bottom: none;
    }
    .navbar a.active{
        border-bottom: none;
    }
    .navbar.open{
        left: 0;
    }
}

@media (max-width: 570px){
    .logo img{
        width: 100%;
        max-width: 200px;
        height: auto;
    }
}
/* to co vidí návštěvník při vstupu na stránku, pozadí a nadpisy */
.body{
    background-color: rgb(7, 7, 7);
    font-family: 'Inter' , sans-serif;
    display: flex;
    flex-direction: column;
}

.box{
    height: 100vh;
    width: 100%;
}

h1{
    font-family: 'Inter';
    font-size: 5em;
}

.uvodni{
    background: url("pozadi.png");
}

.uvodni h1{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
}
.uvodni h2{
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    text-align: center;
}
.uvodni h3{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    text-align: center;
}
/* druhá "stránka", úprava textů, pozadí a střední dělící čáry */
.program{
    background: url("pozadi4.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.program div p{
    font-family: 'Inter';
    color: white;
}

.program div{
    font-size: 1.7em;
    margin-bottom: 0em;
    margin-left: 1.5em;
    margin-top: 5em;
}

.container{
    width: 70%;
    height: auto;
    position: relative;
}
.container:after{
    position: absolute;
    content: ' ';
    width: 6px;
    height: 100%;
    background-image: linear-gradient(to bottom, rgb(106, 6, 236), rgb(220, 0, 240));
}
.container ul{
    list-style: none;
}
.container ul li{
    width: 50%;
    height: auto;
    padding: 15px 20px;
    background-color: #1a1919;
    box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.384);
    margin-bottom: 10px;
    border-radius: 30px;
}
.container ul li:nth-child(odd){
    float: left;
    clear: right;
    transform: translate(-30px);
    text-align: right;
}
.container ul li:nth-child(even){
    float: right;
    clear: left;
    transform: translate(30px);
}
.container ul li:nth-child(4){
    margin-bottom: 0;
}
.container ul li .hlavni{
    font-size: 20px;
    font-weight: 500;
    color: rgb(106, 6, 236);
}
ul li p{
    font-size: 15px;
    color: #444;
    margin: 7px 0;
    line-height: 23px;
}
ul li .cas{
    position: absolute;
    top: -40px;
    left: 20px;
    width: 135px;
    height: 35px;
    border-radius: 20px;
    color: black;
    background-image: linear-gradient(to right, rgb(106, 6, 236), rgb(220, 0, 240));
    display: grid;
    place-items: center;
    font-size: 20px;
}
/* dva informační boxy o projektu LP */
.projekt{
    background: url("pozadi4.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.info_box{
    background-image: linear-gradient(to right, rgb(106, 6, 236), rgb(220, 0, 240));
    width: 30%;
    height: auto;
    padding: 15px 20px;
    box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.384);
    margin-bottom: 10px;
    border-radius: 15px;
    text-align: center;
    flex-direction: column;
}
.info_box2{
    width: 25%;
    height: auto;
    padding: 15px 20px;
    background-color: #b45e20;
    box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.384);
    margin-bottom: 10px;
    border-radius: 30px;
}
.info_box2 h3{
    color: #fff;
    line-height: 25px;
}
.info_box2 h3 p{
    color: #fff;
    line-height: 30px;
}
.kontakty_nad{
    background-image: linear-gradient(to right, rgb(106, 6, 236), rgb(220, 0, 240));
    width: 30%;
    height: auto;
    padding: 15px 20px;
    box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.384);
    margin-bottom: 10px;
    border-radius: 15px;
    text-align: center;
    flex-direction: column;
}
/* tři jednoduché karty kontaktů na školu, velikost nadpisů */
.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 10px;
    background-color: #b45e20;
    margin-bottom: 10px;
}
.boxik h3{
    font-size: 2.5em;
    margin: 10px;
    color: #fff;
}
.boxik p{
    margin: 5px;
    font-size: 1em;
    text-align: center;
    color: #fff;
}
/* nadpis, obrázky sponzorů a odpočet do startu akce */
.sponzori{
    background: url("pozadi4.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nadpis-sponzori{
    font-size: 3.5em;
    color: #fff;
}
.sponsorship{
    text-align: center;
    margin-top: 30px;
}
.loga{
    display: flex;
    justify-content: center; 
    gap: 50px; 
    margin-top: 20px;
}
.sponzor img{
    width: 250px; 
    height: 250px;
    object-fit: contain; 
    border: none; 
}
/* styl js odpočtu */
.casovac{
    font-size: 2em; 
    text-align: center; 
    color: #fff;
    background-color: transparent; 
    padding-top: 30px;
}
footer{
    background-color: rgb(0, 0, 0);
}
.paticka{
    width: 100%;
    padding: 15px 20px 15px;
    background-color: rgb(0, 0, 0);
    padding: 10px;
    text-align: center;
}
.paticka p{
    color: #fff;
}
