@import url('https://fonts.googleapis.com/css2?family=Mr+Dafoe&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Rubik+Moonrocks&display=swap');
body{
    font-family: "Nunito", sans-serif;
    margin: 0;
}
header{
    background-color:  rgb(67, 116, 156);
    padding: 5% 10%;
}
header h1{
    font-family: "Rubik Moonrocks", sans-serif;
    margin: 0;
    color: white;
    font-size: 3.3em;
}
nav{
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}
nav a{
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    margin: 4px;
    border-radius: 5px;
    background-color: rgb(24, 73, 114);
}
nav a, img{
    box-shadow: 0px 0px 5px 0px white;
}
img{
    max-width: 100%;
    width: max-content;
    border-radius: 5px;
}
article h2{
    font-family: "Mr Dafoe", cursive;
}
.horni{
    background-color: white;
    padding: 0px 10%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
p{
    text-align: justify;
}
h2, h3{
    text-align: center;
}
article{
    margin-top: 30px;
    padding: 20px;
}
.spodni{
    background-color:  rgb(67, 116, 156);
    text-align: center;
    padding: 3% 10%;
    display: flex;
    flex-direction: column;
}
@media (min-width: 850px){
    nav{
        flex-direction: row;
        justify-content: center;
    }
    h1{
        text-align: center;
    }
}
@media (min-width: 1000px){
    .horni{
        flex-direction: row;
        justify-content: center;
    }
    .spodni{
        flex-direction: row;
        justify-content: center;
    }
}