body {
    background-color: #2e2e2e;
    margin: 0%;
    padding: 0%;
}
div {
    margin: 0%;
    padding: 0%;
    text-align: center;
}
#contenitore-testata {
    background-color: #202020;
    color: #d0d0d0;
    padding: 1%;
}
#contenitore-menu {
    background-color: orangered;
    position: sticky;
    top: 0;
    padding: .5%;
    overflow: hidden;
    z-index: 2;
}
#contenitore-centrale {
    text-align: center;
    background-color: #101010;
    max-width: 1300px;
    position: relative;
    overflow: hidden;
    margin: auto;
}
#centro {
    margin: auto;
    background-image: url(/pokemon/imgs/bg1.png);
    background-size: cover;
    max-width: 1300px;
    color: #d0d0d0;
    padding: 2%;
    z-index: 1;
    position: relative;
}
#contenitore-fondo {
    padding: 2%;
}
#background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
}

/* -------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-family: 'arial black';
    text-decoration: none;
}
h1 {
    font-size: 3rem;
    text-transform: uppercase;
    width: fit-content;
    margin: auto;
}
#centro h1 {
    text-decoration: underline;
    color: #d0d0d0;
    font-size: 2.5rem;
}
h2 {
    font-size: 1.5rem;
    font-style: italic;
}
h3 {
    font-size: 1.2rem;
    font-family: 'arial black';
}
ul {
    margin: 0, auto;
    list-style: none;
}

li {
    display: inline-block;
    min-width: 10%;
    text-align: center;
    color: black;
    text-decoration: none;
}

*{
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

#bottone {
    background-color: #2e2e2e;
    border: none;
    padding: 10px;
}

button:hover {
    transition-duration: 0.1s;
    transform: scale(1.1);
    cursor: pointer;
    color: #d0d0d0 !important;
}
/* ------------------------------------- */
.r1 {
    color: #d0d0d0;
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: -1;
    opacity: 0;
}
#quizzone {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    row-gap: 30px;
    text-align: center;
}
.box {
    background-color: #080808;
    color: #d0d0d0;
    cursor: pointer;
}
.domande {
    position: absolute;
    display: grid;
    box-sizing: border-box;
    place-items: center;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    border: 3px solid #009DD6;
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    vertical-align: middle;
    text-align: center;
    background-color: black;
    color: #d0d0d0;
}
@media (max-width: 768px) {
  #quizzone {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 0;
  }
  #quizzone>p {
    display: none;
  }
  .domande {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 600px;
  }
  #button {
    position: fixed !important;
    bottom: 25% !important;
  }
}
.domande>p {
    font-family: 'arial black';
    font-size: 1.8rem;
}
.linea {
    margin-top: 10%;
}
.ans {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    align-items: center;
    opacity: 0;
    max-height: 50px;
    margin-top: 5%;
    font-size: 1.4rem;
}
.ans>img {
    max-width: 220px;
    max-height: 230px;
    align-self: center;
    justify-self: center;
}
.ans>.img-mosse {
    max-width: 320px;
}
#button {
    position: absolute;
    display: none;
    bottom: 50px;
    opacity: 0;
    background-color: black;
    border: 3px solid #009DD6;
    border-radius: 5px;
    color: #009DD6;
    padding: 10px;
    cursor: pointer;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
}
#button:hover {
    color: #d0d0d0;
    border-color: #d0d0d0;
}
