@import url('https://fonts.googleapis.com/css2?family=Walter+Turncoat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Handlee&display=swap');

html,
body {
  height: 100%;
  margin: 0;
}
* {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;         /* Non-prefixed version, currently supported by Chrome and Opera */
}

/* Remove blue highlight on mobile devices */
* {
  -webkit-tap-highlight-color: transparent; /* Safari and Chrome */
}

button{
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;   
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  cursor: pointer;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#score {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2em;
  font-weight: 900;
}

#highscore {
  position: absolute;
  top: 100px;
  right: 30px;
  font-size: 1.2em;
  font-weight: 700;
}

#introduction {
  width: 200px;
  height: 225px;
  position: absolute;
  font-weight: 700;
  font-size: 0.9em;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  transition: opacity 6s;
}

#start,
#restart {
  width: 110px;
  height: 110px;
  position: absolute;
  border-radius: 50%;
  color: white;
  background-color: rgb(0, 255, 60);
  border: none;
  font-weight: 700;
  font-size: 1.2em;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: none;
  cursor: pointer;
  box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.4); 
  transition: transform 0.3s, box-shadow 0.3s; /
}

#restart {
  background-color: red;
}

#start:hover,
#restart:hover {
  transform: scale(1.05); 
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.6); 
}


#perfect {
  position: absolute;
  opacity: 0;
  transition: opacity 2s;
}


#theme-select {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

#theme-select label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

#theme-select select {
    padding: 5px;
    font-size: 14px;
}

body.day {
    background-color: #fff;
}

body.night {
    background-color: #333; 
    color: #fff; 
}

.back-to-home {
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  text-decoration: none;
  color: #000;

  font-family: "Walter Turncoat", cursive;
  font-weight: 600;
  font-style: normal;
}

.phone-stuff{
  display: none;
  position: fixed;
  top: 15%;
  left: 17%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  text-decoration: none;
  color: #000;
  font-family: "Walter Turncoat", cursive;
  font-weight: 600;
  font-style: normal;
}


#introduction,
#perfect,
#score,
#highscore-value {
  user-select: none;
}

.form-label{
  font-family: "Walter Turncoat", cursive;
  font-weight: 400;
  font-style: normal;
}

.form-select {
  font-family: "Handlee", cursive;
  font-weight: 600;
  font-style: normal;

  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.11);
  color: #2d2d2d;
  padding: 8px 12px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.form-select:hover,
.form-select:focus {
  border-color: #1f502f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Style options */
.form-select option {
  background-color: #f2f2f2; /* Background color */
}

/* Hover effect for options */
.form-select option:hover {
  background-color: #e0e0e0; /* Slight gray */
}

.form-label {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
  transition: color 0.3s;
}

@media screen and (max-width: 991px) {
  #stretch-mode {
      display: block; 
  }
}
/* CSS for mobile screens */
@media (max-width: 576px) {

  body {
      font-size: 14px; 
  }

  #score {
      font-size: 1.5em; 
      top: 10px;
      right: 10px;
  }

  #score {
    font-size: 1.1em; 
    top: 20px;
    right: 10px;
  }

  #introduction {
      width: 150px;
      height: auto; 
      font-size: 0.8em;
      top: 50%; 
      left: 50%; 
      transform: translate(-50%, -50%);
  }

  #start,
  #restart {
      width: 80px; 
      height: 80px; 
      font-size: 1em;
      bottom: 10px;
      user-select: none;
  }

  .back-to-home{
    display: none;
  }

  .phone-stuff{
    display: none;
  }
}
