/* Styles */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');




* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
}

header {
    background-color: #0d0d0d;
    padding: 1rem 2rem;
    top: 0;
    position: sticky;
    z-index: 100;
}

html {
    scroll-behavior: smooth; /* Allows smooth movement of navigation jumps */
}

p {
    color: #0099ff;
}

a, .btn { /* links & buttons */
    transition: all 300ms ease;
}






/* DESKTOP NAVIGATION */

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 6vh;
}
.nav-links {
    display: flex;
    position: absolute;
    right: 0;
    gap: 2rem;
    list-style: none;
    margin: 50px;
    text-shadow: 0px 0px 5px #000000;
    font-size: 1.5rem;
}
.nav-links a {
    color: #ffffff;
    
    text-decoration: none;
}
.nav-links a:hover {
    color: #0099ff;
    text-decoration: underline;
    text-shadow: 0px 0px 5px #0099ff50;
    text-underline-offset: 0.75rem;
}
.logo {
    position: absolute;
    left: 0;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px;
    gap: 1rem;
}
.logo:hover {
    cursor:default;
}






/* MOBILE NAVIGATION */

#hamburger-nav {
    display: none;
}

.hamburger-menu {
    position: absolute;
    right: 0;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3 ease-in-out;
}

.menu-links {
    position: abosolute;
    top: 100%;
    right: 0;
    background-color: #1a1a1a;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
    transform: none;
}

.hamburger-icon span:first-child {
    opacity: 1;
}

.hamburger-icon span:first-child {
    transform: none;
}


/* HERO */

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)), url("./assets/banner4.png");
    height: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-align: center;
    padding: 4rem 1rem 3rem;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #0099ff;
    text-shadow: 0px 0px 25px #000000;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0px 0px 25px #000000;
    margin-bottom: 2rem;
    color: #ffffff;
}

.socials-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.icon:hover {
    cursor:pointer;
    filter: brightness(120%);
}

/* SECTION */
section {
    padding-top: 5vh;
    padding-bottom: 5vh;
    height: 200vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container {
    display: flex;
}

section h2 {
    color: #0099ff;
    margin-left: 50px;
    margin-bottom: 1rem;
    border-left: 8px solid #0099ff;
    padding-left: 2rem;
    text-shadow: 0px 0px 5px #000000;
    font-size: 3rem;
}

.about {
    background-image: linear-gradient(#171717, #1a1a1a);
    height: 50%;
    background-position: center;
    background-size: cover;
    position: relative;
}
.about p {
    margin: 0 5rem;
    color: #ffffff;
    font-size: 1.5rem;
    padding: 0.5rem;
    text-shadow: 0px 0px 5px #000000;
    max-width: 70rem;
}

.projects {
    background-image: linear-gradient(#171717, #1a1a1a);
    height: 50%;
    background-position: center;
    background-size: cover;
    position: relative;
}

.projects h3 {
    margin: 0 5rem;
    color: #0099ff;
    font-size: 2rem;
}

.projects p {
    margin: 0 6rem;
    color: #ffffff;
    font-size: 1.5rem;
    text-shadow: 0px 0px 5px #000000;
    max-width: 70rem;
    padding: 1rem;
}

.projects-anotherworld {
    margin: 0 10rem;
    color: #ffffff;
    font-size: 1.2rem;
    padding: 0rem;
    border-left: 4px solid #ffffff80;
    padding-left: 1rem;
    text-shadow: 0px 0px 5px #000000;
    max-width: 70rem;
    
}
.projects-anotherworld-features {
    justify-content: center;
    align-items: center;
}
.projects-anotherworld-list {
    list-style: none;
    font-size: 1.2rem;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.projects-anotherworld-list li {
    background-color: #003366;
    padding: 0.6rem 1.2rem;
    border-radius: 28px;
    font-weight: 500;
    box-shadow: 0 0 6px #0055aa88;
}



.skills-list {
    font-size: 1.2rem;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #ffffff;
}

.skills-list li {
    background-color: #003366;
    padding: 0.6rem 1.2rem;
    border-radius: 28px;
    font-weight: 500;
    box-shadow: 0 0 6px #0055aa88;
}

footer {
    background-color: #0d0d0d;
    text-align: center;
    padding: 2rem;
    font-size: 1rem;
    color: #ffffff;
}