@import url('https://fonts.googleapis.com/css2?family=Homemade+Apple&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
body{
    background-color: rgb(62, 97, 136);
    margin: 0;
    font-family: "Roboto", serif;
}
header{
    margin: 30px 8% 30px 8%;
}
body nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 30px 20px 20px 20px;  
}
nav a{
    text-decoration: none;
    color: white;
    padding: 5px;

}
body header h1{
    color: white;
    font-family: "Homemade Apple", cursive;
    text-align: center;
}
@media (max-width: 900px){
    header h1{
        display: none;
    }
    .img2{
        display: none;
    }
}
img{
    width: 100%;
    max-width: max-content;
}
section{
    display: flex;
    flex-direction: column;
    background-color: rgb(224, 220, 215);
    padding-top: 8%;
}
article{
    background-color: white;
    margin: 0 8% 8% 8%;
    text-align: center;
    padding: 15px 15px 20px 15px;
}
article h1{
    font-size: 1.3em;
    padding: 30px 0 0 0;
    font-family: "Poppins", serif;
}
article h2{
    font-size: 1.1em;
    font-weight: 600;
    font-family: "Poppins", serif;
}
article p{
    font-size: 0.9em;
    text-align: justify;
}
a{
    text-decoration: none;
    color: white;
    background-color: rgb(62, 97, 136);
    font-size: 0.9em;
    padding: 5px 15px;
}
.druha{
    background-color: rgb(49, 34, 14);
}
@media (min-width: 900px){
    body nav{
        flex-direction: row;
        justify-content: center;
    }
    section{
        flex-direction: row;
        padding: 30px 8%;
    }
    article{
        margin: 0 8px;
    }

    nav a{
        padding: 5px 10px;
        border-top: 2px solid rgb(62, 97, 136);
    }
    nav a:hover{
        border-top: 2px solid white;
    }
    .img{
        display: none;
    }
}