* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #030712;
    font-family: 'Inter', sans-serif;
}



p {
    line-height: 1.6;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
}


::selection {
    background-color: #e83c64;
    color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0px); }
}

.intro-left {
    animation: fadeIn 0.8s ease-in-out forwards;
}

.terminal {
    animation: fadeIn 0.8s ease-in-out 0.3s forwards;
    opacity: 0;
}

.employment-content > div:nth-child(1) {
    animation: fadeIn 0.8s ease-in-out 0.5s forwards;
    opacity: 0;
}
.employment-content > div:nth-child(2) {
    animation: fadeIn 0.8s ease-in-out 0.7s forwards;
    opacity: 0;
}
.employment-content > div:nth-child(3) {
    animation: fadeIn 0.8s ease-in-out 0.9s forwards;
    opacity: 0;
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

.project-content {
    animation: fadeIn 0.8s ease-in-out 1s forwards;
    opacity: 0;
}

/************************************************************************************************

HEADER

*************************************************************************************************/

header {
    background-color: #34d399;
    padding: 100px 0px;
}

.header-content {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}


/************************************************************************************************

INTRO

*************************************************************************************************/

.intro-content {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.terminal {
    background-color: #0e1422;
    border-radius: 20px;
    margin-top: 0px;
    border: 1px solid #1d263d;
    transition: 0.3s ease-in-out;
}

.terminal:hover {
    box-shadow: 2px 2px 20px #0b173a;
}

.terminal-head {
    background-color: #0e1422;
    border-radius: 20px 20px 0px 0px;
    padding: 20px 30px;
    border-bottom: 1px solid #1d263d;
}

.terminal-head p {
    color: #6b7280;
}

.dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.red-dot {
    width: 12px;
    height: 12px;
    background-color: #ff5757;
    border-radius: 50%;
}

.yellow-dot {
    width: 12px;
    height: 12px;
    background-color: #febc2e;
    border-radius: 50%;
}

.green-dot {
    width: 12px;
    height: 12px;
    background-color: #28c840;;
    border-radius: 50%;
}

.terminal-body {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    padding: 30px;
}

.comment {
    color: #6b7280;
}

.dev {
    color: #4f46e5;
}

.code {
     color:  #60a5fa;
}

.value {
    color: #34d399
}

.true {
    color: #eb5a2e;
}

.intro-left {
    padding-top: 50px;
}

.intro-left h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

.intro-left p {
    color: #9ca3af;
}

.intro-left p:first-of-type {
    margin-bottom: 20px;
}


.intro-left a:link, .intro-left a:visited {
    color: #030712;
    background-color: #34d399;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    transition:  0.3s ease-in-out;
}

.intro-left a:hover {
    box-shadow: 0px 5px 20px #e83c64;
}




/************************************************************************************************

EMPLOYMENT

*************************************************************************************************/

.employment-container {
    width: 100%;
    margin-top: 50px;
}

.employment-content {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.employment-content > div {
    background-color: #0e1422;
    border-radius: 20px;
    margin-top: 0px;
    padding: 30px;
    border: 1px solid #1d263d;
    transition: 0.3s ease-in-out;
}

.employment-content > div:hover {
    box-shadow: 2px 2px 20px #0b173a;
}

.employment-content p {
    color: #9ca3af;
}

.employment-content i {
    margin-right: 5px;
}

.employment-content h3 {
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    margin-bottom: 10px;
}

.employment-content a:link, .employment-content a:visited {
    color: #34d399;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

.employment-content a:hover {
    color: #e83c64;;
}



/************************************************************************************************

PROJECTS

*************************************************************************************************/

.project-container {
    width: 100%;
    margin-top: 50px;
}

.project-content {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.img-container {
    overflow: hidden;
    border-radius: 20px;
}

.project-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: 0.3s ease-in-out;
}

.project-content img:hover {
    transform: scale(1.1);
}

.project-content h3 {
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
}

.project-content p {
    color: #9ca3af;
}

.stack {
    background-color: #34d399;
    padding: 3px 10px;
    border-radius: 10px;
    display: inline-block;
    font-size: clamp(1rem, 1vw, 1rem);
    font-weight: 600;
    color: #030712;
    margin: 5px 0px 10px 0px;
}


/************************************************************************************************

DESKTOP 1800PX

*************************************************************************************************/

@media (min-width: 1800px) {

    
    .header-content {
        width: 50%;
    }

    .intro-content {
        width: 50%;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .terminal {
        margin-top: -50px;
    }

    .employment-content {
        width: 50%;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .project-content {
        width: 50%;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

}