@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Comfortaa", serif;
}

body {
    background-color: #FFDADA;
}

/* ---------------- Nav Section ---------------- */
header {
    display: flex;
    justify-content: flex-end;
    padding: 40px;
    background-color: #E3A3A3;
}

nav > ul {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

nav > ul > li {
    list-style-type: none;
}

header nav ul li :hover {
    background-color: #FFDADA;
    border-radius: 30px;
    color: black;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    padding: 10px;
}

/* ---------------- Hero Section ---------------- */
.hero {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 90vh;
    background-color: #E3A3A3;
}

.profileImg {
    border-radius: 32px;
    width: 20rem;
}

.text-container {
    padding-left: 4rem;
    color: white;
}

.text-container h1 {
    font-size: 5rem;
    font-weight: 700;
    color: #e3a3a3;
    text-shadow: 4px 4px 5px rgba(0,0,0,0.4);
    padding-bottom: 2rem;
}

.text-container h2 {
    font-weight: 600;
    font-size: 2.5rem;
}

.text-container h3 {
    font-weight: 200;
    font-size: 1.5rem;
}


/* ---------------- Project Section ---------------- */
.projects {
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 2rem;
    margin: 2rem;
}

.project {
    background-color: #E3A3A3;
    height: 400px;
    width: 370px;
    border-radius: 32px;
}

.project:hover {
    cursor: pointer;
}

.project img {
    height: 100%;
    width: 100%;
    border-radius: 32px;
    object-fit: contain;
}

/* .project3 img {
    object-fit: cover;
} */

.active {
    position: fixed;
    width: 60%;
    height: 80%;
    transition: ease-in-out .4s;
    padding: 20px;
    z-index: 1000;
    top: 0;
    left: 0;
}

.bgChange {
    background-color: rgba(0, 0, 0, 0.658);
    height: 100%;
    width: 100%;
    border-radius: 0;
}




/* ---------------- Media Query ---------------- */

@media (max-width: 1120px) {
    .hero img {
        width: 15rem;
    }
}

@media (max-width: 970px) {
    .hero img {
        opacity: 0;
        position: absolute;
    }

    .text-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .text-container h1 {
        font-size: 3rem;
    }

    .text-container h2 {
        font-size: 2rem;
    }

    .text-container h3 {
        font-size: 1rem;
    }
}
