body {
    margin: 0px;
    padding: 0px;
    background-color: #FCF7F8;
}

.center {
    text-align: center;

}

.eczar {
    font-family: "Eczar";
}

.oswald {
    font-family: "Oswald", serif;
    font-weight: bold;
}

.e1reg {
  font-family: "Erica One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.sour {
    font-family: "Oswald", serif;
    font-weight: 250;
}

.sourb {
    font-family: "Oswald", serif;
    font-weight: bold;
}

.space {
    font-family: "Space Grotesk"
}

.resume h2 {
    margin-bottom: 0px;
    margin-top: 15px;
}

.resumecontainer {
    display: flex;
    justify-content: center;
    margin-left: 25px;
    margin-right: 25px;
}

#clickto {
    margin-bottom: 8px;
}

.nav {
    font-family: "Oswald", serif;
    font-size: 20px
}

p {
    margin-left: 30px;
    margin-right: 30px;
}

h2 {
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 30px;
    font-family: "Oswald", serif;
}

.footback img {
    width: 100%;
}

.feeet {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 40px 40px 40px;
}

#footertitle {
    margin-bottom: 0;
    color: #FCF7F8;

}

.big {
    font-size: 40px;
}

.small {
    font-size: 20px;
    font-weight: lighter;
}

.footback a {
    width: 33.87px;
}

.footback {
    display: flex;
    justify-content: center;

    background: rgba(76, 175, 80, 0);
    opacity: 100%;
    text-align: center;
    padding: 30px;
    font-size: 15px;
    gap: 20px;
    padding-top: 15px;
}

#motiondesign {
    position: relative;
    background-image: url(assets/motioncover.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 15px;
    height: 450px;
    width: 450px;
}

#art {
    background-image: url(assets/artcover.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 15px;
    height: 450px;
    width: 450px;
}

#graphicdesign {
    background-image: url(assets/graphiccover.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 15px;
    height: 450px;
    width: 450px;
}

#work {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 15px;
}

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

div h3 {
    color: black;
    text-align: center;
    font-family: "Eczar";
    font-size: 40px;
    margin-bottom: 5px;
    margin-top: 5px;
}

h4 {
    margin-bottom: 10px;
    margin-top: 0px;
    gap: 15px;
    text-align: center;
    font-family: "Oswald", serif;
    font-size: 25px;
}

.title {
    margin-bottom: 10px;
    margin-top: 0px;
    gap: 15px;
    text-align: center;
}

.desc {
    width: 70%;
    font-size: 20px;
}

a:link {
    color: black;
    text-decoration: none;
}

a:visited {
    color: black;
}

a:hover {
    text-decoration: underline;
}


a:active {
    text-decoration: none;
}

#work a:hover h3 {
    text-decoration: underline;
    text-decoration-color: black;
}

h1 {
    font-family: "Eczar";
    font-weight: lighter;
    font-size: 16px;
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: center;
}

h6 {
    font-family: "ATP Bold";
    font-size: 350px;
    text-align: center;
    margin: 0;
}

.pageName {
    position: absolute;
    width: 100%;
    top: 0px;
    z-index: -1;
    color: #FCF7F8;
}

.border {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.border:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 85%;
    /* Adjust width */
    height: 2px;
    /* Adjust thickness */
    background-color: black;
    border-radius: 2px;
    /* Rounds the ends */
    transform: translateX(-50%);
}


/*nav div {
    border-bottom: 2px solid black;
    border-width: 85%;
}*/

.centernav {
    min-width: 320px;
    /*background-image: linear-gradient(to right, #00403F, #668889, #AAe2e1, #668889, #00403F);*/
    display: flex;
    justify-content: center;
    gap: 25px;
}

.cornerlogo {
    position: absolute;
    width: 7%;
    margin-top: 8px;
    margin-left: 8px;
}

main {
    /*background-image: linear-gradient(#B5BFBF, #747979, #747979, #747979, #b5bfbf);*/
    background-color: #FCF7F8;
    position: relative;
    z-index: 1;
}

.mepics {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    flex-shrink: 0;
    gap: 20px;
    margin-top: 10px;
}

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

.mecontainer2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 10px;
    gap: 25px;
}

.mecontainer2 h5 {
    width: 500px;
    text-align: center;
    margin-top: 5px;
    font-size: 23px;
}

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

.mecontainer3 h4 {
    font-weight: bold;
    font-size: 50px;
}

.mepics img {
    border-radius: 10px;
}

#whatido {
    max-width: 900px;
    text-align: center;
    font-size: 25px;
    margin-top: 0px;
}

