/* FOOTER */

.footer-container {
    width: 100%;

    background-color: #141414;
}

.footer-wrapper {
    padding: 100px 100px 50px 100px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.footer-top {
    width: 100%;

    display: flex;
    flex-direction: row;

    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

    max-width: 600px;

    color: var(--text-colour);
}

.footer-join-wrapper {
    position: relative;
}

.footer-join-title {
    margin: 0 0 10px 0;
}

.footer-join-button {
    color: var(--text-colour);

    text-decoration: none;

    background: linear-gradient(45deg, var(--primary-accent-colour), var(--secondary-accent-colour));

    font-weight: 600;
    padding: 8px 20px;

    box-shadow: 0 0 2px var(--secondary-accent-colour);
    border-radius: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;

    margin-top: 20px;

    width: fit-content;

    transition: all .2s ease;

    cursor: pointer;
}

.footer-join-button:hover {
    transform: scale(1.05);
}

.footer-links-title {
    margin: 0 0 10px 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-link {
    width: fit-content;

    color: #7b7b7b;

    text-decoration: none;

    background-image: linear-gradient(transparent 50%, #7b7b7b 50%);
    background-position: 100% 10%;
    background-repeat: no-repeat;
    background-size: 200% 200%;

    transition: all .5s, color 2s ease;
}

.footer-link:hover {
    background-position: 200% 10%;
}

.footer-right {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.footer-voting-title {
    margin: 0 0 10px 0;

    color: var(--text-colour);
}

.footer-button-text {
    margin: 0;

    color: var(--text-colour);
}

.footer-voting-buttons {
    margin-top: 20px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 5px;
    justify-items: center;
    align-items: center;
}

.footer-vote-button {
    padding: 15px 20px;

    width: 80%;

    border-radius: 10px;
    border: 2px solid var(--secondary-accent-colour);
    
    background: var(--primary-accent-colour);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    color: var(--text-colour);
    
    text-decoration: none;
    text-align: center;

    font-weight: 500;

    position: relative;
    z-index: 2;

    transition: all .2s ease;
}

.footer-vote-button p {
    margin: 0;
}

.footer-vote-button span {
    font-weight: 350 !important;
    font-size: 20px;
}

.footer-vote-button:hover {
    background: #00ba3638;

    border: 2px solid #00ba3638;
}

.footer-wrapper hr {
    width: 100%;
    height: 2px;

    border: none;
    background-color: var(--tertiary-colour);
}

.footer-bottom {
    height: 25px;
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-credit {
    color: var(--text-colour);
    width: 100%;

    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-credit a {
    color: var(--primary-accent-colour);
}

.footer-credit-logo {
    height: 25px;
}

.footer-socials {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;

    width: 100%;

    position: relative;
}

.footer-social {
    fill: var(--text-colour);

    height: 25px;
    aspect-ratio: 1;

    transition: all .2s ease;
}

.footer-social:hover {
    fill: var(--primary-accent-colour);
}

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

    .footer-wrapper {
        padding: 100px 10px 50px 10px;
    }

    .footer-top {
        gap: 50px;
        flex-direction: column;
    }

    .footer-left {
        flex-wrap: wrap;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-voting-buttons {
        gap: 2px;
    }

    .footer-vote-button {
        padding: 15px 5px;
        font-size: 12px;
        gap: 2px;
    }

    .footer-vote-button span {
        font-size: 12px;
    }

    .footer-credit-logo {
        height: 15px;
    }

    .footer-credit {
        font-size: 12px;
    }

    .footer-social {
        height: 20px;
    }

    .footer-social:nth-child(3) {
        height: 17px !important;
    }

}

@media screen and (max-width: 1400px) {
    
    .footer-top {
        flex-wrap: wrap;
        justify-content: center;
    }

}