/* CUSTOM */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.img-custom {
  max-width: 513px;
  max-height: 385px;
}

.bg-primary-500-90 {
  background-color: rgba(0, 58, 112, 0.9);
}

.border-gradient {
  border: 3px solid transparent;
  border-image: linear-gradient(240deg, #DCE703 0%, #2171A9 100%) 1;
}

.shadow-sm { box-shadow: 0 3px 2px 0 rgb(0 0 0 / 0.2), 0 1px 3px -1px rgb(0 0 0 / 0.1) }

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.icon-logo-spin {
  animation: spin 12s linear infinite;
  transform-origin: center;
}

.location-item:hover .pin {
  animation: pinJump 0.6s ease infinite;
}

@keyframes pinJump {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.btn-light {
  position: relative;
  overflow: hidden;
}

.btn-light p {
  position: relative;
  z-index: 2;
}

.btn-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: skewX(-20deg);
  z-index: 1;
}

.btn-light:hover::before {
  animation: lightPass 0.8s ease;
}

@keyframes lightPass {
  from {
    left: -80%;
  }

  to {
    left: 130%;
  }
}

/* ANIME */
/* Base para elementos com animação */
[data-anime] { opacity: 0; animation-play-state: paused; /* Animação pausada até entrar na tela */ }

/* Tipos de animação */
[data-anime="top"] { animation-name: fromTop; }
[data-anime="right"] { animation-name: fromRight; }
[data-anime="left"] { animation-name: fromLeft; }
[data-anime="bottom"] { animation-name: fromBottom; }
[data-anime="center"] { animation-name: fromCenter; }

/* Tempos de animação */
[data-time="fast"] {
  animation-duration: 0.2s;
  animation-delay: 0.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="medium"] {
  animation-duration: 0.4s;
  animation-delay: 0.4s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow01"] {
  animation-duration: 0.6s;
  animation-delay: 0.6s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow02"] {
  animation-duration: 0.8s;
  animation-delay: 0.8s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow03"] {
  animation-duration: 1.0s;
  animation-delay: 1.0s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow04"] {
  animation-duration: 1.2s;
  animation-delay: 1.1s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow05"] {
  animation-duration: 1.4s;
  animation-delay: 1.4s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow06"] {
  animation-duration: 1.6s;
  animation-delay: 1.6s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow07"] {
  animation-duration: 1.8s;
  animation-delay: 1.8s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow08"] {
  animation-duration: 2s;
  animation-delay: 2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow09"] {
  animation-duration: 2.2s;
  animation-delay: 2.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow10"] {
  animation-duration: 2.4s;
  animation-delay: 2.4s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow11"] {
  animation-duration: 2.6s;
  animation-delay: 2.6s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow12"] {
  animation-duration: 2.8s;
  animation-delay: 2.8s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

[data-time="slow13"] {
  animation-duration: 3s;
  animation-delay: 3s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

/* Dispara a animação quando a classe 'visible' é adicionada */
[data-anime].visible { animation-play-state: running; }

/* Definição das animações */
@keyframes fromTop {
  from { opacity: 0; transform: translate3d(0, -50px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fromRight {
  from { opacity: 0; transform: translate3d(50px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fromLeft {
  from { opacity: 0; transform: translate3d(-50px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fromBottom {
  from { opacity: 0; transform: translate3d(0, 50px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fromCenter {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* MEDIA QUERYS */
@media (max-width: 640px) {
  .logo-gdm-footer {
    width: 80px;
  }

  .movie {
    max-width: 320px;
    height: 165px;
  }

  .grains {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    animation: spin 30s linear infinite;
    transform-origin: center;
  }

  .top-30-neg {
    top: -30px;
  }

  .right-210-neg {
    right: -210px;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .movie {
    max-width: 600px;
    height: 330px;
  }

  .sm\:max-w-300 {
    width: 100%;
    max-width: 300px;
  }

  .grains {
    width: 260px;
    height: 260px;
    flex-shrink: 0;
    animation: spin 30s linear infinite;
    transform-origin: center;
  }

  .sm\:top-0 {
    top: 0px;
  }

  .sm\:right-460-neg {
    right: -460px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .movie {
    max-width: 700px;
    height: 390px;
  }

  .md\:max-w-300 {
    width: 100%;
    max-width: 300px;
  }

  .grains {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    animation: spin 30s linear infinite;
    transform-origin: center;
  }

  .md\:top-10 {
    top: 10px;
  }

  .md\:right-540-neg {
    right: -540px;
  }
}

@media (max-width: 768px) {}

@media (min-width: 768px) {}

/* MENU MOBILE - Telas MENORES que 1024px */
@media (max-width: 1023px) {
  #check {
    display: none;
  }
  .checkbtn {
    font-size: 24px;
    float: right;
    cursor: pointer;
    display: flex;
  }

  ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-500);
    top: 52px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
  }
  nav ul li {
    display: block;
  }
  nav ul li a p{
    color: var(--white);
  }
  #check:checked ~ ul {
    left: 0;
  }

  p, span {
    font-size: 14px ;
  }

  .mt-custom-5 {
    margin-top: 5px;
  }

  .text-custom-30 {
    font-size: 30px;
    line-height: 36px;
  }



  .bg-company-mobile {
    background-image: url('../img/bg-company-mobile.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: center;
  }
  
  .bg-prerequesits-mobile {
    background-image: url('../img/bg-prerequesits-mobile.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: center;
  }

  .pin {
    width: 16px;
    height: 18px;
  }
  
  .icon-logo {
    width: 18px;
    height: 18px;
  }

  .border-yellow {
    border: 2px solid #DCE703;
  }

  .logo-gdm-white-footer{
    width: 100px;
    height: auto;
  }

  .logo-cia-white-footer{
    width: 70px;
    height: auto;
  }

  .big-line {
    width: 100%;
    max-width: 55%;
    height: 22px;
    display: flex;
    justify-content: end;
    background-color: #DCE703;
    border: 0;
    margin-top: -11px;
    margin-left: auto;
    margin-right: -3px;
  }
  
  .line-decoration-trainee {
    position: absolute;
    width: 100%;
    height: 2px;
    display: flex;
    background-color: #DCE703;
    left: -120px;
    bottom: -2px;
  }

  .line-decoration-pre-requisitos {
    position: absolute;
    width: 200%;
    height: 2px;
    display: flex;
    background-color: #DCE703;
    right: -400px;
    bottom: -2px;
  }
}

/* MENU DESKTOP - Telas 1024px ou MAIORES */
@media (min-width: 1024px) {
  .lg\:max-w-660 {
    width: 100%;
    max-width: 660px;
  }

  .lg\:text-custom-27 {
    font-size: 27px;
    line-height: 33px;
  }
  .lg\:text-custom-35 {
    font-size: 35px;
    line-height: 41px;
  }
  .lg\:text-custom-55 {
    font-size: 55px;
    line-height: 61px;
  }
  .lg\:text-custom-80 {
    font-size: 80px;
    line-height: 86px;
  }

  .lg\:mb-35 {
    margin-bottom: 140px;
  }

  .grains {
    width: 613px;
    height: 607px;
    flex-shrink: 0;
    animation: spin 30s linear infinite;
    transform-origin: center;
  }

  .lg\:top-70-neg {
    top: -70px;
  }

  .lg\:right-820-neg {
    right: -820px;
  }

  .movie {
    max-width: 880px;
    height: 480px;
  }

  .lg\:bg-company {
    background-image: url('../img/bg-company.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
  }
  .lg\:bg-prerequesits {
    background-image: url('../img/bg-prerequesits.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
  }

  .lg\:border-yellow { border: 5px solid #DCE703; }

  .lg\:border-secondary-500 { border-color: var(--secondary-500); }

  .big-line {
    width: 100%;
    max-width: 70%;
    height: 22px;
    background-color: #DCE703;
    border: 0;
  }
  
  .small-line {
    width: 100%;
    max-width: 30%;
    height: 12px;
    background-color: #ADC319;
    border: 0;
  }

  .line-decoration-trainee {
    position: absolute;
    width: 200%;
    height: 3px;
    display: flex;
    background-color: #DCE703;
    left: -600px;
    bottom: -3px;
  }

  .line-decoration-pre-requisitos {
    position: absolute;
    width: 200%;
    height: 3px;
    display: flex;
    background-color: #DCE703;
    right: -700px;
    bottom: -3px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  #check {
    display: none;
  }
  .checkbtn {
    font-size: 30px;
    float: right;
    cursor: pointer;
    display: flex;
  }

  ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-500);
    top:72px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
  }
  nav ul li {
    display: block;
  }
  nav ul li a p{
    color: var(--white);
  }
  #check:checked ~ ul {
    left: 0;
  }
}

@media (min-width: 1280px) {
  .checkbtn {
    display: none;
  }
  #check {
    display: none;
  }
  ul {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    text-align: left;
    transition: none;
  }
  nav ul li {
    display: inline-flex;
  }
  nav ul li a p {
    color: var(--white);
  }

  .xl\:max-w-1120 {
    width: 100%;
    max-width: 1120px;
  }
}

@media (min-width: 1366px) {}

@media (min-width: 1520px) {}
