@font-face{
    font-family: "Erbaum-Black";
    src: url("../fonts/Erbaum/Erbaum-Black.woff2")
}

@font-face {
    font-family: "body";
    src: url("../fonts/Open_Sans/static/OpenSans-SemiBold.ttf");
}

@font-face {
    font-family: "bold-body";
    src: url("../fonts/Open_Sans/static/OpenSans-Bold.ttf");
}

.hidden {
    display: none;
}

body {
    margin: 0;
    color: #222;
        background: linear-gradient(to bottom, #2E338B, skyblue);
    font-family: "body";
}

p {
    font-family: "body";
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

b{
    font-family: "bold-body";
}

h1 {
    font-family: "Erbaum-Black";
    letter-spacing: .15em;
}

h2{
    font-family: "Erbaum-Black";
    letter-spacing: .15em;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #333;
    color: white;
    position: sticky;
    top: 0;
}

.nav-logo {
    font-size: 1.5rem;
    font-family: "Erbaum-Black";
    letter-spacing: .25em;

}

.nav-links {
    list-style: none;
    display: flex;
    font-family: "body";
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* MOBILE NAV TOGGLE */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        right: 0;
        top: 60px;
        width: 200px;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}

/* CONTENT SECTIONS */
.section {
    padding: 4rem 2rem;
    text-align: center;
}


.footer {
    background-color: #111;
    color: #fff;
    padding: 25px 20px 15px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: center;   
    align-items: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

/* Social icon */
.footer-social img {
    width: 28px;
    height: 28px;

    transition: opacity 0.2s ease;
}
.footer-content > * {
  flex: 0 0 auto;   /* don’t let children stretch */
}
.footer-social{
  display: inline-flex;
}

.footer-social img:hover {
    opacity: 0.7;
}

/* Bottom line */
.footer-bottom {
    margin-top: 15px;
    border-top: 1px solid #333;
    padding-top: 10px;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Desktop alignment */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-contact {
        text-align: right;
    }
}