/* GLOBAL */

:root {
    --font-family: 'Open Sans', sans-serif;
    --title-font-family: 'Poppins', sans-serif;

    --background-color: #27272a;
    --light-grey: #a1a1aa; 
    --white-color: #dfdfe7;
    --light-purple: #8257E6;

    --gradient-purple: linear-gradient(90deg, #8257E6 0%, #A40EE4 92.32%);
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --hover-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.dark-mode{
    --background-color: #27272a;
    --light-grey: #a1a1aa; 
    --white-color: #dfdfe7;
    --light-purple: #8257E6;

    --gradient-purple: linear-gradient(90deg, #8257E6 0%, #A40EE4 92.32%);
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --hover-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.white-mode{
    --background-color: #27272a;
    --light-grey: #a1a1aa; 
    --white-color: #dfdfe7;
    --light-purple: #8257E6;

    --gradient-purple: linear-gradient(90deg, #8257E6 0%, #A40EE4 92.32%);
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --hover-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body{
    background-color: var(--background-color);
}

.background-color-text{
    color: var(--background-color);
}

.color-grey-text{
    color: var(--light-grey);
}

.color-white-text{
    color: var(--white-color);
}

.color-white-grey-tittle{
    color: var(--light-grey);
    font-family: var(--tittle-font-family);
}

.clear-link{
    text-decoration: none;
    border: none;
    color: currentColor;
    color: var(--white-color);
}

.text-hover{

}

/* HEADER */

header .container a{
    text-decoration: none;
    border: none;
    color: currentColor;
    color: aliceblue;
}

header .container{
    margin-left: 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5mm 0;
    flex-wrap: wrap;
    width: 100%;
}
header::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 0.1rem;
    background-image: var(--gradient-purple);
}

header .left-itens{
    margin-top: 1%;
    display: flex;
    gap: 5%;
}

/* ABOUT SECTION */


.profile-picture{
    width: 115px;
    height: 115px;
    border-radius: 100%;
}

.profile-picture:hover{
    transform: scale(1.05);
}

section#about .container{
    margin-top: 5%;
    margin-right: auto;
    margin-left: auto;
    width: 90%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

section#about .banner{
    display: flex;
    align-items: center;

}
section#about .banner h1{
    color: white;
}

section#about .intro{
    width: 56%;
}

section#about .about-message{
    max-width: 400px;
    position: relative;
    padding: 15px;
    border-radius: 5px;
    background-image: var(--gradient-purple);
    width: 100%;
    margin-bottom: 110px;
}

.about-message::after{
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 15px 10px 0;
    border-color: var(--light-purple)   transparent;
    display: block;
    width: 0;
    z-index: 0;
    top: 68px;
}

/* LEFT BAR */

.hamburguer-button{
    background-color: transparent;
    border: 0; 
    margin-bottom: 5px;
    margin-right: 5px;
    cursor: pointer;
    z-index: 2;
    position: relative;
}

.custom-icon{
    font-size: 2em;
    color: white;
    font-weight: bold;
}
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #242222;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 100px;
    padding-right: 15x;
    z-index: 1;
}
.sidebar a {
    padding: 10px 25px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
}
.sidebar a:hover {
    color: #f1f1f1;
}

/* PROJECTS GRID*/

section#projects .container{
    margin-top: 5%;
    margin-right: auto;
    margin-left: auto;
    width: 90%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

section#projects .grid-container {
    width: 100%;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

section#projects .grid-item {
    color: white;
    background-image: var(--gradient-purple);
    padding: 4rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}


section#projects .item-1{
    color: transparent;
    backdrop-filter: blur(100px);
    background-image: url("../assets/ativuInvoicer.png");
    background-size: cover; /* Ajusta a imagem para cobrir o elemento */
    background-position: center;
}

section#projects .grid-item:hover {
    background-size: auto;
    background-position: right;
    backdrop-filter: blur(100px);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--box-shadow);
}

section#projects .grid-item a{

    text-decoration: none;
    display: block;
}