/* base */
body { 
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* nav */
nav {
    position: relative;
    width: 100%;
    height: 140px;
    margin-top: 30px;
}

/* reset */
p {
    margin: 0;
}

/* SS + T */
.corner {
    position: absolute;
    left: min(140px, 10vw);
    top: 10px;
    text-align: left;
    font-size: 26px;
    line-height: 1.05;
}

/* SS */
.ss {
    font-style: italic;
    text-decoration: underline;
    display: inline-block;
    padding: 2px 6px;
    line-height: 1;
}

.ss:hover {
    opacity: 0.7;
}

/* T */
.t-letter {
    color: black;
    margin-top: 6px;
    display: inline-block;
    padding: 2px 13px;
    line-height: 1;
}

/* logo */
.brand {
    position: absolute;
    left: 50%;
    top: 48px;
    transform: translateX(-50%);
    font-size: 30px;
}

.brand a {
    background-color: #f3f3f3;
    display: inline-block;
    padding: 4px 8px;
    color: #e53935;
    text-decoration: none;
}

.brand a:hover {
    opacity: 0.7;
}

/* contact */
.contact {
    position: absolute;
    right: min(160px, 10vw);
    top: 53px;
    font-size: 28px;
    text-decoration: underline;
}

.contact a,
.contact a:visited,
.contact a:active,
.contact a:hover {
    color: #e53935;
}

.contact a:hover {
    opacity: 0.7;
}

/* main */
main {
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

/* hero */
.hero {
    font-family: "Times New Roman", serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.30;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1500px;
}

.hero span {
    background-color: #f3f3f3;
    display: inline-block;
    padding: 2px 8px 4px 8px;
}

/* color */
.ss,
.ss:visited,
.ss:active,
.ss:hover,
.highlight-brand {
    color: #e53935; 
}

/* gallery */
.visual-gallery-wrapper {
    text-align: center;
    position: relative;
    z-index: 10;
    margin: 10px auto 25px auto;
}

.visual-gallery {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 57px;
    color: #e53935;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.visual-gallery:hover {
    opacity: 0.5;
    color: black;
}

/* line */
.directional-line-2 {
    width: 100%;
    height: 2px;
    background-color: black;
    margin: 60px auto 25px auto;
}

/* overlay menu */
#mainNav {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);

    display: none;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* overlay links */
#mainNav a {
    font-size: 28px;
    color: white;
    text-decoration: none;

    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* overlay animation */
#mainNav.show a {
    opacity: 1;
    transform: translateY(0);
}

/* menu button */
#menuBtn {
    background: none;
    border: none;
    padding: 2px 13px;
    line-height: 1;
    font-size: clamp(18px, 2vw, 28px);
    color: black;
}

/* medium screens */
@media (max-width: 900px) {
    .corner {
        left: 30px;
        font-size: 22px;
    }

    .contact {
        right: 30px;
        font-size: 24px;
    }

    .brand {
        font-size: 26px;
    }

    .hero {
        font-size: 32px;
        max-width: 95%;
    }

    .visual-gallery {
        font-size: 44px;
    }
}

/* small screens */
@media (max-width: 600px) {
    nav {
        height: 110px;
        margin-top: 20px;
    }

    .corner {
        left: 18px;
        font-size: 18px;
    }

    .brand {
        top: 38px;
        font-size: 20px;
    }

    .contact {
        right: 18px;
        top: 40px;
        font-size: 18px;
    }

    .hero {
        font-size: 24px;
        line-height: 1.35;
        margin-top: 20px;
    }

    .visual-gallery {
        font-size: 32px;
    }
}

