/*body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    background-color: #800020; 
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}*/

/* Fonts */
@font-face {
    font-family: 'A';
    src: url('fonts/American\ Captain.otf');
    font-weight: bold;
    font-style: normal;
  }


body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Background styles */
    background-image: url('images/index.jpg');
    background-size: cover;      /* Makes the background image responsive */
    background-position: center; /* Centers the background image */
    background-attachment: fixed; /* Keeps the background fixed when scrolling */
    backdrop-filter: blur(6px); /* Applies a blur effect to the background */
    -webkit-backdrop-filter: blur(10px); /* Ensures compatibility with WebKit browsers */
}

/*body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: -1; 
}*/


.container {
    text-align: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

h1 {
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: 700;
    font-family: 'A';
    font-size: 60px;
    letter-spacing: 0.2ch;
    color: #000;

    background-color: rgba(228, 246, 252, 0.5); /* Sfondo bianco semitrasparente */
    padding: 10px; /* Spazio interno per evitare che il testo tocchi i bordi */
    border-radius: 5px; /* Arrotonda gli angoli */
}

h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
    font-family: 'Lato';
    font-size: 20px;
    color: #000;

    background-color: rgba(228, 246, 252, 0.5); /* Sfondo bianco semitrasparente */
    padding: 10px; /* Spazio interno per evitare che il testo tocchi i bordi */
    border-radius: 5px; /* Arrotonda gli angoli */
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.button-group button {
    background-color: #FFCA08;
    color: black;
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    width: 100%;
    max-width: 300px;
    transition: background-color 0.3s ease;
    font-family: 'Lato';
    font-weight: bold;
}

.button-group button:hover {
    background-color: #917201;
    color: white;
}


.file-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.file-item {
    background-color: #f9f9f9;
    color: #333;
    padding: 15px;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.file-item p {
    margin: 0 0 10px;
    font-weight: 600;
}

.file-item .button-group {
    display: flex;
    justify-content: space-between;
}

.file-item .button-group button {
    background-color: #800020;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    width: 48%;
    transition: background-color 0.3s ease;
}

.file-item .button-group button:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .file-item {
        max-width: 100%;
    }

    .file-item .button-group button {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    .file-item .button-group button {
        font-size: 0.8em;
    }
}



@media (max-width: 768px) {
    .button-group button {
        font-size: 1em;
        padding: 12px 16px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    .button-group button {
        font-size: 0.9em;
        padding: 10px 14px;
    }
}
