@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@600&family=Oswald:wght@500&display=swap');

body {
  font-family: Lexend;
  color: white;
  background-color: #121212;
  text-align: center;
  text-decoration: none;
}

#seperator {
  width: 700px;
}

#index {
  margin: 0;
  paddin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.title {
  font-size: 3em;
  text-align: center;
}

#subtitle {
  font-size: 1.5em;
}

#yappin {
  text-align: center;
  max-width: 600px;
  margin: 20px auto;
}

a {
  text-decoration: none;
}

#goPlay {
  cursor: pointer;
  background-color: #22c55e;
  border: none;
  color: white;
  font-family: Lexend;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 20px;
  margin-top: 20px;
  transition-duration: 0.4s;
}

#goPlay:hover {
  transform: translateY(-5px);
  background-color: #16ab4d;
}

footer {
  text-align: center;
  max-width: 600px;
}

p {
  text-align: center;
  max-width: 600px;
  margin: 20px auto;
}

button {
  cursor: pointer;
  background-color: #22c55e;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 20px;
  margin-top: 20px;
}

.game-link {
  height: 400px;
  width: 300px;
  text-decoration: none;
}

.game-tile {
  background-color: #383333  ;
  height: 330px;
  width: 290px;
  border-radius: 20px;
  transition: transform 0.2s ease-in-out;
  transition-duration: 0.4s;
}

.game-tile:hover {
  transform: scale(1.03);
  cursor: pointer;
}

.game-icon {
  border-radius: 30px;
  width: 210px;
  height: 210px;
  top: 5%;
  position: relative;
}

.game-title {
  font-size: 30px;
  font-weight: bold;
  color: #000000;
  text-align: center;
  margin: auto;
  margin-top: 35px;
}

.flex-container {
  display: flex;
  flex-direction: row;
  order: 0;
  flex-grow: 0;  
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.container {
  padding: 10px;
}

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

#search {
  width: 380px;
  font-size: 18px;
  padding: 15px;
  margin: auto;
  border: none;
  border-radius: 7px;
  max-width: 600px;
  margin-bottom: 10px;
  font-family: Lexend;
}

#loader {
  display: block;
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: auto;
  margin-top: 1rem;
}

#home {
  cursor: pointer;
  background-color: #b625cc;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 8px;
  margin-top: 5px;
  font-family: Lexend;
}

#back-to-top {
  display:none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 8px;
  font-family: Lexend;
}

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

#back-to-top:hover {
  animation-name: rotate;
  animation-duration: 0.9s;
}

#settings {
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Lexend;
}

#thing {
  text-align: center;
  font-size: 2em;
  margin-bottom: 1em;
}

#stuff {
  width: 100%;
  max-width: 600px;
  margin-bottom: 2em;
  font-family: Lexend;
}

#url-target {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background-color: #2c2c2c;
  color: #ffffff;
  font-family: Lexend;
}

#dang {
  display: flex;
  justify-content: space-between;
  margin-top: 1em;
  font-family: Lexend;
}

#create {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background-color: #b625cc;
  color: white;
  font-family: Lexend;
}

#tabcloak {
  width: 100%:
  max-width: 600px;
  font-family: Lexend;
}

#userinput {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background-color: #2c2c2c;
  color: white;
  font-family: Lexend;
}

.button-wrapper {
  display: flex;
  justify-content: space-betweeen;
  margin-top: 1em;
  font-family: Lexend;
}

.tab {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background-color: #b625cc;
  color: white;
  font-family: Lexend;
  transition-duration: 0.4s;
}  

.tab:hover {
  background-color: #9d07b3;
}

#homepage {
  cursor: pointer;
  background-color: #22c55e;
  border:none;
  color: white;
  padding: 15px 32px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 8px;
  margin-top: 5px;
  font-family: Lexend;
  transition-duration: 0.4s;
} 

#homepage:hover {
  background-color: #16ab4d;
}

.home4 {
  border: 1px solid #b625cc;
  transition-duration: 0.4s;
  background-color: transparent;
  font-family: Lexend;
  border-radius: 7px;
}

.home4:hover {
  background-color: #b625cc;
}

.settings1 {
  cursor: pointer;
  background-color: #b625cc;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 20px;
  margin-top: 20px;
  margin-left: 10px;
  height: 20px;
  transition-duration: 0.4s;
}

.settings1:hover {
  transform: translateY(-5px);
  background-color: #9d07b3; 
}

.update {
  border-radius: 8px;
  font-family: Lexend;
  background-color: transparent;
  border: 1px solid #22c55e;
}
