@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --font: 'rubik', sans-serif;
    --back: #e8e8e8;
    --card: #ffffff;
    --color: #000000;
    --dots: #151212;
}

html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 2vw;
  }

section {
    width: 100%;
}


body {
    font-family: var(--font);
    color: var(--color);
    opacity: 0.8;
    background-image: radial-gradient(#828282 0.5px, #e5e5f7 0.5px);
    background-size: 10px 10px;
}


header, main, footer {
    margin: auto;
    width: 75%;
    display: block;
    justify-items: center;
}

header {
    display: flex;
    align-items: center;
}

h1 {
    line-height: 95%;
    font-size: xx-large;
    margin-left: 0;
}

nav {
    display: flex;
    margin: 0 auto;
    margin-left: 24%;
}

nav a {
    padding-right: 15%;
}

a {
    text-decoration: none;
    color: var(--color);
}

#selector {
    display: flex;
    margin-right: 0;
}

#selector a {
    margin-right: 15%;
}

#apresentacao {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--card);
    border-radius: 15px;
    padding-bottom: 3%;
    margin-top: 2%;
    margin-bottom: 5%;
}

#me {
    border-radius: 50%;
    max-width: 13%;
    margin-top: 3%;
}

h2 {
    font-size: 3.5vw;
    text-align: center;
}

#socials {
    display: flex;
    margin-top: 3%;
}

#socials a {
    padding-right: 35px;
}

/*.links {
    filter: invert(66%) sepia(63%) saturate(301%) hue-rotate(160deg) brightness(103%) contrast(91%);
}*/


main section {
    padding-bottom: 10%;
}

.split {
    display: flex;
    justify-content: center;
    align-items: center;

}

h3 {
    font-size: 2vw;
}

h4 {
    font-size: 3vw;
    max-width: 45%;
    padding-right: 15%;
}

#text {
    
    background-color: var(--card);
    border-radius: 15px;
    padding: 30px;
    font-size: large;
}

.project {
    margin-top: 3%;
    background-color: var(--card);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    min-height: 100%;
    max-height: 100%;
}

#one {
    margin-right: 5%;
}

.logo {
    background-color: var(--back);
    margin: auto;
    margin-top: 8%;
    width: 100px;
    height: 100px;
    border-radius: 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 75%;
    
}

h5 {
    text-align: center;
    font-size: 2vw;
}

.desc {
    font-size: normal;
    text-align: center;
    padding: 6%;
}

.tags {
    margin-bottom: 10%;
}

.tag {
    background-color: var(--back);
    font-size: x-small;
    border-radius: 10%;
    padding: 4px;
}

.container {
    margin-top: 4%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    }

#more {
    display: flex;
    white-space: nowrap;
}

#git2 {
    margin-right: 2%;
}

#edu {
    margin-top: 5%;
    margin-bottom: 5%;
    margin-left: 0;
    margin-right: 0;
}

.full {
    margin-top: 3%;
    background-color: var(--card);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#selected {
    font-weight: bold;
}

#emoji {
    font-size: 3em;

}

@media (max-width: 480px) {
    nav {
        display: none;
    }

    header {
        display: block;
    }

    header, main, footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 98%;
    }

    h2 {
        font-size: xx-large;
        padding: 1%;
    }

    h3 {
        font-size: large;
        text-align: left;
        margin-left: 2%;
    }

    h4 {
        font-size: x-large;
        text-align: left;
        max-width: 100%;
        padding-right: 0%;
        margin-left: 2%;
    }

    h5 {
        font-size: x-large;
    }

    #text {
        border-radius: 1em;
        padding: 1em;
        font-size: normal; 
        text-align: left;
        margin-left: 2%;
    }

    #me {
        max-width: 26%;
        margin-top: 15%;
    }

    #socials {
        margin-bottom: 15%;
    }

    .split {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .project {
        width: 100%;
        border-radius: 1em;
    }

    #one {
        margin-right: 0%;
    }

    #education {
        width: 100%;
    }

    #contact h3 {
        display: none
    }

    .full {
        border-radius: 1em;
        width: 99%;
    }

    .full  h5 {
        font-size: large;
    }
}