/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-04);
    color: var(--color-05);
    padding: 10px 22px;
    text-decoration: none;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    font-family: 'Inria Sans', sans-serif;
    font-weight: 400;
    width: fit-content;
}

.btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-05);
}

.btn svg.fade-out {
    animation: fadeOut 0.15s ease forwards;
}

.btn svg.fade-in {
    animation: fadeIn 0.15s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.btn:hover {
    background-color: var(--color-04);
}

/* === SCROLL TO TOP BUTTON === */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-04);
    color: var(--color-05);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 8px var(--color_06);
}

.scroll-to-top.show {
    display: flex;
    animation: slideUpFade 0.4s ease-out;
}

.scroll-to-top:hover {
    background-color: var(--color-04);
    transform: translateY(-5px);
    box-shadow: 0 6px 12px var(--color_06);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-05);
}