.menu{
    padding: 1%;
    text-align: center;
    position: fixed;
    left: 0%;
    z-index: 1;
    display: flex;
    flex-direction: row;
}

.menu ul{
    padding-right: 50px;
    
}

.menu ul li{
    list-style-type: none;
    display: inline;
    border: 5px solid rgb(255, 255, 255);
    border-radius: 100px;
    padding: 10px;
    margin: 10px;
    background-color: rgba(255, 0, 34, 0.644);
    transition: 2s;
    
}

.menu ul li:hover{
    list-style-type: none;
    display: inline;
    border: 2px solid #795311;
    padding: 10px;
    margin: 10px;
    background-color: rgb(255, 52, 1);
    transition: 1s;
    
}

.menu ul li a{
    color: rgb(255, 255, 255);
    text-decoration: none;
} 

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    box-sizing: border-box;
}

header {
    background-color: #4d0303;
    color: rgb(246,222,208);
    padding: 1.5em;
    text-align: center;
    
}

.obrazek{
    width: 100%;
    min-height: 100vh;
    background-image: url(foto/bg.png);
    background-size: cover;
    background-position: center;
    position: relative;
  }

  .trener{
  
    display: flex ;
    flex-direction: column;
    align-items: center;
    max-width: 70%;
    margin: auto;
    padding: 150px ;
  
}

.img{
  border-radius: 60px;
  align-items: center;
}

.nadpis{
  margin-top: 30px;
  color: #BC8D3C;
  font-size: 50px;
}

.text{
  text-align: center;
  color: rgb(203, 205, 207);
  font-size: 25px;
  font-family: "Kanit", sans-serif;
}



*{
  scroll-behavior: smooth;

 }



.cara {
border-top: 3px solid #BC8D3C;
width: 70%;
margin: auto;
margin-top: 0.5%;
margin-bottom: 2%;
}

.cara2 {
  border-top: 3px solid #BC8D3C;
  width: 50%;
  margin: auto;
  margin-top: 2%;
  margin-bottom: 2%;
}
.cara3 {
border-top: 3px solid #ffffff;
width: 50%;
margin: auto;
margin-top: 1%;
margin-bottom: 3%;
}

.kontakt{
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    background-color: black;
    background-size: cover;
   }
    .obsah{
     max-width: 800px;
     text-align: center;
   }
   
   .obsah h2{
     font-size: 36px;
     font-weight: 500;
     color: aliceblue; 
   }
   .obsah p{
    
     font-weight: 300;
     color: aliceblue; 
   }
   .container{
     width: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     margin-top: 30px;
     
   }
   .kontaktInfo{
     width: 50%;
     display: flex;
     flex-direction: column;
   }
    .box{
     position: relative;
     padding: 20px 0;
     display: flex;
   }
   .icon{
     min-width: 60px;
     height: 60px;
     background: aliceblue;
     display: flex;
     justify-content: center;
     align-items: center;
     border-radius: 50%;
     font-size: 22px;
   }
   .text2{
   display: flex;
   margin-left: 20px;
   font-size: 16px;
   color: aliceblue;
   flex-direction: column;
   font-weight: 300;
   
   }
   .text2 h3{
     color: rgb(26, 172, 172);
     font-weight: 300;
     }
   .contactForm{
     width: 40%;
     padding: 40px;
     background: #fff;
   }
   .contactForm h2{
   font-size: 30px;
   color: rgb(0, 0, 0);
   font-weight: 500;
   }
   .contactForm .inputBox{
   position: relative;
   width: 100%;
   margin-top: 10px;
   }
   .contactForm .inputBox input,
   .contactForm .inputBox textarea{
     width: 100%;
     padding: 5px 0;
     font-size: 16px;
     margin: 10px 0;
     border: none;
     border-bottom: 2px solid #333;
     outline: none;
     resize: none;
   } 
   .contactForm .inputBox span{
     position: absolute;
     left: 0;
     padding: 5px 0;
     font-size: 16px;
     margin: 10px 0;
     pointer-events: none;
     transition: 0.5s;
     color: #666;
   }
   .contactForm .inputBox input:focus ~ span,
   .contactForm .inputBox input:valid ~ span,
   .contactForm .inputBox textarea:focus ~ span,
   .contactForm .inputBox textarea:valid ~ span{
     color: #e91e63;
     font-size: 12px;
     transform: translateY(-20px);
   }
   
   .contactForm .inputBox input[type="submit"]{
     width: 100px;
     background: #00bcd4;
     color: aliceblue;
     border: none;
     cursor: pointer;
     padding: 10px;
     font-size: 18px;
   }
   @media(max-width: 991px){
     .contact
     {
       padding: 50px;
     }
   
     .container
     {
       flex-direction: column;
     }
     .container .contactInfo
     {
       margin-bottom: 40px;
     }
     .container .contactInfo,
     .contactForm
     {
       width: 100%;
     }
   }