*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
body{
    font-family: "Libre Franklin", serif;
}
/*hlavicka*/
nav{
    background: #590ec1;
    height: 80px;
    width: 100%;
    position: fixed;
    z-index: 100;
}
label.logo{
    color: white;
    font-size: 35px;
    line-height: 80px;
    padding: 0 70px;
    font-weight: bold;
}
nav ul{
    float: right;
    margin-right: 20px;
    
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a{
    color: white;
    font-size: 17px;
    font-weight: 800;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}

a.active,a:hover{
    background: #2b1b03;
    transition: .5s;
    text-decoration: none;
    color: #fff;
    
}
.checkbtn{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}
@media (max-width:952px){
    label.logo{
        font-size: 30px;
        padding-left: 50px;
        padding-top: 10px;
    }
    nav ul li a{
        font-size: 16px;
    }
}

@media (max-width:1250px){
    .checkbtn{
        display: block;
    }
    ul{
       position: fixed;
       width: 35%;
       height: 100vh;
       background:#eba10e;
       top: 80px;
       right: -100%;
       text-align: center;
       transition: all .5s;
       z-index: 2000;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 18px;
    }
    a:hover,a.active{
        background: none;
        color: #2b1b03;
    }
    #check:checked ~ ul{
        right: 0;
    }

}

footer{
    background-color: #590ec1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5%;
    width: 100%;
}



.sluzby_nadpis{
    color: #434343;
    text-align: center;
    margin-top: 10%;
}
.body2{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto; 
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box; 
    margin-bottom: 8%;
    margin-top: 5%;
    padding: 6%
}
.person2 {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center; 
    width: 300px;
    margin: 10px; 
    box-sizing: border-box;
    
}
.container2 {
    display: flex;
  height: 200px;
  width: 300px;
  cursor: pointer;
  justify-content: flex-start;
  flex-direction: column-reverse;
  align-items: center;
}





.button {
    background-color: #590ec1; /* Green */
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
  }
  .button1 {
    background-color: white; 
    color: black; 
    border: 2px solid #590ec1;
  }
  
  .button1:hover {
    background-color: #590ec1;
    color: white;
  }