@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-image: url('../imgs/login/bg_noah.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    height: 100vh;
}

/* Header */
header {
    background-color: #333;
    color: #fff;
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.navigation {
    list-style: none;
}

.navigation li {
    display: inline;
    margin-right: 20px;
}

.navigation li:last-child {
    margin-right: 0;
}

.navigation a {
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: color 0.9s ease;
}

/* Cambia il colore del testo al passaggio del mouse */
.navigation a:hover {
    color: #d1d100;
    text-decoration: underline;
}

/* Cambia gradualmente il colore del testo quando il mouse non è più sopra il link */
.navigation a:not(:hover) {
    color: #fff;
}

.navigation li:nth-child(5) {
    margin-left: 20px; /* Spazio tra il pulsante "Privacy" e il nuovo pulsante "Segnala" */
}

.navigation li:nth-child(5) a {
    color: #fff;
    text-decoration: none;
    transition: color 0.9s ease;
}

.navigation li:nth-child(5) a:hover {
    color: #d1d100;
    text-decoration: underline;
}




/* Aggiorna il CSS per il background della finestra modale */
.custom-content {
    display: none;
    position: fixed;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); /* Utilizza translate per spostare la finestra modale al centro */
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8); 
    max-width: 70%;
    max-width: 90%;
    overflow: auto; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); 
}

.custom-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(5px); /* Applica la sfocatura solo al background */
    opacity: 0.6; /* Riduci l'opacità al 60% */
    z-index: -1; /* Assicura che il background sia dietro il contenuto */
}


.custom-box {
    margin: 0 auto; /* Riduci il margine superiore per centrare il contenuto */
    padding: 20px;
    border: none;
    width: 90%;
    height: 90%;
    max-width: 1000px;
    max-height: 600px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #969cb4 !important; 
    background-color: transparent !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    padding: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.custom-box h2 {
    text-align: center; /* Centra il testo */
    margin-bottom: 20px; /* Aggiunge spazio sotto il titolo */
}

.input-group {
    margin-bottom: 20px; /* Aggiunge spazio tra i gruppi di input */
    max-width: 300px; /* Limita la larghezza massima del gruppo */
}

.input-group label {
    display: block; /* Mostra il label su una riga separata */
    margin-bottom: 5px; /* Aggiunge spazio tra il label e l'input */
    color: #969cb4; /* Colore del testo del label */
}

.input-group input {
    width: 100%; /* Rende l'input larghezza completa */
    padding: 10px; /* Aggiunge spazio intorno al testo dell'input */
    border: 1px solid #282a3b; /* Aggiunge un bordo intorno all'input */
    border-radius: 4px; /* Aggiunge bordi arrotondati all'input */
    background-color: #090f1c; /* Colore di sfondo dell'input */
    color: #969cb4; /* Colore del testo dell'input */
}

/* Stile per il pulsante submit */
.submit-button {
    width: 100%; /* Rende il pulsante larghezza completa */
    padding: 10px; /* Aggiunge spazio intorno al testo del pulsante */
    border: none; /* Rimuove il bordo del pulsante */
    border-radius: 4px; /* Aggiunge bordi arrotondati al pulsante */
    background-color: #1c5c87; /* Colore di sfondo del pulsante */
    color: #fff; /* Colore del testo del pulsante */
    cursor: pointer; /* Cambia il cursore al passaggio del mouse */
    transition: background-color 0.3s; /* Aggiunge una transizione al cambio di colore di sfondo */
}

.submit-button:hover {
    background-color: #114162; /* Cambia il colore di sfondo al passaggio del mouse */
}



@media only screen and (max-width: 768px) {
    /* Regole specifiche per tablet */
    body {
        background-attachment: scroll; /* Disattiva l'attachment fixed sui tablet */
    }
}

@media (max-width: 768px) {
    .navigation li {
        display: block;
        margin-right: 0px;
    }
}

/* Aggiorna il CSS per la finestra modale di segnalazione */
#reportContent {
    display: none;
    position: fixed;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8); 
    max-width: 70%;
    max-width: 90%;
    overflow: auto; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); 
}

#reportContent .custom-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(5px); 
    opacity: 0.6; 
    z-index: -1; 
}

#reportContent .custom-box {
    margin: 0 auto; 
    padding: 20px;
    border: none;
    width: 90%;
    height: 400px;
    max-width: 80%;
    max-height: 90%;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #969cb4 !important; 
    background-color: transparent !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#reportContent .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    padding: 10px;
}

#reportContent .close:hover,
#reportContent .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#reportContent .custom-box h2 {
    text-align: center; 
    margin-bottom: 20px; 
}

#reportContent .input-group {
    margin-bottom: 20px; 
    max-width: 300px; 
}

#reportContent .input-group label {
    display: block; 
    margin-bottom: 5px; 
    color: #969cb4; 
}

#reportContent .input-group input,
#reportContent .input-group textarea {
    width: 100%; 
    padding: 10px; 
    border: 1px solid #282a3b; 
    border-radius: 4px; 
    background-color: #090f1c; 
    color: #969cb4; 
}

#reportContent .input-group textarea {
    height: 150px; /* Imposta l'altezza del textarea */
}

#reportContent .input-group button[type="submit"] {
    width: 100%; 
    padding: 10px; 
    border: none; 
    border-radius: 4px; 
    background-color: #1c5c87; 
    color: #fff; 
    cursor: pointer; 
    transition: background-color 0.3s; 
}

#reportContent .input-group button[type="submit"]:hover {
    background-color: #114162; 
}

/* Descrizione nel box della home page */
.hero {
    position: relative;
    width: 100%;
    height: 90vh; /* O un'altezza fissa, es. 600px */
    overflow: auto;
}

.overlay-container {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 10px;
}

.content-box {
    background-color: rgba(15, 25, 40, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 10px;
    max-width: 270px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-box h1, .content-box-il-gioco h1 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 !important;
}

.content-box p, .content-box-il-gioco p {
    color: #e0e0e0;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-il-gioco {
    position: relative;
    width: 100%;
    overflow: auto;
}

.overlay-container-il-gioco {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 10px;
}

.content-box-il-gioco {
    background-color: rgba(15, 25, 40, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 10px;
    max-width: 65%;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-box-il-gioco h2 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 !important;
}

.content-box-il-gioco h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 !important;
}

.content-box-il-gioco ul {
    color: #e0e0e0;
    font-size: 0.7rem;
    line-height: 1.4;
    margin-bottom: 20px;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .content-box {
        padding: 10px;
        max-width: 100%;
    }
    
    .content-box h1 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .content-box p {
        font-size: 0.8rem;
    }
}