/* Estilos para o fundo da página */
body {
  margin: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f0f0;
}

/* Círculo que cresce */
.circle {
  position: absolute;
  width: 0;
  height: 0;
  background-color: #D22B20;
  border-radius: 50%;
  animation: growCircle 2s forwards ease-out;
  z-index: 1;
}

/* Elemento que vem da esquerda */
.box {
  position: absolute;
  width: 200px;
  height: 200px;
  left: -200px;
  background-image: url('../images/logo_bc.svg');
  background-repeat: no-repeat;
  background-size: cover;
  animation: slideIn 1s 1s forwards ease-out; /* Começa após o círculo */
  z-index: 2;
}

/* Animação do círculo */
@keyframes growCircle {
  0% {
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  100% {
    width: 200vmax;
    height: 200vmax;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Animação do elemento que desliza */
@keyframes slideIn {
  0% {
    top: 50%;
    transform: translateY(-50%);
  }
  100% {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
