*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
 --gold: #d6b452;
 --emerald: #51c878;
}
body {
    background-color: black;
    color: #fff;
    font-family: "Manrope", sans-serif;
}
.container {
    display: grid;
    height: 100vh;
    grid-template-columns: 150px 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
        "sidebar content"
        "sidebar footer";
    overflow: hidden;
    gap:5px;
}
a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-link {
    text-transform: uppercase;
}
.nav-link:hover{
    color: var(--gold);
    text-shadow: var(--gold) 0px 0px 15px,var(--gold) 0px 0px 10px;
}
.active {
    color: var(--emerald);
    text-shadow: var(--emerald) 0px 0px 15px, var(--emerald) 0px 0px 10px;
}
.sidebar {
    display: flex;
    flex-direction: column;
    width: 150px;
    height: 100%;
    border-right: 1px solid var(--gold);
    box-shadow: 4px 0px 6px -4px rgba(214, 181, 81, 0.65);
    grid-area: sidebar;
    border-radius: 10px;
}
.nav {
    height: 100%;
}
.links {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    align-items: center;
    list-style: none;
    padding: 0;
}

.footer {
    grid-area: footer;
    padding: 60px;
    border-top: 1px solid var(--gold);
    border-radius: 10px;

}
.main {
    position: relative;
    grid-area: content;
    overflow: hidden;
}

.section {
    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    z-index: 0;
    
    border-left: 1px solid var(--gold);
    border-bottom:1px solid var(--gold);
    box-shadow: 0px 6px -4px rgba(214, 180, 82, 0.651);
    border-radius: 10px;
    
    background-image: url(../logo/bg-dots.png);
    background-repeat: no-repeat;
    background-size: 473px 253px;
    background-position: top left;
    padding-left: 20px;
    
}
.title {
    text-transform: uppercase;
    font-size: 80px;
    font-weight: 900;
    z-index: 2;
    position: absolute;
    bottom: 0;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(214, 180, 82, 1) 50%, #50c878 100%);
    background-size: 200%;
    background-position: 0 50%;
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: animate-background 0.3s infinite alternate linear;
}
@keyframes animate-background {
    0% {
        background-position: 0 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}
@keyframes typing {

    0%,
        5% {
            content: "";
        }
    
        6%,
        10% {
            content: "f";
        }
    
        11%,
        15% {
            content: "fr";
        }
    
        16%,
        20% {
            content: "fro";
        }
    
        21%,
        25% {
            content: "fron";
        }
    
        26%,
        30% {
            content: "front";
        }
    
        31%,
        35% {
            content: "fronte";
        }
    
        36%,
        40% {
            content: "fronten";
        }
    
        41%,
        45% {
            content: "frontend";
        }
    
        46%,
        50% {
            content: "frontend ";
        }
    
        51%,
        55% {
            content: "frontend d";
        }
    
        56%,
        60% {
            content: "frontend de";
        }
    
        61%,
        65% {
            content: "frontend dev";
        }
    
        66%,
        70% {
            content: "frontend deve";
        }
    
        71%,
        75% {
            content: "frontend devel";
        }
    
        76%,
        80% {
            content: "frontend develo";
        }
    
        81%,
        85% {
            content: "frontend develop";
        }
    
        86%,
        90% {
            content: "frontend develope";
        }
    
        91%,
        95% {
            content: "frontend developer";
        }

}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.typewriter {
    --caret: currentcolor;
}

.typewriter::before {
    content: "";
    animation: typing 5.5s infinite;
}

.typewriter::after {
    content: "";
    border-right: 1px solid var(--gold);
    animation: blink 0.5s linear infinite;
}
.me-image {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}



.section.actived {
    transform: translateX(0%);
    opacity: 1;
    z-index: 10;
}
.section.leaving {
    opacity: 0;
    z-index: 5;
}

#about.section.actived {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.about-container {
    position: relative;
    background-color:black;   
    padding: 25px;
    border: 1px solid rgba(214, 180, 82, 0.651);
    box-shadow: 0px 6px -4px rgba(214, 180, 82, 0.651);
    max-width: 800px;
    height: auto;
    text-align: center;
}

.about-container:before,
.about-container:after {
    content: '';
    position: absolute;
    left: -3px;
    top: -3px;
    filter: blur(10px);
    background-image: conic-gradient(from 0deg, var(--emerald), var(--gold) 90deg, var(--emerald) 180deg, var(--gold) 270deg, var(--emerald) 360deg);
    background-size: 400%;
        width: calc(100% + 6px);
        height: calc(100% + 6px);
        z-index: -1;
        animation: steam 20s linear infinite;
}
@keyframes steam {
    0% {
        background-position: 0 0;
    }

    25% {
        background-position: 400% 0;
    }
    50% {
        background-position: 400% 400%;
    }
    75% {
        background-position: 0 400%;
    }

    100% {
        background-position: 0 0;
    }
}


.title-about {
    transform: uppercase;
    font-size: 3rem;
        color: var(--emerald);
        margin-bottom: 30px;
}
.about-me {
    font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 20px;
        opacity: 0.8;
}
