:root {
    --primary-color: #0d0d0d;
    --secondary-color: #33b15d;
    --text-color: white;
    --hero-text: white;
}

html {
    scroll-behavior: smooth;
}

@keyframes typing {
    from { width: 0}
    to { width: 100% }
  }
.changeColor {
    border-radius: 5px;
    opacity: 50%;
    border: 2px white;
    margin-top: 8em;
    /* background-color: var(--hero-text); */
}

.change-clr-btn {
    font-style: italic;
    color: var(--hero-text);
    align-items: flex-end;
}

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

body {
    margin: 0%;
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-color);
    user-select: none;

}

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

.nav {
    position: fixed;
    width: 100%;
    align-items: center;
    max-width: 100%;
    display: flex;
    justify-content: space-around;
    text-decoration: none;
    background-color: var(--primary-color);
    
}
.nav-mobile {
    display: none;
}
.nav a {
    text-decoration: none;
    color: var(--text-color);
    margin: 1.5em;
}
.nav .name-logo {
    margin:0px;
    font-family: 'Cedarville Cursive', cursive;
    color: var(--secondary-color);
    font-size:1.4rem
}
.nav a {
    text-decoration: none;
    position: relative;
}

.nav a:hover {
    text-decoration: none;
}
.nav .name-logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary-color);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}
.nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--hero-text);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.nav a:hover::after {
    visibility: visible;
    transform: scaleX(1);
}
.name-logo {
    text-decoration: underline;
}

.quote {
    overflow: hidden;
    white-space: nowrap;
    font-family: 'Cedarville Cursive', cursive;
    font-size: 1.5em;
    user-select: none;
}


.m-0 {
    margin: 0px;
}

.container {
    height: 100vh;
    max-width: 100%;
    background-color: var(--secondary-color);
    margin: 0%;

}

.bold-font {
    font-weight: bolder;
}

@keyframes textAnimation {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.name {
    user-select: none;
    font-weight: 200;
    font-size: 4em;
    margin-bottom: 0px;
    /* animation: textAnimation 1s ease-in-out; */

}

.last-name {
    font-weight: 900;
    font-style: italic;
}

.middle {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 100vh;
}

.center {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.grid-container {
    border: 2px var(--secondary-color);
    margin: 0em;
    margin-left: 0px;
    margin-right: 0px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 8px;    */
}

.grid-item {
    text-align: left;
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.line {
    width: 100%;
    border-bottom: 2px solid var(--secondary-color);
    /* Add this line */
    margin-top: 5em;
}

.content-body {
    margin-left: 9em;
    margin-right: 9em;

}

.project-item {}

.project-title {
    font-weight: 800;
    font-size: x-large;
    margin-bottom: 0px;
}

.project-stack {
    margin-top: 5px;
    font-size: 0.9rem;
    font-style: italic;
}

.project-explain {
    margin-right: 10em;
}

.project-details {
    margin-top: 2em;
}

.live {
    text-decoration: none;
    border: 2px var();
    font-weight: 800;
    color: var(--primary-color);

}

button {
    background-color: var(--secondary-color);
    padding-left: 0.9em;
    padding-right: 0.9em;
    padding: 5px 5px;
    border: 0px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    animation: hover-animation 1s ease;
}

@keyframes hover-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
.connect-btn {
    display: inline-block;
    margin-top: 10px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 1em;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.white-space {
    padding: 2rem;
}

.twitter {
    background-color: #14171A;
    color: white;
    transition: background-color 0.3s ease;
}

.twitter:hover {
    background-color: #0D1013;
}

.linkedin {
    background-color: #0077b5;
    transition: background-color 0.3s ease;
}

.linkedin:hover {
    background-color: #005e8c;
}

.github {
    background-color: #24292E;
    color: white;
    transition: background-color 0.3s ease;
}

.github:hover {
    background-color: #1c2125;
}

.showwcase {
    background-color: #dcdfed;
    transition: background-color 0.3s ease;
}

.showwcase:hover {
    background-color: #c8cce3;
}

/* -------- */
.icons {
    filter: invert(1);
}
.text-white {
    color: white;
}
