@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;700;800;900&display=swap');

    *{        /* Add some padding on document's body to prevent the content
        to go underneath the header and footer */
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Poppins', sans-serif; /* Set the font family */
    }
    body {
        height: auto; /* default page length */
        background-attachment: fixed;
          }
    header, .footer{
        width: 100%;       
        background: #ffffff;
        padding: 10px;
        color: black;
        left: 0;
    }
    header{
        height: 75px;
        display: flex;
        justify-content: space-between; /* center all the elements inside the header */
        align-items: center; /* ^same thing^ */
        padding: 0;
    }
    .footer{
        border-top: 1px solid black;
        position: absolute;
        height: 45px;
        z-index: 10;
    }
    .navbar{ /* contains header elements */
        width: 100%;
        margin: 0; /* Center the DIV horizontally */
        display: flex;
        align-items: center;
        height: 82px;
        font-size: 3vw;
    }
    .header-list{
        position: relative;
        flex-grow: 3;
        color: #000000; /* This affects the header & footer text color */
        text-decoration: none;
        padding: 7px 25px; /* Increase the padding to make the buttons bigger */
        display: inline-block;
        background-color: #ffffff; /* Set the background color to a dark gray */
        border: none; /* Remove the border */
        border-radius: 25px; /* Round the edges */
        font-size: 16px; /* Increase the font size */
        cursor: pointer; /* Add a cursor on hover to make it clear that it's clickable */
        transition: 0.5s ease; /* Add a transition effect when hovering over the button */
        margin-right: 20px; /* Add some margin to separate the buttons */
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    }
    .header-list:hover{
        background-color: #000000; /* Change the background color on hover */
        color: white;
    }
    #about-me {
        min-width: 126px;
    }
    .dropdown {
        height: 82px;
        width: 106px;
        margin-right: 20px;
    }
    #gallery {
        position: relative;
    }
    /* Dropdown Content (Hidden by Default) */
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f1f1f1;
        width: 135px;
        height: 70px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        margin-top: 15px;
        font-size: 15px;
        font-weight: 300;
        line-height: 0.8;
    }
    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    /* Change color of dropdown links on hover */
    .dropdown-content a:hover {
        background-color: #ddd;
    }
    /* Show the dropdown menu on hover */
    .dropdown:hover .dropdown-content {
        display: block;
    }
    .logo { /* JS Photo Logo */
        height: 34px;
        text-align: center;
        color: #000000; /* default color for the text */
        transition: color 0.5s ease; /* add a transition effect when hovering */
        box-shadow: none; 
        padding: 0px;
        margin-left: 40px;
        margin-right: 40px;
        text-decoration: none;
        flex: 1;
        display: flex;
        align-items: center;
    }
    .logop1{
        font-weight: 200;
        font-size: 20px;
        display: inline-block;
        position: absolute;
    }
    span {
    font-weight: 700;
    font-size: 20px;
    }
    .logo:hover {
    background-color: transparent;
    color: #ff0000; /* Change the text color on hover */
    text-decoration: none; 
    }
    nav {
        display: flex;
        align-items: center;
        margin-left: 40vw;
        margin-right: 20px;
        height: 72px;
    }
    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .gallery-text {
        margin-top: 40px;
        font-size: 70px;
        font-weight: 600;
        text-align: center;
        height: 140px;
    }
    .gallery {
        margin: 10px;
        line-height:1.3;
        -webkit-column-count:3; /* split it into 5 columns */
        -webkit-column-gap:5px; /* give it a 5px gap between columns */
        -moz-column-count:3;
        -moz-column-gap:5px;
        column-count:3;
        column-gap:5px;
     }
      .gallery img {
        width: 100% !important;
        height: auto !important;
        margin-bottom:5px; /* to match column gap */
        cursor: pointer;
     }
     .media {
        transition: 0.5s;
        padding: 7px;
     }
     .media:hover {
        filter: brightness(60%);
        transform: scale(1.03);
     }
     .full-img {
        width: 100%;
        height: 100vh;
        background: rgba(17, 17, 17, 0.9);
        position: fixed;
        top: 0;
        left: 0;
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 100;
     }
     .full-img img {
        max-width: 90vw;
        max-height: 80vh;
        border: 2px solid white;
     }
     .full-img span {
        position: absolute;
        top: 5%;
        right: 5%;
        font-size: 25px;
        color: #d8d8d8;
        cursor: pointer;
     }
     @media (min-width: 800px) {
        .menu {
            display: none;
        }
        .icon {
            display: none;
        }
        }
