@import url("https://fonts.googleapis.com/css2?family=Quicksand&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  background-image: radial-gradient(#bb9927, #634a1a);
}

/* Le foto non vanno sotto al header */
header {
  position: relative !important;
}

/* Scelta tra attori o registri */
.selection_image {
  width: 100%;
  height: auto;

  /* Posizione dei bottoni al centro dello schermo */
  display: grid;
  place-items: center;
}

.wrapper {
  /* I due bottoni stanno uno affianco all'altro */
  display: inline-flex;

  height: 100px;
  width: 400px;
  padding: 20px 15px;
}

.wrapper .option {
  display: flex;
  align-items: center;
  justify-content: space-evenly;

  height: 100%;
  width: 100%;

  margin: 0 10px;
  padding: 0 10px;

  border-radius: 5px;
  background: #000000;
  border: 2px solid #e3b028;

  cursor: pointer;
  transition: all 0.3s ease;
}

.wrapper .option .circle {
  position: relative;
  height: 20px;
  width: 20px;

  background: #e3b028;
  border-radius: 50%;
}

/* Colore dentro al cerchio */
.wrapper .option .circle::before {
  position: absolute;
  content: "";
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  background: #e3b028;
  border-radius: 50%;
  opacity: 0;
  transform: scale(1.5);
  transition: all 0.3s ease;
}

/* Cambio colore in verde con bordo grigio al bottone attivo */
#option-1:checked ~ .selection_image .wrapper .option-1,
#option-2:checked ~ .selection_image .wrapper .option-2 {
  border-color: #000000;
  background: #e3b028;
}

/* Cambio colore in bianco al cerchio del bottone attivo */
#option-1:checked ~ .selection_image .wrapper .option-1 .circle,
#option-2:checked ~ .selection_image .wrapper .option-2 .circle {
  background: #fff;
}

/* Dissativo il colore verde del cerchio a quello non attivo */
#option-1:checked ~ .selection_image .wrapper .option-1 .circle::before,
#option-2:checked ~ .selection_image .wrapper .option-2 .circle::before {
  opacity: 1;
  transform: scale(1);
}

/* Testo dissativato */
.wrapper .option span {
  font-family: Bebas Neue;
  
  font-size: 20px;
  color: #e3b028;
}

/* Testo attivo */
#option-1:checked ~ .selection_image .wrapper .option-1 span,
#option-2:checked ~ .selection_image .wrapper .option-2 span {
  color: #fff;
}

/* Due cerchi input vengono nascosti */
input[type="radio"] {
  display: none;
}

.galleriaFoto {
  width: 90%;
  height: auto;
  margin: 1.5% auto auto auto;
}

.galleriaFoto img {
  height: 350px;
  width: auto;
}

#option-1:checked ~ .galleriaFoto .regista{
  display: none;
}

#option-2:checked ~ .galleriaFoto .attore{
  display: none;
}

