* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "DSDigital";
    src: url("../font/DS-DIGI.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --top-left-pulsante: #CCCCCC;
    --bottom-right-pulsante: #555555;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    background: #c3d5eb;
    background: linear-gradient(180deg, rgba(195, 213, 235, 1) 0%, rgba(110, 175, 255, 1) 75%);
    font-family: "Bebas Neue";
    font-size: 70px;
    color: #660000;
    text-shadow: 3px 3px 2px #22E2EF;
}

.content {
    flex: 1;
    /* occupa tutto lo spazio rimanente */
    background: antiquewhite;
}

.scegli-intervallo {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-items: center;
    background-color: #4822ef;
    padding-top: 5px;
    padding-bottom: 5px;
    color: white;
}

.oggetti-scegli {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.range-selezionato {
    display: flex;
    align-items: center;
    width: 20px;
    text-align: center;
}

.scegli-mag {
    width: 100px;
}

.scegli-intervallo input[type="date"] {
    background: #DDDDDD;
    background: linear-gradient(0deg, rgba(221, 221, 221, 1) 0%, rgba(170, 170, 170, 1) 50%, rgba(221, 221, 221, 1) 100%);
}

.scegli-intervallo button {
    width: 60px;
    height: 25px;
    border-top-color: var(--top-left-pulsante);
    border-left-color: var(--top-left-pulsante);
    border-right-color: var(--bottom-right-pulsante);
    border-bottom-color: var(--bottom-right-pulsante);
    cursor: pointer;
}

.scegli-intervallo button:hover {
    background-color: #111111;
    color: yellow;
    border-top-color: var(--bottom-right-pulsante);
    border-left-color: var(--bottom-right-pulsante);
    border-right-color: var(--top-left-pulsante);
    border-bottom-color: var(--top-left-pulsante);
}

.container-ris {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.card-ris {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    border: 1px solid black;
    background-color: blanchedalmond;
    box-shadow: 10px 10px 20px 5px rgba(0, 0, 0, 0.5);
}

.data-card-ris {
    font-family: "Roboto";
    font-size: 14px;
    color: black;
    text-align: center;
    background-color: yellow;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.tit-card-ris {
    font-family: "Bebas Neue";
    font-size: 14px;
    color: red;
    text-align: center;
    margin-top: 5px;
}

.mag-card-ris {
    font-family: "DSDigital";
    font-size: 90px;
    color: blue;
    text-align: center;
}

.prof-card-ris {
    font-family: "Roboto";
    font-size: 14px;
    color: black;
    text-align: center;
}

.dett-card-ris {
    font-family: "Roboto";
    font-size: 14px;
    color: black;
    text-align: center;
    margin-top: 5px;
}

.dett-card-ris a {
    text-decoration: underline;
    color: black;
}

.alert-card-ris {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.alert-card-ris img {
    width: 10px;
    height: 10px;
}
.lampeggia{
    animation: lampeggio 1s infinite;
}

@keyframes lampeggio {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
.no-dati{
    flex: 3;
    font-size: 50px;
    color: red;
    background-color: antiquewhite;
    text-align: center;
}