@media (max-width: 700px) {
    .gallery {
        margin: 10px;
        line-height: 1.3;
        -webkit-column-count: 1; /* display one column of photos */
        -webkit-column-gap: 5px;
        -moz-column-count: 1;
        -moz-column-gap: 5px;
        column-count: 1;
        column-gap: 5px;
    }
}
@media (max-width: 700px) {
    .header-list {
        border-top: 1px solid grey;
    }
    .rcp {
        font-size: 3.5vw;
        font-weight: 300;
    }
    .logo {
        white-space: nowrap;
    }
    .header-list {
        display: none;
    }
}
     @media (max-width: 1000px) and (min-width: 700px){
        .gallery {
            margin: 10px;
            line-height:1.3;
            -webkit-column-count:2; /* split it into 5 columns */
            -webkit-column-gap:5px; /* give it a 5px gap between columns */
            -moz-column-count:2;
            -moz-column-gap:5px;
            column-count:2;
            column-gap:5px;
     }
    }
    @media (max-width: 1000px) {
        .gallery-text {
            margin-top: 4vw;
            font-size: 7vw;
            font-weight: 600;
            text-align: center;
            height: 14vw;
        }
    }
    @media (max-width: 800px) {
        nav {
            display: none;
        }
        .dropdown {
            display: none;
        }
        .menu {
            width: 40px;
            height: 30px;
            margin-right: 40px;
        }
        .icon {
            width: 100%;
            height: 100%;
            z-index: 0;
        }
        /* Hide the checkbox input */
        .menu-checkbox {
            display: none;
        }
    
        /* Styling for the menu icon */
        .menu-icon {
            cursor: pointer;
            padding: 10px;
        }
    
        /* Styling for the sidebar menu */
        .sidebar {
            z-index: 9999;
            position: fixed;
            right: -35vw; /* Off-screen by default */
            top: 0;
            width: 30vw;
            height: 100%;
            background-color: #f2f2f2;
            transition: right 0.3s ease;
            box-shadow: 5px 12px 7px rgba(0, 0, 1, 1);
        }
    
        /* Show the sidebar when checkbox is checked */
        .menu-checkbox:checked ~ .sidebar {
            right: 0;
        }
    
        /* Styling for the sidebar menu items */
        .sidebar ul {
            list-style-type: none;
        }
    
        .sidebar li {
            margin: 20px;   
        }
    
        .sidebar a {
            text-decoration: none;
            color: #000000;
        }
    
        /* Overlay to capture clicks outside the sidebar */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: transparent;
            pointer-events: none;
            transition: background-color 0.3s ease;
        }
    
        /* Show the overlay when checkbox is checked */
        .menu-checkbox:checked ~ .overlay {
            background-color: rgba(0, 0, 0, 0.5);
            pointer-events: auto;
        }
    }
    /* Decrease size of logo to properly fit menu icon during mobile viewing */
    @media (max-width: 500px) {
        .logop1{
            font-size: 17px;
        }
        span {
            font-size: 17px;
        }
        .icon {
            width: 30px;
            height: 23px;
        }
        .menu {
            width: 35px;
            height: 25px;
            margin-right: 30px;
        }
        /* Styling for the sidebar menu */
        .sidebar {
            z-index: 9999;
            position: fixed;
            right: -45vw; /* Off-screen by default */
            top: 0;
            width: 45vw;
            height: 100%;
            background-color: #f2f2f2;
            transition: right 0.3s ease;
            box-shadow: 5px 12px 7px rgba(0, 0, 1, 1);
        }
        .sidebar a {
            font-size: 5vw;
            text-decoration: none;
            color: #000000;
        }
    }