@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  height: 100dvh;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(to bottom, #000000, #ffffff);
  /* img{
    margin-block-start: 25px;
  } */
  h4 {
    margin-block-start: 25px;
    font-family: "Noto Serif";
    font-size: 2.5rem;
    font-weight: bold;
    color: #d4af37;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 15px #fff;
  }
}

#fireworks {
  position: absolute;
  width: 1000px;
  height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

#spin_the_wheel {
  /*display: inline-block;
  position: relative;*/
  overflow: hidden;
 /* transform: scale(0.85);*/
}

#wheel {
  display: block;
}

#spin {
  /*font: 20px "Lato", sans-serif;*/
    font-family: "Noto Serif";
    font-size: 30px; /*19px;*/
	/*overflow: hidden;*/
  
  user-select: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: 30%;
  margin: -15%;
  background: #fff;
  color: #fff;
  box-shadow: 0 0 0 8px currentColor, 0 0px 15px 5px rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transition: 0.8s;
}

#spin::after {
  content: "";
  position: absolute;
  top: -17px;
  border: 10px solid transparent;
  border-bottom-color: currentColor;
  border-top: none;

}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

/* Modal Section */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1; /* Sits on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: black;
  margin: 75% auto; /* Centered vertically */
  padding: 20px;
  border: 1px solid #888;
  width: 70%; /* Width of modal box */
  text-align: center;
  border-radius: 8px;
  p {
    font-size: 2.8rem;
    font-weight: bold;
	color:white;
  }
}

/* Buttons inside modal */
.modal button {
  padding: 10px 20px;
  margin: 10px;
  border: none;
  cursor: pointer;
  width: 70%;
  border-radius: 15px;
  background-color: #C29C3D;
}

/* Show Phone Button */
.showPhone-btn {
 /* background-color: #4caf50;*/
  /*color: white;*/
   background-color: #C29C3D;
  color: white;
}
/* Confirm Button */
.confirm-btn {
  /*background-color: #4caf50;*/
  /*color: white;*/
  background-color: #C29C3D;
  color: white;
}

/* Cancel Button */
.cancel-btn {
  /*background-color: #f44336;*/
 /* color: white;*/
    background-color: #C29C3D;
  color: white;
}

/*@media (min-height: 600px) {
  #spin_the_wheel {
    transform: scale(0.45);
  }
	.modal-content {
		margin: 60% auto;
		width: 90%;
		height: fit-content;
		p {
		font-size: 1.2rem;
		font-weight: bold;
		margin-bottom: 5px;
		}
	}
	.modal button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.6rem;
    width: 40%;
}
}*/
/*for small laptop approximate 14 inch*/
@media (min-height: 500px) {
     #spin {
	   font-size:25px;
   }	
  #spin_the_wheel {
    transform: scale(0.67);
	  display: inline-block;
       position: relative;
  }
	.modal-content {
		margin: 16% auto;
		width: 35%;
		p {
		font-size: 1.5rem;
		font-weight: bold;
		margin-bottom: 5px;
		}
	}
	.modal button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    width: 40%;
	background-color: #C29C3D;
}
}
/*for laptop approximate 15 inch*/
@media (min-height: 600px) {
  #spin_the_wheel {
    transform: scale(0.45);
	  display: inline-block;
       position: relative;
  }
	.modal-content {
		margin: 17% auto;
		width: 35%;
		p {
		font-size: 1.5rem;
		font-weight: bold;
		margin-bottom: 5px;
		}
	}
	.modal button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    width: 40%;
	background-color: #C29C3D;
}
}
/*for mobile*/
@media (min-height: 700px) {
	
   body{
	  height: 100dvh;
	}
  #spin_the_wheel {
    transform: scale(0.45);
  }
	.modal-content {
		margin: 0% auto;
		width: 90%;
	    height: 23%;

		p {
		font-size: 1.1rem;
		font-weight: bold;
		margin-bottom: 5px;
		}
	}
	.modal button {
    padding: 10px 0px;
    margin: 5px;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    width: 40%;
	background-color: #C29C3D;
	
}
}
/*pc large screens*/
@media (min-height: 900px) {
	body{
	  height: 105dvh;
	}
   #spin {
	   font-size:25px;
   }	
  #spin_the_wheel {
    transform: scale(1);
	/*margin: 110% auto;*/
  }
    .modal-content {
	 	margin: 25% auto;
		width: 40%;
		border-radius: 10px;
		height: 30%;

		p {
		font-size: 1.5rem;
		font-weight: bold;
		margin-bottom: 15px;
		}
  }
  	.modal button {
    padding: 10px 20px;
    margin: 15px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    width: 33%;
    height: 45px;
	background-color: #C29C3D;
}
}
/*large vertical screen*/
@media (min-height: 1500px) {
	body{
	  height: 105dvh;
	}
   #spin {
	   font-size:32px;
   }	
  #spin_the_wheel {
    transform: scale(1.1);
	/*margin: 110% auto;*/
  }
    .modal-content {
	 	margin: 10% auto;
		width: 85%;
		border-radius: 15px;
		height: fit-content;

		p {
		font-size: 2.8rem;
		font-weight: bold;
		margin-bottom: 15px;
		}
  }
  	.modal button {
    padding: 10px 20px;
    margin: 15px;
    border: none;
    cursor: pointer;
    font-size: 2.0rem;
    width: 45%;
    height: 80px;
	background-color: #C29C3D;
	
}
}
