/* Styles Scrollbar */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 255, 255, 1);
    border-radius: 5px;
}

/*  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    color: white;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: rgba(0, 0, 0, 0.952);

}

/* Header */

.background_gif {
    height: 100vh;
    width: 100%;
    background: url(assets/wallpaper_blue_setup.gif) no-repeat top center/cover;
}

header {
    height: 70px;
    padding: 31px 19px;
    display: flex;
    justify-content: space-between;
}

#btn-mobile {
    display: none;
}

.nav {
    margin-right: 24px;
    display: flex;
    gap: 60px;
}

.nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    padding: 4px 16px;
}

.nav a:hover {
    border-bottom: 3px ridge rgba(0, 255, 255, 1);
    transition: 0.1s;
}

.navList {
    display: none;
}

.navList>ul {
    list-style-type: none;
}

.navList>ul>li>a {
    display: block;
    padding: 10px;
    text-decoration: none;
    text-align: center;
    background-color: #87CEFA;
    color: black;
    border-top: 1px solid black;
}

.navList>ul>li>a:hover {
    background-color: #87cefaa4;
}

.apresentation {
    position: absolute;
    top: 60%;
    left: 35%;

    display: flex;
    flex-direction: column;
    gap: 7px;
}

.text-apresentation {
    font-weight: 500;
    font-size: 25px;
    line-height: 22px;
}

.middle-text-apresentation {
    font-weight: 700;
    font-size: 45px;
    line-height: 42px;

    color: #87CEFA;
}

/* About me */

.content-container {
    padding: 20px 71px;
}

.content-container h1 {
    font-style: normal;
    font-weight: 700;
    font-size: 45px;
    color: #87CEFA;

    text-align: center;

    margin-bottom: 23px;
}

.about-me-text {
    display: flex;
    flex-direction: column;
    gap: 30px;

    margin-bottom: 20px;
}

.about-me-text p {
    font-weight: 400;
    font-size: 25px;
    line-height: 35px;
}

/* Projects */

.projects {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    flex-direction: row;
    flex-wrap: wrap;

    margin-bottom: 20px;
}

.projects img {
    width: 301px;
    height: 254px;
    border: 1.2px solid #3F3838;
    border-radius: 8px;
}

.projects img:hover {
    border: 1.5px solid white;
}

/* Skills */

.skills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

/* Social Links */

.social-links {
    display: flex;
    justify-content: center;
    padding: 24px 0;
    font-size: 24px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;

    border-radius: 50%;

    transition: background 0.2s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Botão para voltar ao topo */

.div_backToTop {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn_backToTop {
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: black;
    border-radius: 30px;
    padding: 15px 33px;
    cursor: pointer;
    background-color: #87CEFA;
}

.btn_backToTop:hover {
    background-color: #1098ec;
}

/* Footer */

footer {
    font-style: italic;
    text-align: center;
    margin-bottom: 20px;
}

.about-me-container, .projects-container, .skills-container{
    visibility: hidden;
}

/* Fazer o icone hamburger aparecer com o tamanho da largura */

@media(max-width: 700px) {
    #btn-mobile {
        display: flex;
        cursor: pointer;
    }

    #header.active {
        background: #1098ec;
        transition: 0.1s;
    }

    #header {
        background: transparent;
        transition: 1s;
    }

    #menu {
        display: block;
        position: absolute;
        width: 100%;
        top: 70px;
        right: 0px;
        background: #1098ec;
        transition: .6s;
        z-index: 1000;
        height: 0px;
        visibility: hidden;
        overflow-y: hidden;
    }

    #nav.active #menu {
        height: calc(100vh - 70px);
        visibility: visible;
        overflow-y: auto;
    }

    #menu a {
        display: flex;
        justify-content: center;
        padding: 1rem 0;
        margin: 0 1rem;
        font-weight: 500;
        border-bottom: 2px solid rgba(0, 0, 0, .05);
    }

    #menu a:hover {
        padding: 1.3rem 0;
        transition: .1s;
    }
}