
body{
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(to bottom,dodgerBlue,lightblue); 
    font-size: 1.5rem;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    min-height: 100vh;
    /* background: linear-gradient(to bottom,dodgerBlue,green); */
    /* animation: gradientMove 0.3s  infinite ease; */
}

[data-view] {
    display: none;
}
[data-view].active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
h1{
    font-family: fantasy;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin: 0.5em 0;
    line-height: 1.2;
}
input[type=text]{
    background-color: azure;
    font-size: 1.5rem;
    text-align: center;
}
select{
    font-size: 1.5rem;
}
input::placeholder {
    text-align: center;
}
button{
    background-color: slategray;
    color: whitesmoke;
    cursor: pointer;
    font-size: 1.5rem;
}
button:hover{
    outline:0;
    cursor: pointer;
    transform: scale(0.95);
}
#join,#name{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
#joinExisting{
    padding:2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
#joinBtn,#roomBox,#createBtn{
    font-size: 1.5rem;
}
#settings,#questionInput{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;   
}
#roundCategories,#questions{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;   
}
#lobby{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
#disconnection{
    color: rgb(165, 8, 8);
}
.hidden{
    display: none !important;
}
.card{
  width:80vw;
  text-align: center;
  padding: 20px;
  border-width: 4px;
  border-color: black;
  border-style: groove;
  background-color: white;
  margin:1vw;
}
.card a{
background-color: deepskyblue;
  text-decoration: none;
  color: black;
  padding:4px;
}
/* .page {
  
} */

@keyframes gradientMove {
  0% {
    background: linear-gradient(0deg, dodgerBlue, lightblue);
  }
  10%{
    background: linear-gradient(36deg, dodgerBlue, lightblue);
  }
  20%{
    background: linear-gradient(72deg, dodgerBlue, lightblue);
  }
  30%{
    background: linear-gradient(108deg, dodgerBlue, lightblue);
  }
  40%{
    background: linear-gradient(144deg, dodgerBlue, lightblue);
  }
  50%{
    background: linear-gradient(180deg, dodgerBlue, lightblue);
  }
  60%{
    background: linear-gradient(216deg, dodgerBlue, lightblue);
  }
  70%{
    background: linear-gradient(252deg, dodgerBlue, lightblue);
  }
  80%{
    background: linear-gradient(288deg, dodgerBlue, lightblue);
  }
  90%{
    background: linear-gradient(324deg, dodgerBlue, lightblue);
  }
  100% {
    background: linear-gradient(360deg, dodgerBlue, lightblue);
  }
}
