@charset "UTF-8";

@font-face {
    font-family: SpecialElite;
    src: url(4.fontes/SpecialElite-Regular.ttf);
}

@media all {

    :root {
        --cor-nav: orange
    }

    * {
        margin: 0;
        padding: 0;
    }

    a:hover {
        text-decoration: underline;
    }

    body {
        background-color: #18081C;
        color: white;
        font-family: SpecialElite, Arial, Helvetica, sans-serif;
    }

    h1 {
        margin: 20px;
        text-align: center;
    }

    h2 {
        margin: 20px;
    }

    header {
        background-image: linear-gradient(to bottom, black, #020355);
    }

    header a {
        color: white;
        text-decoration: none;
    }

    header h1 {
        margin: 0;
        padding: 30px;
        text-align: center;
    }

    img {
        display: block;
        margin: auto;
        width: 20%;
    }

    main {
        height: 100vh;
        margin: auto;
        width: 100vw;
        max-width: 950px;
    }

    main p {
        margin: 5px;
        text-align: justify;
        text-indent: 50px;
    }

    p {
        line-height: 1.4em;
    }



    /* ===== Tags ===== */

    a.autor {
        text-decoration: none;
    }

    a.autor:hover {
        text-decoration: underline;
    }



    div.center {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: auto;
        width: 100%;
    }

    div.center div.pensador {
        display: inline-block;
        margin: 10px 5px;
    }



    div.pensador {
        display: inline;
        margin-top: 10px;
        width: 24%;
        min-width: 100px;
        max-width: 200px;
    }

    div.pensador a {
        text-decoration: none;
    }

    div.pensador img {
        border-radius: 10px;
        box-sizing: border-box;
        display: block;
        margin: auto;
        width: 90%;
    }

    div.pensador img:hover {
        border: 2px solid white;
        animation-duration: 2s;
    }

    div.pensador p {
        color: white;
        font-size: 90%;
        margin: 10px 0px;
        text-align: center;
        text-indent: 0%;
    }

    div.pensador p:hover {
        text-decoration: underline;
    }



    img#pensador {
        border-radius: 50%;
        display: block;
        height: 250px;
        margin: 30px auto;
        width: 250px;
    }



    nav.menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
        text-align: justify;
        width: 100%;
    }

    nav.menu a {
        background-color: var(--cor-nav);
        border-radius: 5px;
        color: white;
        display: block;
        margin: 8px;
        margin-bottom: 10px;
        padding: 15px;
        text-decoration: none;
        text-indent: 0;
    }

    nav.menu a:hover {
        text-decoration: underline;
    }



    nav.page {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
        text-align: justify;
        width: 100%;
    }

    nav.page a {
        background-color: var(--cor-nav);
        border-radius: 5px;
        color: white;
        display: block;
        margin: 8px;
        margin-bottom: 10px;
        padding: 10px;
        text-align: center;
        text-decoration: none;
        text-indent: 0;
        width: 20%;
        max-width: 40px;
    }

    nav.page a.ativo {
        background-color: rgb(200, 0, 0);
    }
    
    nav.page a:hover {
        text-decoration: underline;
    }



    section.pensamentos {
        margin: auto;
        padding-bottom: 10px;
        width: 95%;
    }

    section.pensamentos a.autor {
        font-size: 0.8em;
    }

    section.pensamentos > p, section.pensamentos details {
        background-color: white;
        border-radius: 7.5px;
        box-shadow: 1px 1px 1px black;
        color: black;
        font-size: 1.1em;
        margin: 30px auto;
        padding: 20px 30px;
        text-align: left;
        text-indent: 0;
        width: 80%;
        min-width: 10px;
        max-width: 700px;
    }



    summary:hover {
        text-decoration: underline;
    }
}