@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;900&display=swap');

body {
  margin: 0;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

*{
    border: 0;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;

}

/* Tela inicial - click para iniciar */

.initial-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #4CAF50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 1s ease-in-out;
}

.initial-screen .logo {
  width: 350px;
  height: auto;
}

.initial-screen .start-text {
  margin-top: 20px;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Tela main */

main{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F8ECD4;
}

.main-box{
    display: flex;
    background-color: #ffffff;
    border-radius: 25px;
    width: 50%;
    aspect-ratio: 16/9;
    gap: 30px;
    padding: 30px 90px 30px 90px;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.288);
}

.main-box-logo{
    width: 50%;
}

.main-box-logo > img{
  width: 40%;
  height: auto;
}

.main-box-logo h1 {
  font-size: clamp(0.7rem, 5vw, 2.5rem); 
}

.main-box-logo p {
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.main-box-buttons{
    width: 50%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-box-buttons > a{
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    aspect-ratio: 2/1;
    background-color: #5CC82A;
    text-decoration: none;
    border-radius: 17px;
    color: white;
    font-size: 50px;
    font-weight: 900;
}

.main-box-buttons >a:last-child{
  background-color: #CB6B6B;
}

a:hover{
  opacity: 0.8;
}

/* Telas ---- */

@media (max-width: 1381px) {
  .main-box-logo h1 {
    font-size: 2rem;
  } 
}

@media (max-width: 1081px) {
  .main-box-logo h1 {
    font-size: 1.7rem;
  } 
}

@media (max-width: 917px) {
  .main-box{
    flex-direction: column;    
    width: 80%;
    height: auto;
    padding: 0px;
  }

  .main-box-logo{
    width: 85%;
    height: 30%;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .main-box-logo > img{
    width: 20%;
    padding-bottom: 10px;
  }

  .main-box-buttons{
    width: 90%;
    height: auto;
    gap: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 15px;
  }

  .main-box-buttons > a{
    aspect-ratio: 3/1;
    font-size: 50px;
  }

  @media (max-width: 470px){
    .main-box-logo{
      padding: 0px 0px 15px 0px;
    }

    .initial-screen .logo {
      width: 230px;
    }

    .main-box-buttons > a{
      font-size: 30px;
    }   

    .main-box-buttons{
      padding: 0px;
    }
  }

}
