/*-----------------------FONT INSERITI------------------------*/

@font-face {
    font-family: "F1 Bold";
    src:  url('font/Formula1-Bold.otf') format('opentype');
}
@font-face {
    font-family: "F1 Regular";
    src:  url('font/Formula1-Regular.otf') format('opentype');
}
@font-face {
    font-family: "F1 Wide";
    src:  url('font/Formula1-Wide.otf') format('opentype');
 }

/*-------------------------------------------------------------*/

body {
    font-family: "F1 Regular";
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

#scritta {
    padding-top: 20px;
    text-align: center;
    justify-content: center;
    color: black;
}

/* Contenitore del pulsante aggiuntivo */
.button-container {
    margin: 20px 0;
    text-align: center;
    justify-content: center;
}

.btn-calendar {
    padding: 10px 15px;
    font-size: 14px;
    color: white;
    background-color: #28a745;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none; /* Nessuna sottolineatura */
    display: inline-block; /* Per garantire lo stile pulsante */
    transition: background-color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* Stile dei Box */
.box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.box-content {
    flex: 1;
}

.box-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #333;
}

.box-content p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

/* Pulsanti */
.box-buttons {
    display: flex;
    gap: 10px;
}

.box-buttons button {
    font-family: "F1 Regular";
    padding: 10px 15px;
    font-size: 14px;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary1 {
    padding: 10px 15px;
    font-size: 14px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none; /* Nessuna sottolineatura */
    display: inline-block; /* Per garantire lo stile pulsante */
    transition: background-color 0.3s ease;
}

.btn-primary1:hover {
    background-color: #0056b3;
}

.btn-secondary1 {
    padding: 10px 15px;
    font-size: 14px;
    color: white;
    background-color: #28a745;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none; /* Nessuna sottolineatura */
    display: inline-block; /* Per garantire lo stile pulsante */
    transition: background-color 0.3s ease;
}

.btn-secondary1:hover {
    background-color: #1e7e34;
}

.btn-danger1 {
    padding: 10px 15px;
    font-size: 14px;
    color: white;
    background-color: #dc3545;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none; /* Nessuna sottolineatura */
    display: inline-block; /* Per garantire lo stile pulsante */
    transition: background-color 0.3s ease;
}

.btn-danger1:hover {
    background-color: #a71d2a;
}

/* Nascondi un box */
.hidden {
    display: none;
}

/* Responsività */
@media (max-width: 768px) {
    .box {
        flex-direction: column;
        align-items: flex-start;
    }

    .box-buttons {
        margin-top: 10px;
        justify-content: flex-start;
    }
}