// Button

.btn {
    font-size: 1.6rem;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 1px 1px 2px $grey;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;

    &:hover {
        transition: background-color 0.2s, color 0.2s;
        background-color: $mediumDark;
        color: $white;
    }
}

.btn-primary {
    @extend .btn;
    background-color: $medium;
    border-color: $medium;
    color: $white;

    &:visited,
    &:focus {
        color: $white;
    }
}

.btn-secondary {
    @extend .btn;
    background-color: $mediumLight;
    border-color: $mediumLight;
    color: $dark;
}

.btn-alert {
    @extend .btn;
    background-color: $error;
    border-color: $error;
    color: $white;

    &:hover {
        background-color: $dark;
    }
}
