.footer {
    background-color: var(--header-color);
    padding: 40px 20px 20px;
    position: relative;
    width: 100svw;
}

p {
    margin-top: 0;
    text-align: justify;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 20px;
    flex:1;
}

.footer-section h3 {
    font-size: 1.2em;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul.socials {
    display: flex;
    gap: 2em;
} 

.footer-section ul li {
    margin-block: 8px;
}

.footer-section ul li a {
    color: var(--secondary-font-color);
    text-decoration: none;
    transition: color 0.3s ease;

    &:hover {
        color: var(--lighter-accent-color);
    }
}

.footer-section ul li a svg{
    fill: var(--secondary-font-color);
    width: 24px;
    height: 24px;
    transition: fill 0.3s;

    &:hover {
        fill: var(--_social-color);
    }
}

.copyright {
    color: var(--secondary-font-color);
    text-align: center;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #34495e;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px; height: 50px;
    text-align: center;
    font-size: 24px;
    line-height: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: none;
}

#back-to-top:hover {
    background-color: var(--lighter-accent-color);
}