@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&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&family=Rubik+Moonrocks&family=Shadows+Into+Light&display=swap');
@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=Mr+Dafoe&display=swap');

body {
    font-family: "Nunito", sans-serif;
    margin: 0;
    background-color: #3c66a8;
    text-align: center;
    color: #fff;
}

h1 {
    margin: 30px 0px 30px 0px;
    font-family: "Rubik Moonrocks", sans-serif;
    font-weight: 400;
    font-size: 50px;
}
nav {
    text-align: center;
    margin: 25px;
}

nav a {
    background-color: #1d3d70;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 15px 30px;
    color: white;
    margin: 5px;
    text-decoration: none;
}

img {
    width: 100%;
    max-width: max-content;
    border-radius: 10px;
    border: 1px solid #fff;
}

section {
    margin: 30px 0px 0px 0px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    flex: 1;
    color: black;
    flex: 1;
    padding: 30px;
}

article {
    text-align: justify;
    justify-content: center;
    padding: 20px;
    margin: 20px;
}

article h1 {
    text-align: center;
    margin: 20px;
    font-family: "Mr Dafoe", cursive;
    font-weight: 500;
}

article h2 {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
}

.small {
    width: 100%;
    margin: 25px;
    max-width: 350px;
    max-height: 300px;
}

@media (min-width: 800px) and (max-width: 1200px)  {
    .small {
        max-width: max-content;
        max-height: max-content;
        justify-content: center;
    }
}

@media (max-width: 800px) {
    nav {
        display: flex;
        flex-direction: column;
    }
    section {
        display: flex;
        flex-direction: column;
    }
}