body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden; 
  user-select: none;
  font-family: 'Montserrat', Courier, monospace !important;
}

#container {
  width: calc(100% - 40px); 
  height: 80vh; 
  background-color: rgba(224, 224, 224, 0);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#circle {
  background-color: #3498db;
  position: absolute;
  height: 58.75px;
  width: 58.75px;
  background: #8E71EB;
  border-radius: 50%;
  background-color: #8E71EB;
  background-image: linear-gradient(45deg, #8E71EB 20%, #23bdf3 100%);
  border: 1px solid #8E71EB;
  /* box-sizing: border-box; */
  box-shadow: 0px 0px 62px #8E71EB;
  opacity: 75%;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px; 
}

.controls button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.center {
  text-align: center;
  max-width: 300px;
  margin: 0 auto; /* Centrer horizontalement */
  font-family: 'Montserrat', Courier, monospace !important;
}

  
h3{
  color: var(--text-color);
  font-family: 'Montserrat', Courier, monospace !important;
}

.preset {
  background-color: var(--card-line-color);
	border: 1px solid var(--card-hover-border-color);
  padding: 10px;
  display: grid;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-align: center;
  display: inline-block;
  cursor: pointer;
  flex: 1;
  color: var(--text-color);
  font-weight: 700;
  font-family: 'Montserrat', Courier, monospace !important;
}

.preset:hover {
	background-color: #6b3ef9;
	border-color: 1px solid #6b3ef9;
	color: #ffffff;
}

#toggleMovement {
  background-color: var(--card-hover-border-color);
  color: var(--text-color);
  position: fixed;
  bottom: 0px;
  margin-bottom: 15px;
}

#toggleSound, #soundSet {
  width: 48%;
  display: inline-block;
}

.active {
  background-color: #6b3ef9;
  color: white;
}



.label {
  margin-bottom: 5px; /* Espacement entre le label et l'input */
}



button {
  color: var(--text-color);
}

option {
  color: black;
}

/* Styles for Hypno Mode */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 20px;
  border-radius: 8px;
  max-width: 80%;
  max-height: 80%;
  overflow-y: auto;
}

#musicButtons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 20px;
}

#subliminal-buttons{
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 20px;
}

#previewControls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.green-button {
  
  background-color: #4CAF50 !important; /* Vert */
  color: white !important;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;

}

.red-button {
  background-color: #f44336 !important; /* Rouge */
  color: white !important;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;

}

.selected {
  background-color: #2196F3 !important; /* Bleu */
  color: white !important;
}

.small-hr {
  height: 2px; 
  background-color: #757575; 
  border: none; 
  width: 50%; 
  margin: 10px auto; 
}


hr {
  margin: 10px 0;
  border: 0;
  border-top: 2px solid #757575;
}


#stopHypnoMusic {
  background-color: #f44336;
  color: white;
}

#chooseMusic, #cancelMusic {
  display: none;
}

#hypnoMode.active {
  background-color: var(--card-hover-border-color);
}

#confirm-button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
}

.preset {
  margin: 5px;
}

#closePopup {
  margin-top: 10px;
}

#loading-wheel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

