:root {
    --text-color: rgb(56, 56, 56);
    --light-pink: rgb(255, 225, 230);
    --light-green: rgb(167, 192, 167);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: "Patrick Hand", sans-serif;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    height: 5rem;
    align-items: center;
    position: fixed;
    width: 100%;
    background-color: rgba(255, 159, 159, 0.9);
    backdrop-filter: blur(5px);
    top: 0;
    z-index: 1000;
    letter-spacing: 1.3px;
}

nav .left-side a {
    color: var(--text-color);
    font-size: 1.6rem;
    font-weight: 700;
}

nav .right-side a {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0.6rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav .right-side a:hover {
    color: white;
    background-color: var(--light-green);
    /* transition: color 0.3s ease-in-out;*/
} 

section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem;
    gap: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); 
    background-color: var(--light-pink);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

section h2 {
    text-align: center;
    font-size: 3rem; 
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
}

/* Sqiggly line under texts */
section h2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 11px;
    bottom: -5px;
    left: -2%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 10'%3E%3Cpath d='M0,5 Q12.5,0 25,5 T50,5' stroke='%23add59c' stroke-width='3' fill='none'/%3E%3C/svg%3E"); 
    background-repeat: repeat-x;
}

#about-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#about-section .bio {
    margin-bottom: 2rem;
    max-width: 54rem;
    font-size: 1.30rem;
}

#about-section .social-links {
    font-size: 2.5rem;
}

#about-section .social-links a {
    padding: 0;
    margin: 0 1rem;
}

#about-section .social-links i {
    color: var(--text-color);
    font-weight: 500;
}

#about-section .social-links a:hover i {
    color:rgb(167, 192, 167);
    transition: transform 0.3s, color 0.3s;
}

/* Artworks Section */
#artworks-section, #crafts-section {
    min-height: 100vh;
    width: 100%;
    margin: auto;
    background-color: #f6f6f6;
    gap: 2rem;
}

#artworks-section h3, #crafts-section h3{
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-decoration: underline;
    letter-spacing: 0.5px;
}

.collage-divider {
    max-width: 1250px;
    background-color: var(--light-green);
    padding: 25px;
    border-radius: 8px;
    /* border: 2px solid rgb(177, 177, 177); */
    margin-top: 15px;
    box-shadow: rgba(37, 57, 37, 0.35) 0px 5px 15px;
}

.collage img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 2px solid rgba(111, 129, 111, 1);;
    transition: transform 0.3s ease;
} 

.collage img:hover {
    transform: scale(1.05);
}

.collage {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 15px;
}

.hidden {
    display: none; /* Initially hides the the artworks */
}

.expand-btn {
    background-color: rgba(255, 159, 159, 0.9);
    color: var(--text-color);
    font-family: "Patrick Hand", sans-serif;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 2px;
    font-weight: bold;
}

.expand-btn:hover {
    background-color: var(--light-green);
    color: white;
}

#crafts-section {
    background-color: #ffeaea;
}

#coding-section {
    background-color: #f6f6f6;
}

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

.project-card {
    background: rgb(255, 230, 230);
    border-radius: 10px;
    width: 220px;
    height: 400px;
    margin: 10px;
    transition: transform 0.3s ease;
    border: 1px solid rgb(168, 168, 168);
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.project-card h3 {
    padding: 10px;
}

.project-card p {
    padding: 10px;
}

.project-card a {
    background-color: var(--light-green);
    padding: 15px 15px;
    margin: 20px;
    color: white;
    font-family: "Patrick Hand", sans-serif;
    display: block;
    border-radius: 8px;
    border: 1px solid rgb(168, 168, 168);
}

.project-card a:hover {
    background-color: rgb(144, 168, 144);
}

.project-image {
    background-color: pink;
    height: 150px;
    margin-bottom: 15px;
    background-size: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

footer {
    background-color: rgb(137, 137, 137);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

