.inter-semibold {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.inter-bold {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.instrument-serif-italic {
    font-family: "Instrument Serif", serif;
    font-weight: 700;
    font-style: italic;
}

body {
    padding-top: 4.5rem;
    margin-left: 0;
    margin-bottom: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.diamond-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: linear-gradient(45deg, #c5d2e0 25%, transparent 25%, transparent 75%, #c5d2e0 15%, #c5d2e0),
                        linear-gradient(45deg, #c5d2e0 25%, transparent 25%, transparent 75%, #c5d2e0 15%, #c5d2e0);
    background-size: 60px 60px; /* Adjust the size for a better loop */
    background-position: 0 0, 20px 20px;
    animation: marquee 2s linear infinite;
    opacity: 0.4;
}

@keyframes marquee {
    0% {
        background-position: 0px 0px, 30px 30px;
    }
    100% {
        background-position: -60px -60px, -30px -30px;
    }
}

.header {
    font-size: 1.5rem;
    position: fixed;
}

.desktop {
    display: flex;
    padding: 0.75rem 2rem;
    background-color: #202431cc;
    width: 100%;
    height: 4.5rem;
    display: flex;
    justify-content: space-between; /* pushes left and right sides apart */
    align-items: center;
    font-size: 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    overflow: visible; /* ensures underlines aren’t cut off */
}

.mobile {
    display: flex;
    background-color: #202431cc;
    width: 100%;
    height: 4.5rem;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 10;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.mobile button {
    background-color: transparent;
    border: 0;
}

.nav-links {
    display: flex;
    gap: 1rem; /* space between links */
    align-items: center;
}

.big-heading {
	color: #202431;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 80vh; /* scales with screen height */
	padding: 2rem 1rem;
	gap: 0.25em; /* keeps lines close together */
}

.big-heading h1 {
	margin: 0;
	line-height: 1.05; /* tighter spacing between lines */
}

.big-heading .inter-bold {
	font-size: clamp(1.8rem, 4vw, 5vw);
}

.big-heading .instrument-serif-italic {
	font-size: clamp(4rem, 12vw, 15vw);
}

.bottom-links {
    background-color: #202431;
    width: 100%;
    min-height: 20rem;
    left: 0;
    bottom: 0;
    margin: 0;
    align-items: start;
    padding-left: 2rem;
    padding-top: 2rem;
}

.bottom-links p {
    font-size: 1rem;
    color: white;
}

.bottom-links a {
    text-decoration: none;
}

.bottom-stuff {
    display: flex;
    gap: 2rem;
}

.social-media {
    display: flex;
    gap: 1rem;
}

.pages {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: flex;
    }

    .bottom-stuff {
        flex-direction: column;
        gap: 0;
    }
}

@media (min-width: 769px) {
    .desktop {
        display: flex;
    }

    .mobile {
        display: none;
    }

    .bottom-stuff {
        flex-direction: row;
        gap: 2rem;
    }
}

@media (max-width: 400px) {
    .pages {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (min-width: 400px) {
    .pages {
        flex-direction: row;
        gap: 1rem;
    }
}

#content a {
    position: relative;
    display: inline-block;
    color: white;
    text-decoration: none;
}

/* Static wavy underline */
#content a::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    bottom: -0.2em;
    height: 10px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='10' viewBox='0 0 100 10'><path d='M0 5 Q 5 0 10 5 T 20 5 T 30 5 T 40 5 T 50 5 T 60 5 T 70 5 T 80 5 T 90 5 T 100 5' fill='transparent' stroke='rgba(173, 191, 255, 0.8)' stroke-width='3' stroke-linecap='round'/></svg>");
    background-size: 50px 10px;
    background-repeat: repeat-x;
    opacity: 1;
    pointer-events: none;
}