:root {
    /* Set a custom font sometime */
    font-size: 16px;

    --font-heading: "Oswald", sans-serif;
    --font-body: "Inter", sans-serif;

    --bg-primary: #fff5f5;
    --bg-secondary: #F7D6D0;
    --text-primary: #4a4a4a;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 2px solid #333;
    font-family: var(--font-heading);
    font-weight: 600;
}

.skip-link:focus {
    top: 0.5rem;
}

body {
    color: black;
    background-color: var(--bg-primary);
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    /* Adding backgroudn to this */
    background-image: url(../images/topographic-lines.svg);
    background-size: 300px 300px;
    background-repeat: repeat;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    max-width: 64rem;
    margin: 3rem auto 0;
    padding: 2rem 1rem 0;
    text-align: center;

    /* Setting background color for visibility */
    background-color: var(--bg-primary);
    box-shadow: 0 12px 30px #686666;
    padding: 1rem 4rem 0 4rem;

}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

main {
    margin-top: 3rem;
    padding: 1rem;
    flex: 1;
}

.navbar {
    height: 3rem; 
    width: 100%;
    border-bottom: 2px solid #333333;
    position: fixed;
    z-index: 10;
    background-color: var(--bg-primary);
    top: 0;
}

.navbar-container {
    display: flex;
    list-style-type: none;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
    
}

.navbar-items {
    display: flex;
    height: 3rem;
    color: var(--text-primary);
    align-items: center;
    font-weight: bold;
}

.navbar-items:first-child {
    margin-right: auto;
}

.navbar-links {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 0.5rem;
    text-decoration: none;
}

.navbar-logo {
    height: 2rem;
    width: auto;
}

.navbar-items:hover {
    background-color: var(--bg-secondary);
}


a, a:visited {
    color: #4A4A4A
}

.footer {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 2rem;
    padding: 2.5rem 1rem 3rem;
    background: #333;
    color: var(--bg-primary);
    text-align: center;
}

.fbrand {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0 0 0.4rem;
}


.footer address {
    font-style: normal;
    line-height: 1.7;
}

.fcontact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fcontact a {
    color: inherit;
    text-decoration: none;
}

.fcontact a:hover {
    text-decoration: underline;
}

.fine {
    font-size: 0.8rem;
    margin: 0.6rem 0 0;
    opacity: 0.75;
}

.legal-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.legal-links a {
    color: inherit;
    text-decoration: underline;
}

.legal-content {
    text-align: left;
    line-height: 1.7;
    max-width: 72ch;
    margin: 0 auto;
    color: var(--text-primary);
}

.legal-content h1,
.legal-content h2 {
    color: black;
}

.legal-content a {
    color: inherit;
}

.legal-updated {
    font-size: 0.95rem;
    opacity: 0.8;
}

.intro-text {
    line-height: 1.7;
    margin: 0 auto 1.25rem;
    max-width: 65ch;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.actions {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: black;
    padding: 0.85rem 1.7rem;
    border: 2px solid #333;
}

.btn-solid {
    background: var(--bg-secondary);
}

.btn-solid:hover {
    background: var(--bg-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
    color: black;
}

.mat {
    padding: 10px;
    background: var(--bg-primary);
    border: 2px solid #333;
}

.speaker-image {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top;
}

.role {
    font-style: italic;
    font-size: 1rem;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

@media (max-width: 600px) {
    .main-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .intro-text {
        font-size: 1.2rem;
    }

    .footer {
        grid-template-columns: 1fr;
    }
}