@font-face {
    font-family: 'Inter-Regular';
    src: url('../font/Inter.ttf');
}

body {
    margin: 0;
    font-family: 'Inter-Regular';
    overflow: hidden;
}

.msg-alerta {
    position: absolute;
    top: 2vw;
    left: 38.8vw;
    box-shadow: 0.1vw 0.1vw 0.3vw rgba(0, 0, 0, 0.5);

    animation: fade-in 0.2s ease-out;

    background-color: white;
    
    padding: 0.6vw;

    width: 20vw;

    display: flex;
    flex-direction: column;
    align-items: start;

    user-select: none;
}

@keyframes fade-in {
    0% {
        top: -20vw;
    }
    100% {
        top: 2vw;
    }
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.header p {
    margin: 0;
    padding: 0;
}

.titulo {
    font-size: 0.8vw;
    font-weight: 600;

    width: 18.6vw;
}

/* BODY */
.msg-alerta .checkbox {
    display: none;
}

.msg-alerta .checkbox-label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    
    padding-left: 1.4vw;
    padding-top: 1vw;

    font-size: 0.8vw;
    font-weight: 500;
}

.msg-alerta .checkbox-label::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 1vw;
    width: 1vw;
    height: 1vw;
    border: 0.1vw solid #535353;
    border-radius: 1vw;
    background-color: #fff;
    background-position-y: 2%;
    background-size: 99%;
    background-repeat: no-repeat; 
}

.msg-alerta .checkbox:checked + .checkbox-label::before {
    background-image: url('../img/done.png');
}

.msg-alerta a {
    margin-top: 0.5vw;

    font-size: 0.8vw;
    font-weight: 500;

    display: flex;
    align-items: center;

    cursor: pointer;
}

.msg-alerta .body {
    font-size: 1.1vw;
}

.msg-alerta .body img {
    width: 1vw;
    margin-right: 0.6vw;
}

.msg-alerta .body select {
    appearance: none;
    outline: none;
    border: none;
    border-bottom: solid 0.2vw #B7B7B7;

    padding: 0;
    margin: 0;

    width: 6vw;
    
    padding: .5vw;
    
    font-size: 1.1vw;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* FOOTER */
.footer {
    width: 100%;
    margin-top: 1vw;
    display: flex;
    flex-direction: row;
    justify-content: end;
}

/* BUTTONS */
.btn {
    padding: 0.5vw 1.5vw 0.5vw 1.5vw;
    font-size: 0.8vw;
    font-weight: 600;

    cursor: pointer;
    border: none;
    border-radius: 1vw;
}

.btn-x {
    background-image: url("../img/close.png");
    background-repeat: no-repeat;
    background-size: 1vw 1vw;
    
    width: 1vw;
    height: 1vw;

    cursor: pointer;
    border: none;
}

/* BUTTON RED */
.b-red {
    background-color: #FF1D1D;
    color: white;
}

.b-red:hover {
    background-color: #FF5B5B;
}

.b-red:focus  {
    background-color: #FF7979;
}

/* BUTTON GREEN */
.b-green {
    background-color: #3AB500;
    color: white;
}

.b-green:hover {
    background-color: #54d817;
}

.b-green:focus  {
    background-color: #83e955;
}

/* BUTTON BROWN */
.b-brown {
    background-color: #BE8024;
    color: white;
}

.b-brown:hover {
    background-color: #d89d44;
}

.b-brown:focus  {
    background-color: #f3bc68;
}

/* BUTTON DEFAULT */
.b-default {
    background-color: #ffffff00;
    color: rgb(77, 77, 77);
}

.b-default:hover {
    color: #7a7a7a;
}

.b-default:focus  {
    color: #a1a1a1;
}