
:root {
    --content-width: 60%
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

li {
    font-size: 21px;
}

h1 {
    color: #2e2e2e;
    font-size: 32px;
    line-height: 40px;
}
h3 {
    font-size: 21px;
    line-height: 32px;
    margin-top: 50px;
}

p {
    color: #111;
    line-height: 32px;
    font-size: 21px;
}

img {
    width: 100%;
}

article {
    max-width:  var(--content-width);
    margin: auto;
}

.nav-logo {
    width: 120px;

}

.mobile-nav-toggle {
    display: none;
}

.navbar {
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    width: 100%;
}

nav {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

nav ul,
footer ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: auto 0 auto 50px;
}

nav ul a,
footer ul a {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2E2E2E;
}

button {
    background: none;
    border: none;
}

li input {
    height: 100%;
}

button svg {
    width: 25px;
    height: 25px;
}

footer {
    background-color: #2e2e2e;
}

.footer-bar {
    display: flex;
    flex-direction: column;
    padding: 30px 0;
}

footer a, 
footer h1 {
    color: white;
}

.logo-text {
    font-family: 'Brush Script MT', cursive;
    margin: auto;
    text-align: center;
}

footer ul {
    width: 70%;
    margin: 20px auto auto auto;
    padding: 0;
    justify-content: space-between;
    padding: 20px 0 0 0;
}

footer ul li {
    margin: 0;
}

footer ul li a {
    color: white;
}

@media (max-width: 1000px) {

    :root {
        --content-width: 90%
    }

    nav {
        width: 90%;
    }

    nav a {
        color: white;
    }

    nav ul {
        position: fixed;
        inset: 0 0 0 25%;
        padding-top: 7rem;
        margin-top: 0;
        margin-bottom: 0;
        z-index: 1;

        background: hsla(0, 0%, 0%, 0.803);
        backdrop-filter: blur(6px);
        flex-direction: column;
        justify-content: start;

        transform: translateX(100%);
        transition: transform 350ms ease-out;

    }

    nav ul[data-visible="true"] {
        transform: translateX(0%);
    }

    .nav-item {
        margin: 0;
        margin-bottom: 3rem;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 9998;
        background: none;
        border: none;
        cursor: pointer;
    }

    nav ul[data-visible="true"] svg {
        filter: invert(100%);
    }

    svg[viewBox="0 0 384 512"] {
        filter: invert(100%);
    }

    footer ul {
        flex-direction: column;
        text-align: center;
        margin: auto;
    }
    
    footer ul li {
        margin-top: 35px;
    }
}