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

body {
    overflow: auto;
    font-family: Arial, sans-serif;
    background-color: #121716;
}

/* ACTIVE BUTTON STYLES */
#active-button a {
    font-style: normal;
    font-weight: bold;
    color: hotpink;
    text-decoration: none;
}

#active-button a:hover {
    color: white;
    font-weight: bold;
    font-style: normal;
}

/* NAVIGATION BAR */
.navbar {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    background-color: #40f;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar a {
    color: #121716;
    font-style: oblique;
    font-size: 22px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar a:visited {
    color: #121716;
}

.navbar a:hover {
    color: hotpink;
}

@media only screen and (max-width: 600px) {
    .navbar a {
        font-size: 16px;
    }
}

/* CONTAINERS AND BOXES */
.overview-container,
.gallery-container {
    gap: 20px;
    padding: 20px;
    padding-top: 40px;
}

.overview-border {
    border: none;
    padding: 20px;
    color: #bfd6cb;
}

#overview-text {
    font-weight: 700;
    color: #bfd6cb;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.work-box {
    display: flex;
    flex-direction: column;
    width: 30%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.work-text {
    color: #bfd6cb;
}

.work-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: solid 1px;
    color: #bfd6cb;
}

.work-statement {
    margin-bottom: 10px;
    color: #bfd6cb;
}

.work-main-img img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    cursor: pointer;
}

.work-main-img img:hover {
    opacity: 0.9;
}

@media (max-width: 1080px) {
    .work-box {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .work-box {
        width: 100%;
    }
}

/* MODAL STYLES */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Higher than navbar */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    padding-top: 60px;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    margin: auto;
    gap: 15px;
}

.modal-content img {
    max-width: 90%;
    height: auto;
    border: 3px solid white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    color: hotpink;
}
