:root {
    --bg-color: #f5f5f5;
    --text-color: #333;
    --accent-color: #5389e8;
    --secondary-color: #6c63ff;
    --navbar-bg: rgba(255, 255, 255, 0.8);
    --max-width: 960px;
    --padding-inline: 1rem;
    --section-bg: #f9f9f9;
}

[data-theme="dark"] {
    --bg-color: #1c1c1c;
    --text-color: #efefef;
    --accent-color: #6c63ff;
    --secondary-color: #de7451;
    --navbar-bg: rgba(18, 18, 18, 0.8);
    --section-bg: #1e1e1e;
}

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

body {
    font-family: "Open Sans", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.shadow{
    display: none;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding-left: var(--padding-inline);
    padding-right: var(--padding-inline);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px;
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    border-radius: 32px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

.logo a {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.close-btn{
    display: none;
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    color: var(--text-color);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.menu a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s ease;
    font-weight: 500;
}

.menu a:hover {
    color: #ff6f00;
}

.theme-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent-color);
    position: absolute;
    right: 24px;
    top: 20px;
}

main {
    flex: 1;
    padding-top: 72px;
}

.section h1,
.section h2 {
    margin-bottom: 8px;
}

/* Seção Início */
.inicio-section {
    padding: 4rem 0;
}

.inicio-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.inicio-text p {
    text-align: right;
}

.name-full {
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 72px;
    font-weight: 800;
    text-align: right;
}

.custom-shape-divider-top-1747360386 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1747360386 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 123px;
}

.custom-shape-divider-top-1747360386 .shape-fill {
    fill: var(--bg-color);
}


/* Seção Skills */
.skills-section {
    padding: 4rem 0;
    position: relative;
}

.skills-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100vw;
    height: 100%;
    background: linear-gradient(to right, var(--accent-color), var(--section-bg));
    z-index: -1;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.skill spam{
    font-size: small;
}

.progress-bar {
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 5px;
    width: 0%;
    transition: width 1.5s ease-in-out;
}


/* Seção Sobre */
.sobre-section {
    padding: 24px 0;
}

.card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sobre-image img {
    max-width: 200px;
    width: 100%;
    animation: float 3s ease-in-out infinite;
}
li{
    list-style-type: none;
}

.sobre-text li {
    display: inline;
}

.sobre-text a{
    text-decoration: none;
    margin-right: 8px;
}

/* Links personalizados */
a {
    color: var(--accent-color);
    text-decoration: underline;
}

a:hover {
    color: #ff6f00;
    transition: color 0.3s ease;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem;
    color: var(--accent-color);
    font-size: 0.9rem;
    position: relative;
    bottom: 0;
    z-index: 10;
}

/* Animações */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        display: none;
        z-index: 999;
    }

    .menu.active {
        display: flex;
        margin-top: 16px;
        background: var(--bg-color);
        border-radius: 32px;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .menu.active .close-btn{
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .navbar .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .menu ul {
        flex-direction: column;
        width: 100%;
        text-align: left;
        padding: 24px;
    }

    .menu li {
        margin: 0.5rem 0;
    }

    .inicio-content,
    .sobre-content {
        flex-direction: column;
        text-align: center;
    }

    .inicio-image,
    .sobre-image {
        order: -1;
    }
}