@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

@media screen and (min-width: 376px) {
    body {
        font-family: 'Lato', sans-serif;
        font-weight: 400;
        margin: 0px;
        padding: 0px;
    
        background-color: lightgray
    }
    
    header {
        background-color: black;
        color: white;
        padding: 10px;
    }

    header > h1 {
        text-align: center;
    }

    #profile {
        width: 300px;
    }
    
    nav > button {
        font-size: 15px;
        font-weight: 700;
        
        border: none;
        color: white;
        background-color: transparent;
        cursor: pointer;

        text-decoration: none;
        text-align: left;
        padding: 10px;

        transition: 0.5s;
    }

    nav > button:hover {
        border-radius: 15px;
        background-color: white;
        color: black;
    }
    
    main {
        background-color: white;
        padding: 5px;
        margin: 0px 20px 0px 20px;
    }

    aside {
        display: none;
        position: fixed;
        background-color: white;
        border-radius: 10px;

        width: 600px;
        height: 600px;
        box-shadow: 0px 4px 5px 10000000px rgba(0, 0, 0, 0.568);

        top: 50%;
        left: 50%;

        transform: translate(-50%, -50%);
    }

    aside > a {
        text-align: center;
    }

    article#close {
        text-align: right;
    }

    article#close > button {
        margin-top: 10px;
        padding-top: 3px;
        padding-bottom: 3px;
        margin-right: 10px;
        cursor: pointer;
        border: none;
        background-color: transparent;
        color: red;
        font-weight: 700;

        transition: ease-out 0.5s;
    }

    article#close > button:hover {
        border: none;
        border-radius: 15px;
        background-color: red;
        color: white;
    }

    aside > button {
        text-align: right;
    }

    aside > article {
        text-align: center;
    }

    aside > article > img {
        border-radius: 50%;
    }

    aside > h3 {
        text-align: center;
    }

    aside > p {
        margin: 30px;
    }
    
    .image {
        width: 400px;
        height: 210px;
        border-radius: 10px;
    }
    
    .conteudo {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    article > h2 {
        text-align: center;
    }
    
    section > a {
        text-decoration: none;
        color: black;
        font-size: 20px;
        font-weight: bold;
    }
    
    footer {
        font-size: 20px;
        text-align: center;
        padding: 5px;
        background-color: black;
        color: white;
    }
    
    footer > a {
        color: white;
        font-weight: bolder;
    }
}

@media screen and (max-width: 618px) {
    body {
        font-family: 'Lato', sans-serif;
        font-weight: 400;
        margin: 0px;
        padding: 0px;
    
        background-color: lightgray
    }
    
    header {
        background-color: black;
        text-align: center;
        color: white;
        padding: 10px;
    }
    
    main {
        background-color: white;
        padding: 5px;
    }

    nav > button {
        font-size: 15px;
        font-weight: 700;
        
        border: none;
        color: black;
        background-color: white;
        border-radius: 15px;
        cursor: pointer;

        text-decoration: none;
        text-align: left;
        padding: 10px;

        transition: 0.5s;
    }

    nav > button:hover {
        border-radius: 15px;
        background-color: white;
        color: black;
    }
    
    main {
        background-color: white;
        padding: 5px;
        margin: 0px 20px 0px 20px;
    }

    aside {
        display: none;
        position: fixed;
        background-color: white;
        border-radius: 10px;

        width: 300px;
        height: 90vh;
        box-shadow: 0px 4px 5px 10000000px rgba(0, 0, 0, 0.568);

        top: 50%;
        left: 50%;

        transform: translate(-50%, -50%);
    }

    aside > a {
        text-align: center;
    }

    article#close {
        text-align: right;
    }

    article#close > button {
        margin-top: 10px;
        padding-top: 3px;
        padding-bottom: 3px;
        margin-right: 10px;
        cursor: pointer;
        border-radius: 15px;
        background-color: red;
        color: white;
        border: none;
        font-weight: 700;
    }

    aside > button {
        text-align: right;
    }

    aside > article {
        text-align: center;
    }

    aside > article > img {
        border-radius: 50%;
    }

    aside > h3 {
        text-align: center;
    }

    aside > p {
        margin: 30px;
    }
    
    .image {
        width: 250px;
        height: 125px;
        border-radius: 10px;
    }
    
    .conteudo {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    article > h2 {
        text-align: center;
    }
    
    section > a {
        text-decoration: none;
        color: black;
        font-size: 20px;
        font-weight: bold;
        margin: 0px 0px 20px 0px;
    }
    
    footer {
        font-size: 20px;
        text-align: center;
        padding: 5px;
        background-color: black;
        color: white;
    }
    
    footer > a {
        color: white;
        font-weight: bolder;
    }
}