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

html {
    scroll-behavior: smooth;
}

body {
    background-color: rgb(36, 36, 36);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: white;
    overflow-y: scroll;
}

/* PAGE CONTAINER */
.page {
    /*width: 70%;*/
    margin: 0 auto;
    padding: 20px 10px 50px 10px;
    background-color: rgb(90, 90, 90);
    border-left: 2px solid black;
    border-right: 2px solid black;
}

/* HEADER */
#header {
    text-align: center;
    padding: 60px 20px 40px;
    background: #222;
    color: white;
    border-bottom: 2px solid black;
}

#name {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    padding-right: 0;
}

#subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* NAVIGATION */
#navbar {
    position: sticky;
    top: 0;
    background: #111;
    padding: 10px 0;
    z-index: 1000;
    font-size: max(1.2vw, 19px);
}

#navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

#navbar li {
    display: inline;
    cursor: pointer;
}

#navbar a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

#navbar a:hover,
#navbar li:hover {
    color: #00bcd4;
}

/* SECTION CONTAINER */
.section-container {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
    background-color: #222222;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* TITLES */
.title {
    text-align: center;
    font-size: 2.5rem;
    margin: 20px 10px 0;
    border-bottom: 2px solid rgb(36, 36, 36);
}

/* PROJECTS GRID */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 30px;
    max-width: 1200px;
    margin: auto;
    background-color: #222222;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

/* PROJECT CARDS */
.gallery {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    border: 1px solid black;
}

.gallery:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: white;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
}

/* FOOTER */
#footer {
    text-align: center;
    padding: 40px 20px;
    background: #111;
    color: white;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#footer a {
    color: #00bcd4;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

/* UTILITY */
.font-size-to-window-size {
    font-size: max(1.1vw, 18px);
}

/* ENTITY GRID STYLES */
#entityImgContainer {
    float: right;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
    margin-left: 5px;
}

.entity {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.entity img {
    max-width: 100%;
    height: auto;
}

/* PCG ABOUT PAGE STYLES */

/* Page-specific container for PCG About Page */
#introSection {
    background-color: #222222;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#introSection p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

#geGif {
    width: 100%;
    border-radius: 8px;
}

#interactiveOctaveContainer {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#interactiveOctaveContainer h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

#interactiveOctaveContainer p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.slider-container {
    background-color: #444;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.slider-container label {
    font-size: 1.2em;
}

.slider-container input[type="range"] {
    width: 80%;
    margin-top: 10px;
}

.slider-container img {
    width: 100%;
    margin-top: 20px;
    border-radius: 8px;
}