#helmpic {
    height: 500px;
    width: 500px;
    object-fit: cover;
}

@media (max-width: 550px) {
    #helmpic {
        width: 75%;
    }

    #snowpic {
        width: 75%;
    }

    #fampic {
        width: 75%;
    }


    .mepics {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
        flex-shrink: 0;
        gap: 20px;
        margin-top: 10px;
    }

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

    .mecontainer2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
        margin-top: 10px;
        gap: 25px;
    }

    .mecontainer2 h5 {
        max-width: 300px;
        text-align: center;
        margin-top: 5px;
        font-size: 20px;
    }

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

    .mecontainer3 h4 {
        font-weight: bold;
        font-size: 45px;
    }

    .mepics img {
        border-radius: 10px;
    }

    #whatido {
        max-width: 300px;
        text-align: center;
        font-size: 18px;
    }
}

.resume {
    margin-top: 0px;
    text-align: center;
    width: 400px;
    border: solid;
    border-color: #668889;
    border-radius: 100px;
    border-width: 8px;
    background-color: beige;
}

.resume h5 {
    margin: 0px;
    color: blue;
}

.main1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 100px 0px 100px;
}


div.mecontainer3 {
    margin-top: 30px;
}

.vaselinePrint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 10px 25px 10px 25px;
}

.vaseWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vasePrints1 {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.vasePrints2 {
    max-width: 150px;
    width: 100%;
    height: auto;
}

.videos {
    display: flex;
    justify-content: center;
    margin: 10px 0px 10px 0px;
}

.homesPrint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 10px 25px 10px 25px;
}

.homesWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.homesPrints1 {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.homesPrints2 {
    max-width: 150px;
    width: 100%;
    height: auto;
}

.gridContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 5px;
    width: 95%;
    margin: 0 auto;
}

.item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.item {
    grid-column: span 1;
    grid-row: span 1;
    font-size: 0;
    line-height: 0;
    border-radius: 10px;
    overflow: hidden;
}





.hoverBox {
    position: relative;
    overflow: hidden;
}

.hoverBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

/* Zoom image on hover */
.hoverBox:hover img {
    transform: scale(1.05);
}

.hoverBox video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Centered text, initially hidden */
.hoverText {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: rgba(255, 255, 255, 0.2);
    color: black;
    font-family: "Chillax Medium";
    font-size: clamp(16px, 3vw, 45px);

    opacity: 0;
    transition: opacity 0.3s ease;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    font-size: clamp(16px, 3vw, 45px); /* already have this, just make sure font-size: 0 isn't overriding it */
    line-height: 1.2; /* add this to fix the stacking */
}

/* Show text on hover */
.hoverBox:hover .hoverText {
    opacity: 1;
}

