@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
}

:root {
  --Rojo: #7a202e;
  --Carmesi: #a01f3b;
  --negroGris: #363636;
  --Dorado: #bc955b;
  --Arena: #dcc9a4;
  --Blanco: #ffffff;
  --Texto: #707070;
  --TextoBlanco: #ffffff9f;
  --TextoMuted: #bebebeb4;
}

.swiper-button-next {
  color: var(--Rojo) !important;
  z-index: 1 !important;
}
.swiper-button-prev {
  color: var(--Rojo) !important;
  z-index: 1 !important;
}
.swiper-pagination {
  z-index: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--Dorado) !important;
  z-index: -1;
}
.btn_v1 {
  background: #ffffff;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 5px;
  color: var(--negroGris);
  transition: 0.5s;
  cursor: pointer;
}

.btn_v1:hover {
  background: var(--Dorado);
  color: var(--Blanco);
}

.btn_v2 {
  background: var(--Rojo);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  color: var(--Blanco);
  transition: 0.5s;
  cursor: pointer;
  margin-bottom: 2rem;
}

.btn_v2 a {
  color: var(--Blanco);
}

.btn_v2:hover {
  background: var(--Dorado);
}

/* CUERPO DEL PROGRAMA */

.login_container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--Rojo);
  overflow: hidden;
}

.login_box {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
}

.login_part_1 {
  width: 35%;
  height: 95%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login_logo {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
  animation: mymove 5s infinite;
  animation-duration: 15s;
}

.login_logo img {
  width: 200px;
}

.login_title {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login_title h2 {
  font-size: 2rem;
  color: #adadad;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.login_title.principal h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #ffffff;
}

.login_text {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.login_text p {
  font-size: 1.2rem;
  font-weight: 400;
  color: #adadad;
}

.login_text p span {
  font-size: 1.2rem;
  font-weight: 500;
  color: #e2e2e2;
}

.login_part_2 {
  width: 65%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--Blanco);
  border-radius: 0 300px 300px 0 / 0 700px 700px 0;
  overflow: hidden;
  animation: entrada 2s;
  animation-delay: 2s;
}

@keyframes mymove {
  0% {
    transform: translateY(0px);
  }

  25% {
    transform: translateY(-15px);
  }

  50% {
    transform: translateY(0px);
  }

  75% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes entrada {
  0% {
    transform: translateX(-300%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 1000px) {
  .login_box {
    flex-direction: column-reverse;
  }

  .login_part_1 {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .login_part_2 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--Blanco);
    border-radius: 0 0 100px 100px / 0 0 50px 50px;
  }

  .login_logo img {
    width: 20%;
  }

  @keyframes entrada {
    0% {
      transform: translateY(-300%);
    }

    100% {
      transform: translateY(0);
    }
  }
}

@media (max-width: 413px) {
  .login_title h2 {
    font-size: 1.2rem;
  }

  .login_title.principal h2 {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
  }

  .login_submit button[type="submit"] {
    width: 250px;
    height: 50px;
    font-size: 1.4rem;
  }

  .login_text p {
    font-size: 0.9rem;
  }

  .login_text p span {
    font-size: 0.9rem;
  }
}

/* PARTE DENTRO DEL INDICE */

.container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container.first {
  position: fixed;
  background: var(--Dorado);
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
  animation: desaparece 5s;
  z-index: 10;
}

.box {
  width: 90%;
  height: auto;
  display: flex;
  justify-content: center;
}

.first_content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.first_img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.first_img img {
  width: 200px;
}

.first_body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.first_body h2 {
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  color: var(--Blanco);
}

.first_body p {
  font-weight: 300;
  color: var(--TextoBlanco);
  text-align: center;
}

.first_body p span {
  font-weight: 700;
  color: var(--TextoBlanco);
}

@keyframes desaparece {
  0% {
    transform: scale(1);
    visibility: visible;
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes aparece_texto {
  0% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.2);
  }
  75% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1.5);
  }
}

/* SECOND PART */

.swiper {
  width: 100%;
  height: auto;
}

.swiper-slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
}

.swiper-slide:active {
  cursor: grabbing;
}

.second_content {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 1rem;
  padding: 0 2rem;
}

.login_part_2 h2 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--Rojo);
  margin-bottom: 2rem;
}

.second_content h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--Texto);
  margin-bottom: 2rem;
}

.second_content p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--Texto);
  margin-bottom: 2rem;
}
