@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;500;700&family=Poppins:wght@300;400;500;700&display=swap');

:root {
    --green: #6a994e;
    --lightgreen: #a7c957;
    --lightgrey: #343434;
}

::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

h2 {
    margin: 0;
}

button:hover {
    cursor: pointer;
}

.green-bg {
    position: relative;
    margin: 0;
    background: var(--green);
    width: 100%;
    height: 500px;
}

.white-bg {
    position: relative;
    margin: 0;
    background: white;
    width: 100%;
    height: 600px;
}

#header {
    background: #343434;
    position: fixed;
    align-items: center;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
    z-index: 99;
}

#logo {
    width: auto;
    height: 30px;
    filter: drop-shadow(0 0 30px black);
}

#logo-name-div {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--green);
}

.review-course {
    font-weight: 400;
}

#name-div {
    display: flex;
    flex-direction: column;
    justify-items: center;
}

#name {
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    margin-top: 5px;
    margin-left: 10px;
    font-size: 1.8em;
}


#new-slogan {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    text-align: left;
    margin: 0;
    margin-left: 10px;
    font-weight: 100;
}

#nav-btns {
    display: flex;
    justify-content: space-between;
    width: 400px;
    height: 100%;
    margin-right: 40px;
}

#nav-btns button {
    font-size: 1.1em;
    font-family: 'Poppins', sans-serif;
    background: transparent;
    border: 2px solid transparent;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
}

#nav-btns button.selected {
    background: var(--green);
    border: 2px solid var(--green);
    color: white;
    border-radius: 20px;
}

#nav-btns button:hover {
    border: 2px solid white;
    background-color: transparent;
    color: white;
    border-radius: 20px;
}


footer {
    position: relative;
    bottom: 0;
    background: #343434;
    padding-top: 50px;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: white;
}

.container {
    width: 1140px;
    margin: auto;
    display: flex;
    justify-content: center;
}

.footer-content {
    width: 33.3%;
}

h3 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}

.footer-content p {
    width: 190px;
    margin: auto;
    padding: 7px;
}

.footer-content ul {
    text-align: center;
}

.list {
    padding: 0;
}

.list li {
    width: auto;
    text-align: center;
    list-style-type: none;
    padding: 7px;
    position: relative;
}

.list li::before {
    content: '';
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 100%;
    width: 0;
    height: 2px;
    background: var(--green);
    transition-duration: .5s;
}

.list li:hover::before {
    width: 70px;
}

.social-icons {
    text-align: center;
    padding: 0;
}

.social-icons li {
    display: inline-block;
    text-align: center;
    padding: 5px;
}

.social-icons i {
    color: white;
    font-size: 25px;
}

a {
    text-decoration: none;
    color: white;
}

a:hover {
    color: var(--green);
}

.social-icons i:hover {
    color: var(--green);
}

.bottom-bar {
    background: #262626;
    text-align: center;
    padding: 0;
}

.bottom-bar p {
    color: #555252;
    margin: 0;
    font-size: 16px;
    padding: 7px;
}

#address {
    font-size: .8em;
}

/* ... your existing styles ... */

/* Additions for animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-content,
.social-icons li {
    animation: fadeInUp 1s ease-in-out;
}

.list li:hover::before {
    width: 70px;
    background: var(--green);
}


@media only screen and (max-width: 600px) {

    body,
    html {
        overflow-x: hidden;
    }

    #header {
        text-align: center;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-direction: column;
        padding: 0px;
        padding-top: 20px;
    }

    #logo {
        height: 40px;
    }

    #logo-name-div {
        display: flex;
        flex-direction: row;
        margin: 10px;
        justify-content: space-between;
        align-items: center;
        color: var(--green);
        margin-bottom: 10px;
    }

    #name {
        font-size: 1.5em;
        margin: 0;
    }

    #nav-btns {
        margin-right: 0;
        padding: 10px;
        width: 90%;
        border-top: 1px solid white;
    }

    #nav-btns button {
        font-size: 1.1em;
        padding-left: 2px;
        padding-right: 2px;
    }

    footer {
        font-size: 0.8em;
        text-align: center;
    }

    #quick-links {
        display: none;
    }

    .container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-content {
        width: 100%;
    }

    .footer-content h3 {
        text-align: center;
    }

    .bottom-bar p {
        font-size: .8em;
    }

    #new-slogan {
        text-align: center;
        font-size: .8em;
    }
}