@import url('https://fonts.googleapis.com/css2?family=Emblema+One&family=Festive&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


body{
    padding: 0px;
    margin: 0px;
    font-family: "Montserrat" , sans-serif;
}


header{
    display: flex;
    flex-direction: column;
    background-color: rgb(13, 137, 137);
  padding: 10px;
  color: white;
  }
  h1{
    font-family: "Emblema One";
    padding-left: 20px;
  }
header p{
    display: none;
}
header img{
    display: none;
}
nav{
    display: flex;
    flex-direction: column;
    margin-left: 20px ;
   
}


header a{
 color: white;
 text-decoration: none;
 margin-top: 7px;
 margin-bottom: 7px;
}



article{
    margin-left: 30px;
    margin-right: 30px;
    text-align:justify;
}
article img{
   margin-bottom: 20px;
}
.obrazky1{
    margin-top: 50px;
}
.clanek{
    background-color: rgb(13, 137, 137);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    color: rgb(3, 67, 87);
   

}

section a{
    color: white;
    text-decoration:none;
    border: solid;
    border-color:black;
    background-color: rgb(8, 113, 82);
    padding: 5px 10px;
}


article img{
    width: 100%;
}

footer{
    background-color: rgb(8, 113, 82);
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 30px;
    color: white;
    
}

@media(min-width:900px){

    header{
        align-items: center;
        
    }
    .top{
        display: flex;
        padding-right: 400px;
        flex-direction: column;
    }
    
    
    header p{
        display: block;
        padding-left: 20px;
       
    }
    .nazev{
        align-items: center;
    }
   
    nav{
      display: flex;
      flex-direction: row;
    }
    nav a{
        margin: 5px 10px;
    }

   
   
    header img{
        display: block;
        width: 80%;
        align-items: center;
    }

    section.clanky{
        display: flex;
        flex-direction: row;
        margin: 5px 20px;

    }
    .clanky article{
        border: solid;
        border-color: rgb(137, 198, 215);
        background-color: rgb(137, 198, 215);
        padding: 5px 10px;
        margin: 5px;
    }
    .obrazky1{
        display: flex;

        flex-direction: row;
    }
   
    .obrazky2{
        display: flex;
        flex-direction: row;

    }
    .clanek{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .kontakty{
        
        align-items: center;
    }

    .clanek p{
    display: flex;
    align-items: center;
    margin-right: 20%;
    }

    .article{
        
        
        padding: 5px 30px;
    }
    .last{
        display: flex;
        flex-direction: row;
        margin: 10px 20px;
    }

    .last article{
        border: solid;
        border-color: rgb(137, 198, 215);
        background-color: rgb(137, 198, 215);
        margin: 5px 10px;
    }

    
    .seznam{
        display: flex;
        flex-direction: row;
    }

    .seznam li{
        margin: 5px 10px;
        align-items: center;
    }

    .seznam article{
        display: flex;
        flex: 1;

       padding: 5px 10px;
       

    }
    .seznam-up{
        display: flex;
        flex-direction: column;
    }

    .seznam-down{
        display: flex;
        flex-direction: column;
    }
    .seznam2{
        display: flex;
        flex-direction: row;
    }
    .seznam2 article{
        display: flex;
        flex: 1;
    }
    .seznam2 li{
        margin: 5px 10px;
        align-items: center;
    }
    .seznam-top{
        display: flex;
        flex-direction: column;
    }
    .seznam-bottom{
        display: flex;
        flex-direction: column;
    }

    footer{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    footer p{
        margin: 5px 10px;
    }

    
}

@media(min-width:1280px){
    header{
        justify-content: space-between;
    }
    
    .top{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding-right: 0px;
        align-items: end;
    }

    nav{
        
        align-items: end;
        padding-left: 450px;
  
    }
}