@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&family=Titillium+Web&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background-color: #1A8B9D;
    scroll-behavior: smooth;
}

/* Aside*/

aside {
    width: 30%;
    width: 400px;
    height: 100%;
    position: fixed;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 13px double #1A8B9D;
}

aside img {
    width: 200px;
    border-radius: 50%;
    border: 5px solid #1A8B9D;
    margin-bottom: 10px;
}

aside nav a {
    font-family: 'Roboto Mono', monospace;
    width: 120px;
    padding: 5px;
    margin-left: 40px;
    margin-top: 5px;
    letter-spacing: 3px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: center;
    justify-items: center;
    color: #1A8B9D;
}

aside nav a:hover {
    background: #1A8B9D;
    border-radius: 4px;
    color: #07031A;
    transition: 0.5s;
}

#sobre, #formacao, #contato {
    height: 620px;
    margin-left: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main */

#sobre h1, #formacao h2, #contato h2 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 4.5em;
    text-align: right;
}

#sobre p, #formacao p, #contato p {
    font-family: 'Roboto Mono', monospace;
    color: #000;
    width: 850px;
    margin-top: 18px;
    text-align: right;
}

#sobre span {
    color: #1a383f;
}

#contato p {
    margin-left: 20px;
}

.flex-container {
    display: flex;
    justify-content: end;
    margin-top: 30px;
}

i {
    font-size: 50px;
    color: #000;
    margin-left: 30px;
}

i:hover {
    opacity: 0.7;
}

/* /main */

#topo a {
    font-family: 'Roboto Mono', monospace;
    font-size: 2em;
    margin-top: 590px;
    color: #000;
    text-decoration: none;
    display: flex;
    transform: rotate(90deg);
    opacity: 0.5;
    transition: 0.3s;
}

#topo a:hover {
    background-color: #1A8B9D;
    color: #000;
    opacity: 1;
    transition: 0.3s;
}

/* Resposividade do site*/

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {

    aside {
        width: 250px;
    }

    aside img {
        width: 140px;
    }

    aside nav a {
        width: 100px;
        letter-spacing: 1px;
        margin-left: 24px;
    }

    #sobre, #formacao, #contato {
        max-width: 768px;
    }

    #sobre h1, #formacao h2, #contato h2 {
        font-size: 3em;
        margin-right: 180px;
    }

    #sobre p, #formacao p, #contato p {
        font-size: 0.7em;
        width: 680px;
        margin-right: 180px;
        margin-top: 8px;
    }

    .flex-container {
        width: 718px;
    }

    i {
        font-size: 30px;
        margin-left: 15px;
    }


}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {

    aside {
        width: 300px;
    }

    aside img {
        width: 167px;
    }

    aside nav a {
        width: 115px;
        letter-spacing: 2px;
        margin-left: 35px;
    }

    #sobre, #formacao, #contato {
        max-width: 992px;
    }

    #sobre h1, #formacao h2, #contato h2 {
        font-size: 4em;
        margin-right: 80px;
    }

    #sobre p, #formacao p, #contato p {
        font-size: 1em;
        width: 780px;
        margin-right: 80px;
        margin-top: 10px;
    }

    .flex-container {
        width: 785px;
    }

    i {
        font-size: 40px;
        margin-left: 30px;
    }

    /*margin-right: 10px;
    padding: 30px 0 0 30px;
    color: #000;
    display: inline;
    float: right;*/

}