.logo {
    font-family: "gnar", sans-serif;
    font-weight: 800;
    font-style: normal; 
    font-size: 200px;
    text-align: center;
    margin: 20px auto 0px auto;
    color: black;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

.background {
    display: flex;
    max-height: 230px;
    margin-bottom: 25px;
}

@font-face {
    font-family: 'Chillax Regular';
    src: url('fonts/chillax/Chillax-Regular.ttf') format('truetype'),
        url('fonts/chillax/Chillax-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Chillax Medium';
    src: url('fonts/chillax/Chillax-Medium.ttf') format('truetype'),
        url('fonts/chillax/Chillax-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Chillax Light';
    src: url('fonts/chillax/Chillax-Light.ttf') format('truetype');
    src: url('fonts/chillax/Chillax-Light.woff') format('woff');
}

@font-face {
    font-family: 'Melodrama Light';
    src: url('fonts/Melodrama/Melodrama-Light.ttf') format('truetype');
    src: url('fonts/Melodrama/Melodrama-Light.woff') format('woff');
}

@font-face {
    font-family: 'Melodrama Reg';
    src: url('fonts/Melodrama/Melodrama-Regular.ttf') format('truetype');
    src: url('fonts/Melodrama/Melodrama-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Melodrama Semi';
    src: url('fonts/Melodrama/Melodrama-Semibold.ttf') format('truetype');
    src: url('fonts/Melodrama/Melodrama-Semibold.woff') format('woff');
}

@font-face {
    font-family: 'ATP Regular';
    src: url('fonts/ATP/ATP-RunnersSociety.otf') format('opentype'),
         url('fonts/ATP/ATP-RunnersSociety.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ATP Bold';
    src: url('fonts/ATP/ATP-RunnersSocietyBold.otf') format('opentype'),
         url('fonts/ATP/ATP-RunnersSocietyBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.abtMe {
    position: absolute;
    right: 0%;
    top: 0%;
    height: 247.8px;
    width: 229.6px;
    z-index: 2;
}

.abtMe img {
    height: 247.8px;
    right: 0%;
    top: 0%;
}

.contactContainer {
    position: absolute;
    right: 90px;
    top: 50px;
}

.contactButton {
    font-size: 30px;
    font-family: "Chillax Regular";
    transition: transform 0.3s ease;
}

.contactButton:hover {
    text-decoration: underline;
    transform: scale(1.1);

}

.contactInfoContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.contactInfoContainer h2 {
    font-family: "Chillax Medium";
    font-size: 40px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.contactInfoContainer p {
    font-family: "Chillax Light";
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 20px;
}

.contactInfoContainer h3 {
    font-family: "Chillax Light";
    font-size: 22px;
    margin-bottom: 20px;
    margin-top: 0px;
}

.iconsContainer {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.iconsContainer img {
    height: 50px;
}

.stackedImages {
    position: relative;
    width: fit-content;
    height: 247.8px;
}

.stackedImages img {
    position: absolute;
    height: 247.8px;
    width: 229.6px;
    left: 0%;
    top: 0%;
}

.bottomArrow {
    z-index: 0;
}

.topArrow {
    z-index: 1;
}

.gallery img:hover {
    transform: scale(1.03);
}

.gallery {
    margin: 0 auto;
    /* Center gallery */
    margin-left: 100px;
    margin-right: 100px;
}

.grid-sizer,
.gallery-item {
    width: 300px;
    /* Fixed column width */
}

.gallery-item {
    float: left;
    margin-bottom: 10px;
}


.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
}

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

.bodyArt {
    padding: 20px;
}

.masonry-gallery {
    /* Adjust the number of columns you want */
    column-count: 3;
    /* Adjust the gap between columns */
    column-gap: 1em;
    width: 80%;
    margin: 0 auto;
}

.gallery-item {
    display: inline-block;
    /* Helps prevent weird spacing */
    margin: 0 0 1em;
    /* Adds vertical space between items in the same column */
    width: 100%;
    /* This is a crucial property to prevent items from breaking across columns */
    break-inside: avoid;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    cursor: pointer;
}

/* Lightbox Overlay Styles */
.lightbox-overlay {
    position: fixed;
    /* Stays in place even when scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Semi-transparent black background */
    display: flex;
    /* Use flexbox to easily center the image */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* Indicates the overlay is clickable */

    /* Start hidden */
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;
}

/* Style for when the lightbox is active/visible */
.lightbox-overlay.visible {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s linear;
}

/* Styling for the image inside the lightbox */
.lightbox-image {
    max-width: 90%;
    max-height: 80%;
    display: block;
    border-radius: 8px;
    cursor: default;
    /* Keep the standard cursor for the image itself */
}

.gallery-item img {
    /* ... your other styles ... */
    cursor: pointer;
    /* Show a pointer on hover */
}

/* Media Query for smaller screens (e.g., tablets and below) */
@media (max-width: 768px) {
    .masonry-gallery {
        /* Change to 2 columns */
        column-count: 2;
    }
}

.masonry-gallery2 {
    /* Adjust the number of columns you want */
    column-count: 3;
    /* Adjust the gap between columns */
    column-gap: 1em;
    width: 95%;
    margin: 0 auto;
}

/* Media Query for smaller screens (e.g., tablets and below) */
@media (max-width: 768px) {
    .masonry-gallery2 {
        /* Change to 2 columns */
        column-count: 2;
    }
}

div.mepics video {
    border-radius: 12px;
    height: 463.517px;
    width: 300px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

div.mepics img {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

@media (max-width: 900px) {
    .gridContainer {
        grid-template-columns: repeat(2, 1fr);
    }
    .logo {
        font-size: 100px;
    }
    .abtMe {
        height: 175px;
        width: 162px;
    }
    .abtMe img {
        height: 175px;
    }
    .stackedImages {
        height: 175px;
    }
    .stackedImages img {
        height: 175px;
        width: 162px;
    }
}

@media (max-width: 550px) {
    .logo {
        font-size: 50px;
    }
    .abtMe {
        height: 120px;
        width: 111px;
    }
    .abtMe img {
        height: 120px;
    }
    .stackedImages {
        height: 120px;
    }
    .stackedImages img {
        height: 120px;
        width: 111px;
    }
}

.logo-wrapper:hover {
    text-decoration: none !important;
}

header a:hover {
    text-decoration: none !important;
}