/* === GLOBAL === */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  overflow: hidden;
}

/* === HOME === */

header {
  width: 100%;
  height: 30vh;
  background: linear-gradient(135deg, #3f6593, #94d9f7);
  border: 1px solid #000;
  border-radius: 0 0 30px 30px;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 50px;

  transition: all 0.5s ease;
}

header h1 {
  font-family: "Courier New", Courier, monospace;
  font-size: 90px;
  text-shadow: 0 15px 15px black;
  letter-spacing: 20px;
  color: #fff;

  transition: all 0.2s ease-in;
}

main {
  width: 100%;
  height: 70vh;
  background: linear-gradient(to bottom, #e0f2fe, #f0f9ff);
  border: 1px solid #000;
  border-radius: 30px 30px 0 0;

  transition: all 0.5s ease;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

.first-sect {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  gap: 15px;

  transition: all 0.5s ease;
}

.first-sect .home-ui {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  height: 100%;
}

.first-sect .home-ui .home-tagline-header {
  width: 100%;
  height: 10vh;

  display: flex;
  justify-content: center;
  align-items: center;
}

.first-sect .home-tagline {
  font-size: 24px;
  font-weight: bold;
  animation: popInPopOut 3.2s linear infinite;
}

.first-sect .home-ui .home-button-container {
  width: 100%;
  height: 55vh;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 50px;
}

.first-sect button {
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  border: 2px solid black;
  border-radius: 15px;

  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  color: #fff;
  letter-spacing: 5px;
  box-shadow: 0 10px 20px black;
  text-shadow: 0 5px 20px black;

  cursor: pointer;
  transition: all 0.5s ease;
}

.big-button {
  width: 250px;
  height: 200px;
  font-size: 35px;
}

.small-button {
  width: 180px;
  height: 100px;
  font-size: 16px;
}

.balloon-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.balloon-pic {
  position: absolute;
  bottom: -120px;
  width: 200px;
  height: 150px;
  animation: floatUp linear forwards;
}

/* === GAME === */

.second-sect {
  width: 0%;
  height: 100%;

  background: linear-gradient(to bottom, #e0f2fe, #f0f9ff);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transition: all 0.5s ease;
}

.second-sect .main-game-area-header {
  width: 100%;
  height: 15%;
  padding: 10px 20px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.second-sect .main-game-area-header .back-to-home-btn {
  width: 150px;
  height: 50px;

  border: 1px solid #000;
  border-radius: 10px;
  box-shadow: 0 10px 20px black;
  text-shadow: 0 5px 20px black;
  font-weight: bold;

  cursor: pointer;
  transition: all 0.5s ease;

  display: none;
}

.second-sect .main-game-area-header .restart-game-btn {
  width: 150px;
  height: 50px;

  border: 1px solid #000;
  border-radius: 10px;
  box-shadow: 0 10px 20px black;
  text-shadow: 0 5px 20px black;
  font-weight: bold;

  cursor: pointer;
  transition: all 0.5s ease;

  display: none;
}

.second-sect .main-game-area-content {
  width: 100%;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
  overflow: hidden;
}

.second-sect .main-game-area-content .main-message {
  width: 400px;
  height: 250px;
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  border-radius: 15px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: 150px;
  left: 550px;

  box-shadow: 0 10px 10px #000;

  gap: 25px;
  line-height: 40px;
  padding: 15px;

  transition: all 0.5s ease;
}

.second-sect .main-game-area-content .main-message p {
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 24px;
  font-weight: bold;
}

.second-sect .main-game-area-content .main-message button {
  width: 50px;
  height: 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 10px 20px black;
  text-shadow: 0 5px 20px black;
  font-weight: bold;
  transition: all 0.5s ease;
  display: none;
}

.second-sect .main-game-area-content .game-start-timer {
  width: 200px;
  height: 150px;

  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: 150px;

  display: none;
}

.second-sect .main-game-area-content .game-start-timer p {
  font-size: 100px;
  font-weight: bold;
  font-family: "Courier New", Courier, monospace;
}

.second-sect .main-game-area-content .safe-balloon {
  position: absolute;
  display: none;
  cursor: pointer;
}

.second-sect .main-game-area-content .bomb-balloon {
  position: absolute;
  display: none;
  cursor: pointer;
}

/* === TUTORIAL === */

.third-sect {
  width: 0%;
  height: 100%;
  background: linear-gradient(to bottom, #e0f2fe, #f0f9ff);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transition: all 0.5s ease;
}

.third-sect .tutorial-header {
  width: 100%;
  height: 20%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.third-sect .tutorial-header h1 {
  font-size: 40px;
}

.third-sect .tutorial-game-area {
  width: 100%;
  height: 80%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  position: relative;
  overflow: hidden;
}

.third-sect .tutorial-game-area .tutorial-game-area-header {
  width: 100%;
  height: 20%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 20px;
}

.third-sect .tutorial-game-area .tutorial-game-area-header button {
  width: 150px;
  height: 50px;

  border: 1px solid #000;
  border-radius: 10px;
  box-shadow: 0 10px 20px black;
  text-shadow: 0 5px 20px black;
  font-weight: bold;

  cursor: pointer;
  transition: all 0.5s ease;

  display: none;
}

.third-sect .tutorial-game-area .tutorial-game-area-content {
  width: 100%;
  height: 80%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.tutorial-game-area-content .tutorial-message {
  width: 300px;
  height: 250px;
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  border-radius: 15px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: 150px;
  left: 550px;

  box-shadow: 0 10px 10px #000;

  gap: 25px;
  padding: 15px;

  transition: all 0.5s ease;
}

.tutorial-game-area .tutorial-message p {
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 24px;
  font-weight: bold;
}

.tutorial-message .tutorial-message-button-area {
  width: 100%;
  height: 30%;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.tutorial-game-area .tutorial-message button {
  width: 50px;
  height: 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 10px 20px black;
  text-shadow: 0 5px 20px black;
  font-weight: bold;
  transition: all 0.5s ease;
  display: none;
}

.tutorial-game-area .tutorial-balloon {
  width: 150px;
  height: 250px;

  position: absolute;
  top: 250px;
  left: 150px;

  opacity: 0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.tutorial-game-area .tutorial-dead-balloon {
  width: 200px;
  height: 250px;

  position: absolute;
  top: 120px;
  left: 1040px;

  opacity: 0;
  transition: all 0.2s ease;
  cursor: pointer;
}
