@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&display=swap');

*{
    font-family: "Baskervville", serif;
    font-weight: 600;
    font-style: normal;
    text-align: justify;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.br_italic {
    font-family: "Baskervville", serif;
    font-weight: 400;
    font-style: italic;
  }

body {
    position: relative;
    background-attachment: fixed;
    background-color: black;
    overflow: hidden;
    padding: 5px;
    margin: 0;
    height: 100vh;
    min-height: 100dvh;
}

nav {
    background: #222;
    color: white;
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding: 1rem 1.75rem;
    border-radius: 0;
}

header{
    width: 100%;
}

section {
    padding: .5rem;
}

#backimg {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#backimg1::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: var(--random-bg-image, url("assets/path2.png"));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: none;
    mix-blend-mode: screen;
    opacity: .5;
    z-index: -1; 
}

#logopic{
    display: flex;
    max-width: 100%;
}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100vh;
    min-height: 100dvh;
    padding: 20px;
    margin-left: 5%;
    margin-right: 5%;
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    flex-grow: 1;
    overflow-y: auto;
}

.nav-links {
    margin: auto;
    display: flex;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 2%;
    margin-bottom: 2%;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    transition: background-color 200ms ease, transform 200ms ease;
}

.nav-disabled {
    color: #cfcfcf;
    text-decoration: line-through;
    padding: 0.5rem;
    cursor: not-allowed;
}

.nav-links a:hover {
    background: #444;
    transform: scale(1.2);
    border-radius: 4px;
}

.photobox {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
}

.photobox img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease-in-out;   
  }

.photobox img.visible {
    opacity: 1;
    z-index: 1;
}

.infodump {
    margin: 0 auto;
    width: min(960px, 100%);
    padding: 1rem 0.75rem;
    border-top: 1px solid #d6d6d6;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.infodump h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.footer-brand-column,
.footer-links-column,
.footer-map-column {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.55;
}

.footer-brand-column address {
    font-style: normal;
    margin-bottom: 0.4rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.footer-links-list a,
.footer-brand-column a {
    color: #222;
    text-decoration: none;
}

.footer-links-list a:hover,
.footer-links-list a:focus-visible,
.footer-brand-column a:hover,
.footer-brand-column a:focus-visible {
    text-decoration: underline;
}

.footer-map-frame {
    width: 100%;
    min-height: 180px;
    aspect-ratio: 4 / 3;
    border: 1px solid #d6d6d6;
    border-radius: 0.35rem;
    overflow: hidden;
    background: #f7f7f7;
}

.footer-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.footer-legal {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e6e6e6;
    font-size: 0.82rem;
    text-align: left;
}

@media (max-width: 768px) {
    body {
        background-size: cover;
        background-position: center center;
        overflow: hidden;
    }

    .wrapper {
        height: 100vh;
        min-height: 100dvh;
        overflow-y: auto;
        width: 90%;
        margin: 0 auto;
        padding: 15px;
    }

    .infodump {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-map-frame {
        max-width: 420px;
    }

    .title_bump {
        font-size: 4vh;
        text-align: center;
    }

    nav {
        padding: 0.75rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.25rem;
        padding: 0.35rem 0.5rem;
    }

    .nav-links a img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .wrapper {
        width: 100%;
        padding: 10px;
    }

    .nav-links {
        gap: 0.35rem;
    }

    .nav-links a {
        font-size: 0.95rem;
    }

    .infodump {
        padding-bottom: 1rem;
    }

    .title_bump {
        font-size: 3.5vh;
    }
}
