body {
    display: flex;
    flex-direction: column;
    font-family: "Barlow", sans-serif;
    font-weight: 250;
    font-style: normal;
    margin: 0;
    min-width: 390px;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 18pt;
    font-weight: 300;
    padding: 20px;
    margin-bottom: 2em;
    background-color: white;
    width: 100%;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    flex-direction: row;
    gap: 28px;
    flex: 1;
    justify-content: space-evenly;
}

.burger-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 52px;
    height: 52px;
    border: 1px solid #111;
    border-radius: 10px;
    background: white;
    cursor: pointer;
}

.burger-bar {
    width: 26px;
    height: 3px;
    background: #111;
    display: block;
    margin: 0 auto;
}

.gallery {
    padding: 2em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.gp {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease;
    cursor: zoom-in;
}

.gp:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
    z-index: 1000;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: min(92vw, 1200px);
    max-height: 86vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.bgphoto {
    z-index: -1;
    /* filter: blur(1px); */
    overflow: hidden;
    place-self: center;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    text-decoration: underline;
}

.main-logo {
    width: 35vw;
    min-width: 380px;
    place-self: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

.contact-container {
    display: flex;
    flex-direction: row;
}

.section-title {
    place-self: center;
    font-size: 30pt;
}

.about {
    padding: 2em;
}

.contact-links {
    background-color: black;
    color: white;
    min-width: 50vw;
}

.contact-form {
    font-size: larger;
    padding: 2rem;
    place-self: center;
    min-width: 70vw;
}

.profilephoto {
    height: 200px;
    width: 160px;
}

.form {
    place-self: center;
}

#message {
    width: 60vw;
}

.link-title {
    place-self: center;
}

.links {
    text-align: center;
    place-self: center;
}

.submit-button {
    width: 200px;
    height: 50px;
    background-color: white;
    font-size: 16pt;
    justify-content: center;
}

.submit-button:hover {
    background-color: black;
    color: white;
}

.profiles {
    display: flex;
    flex-direction: row;
}

.profile {
    margin: 2em;
}

.video-container {
    display: grid;
    width: 80%;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    text-align: center;
    padding: 2em;
    margin: 2em;
    place-self: center;
    border: 1px solid black;
    border-radius: 0.8em;
    background-color: black;
    color: white;
}

.video-description {
    text-align: left;
}

.video {
    place-self: center;
}

@media (max-width: 980px) {

.video-container {
        display: flex;
        flex-direction: column;
    }

}

@media (max-width: 670px) {
    .header {
        position: relative;
    }

    .burger-button {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 20px;
        flex-direction: column;
        gap: 18px;
        background: white;
        border: 1px solid #111;
        border-radius: 12px;
        padding: 20px 26px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
        flex: none;
        justify-content: flex-start;
    }

    .nav-links a {
        font-size: 20px;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .video {
        width: 75vw;
    }

    .gp {
        height: 180px;
    }
}