body{
    font-family: "Roboto", sans-serif;
}
.main-header{
    position: fixed;
    display: flex;
    background-color: #743089;
    width: 100%;
    height: 13.5%;
    justify-content: space-between;
}
.header-navbar{
    justify-content: space-between;
    width: fit-content;
    height: 100%;
    background-color: transparent;
    display: flex;
}
.domov{
    padding-bottom: 29%;
}
.header-navbar ul{
    list-style: none;
    
}
.header-navbar ul li{
    margin-top: 1.5%;
    height: 150%;
    display: flex;
    float: left;
    padding-left: 50px;
    padding-right: 50px;
    justify-content: center;
    align-items: center;
    border-right: 3px solid #fff0f5 ;
    
}
.header-navbar ul li a{
    font-size: 140%;
    padding-top: 20px;
    height: 100%;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 0 1px #cea2fd;
    text-align: center;  
    font-weight: 500;
    transition: 0.3s;

}
.header-navbar ul li a:hover{
    color: #8968CD;
    text-shadow: none;
    font-size: 155%;
}
.Logo-skoly{
    width: fit-content ;
    height: 100%;
    display: flex;
    float: right;
}
.Logo-spsdtt{
    width: 94%;
    height: 80%;
    padding-right: 10%;
    padding-top: 11%;
}
.logo-stranka{
    padding-top: 0.9%;
    font-size: 500%;
    font-weight: 500;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    padding-left: 4%;
    pointer-events: none;
    text-shadow: 0 0 10px #8968CD;
}
.nazov{
    text-decoration: none;
    color: #fff0f5;
}
.mobile-menu{
    display: none;
    margin-top: 10%;
    margin-left: 2%;
    font-size: 130%;
}
.togglemenu{
    color: #fff0f5;
    background-color: #743089;
    border: none;
    padding: 3%;
    text-decoration: none;
    margin-left: 30%;
    margin-bottom: 12%;
    border: #fff0f5 solid 1px;
}
.mobile-menu{
    display: none;
}
#main-nav.hidden, 
.submenu-hidden {
    display: none;
}
#main-nav:not(.hidden) {
    display: block;
}
.submenu-hidden.is-open {
    display: block;
}
.child{
    color: #fff0f5;
    text-align: center;
    background-color: #cea2fd;
    border-radius: 10px;
    margin-top: 2px;
    padding: 5px;
    font-size: medium;
}
.child a{
    text-decoration: none;
    color: #fff0f5;
    width: 100%;
    border-radius: 10px;
}
.child .child a{
    color: #7b1fa2;
}
.menu{
    display: inline;
}
.submenu-hidden {
    color: #fff0f5;
    background-color: #cea2fd;
}
.submenu-hidden a{
    text-decoration: none;
    border-bottom: none;
    background-color: transparent;
}
.submenu-hidden .submenu-hidden {
    background-color: #8968CD;
    text-align: center;
    padding: 5px;
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.submenu-hidden .submenu-hidden a {
    background-color: transparent;
    color: #fff0f5;
    padding-top: 20px;
    font-size: medium;
}
.submenu-hidden .submenu-hidden li{
    padding: 5px;
}

@media screen and (max-width: 1500px){
    .header-navbar ul li a{
        font-size: 100%;
    }
}
@media screen and (max-width: 1200px){
    .header-navbar ul li a{
        font-size: 90%;
    }
    .header-navbar ul li {
        padding-left: 30px;
        padding-right: 30px;
    }
    .main-header{
        height: 80px;
    }
    .logo-stranka{
    padding-top: 0.5%;
}
}
@media screen and (max-width: 1000px){
    .header-navbar ul li a{
        font-size: 80%;
    }
    .header-navbar ul li {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 800px) {
  .mobile-menu {
    display: block;
    margin-top: 5%;
  }
  .header-navbar{
    display: none;
  }
  .Menucontainer{
    display: none;
  }
}
