/* McDonald's Style Design */
body {
    font-family: 'Arial', sans-serif;
    background-color: #264F36; /* McDonald's green */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0 10px;
}

.container {
    position: relative; /* Necessario per posizionare il logo */
    background-color: #264F36; /* Colore di sfondo */
    width: 100%;
    max-width: 920px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    /*border: 3px solid #da291c; /* McDonald's red */
    min-height: 480px;
}
/* Apply McDonald's-like font globally */
body, h1, h2, p, button, label {
    font-family: 'Montserrat', Arial, sans-serif;
}

/* Adjust font weights for headings and buttons */
h1, h2 {
    font-weight: 700; /* Bold headings */
}

button, label {
    font-weight: 400; /* Regular weight for buttons and labels */
}
h1 {
    color: #fbe122; /* McDonald's red */
    margin-bottom: 20px;
    font-size: 2rem;
}
h4 {
    color: #929292 !important;
}
.face:hover {
    
    transform: translateY(-2px);
}
.face:active {
    transform: translateY(1px);
}
.face-rating{
    margin: 0 auto !important;
   /* padding-top: 10% !important;*/
}
.face-rating label {
   
    font-size: 6rem;
    margin: 10px;
    cursor: pointer;
}
.face-rating label:hover {
    transform: translateY(-2px);
}
.face-rating-label {
    font-size: 40px;
    margin: 10px;
    cursor: pointer;
}   
input[type="radio"] {
    display: none;
}

/*input[type="radio"]:checked + label {
    transform: scale(1.2);
    transition: transform 0.2s;
}*/
input[type="checkbox"] {
    visibility:hidden;
    background-color: initial;
    cursor: default;
    appearance: auto;
    box-sizing: border-box;
    /*margin: 3px 3px 3px 4px;*/
    /*padding: initial;*/
    /*border: initial;*/
}
.btn-mcd {
    background-color: #da291c; /* McDonald's red */
    color: white;
    border: none;
    padding: 5px 20px;
    margin: 0 auto;
    margin-top: 20px;
    /*border-radius: 30px;*/
    font-size: 1.5rem !important;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    /*display:inline-block !important;*/
    max-width: 20%;
}

.btn-mcd:hover {
    background-color: #b71c15; /* Darker red for hover effect */
   /* transform: translateY(-2px);*/
}

.btn-mcd:active {
    background-color: #910f10; /* Even darker red for active state */
    /*transform: translateY(1px);*/
}

/* Stile per il logo */
.mcd-logo {
    position: absolute; /* Posizionamento assoluto all'interno del contenitore */
    top: 20px; /* Distanza dall'alto */
    left: 20px; /* Distanza da sinistra */
    width: 80px; /* Dimensione proporzionata */
    height: auto; /* Mantiene il rapporto di aspetto */
}
.mcd-verifica {
    position: absolute; /* Posizionamento assoluto all'interno del contenitore */
    top: 20px; /* Distanza dall'alto */
    left: -20px;/* Distanza da sinistra */
    width: 80px; /* Dimensione proporzionata */
    height: 80px; /* Mantiene il rapporto di aspetto */
    display:hidden;
}
/* Stile per il radio button (nascosto) */
input[type="radio"] {
    display: none;
    color: #ffff;

}

/* Stile per l'etichetta quando il radio button è selezionato */
input[type="radio"]:checked + label {
    /*background-color: #4CAF50; *//* Verde per indicare selezione */
    color: white;
   /* border-color: #4CAF50;*/
  /*  transform: scale(1.05); /* Leggera espansione per evidenziare */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hover per le etichette (opzionale) */
.label{
    color:#ffff;
    /*background-color:#fbe122;*/
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    max-width: 20%;

}
.label:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
}
.face:hover {
    transform: translateY(-2px);
}
.face:active {
    transform: translateY(1px);
}
.additional-form label {
    font-size: 70px;
    margin: 10px;
    cursor: pointer;
}
.additional-form label:hover {
    transform: translateY(-2px);
}
.additional-form-label {
    font-size: 40px;
    margin: 10px;
    cursor: pointer;
    color: #e0e0e0;
    
}
#issue-1 + label {
    /*background-color: #fbe122; /* Arancione */
    background-color: #ffe200;
    border: none;
    padding: 10px 20px;
    /*margin-top: 20px;*/
    /*border-radius: 30px;*/
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    max-width: 20%;
   
      background-blend-mode: normal;
      box-shadow: 0px 0px 0px 6px #555;
    
    
}

