body {
  font-family: Arial, sans-serif;
  color: #333;
    background-color: white;
  overflow-x: hidden;
  margin: 0;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

button {
  border-radius: 12px !important;
}

.header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: rebeccapurple;
  font-family: "Hachi Maru Pop", cursive;
  font-size: 3rem;
}

#team {
  position: relative;
  margin-top: 100px;
  transform: translateY(200px);
  animation: dropDown .7s ease-in-out forwards, fade .7s ease-in-out forwards;
}

#tamika {
  position: relative;
  margin-top: 100px;
  transform: translateY(-200px);
  animation: dropUp .7s ease-in-out forwards, fade .7s ease-in-out forwards;
}

.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
  width: 100vw;
  row-gap: 50px;
  column-gap: 50px;
  position: relative;
  z-index: 1;
}
.container-2 {
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  width: 400px;
  height: auto;
  transform: scale(0);
  animation: scale .7s ease-in-out forwards; 
}

.container-2 h2 {
  color: rebeccapurple;
  font-family: Roboto, sans-serif;
  font-size: xx-large;
  letter-spacing: 1px;
}

.container-1 {
  display: none;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.container-1 img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 500px;
  width: auto;
}
h2 {
  text-align: center;
  margin-bottom: 20px;
}
label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}
input[type="time"] {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.option {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
button,
.copy-btn {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  background: rebeccapurple;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}
button:hover {
  background: rebeccapurple;
}
.result {
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #2a5d84;
  padding: 20px 20px;
}
.decimal-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  font-size: 1.1em;
  color: #2a5d84;
  font-weight: bold;
}
.copy-btn:hover {
  background: rebeccapurple;
}
footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  font-size: 0.85em;
}

@keyframes  scale {
  0% {
    transform: scale(.1)
  }
  100% {
    transform: scale(1);
  }
}

@keyframes dropDown {
  from { transform: translateY(-200px); }
  to   { transform: translateY(0); }
}

@keyframes dropUp {
  from { transform: translateY(200px); }
  to   { transform: translateY(0); }
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media screen and (max-width: 992px) {
  .main-container, .container-1, .container-2 {
    flex-direction: column !important;
    width: auto;
  }
  .main-container {
    height: auto !important;
    row-gap: 0;
  }
  .container-1 {
    display: none;
  }
  .container-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    max-height: 100vh;
    width: 90%;
    padding: 30px;
  }
}
