@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Rubik+Moonrocks&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mr+Dafoe&display=swap');

body {
    margin: 0px;
}

nav a{
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 2px solid;
    background-color:rgb() ;
    color: white;
    border-color: blue;
    margin: 20px;
    padding: 10px 30px;
    box-shadow: 0px 0px 5px 0px white;
    border-radius: 10px;
}
nav {
    display: flex;
    flex-direction: column;
}

header {
    background-color:rgba(14, 14, 124, 0.653); 
    margin: 0px;
}
 
header h1 {
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 10px;
    font-size: 3em;
    color: white;
}

header img {
    width: 100%;
    display: block;
    max-width: max-content;
    border-radius: 10px;
   
}

section h1 {
    text-align: center;

}
section h2 {
    text-align: center;
    
}

section{
    display: flex;
    flex-direction: column;
    padding: 20px 10%;
}
.modra {
    padding: 10px 0px;
    background-color: rgba(14, 14, 124, 0.653);
}
article {
    padding: 10px 0px;
}
article p{
    text-align: justify;
}
img {
    box-shadow: 0px 0px 5px 0px white;
    width: 100%;
}
footer {
    background-color: rgba(241, 228, 228, 0.901);
    text-align: center;
    font-size: 2em;
    font-family: 'Reenie Beenie', cursive;

}

footer a {
    text-decoration: none;
    color: black;
}

/*tablet*/
@media (min-width:850px){
    header h1{
        text-align: center;

    }
    header {
        text-align: center;
        
    }
    nav {
        flex-direction: row;
        justify-content: center;
    }
    img {
        display: block;
        margin: 10% auto;
        width: 100%;
        max-width: max-content;
    }
     article {
        flex: 1;
        padding: 10px 20px;
    }
    
}

/*pc*/
@media (min-width:1000px){
 header h1{
        text-align: center;

    }
    header {
        text-align: center;
        padding: 20px 20%;
        
    }
    section {
        
        flex-direction: row;
    }
    article {
        flex: 1;
        padding: 10px 20px;
    }
    img {
        display: block;
        margin: 10% auto;
        width: 100%;
        max-width: max-content;
    }
   
 }