@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}



body {
    background: #090979;
    background: linear-gradient(90deg, rgba(9, 9, 121, 1) 0%, rgba(2, 0, 36, 1) 100%);
    color: #e6e6e6;
}



nav {
    display: flex;
    justify-content: space-around;
    row-gap: 1rem;
    column-gap: 8rem;
    padding: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #e6e6e6;
    font-weight: 700;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #bbbbbb;
}



main {
    padding: 2rem;
    max-width: 1000px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

main section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
}

main section p {
    line-height: 1.6;
    font-size: 1.1rem;
    border-left: 2px solid #e6e6e6;
    padding-left: 1rem;
}

main section h1 {
    font-size: 2rem;
}

main section article {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    gap: 1rem;
}

main section article h2 {
    font-size: 1.5rem;
}

main section article div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

main section article div img {
    width: 40px;
    height: 40px;
}

main section a {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

main #projects a:hover {
    transform: scale(1.01);
}

main #contact a {
    text-decoration: none;
    color: #e6e6e6;
    transition: color 0.3s ease;
}

main #contact a:hover {
    color: #bbbbbb;
}



.github_logo {
    border-radius: 5px;
}

.etrevbot_p {
    border-left: 2px solid #4287f5;
}

.etrevlist_p {
    border-left: 2px solid #f5c636;
}

.htcpl_p {
    border-left: 2px solid #00ff00;
}

.github_p {
    border-left: 2px solid #f1e696;
}



footer {
    display: flex;
    justify-content: space-around;
    row-gap: 1rem;
    column-gap: 8rem;
    padding: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}



/* ANIMATIONS */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    animation: slideInFromTop 1s ease-out forwards;
}

main section {
    animation: slideInFromLeft 1s ease-out forwards;
}

footer {
    animation: slideInFromBottom 1s ease-out forwards;
}

main section:nth-child(2) { animation-delay: 0.2s; }
main section:nth-child(3) { animation-delay: 0.4s; }
main section:nth-child(4) { animation-delay: 0.6s; }