footer {
    overflow: hidden;
    position: relative;
    min-height: 17em;
    max-height: 30em;
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    align-content: start;
    align-items: start;
    justify-content: start;
    justify-items: start;
    padding: 2em;
    gap: 2em;
    margin-top: 6em;
    margin-right: 3em;
    grid-template-areas: "footer-logo footer-links";
}

footer .background {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 0;
}

#footer-logo {
    display: grid;
    width: 100%;
    gap: 0.5em;
    padding-left: 1em;
}

#footer-logo img {
    width: 65%;
}

#footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "footer-links1 footer-links2 footer-links3";
    width: 100%;
    margin-top: 1em;
    padding: 1.5em;
    gap: 2em;
    background-color: white;
    box-shadow: #296D7B33 5px 5px 0px;
}

#footer-links div {
    display: grid;
    gap: 0.8em;
}

#footer-links a {
    color: black;
    text-decoration: none;
    font-size: 1.1em;
    display: flex;
    height: fit-content;
    flex-direction: column;
    overflow: hidden;
    width: fit-content;
}

#footer-links a div {
    margin-top: 0.2em;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-image: linear-gradient(45deg, #411C72 20%, #296D7B 65%);
    margin-left: -100%;
    transition: all 0.2s;
}

#footer-links a:hover .nav-marker {
    margin-left: 0;
}