.errorNotif {
    color: black;
    font-size: clamp(0.75rem, 2.667vw + 0.167rem, 1.25rem);
    font-family: sans-serif;
    font-weight: 300;
    padding: 0.75rem 1.25rem;
    background-color: white;
    position: absolute;
    top: clamp(1rem, 10.667vw - 1.333rem, 3rem);
    left: 50%;
    transform: translate(-50%, -10rem);
    border-radius: 5px;
    opacity: 1;
    transition: all 500ms ease-in-out;
}

.errorNotif.active {
    transform: translate(-50%, 0rem);
    opacity: 1;
}

.errorNotif::before {
    content: "⚠️";
    margin-right: 0.5rem;
}

@media screen and (max-width: 650px) {
    .errorNotif {
        top: 1.5rem;
    }
}

@media screen and (min-width: 650) and (max-width: 1000px) {
    .errorNotif {
        top: 1rem;
    }
}