* {
    color: #3D3D3D;
}

:root {
    --primary-color: #35597b;
    --secondary-color: #D3C6A4;
    --secondary-color-rgba: 211, 198, 164;
    --accent-color: #A66344;
    --default-font-color: #3D3D3D;
    --secondary-font-color: #ffffff;
}

html {
    /* background-color: #EDEDED; */
    background: radial-gradient(circle, #FFFFFF 0%, #EDEDED 50%, #EDEDED 100%);
    margin: 0;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 300;
    margin: 0;
}
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500; /* or 600 for more oomph */
    letter-spacing: 0.3px;
}

#content {
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.content {
    margin-bottom: 50px;
    padding: 0 5%;
}

.primary-color {
    color: #35597B
}

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

/* styling for the navbar */

header {
    /* border-bottom: 2px solid var(--primary-color); */
    /* display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: rgba(228, 223, 211, 0.4);
    margin-bottom: 1rem; */
    background-color: rgba(228, 223, 211, 0.4);
    margin-bottom: 1rem;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.links {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.logo .mainlink {
    text-decoration: none;
    font-size: 50px;
    color: #3D3D3D;
    font-weight: 500;
    transition: color 500ms;
}

.toplinks {
    text-decoration: none;
    font-size: 24px;
    color: #3D3D3D;
    margin: 0 15px;
    font-weight: 500;
    transition: color 500ms;
}

.toplinks:hover {
    color: #A66344;
}

.mainlink {
    text-decoration: none;
    font-size: 50px;
    color: #3D3D3D;
    margin: 20px;
    float: left;
    position: relative;
    transition: color 250ms;
    margin: 1rem auto 1rem auto;
}

.mainlink:hover {
    color: #35597B;
}

.mainlink::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #35597B;
    opacity: 0;
    transition: opacity 500ms, transform 100ms;
}

.mainlink:hover::after,
.mainlink:focus::after {
    opacity: 1;
    transform: translate3d(0a, 0.2em, 0);
}

.site-logo {
    max-width: 75px;
}

.icon {
    display: none;
    font-size: 2.5rem;
    color: #3D3D3D;
    cursor: pointer;
    position: absolute;
    /* Keeps it in the same position */
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

footer {
    width: 100%;
    height: 100px;
    text-align: center;
    margin-top: auto;
}

.footer-icons {
    font-size: 1.375rem;
    margin-top: 0;
}

.footer-text {
    color: #3D3D3D;
    font-weight: 400;
    font-size: 0.75rem;
    width: 90%;
    margin: 1rem auto 0 auto;
}

.footer-text-wrap {
    text-align: center;
    margin: 0 auto;
    border-top: 1px solid rgba(61, 61, 61, 0.1);
    padding-bottom: 0.5rem;
    background-color: rgba(228, 223, 211, 0.25);
    width: 100%;
}

.footer-navigation {
    font-size: 1.125rem;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-navigation a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
    transition: color ease 250ms;
}

.footer-navigation a:hover {
    cursor: pointer;
    color: #A66344;
}

.circle-delimiter {
    font-size: 0.5rem;
    line-height: 1;
    vertical-align: middle;
}

.footerText {
    text-align: center;
}

.footer-icons-description {
    font-size: 1rem;
}

.footer-icons a {
    background: none;
    padding: 0;
    box-shadow: none;
    outline: none;
}

.footer-icons a i {
    box-shadow: none;
    background: none;
    margin: 0;
    display: inline-block;
    transition: all ease 250ms;
}

.footer-icons a i:hover {
    color: #A66344;
    background: none;
    transform: translateY(-2.5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Animations */
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fadein {
    animation: fadeInAnimation;
    animation-duration: 500ms;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes colorFadeIn {
    0% {
        color: var(--default-font-color)
    }

    100% {
        color: var(--accent-color)
    }
}

.colorChange {
    animation: colorFadeIn;
    animation-duration: 500ms;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes colorFadeOut {
    0% {
        color: var(--accent-color);
    }

    100% {
        color: var(--default-font-color);
    }
}

.reverseColorChange {
    animation: colorFadeOut;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

/* Mobile Responsivity */
@media screen and (max-width: 1200px) {
    .links {
        display: none;
    }

    .icon {
        display: block;
        margin-left: auto;
    }

    .nav.active {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav.active .links {
        background-color: rgba(228, 223, 211, 0.2);
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
        border-top: 0.5px solid #A66344;
    }

    .nav.active .links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #f5f5f5;
        z-index: -1;
    }

    .nav.active .toplinks {
        margin: 10px 0;
        text-align: left;
        padding-left: 0;
    }
}

@media screen and (max-width: 768px) {

    .footer-text-wrap p,
    .footer-icons-description {
        font-size: 1.250rem;
    }

    .footer-navigation {
        font-size: 1.250rem;
    }
}

@media screen and (max-width: 600px) {

    .footer-navigation,
    .footer-navigation a {
        gap: 0.25rem;
    }

    .circle-delimiter {
        display: none;
    }

    .footer-navigation {
        flex-direction: column;
    }

    .nav.active .links {
        flex-direction: column;
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
    }
}

@media screen and (max-width: 480px) {
    .links {
        flex-direction: column;
    }
}