body {
  background: radial-gradient(circle, #65e5f6, #b2d0f3);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

#container-up {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#timer {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
}

.div-left{
  font-size: large;
  font-weight: bold;
  padding-left:10px;
  color: rgb(0, 12, 111);
}

.div-right{
  font-size: large;
  font-weight: bold;
  padding-right:10px;
  color: rgb(66, 76, 52);
}

.question-of-qcm {
  height: 80px;
  width: 800px;
  background: linear-gradient(90deg, #fcff9e 0%, #c67700 100%);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

  text-align: center;
  display:table-cell;
  vertical-align:middle;

  border: 2px solid rgb(34, 31, 29);
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 0px 6px 3px #322d2d;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
}
.sContainer{
  height:40px;
  max-width:980px;
  padding-top:5px;
}

.container {
  margin: auto;
  width: 60%;
  /* max-width: 600px; */
  padding: 20px;
  text-align: center;
  border: 4px solid rgb(44, 29, 29);
  background-color:  rgb(184, 182, 179);
  border-radius: 10px;
  box-shadow: 0px 0px 10px 3px #000000;
}

.container-category {
  background-color: antiquewhite;
  border: solid 2px rgb(51, 45, 57);
  height: auto;
  width: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  /* align-content: stretch; */
  margin-bottom: 20px;
  border-radius: 10px;
}

#question {
  font-size: 18px;
  font-weight: bolder;
}
.item, .item-nbmcqs{
  background-color:#74a8fc;
  width: 31%;
  margin: 3px;
  border-radius: 30px;
  font-weight: bold;
  border: 2px solid rgb(34, 31, 29);
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 0px 5px 2px #322d2d;
}

.item-devops{
  background-color:  #f35074;
  width: 31%;
  margin: 3px;
  border-radius: 30px;
  font-weight: bold;
  border: 2px solid rgb(34, 31, 29);
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 0px 5px 2px #322d2d;
}

.item:hover:enabled, .item-nbmcqs:hover:enabled, .item-devops:hover:enabled{
  background-color: rgb(6, 125, 73);
  transform: scale(1.25);
}




h1 {
  margin-top: 0;
  color: #5a0b52;
  text-shadow: 2px 2px 4px #e68d8d;
}

form {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(209, 164, 164, 0.1);
  padding: 30px;
}

input {
  display: block;
  margin-bottom: 20px;
  padding: 10px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: none;
}

.sButton {
  margin-left: 2.5%;
  margin-right: 2.5%;
  margin-bottom: 20px;
  padding: 10px;
  width: 40%;
  background-color: rgba(28, 64, 137, 0.5);
  border-radius: 1px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.sButton:hover:enabled {
  background-color: rgba(28, 64, 137, 0.5);
}

.xxButton {
  float: left;
  text-align: left;
  margin-left: 2.5%;
  margin-right: 2.5%;
  margin-bottom: 20px;
  padding: 10px;
  width: 10%;
  height: auto;
  background-color: rgba(249, 0, 25, 0.97);
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.rButton {
  margin-left: 2.5%;
  margin-right: 2.5%;
  margin-bottom: 20px;
  padding: 10px;
  width: 40%;
  background-color: rgba(28, 64, 137, 0.5);
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.rButton:hover:enabled {
  background-color: rgb(72, 83, 159);
  color: white;
  font-weight: bold;
}

button:hover:enabled {
  color: white;
  font-weight: bold;
}

.align-right {
  text-align: right;
  border: 0;
}

.largeButton {
  margin-left: 2.5%;
  margin-right: 2.5%;
  margin-bottom: 20px;
  padding: 10px;
  width: 100%;
  background-color: rgba(28, 64, 137, 0.5);
  border-radius: 1px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.largeButton:hover:enabled {
  background-color: rgba(28, 137, 39, 0.5);
}


.xButton {
  margin-bottom: 20px;
  padding: 10px;
  width: 50%;
  background-color: rgba(252, 239, 67, 0.5);
  border-radius: 40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.xButton:hover:enabled {
  background-color: rgba(57, 17, 234, 0.5);
}

button.options {
  margin-bottom: 20px;
  padding: 10px;
  width: 100%;
  background-color: rgba(246, 241, 241, 0.5);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;

  border: 2px solid rgb(34, 31, 29);
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 0px 6px 3px #322d2d;

  transition: transform .2s; /* Animation */
}

.options:hover:enabled {
  transform: scale(1.2);
  background-color: rgb(72, 83, 159);
  color: white;
  font-weight: bold;
}

button.selected {
  background-color: rgb(6, 125, 73);
}

.answer-button {
  display: block;
  margin-bottom: 20px;
  padding: 10px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.correct {
  background-color: #2ecc71;
}

button.incorrect {
  background-color: #e74c3c;
}

label {
  display: block;
  margin-bottom: 10px;
  text-align: left;
}

label span {
  margin-left: 10px;
}

/* Add styles for end-game-form */

#end-game-form {
  margin-top: 50px;
}

#end-game-form h1 {
  margin-top: 0;
  color: #130a0a;
  text-shadow: 2px 2px 4px #271f1f;
}

#end-game-form button {
  margin: 10px;
  width: 120px;
}

.h1EndGame {
  color: #e6134b;
}

.form-group {
  display: flex;
  align-items: center;
}
.form-group label {
  margin-right: 10px;
}
.form-group select, .form-group input[type="radio"] {
  margin-left: 10px;
}

/* Style the text */
.cont {
  display: inline-block;
  margin-left: 10px;
  padding: 5px;
  background-color: #f4ea67; 
  border: #454545 solid;
  border-radius: 5px;
  font-size: xx-large;
}

/* Style the selected radio button */
input[type="radio"]:checked + .cont {
  background-color: #48de11; 
}