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

body {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    background-color: #080808;
}

p {
    font-weight: 400;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #080808;
    padding: 15px 10vw 15px 3vw;
}

header img {
    width: 250px;
    height: 47px;
}

header nav ul li {
    display: inline-block;
    padding-left: 5vw;
}

header nav ul li a {
    font-size: 20px;
    font-weight: 400;
    color: #eeeeee;
    text-decoration: none;
}

header nav ul li a:hover {
    color: #c0daff;
}

#title-section {
    height: 250px;
    padding: 80px;
    text-align: center;
}

#thin-line {
    height: 1px;
    width: 50%;
    margin: 25px auto;
    background-color: #eeeeee;
}

#title-section h2 {
    font-size: 38px;
    color: #eeeeee;
}

#title-section a {
    font-size: 18px;
    font-weight: 400;
    padding: 0px 10px;
    line-height: 30px;
    color: #c0daff;
    text-decoration: none;
}

#title-section a:hover {
    color: #97c2ff;
}

#category-section {
    padding: 0px 5vw;
}

#category-section h3 {
    font-size: 24px;
    color: #eeeeee;
    padding: 5px; 
}

#category-button-container {
    padding: 5px; 
}

#category-button-container button {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 18px;
    background-color: transparent;
    color: #eeeeee;
    padding: 5px 10px;
    margin: 5px;
    line-height: 25px;
    border: 1px solid #eeeeee;
    cursor: pointer;
    transition: 0.15s ease-in-out;
}

#category-button-container button:hover {
    border: 1px solid #eeeeee;
    background-color: #eeeeee;
    color: #080808;
}

#photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    padding: 30px 60px 120px 60px;
    gap: 60px;
}

.photo-card {
    border: 1px solid #eeeeee;
    border-radius: 10px;
    color: #eeeeee;
}

.photo-card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 1px solid #eeeeee;
    aspect-ratio: 3 / 2;
    height: auto;
    width: 100%;
}

.photo-card h3 {
    font-size: 24px;
    padding: 15px 20px 5px 20px;
}

.photo-card ul {
    padding: 5px 20px;
}

.photo-card li {
    font-size: 20px;
    font-weight: 400;
    padding: 5px 0px;
    list-style: none;
}

.view-photo {
    margin: 10px 20px 20px 20px;
}

.selection-button {
    display: inline-block;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    width: 130px;
    height: 40px;
    padding: 4px;
    border: 1px solid #eeeeee;
    color: #eeeeee;
    text-align: center;
    transition: 0.15s ease-in-out;
}

.selection-button:hover {
    border: 1px solid #eeeeee;
    background-color: #eeeeee;
    color: #080808;
}

#photo-container {
    padding: 50px 10vw 100px 10vw;
}

#photo-container img {
    aspect-ratio: 3 / 2;
    width: 80vw;
    height: auto;
    border: 1px solid #eeeeee;
}

#photo-container h2 {
    padding: 10px 0px;
    font-size: 32px;
    color: #eeeeee;
    text-decoration: overline;
}

#photo-container ul {
    list-style: none;
}

#photo-container ul li {
    font-size: 18px;
    font-weight: 400;
    color: #eeeeee;
    padding-top: 5px;
}

footer #footer-social-row {
    padding: 5px 40px;
    text-align: center;
}

footer #footer-social-row a {
    font-size: 18px;
    padding: 10px;
    line-height: 30px;
    color: #c0daff;
    text-decoration: none;
}

footer #footer-social-row a:hover {
    color: #97c2ff;
}

footer #footer-copyright {
    font-size: 16px;
    text-align: center;
    padding: 20px;
    color: #eeeeee;
}

@media (max-width: 1100px) {
    header img {
        width: 220px;
        height: 41px; 
    }

    #title-section h2 {
        font-size: 34px;
    }
}

@media (max-width: 880px) { 
    #title-section {
        padding: 70px;
    }

    #category-section {
        padding: 0px 14vw;
    }

    #photo-grid {
        padding: 30px 15vw 60px 15vw;
    }

    #thin-line {
        width: 70%;
    }

    #photo-container h2 {
        font-size: 28px;
    }
}

@media (max-width: 530px) {
    #title-section {
        padding: 50px;
    }

    #title-section h2 {
        font-size: 30px;
    }

    #thin-line {
        width: 80%;
    }

    #category-section {
        padding: 0px 5vw;
    }

    #photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        padding: 30px;
        gap: 30px;
    }

    .photo-card h3 {
        font-size: 22px;
        padding: 15px 20px 5px 20px;
    }

    .photo-card ul {
        padding: 5px 20px;
    }

    .photo-card li {
        font-size: 18px;
        font-weight: 400;
        padding: 5px 0px;
        list-style: none;
    }

    .more-details {
        margin: 10px 20px 20px 20px;
    }

    .selection-button {
        font-size: 18px;
        width: 130px;
    }

    #photo-container h2 {
        font-size: 24px;
    }
}

@media (max-width: 460px) {
    header {
        padding: 15px 5vw;
    }

    header img {
        width: 176px;
        height: 33px; 
    }

    header nav ul li {
        padding-left: 3vw;
    }

    header nav ul li a {
        font-size: 18px;
    }

    #title-section h2 {
        font-size: 28px;
    }

    #title-section a {
        padding: 0px 5px;
    }
}