body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #ebf0f5;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.main-wrapper {
  margin-top: -50%;
  width: 800px;
  position: relative;
  perspective: 700px;

  & .logo {
    width: 240px;
    height: 240px;
    border-radius: 6px;
    margin: 0 auto;
    background-image: url(https://agiliza-1.web.app/assets/square-logo.png);
    background-size: cover;
    background-repeat: no-repeat;
  }

  & h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 32px;
  }
  & input {
    display: none;
    &:checked + label {
      background-color: #ffcc29;
      border-top-right-radius: 6px;
      border-top-left-radius: 6px;
    }
  }
  & label {
    display: inline-block;
    padding: 12px 20px;
    margin-right: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
    &:hover {
      background-color: #ffcc29;
      border-top-right-radius: 6px;
      border-top-left-radius: 6px;
    }
  }
}

.tabs > div {
  min-height: 420px;
  position: absolute;
  border: 2px solid #ffcc29;
  padding: 10px 40px 30px;
  transform: rotateX(-20deg);
  transform-origin: top center;
  opacity: 0;
  transition: opacity 0.3s, transform 0.8s ease;
  background-color: #fff;
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
}

#tab-nav-1:checked ~ .tabs > div:nth-of-type(1),
#tab-nav-2:checked ~ .tabs > div:nth-of-type(2),
#tab-nav-3:checked ~ .tabs > div:nth-of-type(3),
#tab-nav-4:checked ~ .tabs > div:nth-of-type(4) {
  transform: none;
  opacity: 1;
}