#issue-2 + label {
    /*background-color: #fbe122; /* Arancione */
    background-color: #ffe200;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    /*border-radius: 30px;*/
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    max-width: 20%;
    background-blend-mode: normal;
      box-shadow: 0px 0px 0px 6px #555;
}

#issue-3 + label {
    /*background-color: #fbe122; /* Arancione */
    background-color: #ffe200;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    /*border-radius: 30px;*/
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    max-width: 20%;
    background-blend-mode: normal;
      box-shadow: 0px 0px 0px 6px #555;
}

#issue-4 + label {
    /*background-color: #fbe122; /* Arancione */
    background-color: #bbfff7;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    /*border-radius: 30px;*/
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    max-width: 20%;
    background-blend-mode: normal;
      box-shadow: 0px 0px 0px 6px #555;
}

#issue-5 + label {
    /*background-color: #fbe122; /* Arancione */
    background-color: #bbfff7;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    /*border-radius: 30px;*/
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    max-width: 20%;
    background-blend-mode: normal;
      box-shadow: 0px 0px 0px 6px #555;
}

#issue-6 + label {
    /*background-color: #fbe122; /* Arancione */
    background-color: #bbfff7;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    /*border-radius: 30px;*/
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    max-width: 20%;
    background-blend-mode: normal;
      box-shadow: 0px 0px 0px 6px #555;
}   

#issue-1:checked + label {
    background-color: #4CAF50 /* Verde */
}

#issue-2:checked + label {
    background-color: #4CAF50; /* Verde */
}

#issue-3:checked + label {
    background-color: #4CAF50; /* Verde */
}

#issue-4:checked + label {
    background-color: #4CAF50; /* Verde */
}

#issue-5:checked + label {
    background-color: #4CAF50; /* Verde */
}

#issue-6:checked + label {
    background-color: #4CAF50; /* Verde */
}


/* Overlay sfondo trasparente */
.alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* sfondo trasparente */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* molto in alto */
}

/* Box messaggio */
.custom-alert {
  position: relative;
  background-color: #fff3cd;
  color: #856404;
  padding: 20px 50px 20px 20px;
  border: 1px solid #ffeeba;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  font-weight: bold;
  font-size: 16px;
  max-width: 500px;
  width: 90%;
  text-align: center;
}

/* Pulsante chiusura */
.custom-alert button#close-alert {
  position: absolute;
  right: 15px;
  top: 15px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #856404;
}





/* Menu burger fisso in alto a sinistra */
.burger-menu {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

/* Bottone burger */
#burger-button {
    background-color: #333;
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

#burger-button:hover {
    background-color: #555;
}

/* Menu nascosto */
#menu {
    position: fixed;
    top: 50px;
    left: 10px;
    background: white;
    width: 200px;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    display: none; /* Nascosto di default */
}

#menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#menu ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

#menu ul li:last-child {
    border-bottom: none;
}

#menu ul li a {
    text-decoration: none;
    color: #333;
    display: block;
}

#menu ul li a:hover {
    background: #f4f4f4;
}

/* Classe per mostrare il menu */
.show {
    display: block !important;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
    label {
        font-size: 40px;
    }
    .btn-mcd {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
    }
    label {
        font-size: 35px;
    }
    .btn-mcd {
        font-size: 0.8rem;
        width: 100%;
    }
}