@font-face {
    font-family: lemon_milk;
    src: url(czcionka/LEMONMILK-Medium.otf);
}
*{
  margin: 0px;
}
body{
    background:  #2c3e50;
    font-family: lemon_milk;
}
nav {
    margin: 27px auto 0;
  
    position: relative;
    width: 800px;
    height: 50px;
    background-color: #34495e;
    border-radius: 8px;
    font-size: 0;
  }
  nav a {
    line-height: 50px;
    height: 100%;
    font-size: 15px;
    display: inline-block;
    position: relative;
    z-index: 1;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    color: white;
    cursor: pointer;
  }
  nav .animation {
    position: absolute;
    height: 100%;
    top: 0;
    z-index: 0;
    transition: all .5s ease 0s;
    border-radius: 8px;
  }
  a:nth-child(1) {
    width: 200px;
  }
  a:nth-child(2) {
    width: 200px;
  }
  a:nth-child(3) {
    width: 200px;
  }
  a:nth-child(4) {
    width: 200px;
  }
  nav .video, a:nth-child(4):hover~.animation {
    width: 200px;
    left: 600px;
    background-color: #1d2935;
  }
  nav .kuchnia, a:nth-child(1):hover~.animation {
    width: 200px;
    left: 0px;
    background-color: #1d2935;
  }
  nav .jezyki, a:nth-child(2):hover~.animation {
    width: 200px;
    left: 200px;
    background-color: #1d2935;
  }
  nav .kultury, a:nth-child(3):hover~.animation {
    width: 200px;
    left: 400px;
    background-color: #1d2935;
  }

  header{
    margin-top: 20px;
    width: 100%;
    height: 100px;
    background-color: white;
    font-size: 50px;
    text-align: center;
  }
  .hobby{
    padding: 15px;
  }
  .content{
    background-color: #1d2935;
    width: 60%;
    height: 350px;
    margin-bottom: 50px;
    padding: 10px;
    color: white;
    text-align: left;
    border-radius: 10px;
    border: #273544 solid 5px;
    
  }
  main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  .space{
    height: 100px;
  }
  img{
    margin-right: 10px;
    float: left;
    width: 35%;
    height: 100%;
    border-radius: 10px;
  }
  .opis{
    justify-content: center;
  }
  .tytul{
    font-size: 25px;
  }
  footer{
    background-color: #1d2935;
    width: 100%;
    height: 100px;
    color: white;
    text-align: center;
  }
  .dofootera{
    margin: 10px;
    padding: 10px;
  }
  ul{
    list-style-type:none;  
  }
  
