/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Dancing+Script:wght@400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --fourth-color: #495ef9;
  --title-color: hsl(208, 79%, 4%);
  --text-color: hsl(191, 45%, 42%);
  --text-color-light: hsl(191, 45%, 42%);
  --border-color: hsl(0, 0%, 89%);
  --border-color-2: hsl(0, 0%, 43%);
  --body-color: #141313;
  --notif: #F5F5F5;
  --error: #ff5f5f;
  --success: #2361ff;
  --container-color: #ffffff;
  --input-color:#EBECF0;
  --base: #141313;
  --base-2: radial-gradient(circle at center,hsl(235, 44%, 40%) 50%, hsl(250, 89%, 15%) 100%);
  --base-3: radial-gradient(circle at center, hsl(0, 0%, 96%) 30%,rgb(233, 232, 239) 120%);
  --base-4: radial-gradient(circle at center, hsl(235, 80%, 62%) 30%,rgb(49, 22, 172) 120%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Montserrat', sans-serif;
  --body-font-2: 'Poppins', sans-serif;

  --biggest-font-size: 2.25rem;
  --big-font-size: 2.1rem;
  --medium-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .74rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 4rem;
    --big-font-size: 2.3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .8rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: .3s; /* For animation dark mode */
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: var(--font-medium);
}

input,
button {
  font-family: var(--body-font);
  outline: none;
  border: none;
  background: none;
}

/*=============== THEME ===============*/
.change-theme {
  font-size: 1.25rem;
  color: #fff;
  cursor: pointer;
  transition: .3s;
}

.container {
  max-width: 1024px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}
.notif{
  margin-left: calc(50px + 1rem);
  padding: 0.5rem 1rem;
  position: fixed;
  right: 0;
  top: 1rem;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: pre-line;
  border-radius: 6px;
  background: var(--notif);
  box-shadow:  0px 0px 6px -2px var(--shadow),
    -0px -0px 6px -2px var(--shadow-2);
  color: var(--text-color);
  font-size: var(--smaller-font-size);
  font-weight: 400;
  visibility: hidden;
  opacity: 0;
  z-index: 99;
  transform: translateX(10px);
  transition: 0.3s all ease;
}
.notif i{
  font-size: var(--normal-font-size);
}
.notif.show{
  margin-left: calc(50px + 1rem);
  transform: translateX(0px);
  right: 1rem;
  opacity: 1;
  visibility: visible;
}
.notif.n-success{
  box-shadow: unset;
  background: var(--success);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.notif.n-error{
  box-shadow: unset;
  background: var(--error);
  color: #fff;
}
.grid {
  display: grid;
}

.section {
  min-height: 100vh;
  padding: 2rem;
}


.main{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*=============== LOGIN ===============*/
.login {
  position: relative;
  min-width: 300px;
  width: 40%;
  height: 100%;
  max-height: 100vh;
  background: var(--base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  overflow-y: auto;
}
.login .exit{
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: var(--biggest-font-size);
  display: none;
}
.form-container{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}
header{
  width: min(350px, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 0.5rem;
}
header h1{
  font-weight: 600;
  font-size: var(--normal-font-size);
  color: var(--text-color);
}
header p{
  font-size: var(--small-font-size);
}
.logo{
  width: min(100%, 220px);
  height: auto;
}
.form{
  padding: 15px 25px;
  min-width: 350px;
  width: 350px;
  display: grid;
  gap: 1rem;
  color: var(--text-color-light);
  font-family: var(--body-font-2);
}
.form *{
  color: var(--text-color-light);
}
.form .adv{
  padding: 0;
  display: flex;
  align-items: center;
}
.form .adv p{
  text-align: left;
  font-size: var(--small-font-size);
  color: var(--text-color);
}
.error-text{
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  width: 100%;
  background: var(--error-color);
  color: var(--text-color-light);
  display: none;
  border-radius: 8px;
}
.input-field{
  position: relative;
  display: flex;
  justify-content: left;
  text-align: center;
  align-items: center;
  background: var(--input-color);
  border-radius: 6px;
  transition: 0.3s all ease;
  border: 2px solid var(--input-color);
}
.input-field .input-label{
  padding: 1px 6px;
  position: absolute;
  left: 0rem;
  background: var(--input-color);
  border-radius: 3px;
  font-weight: 500;
  transition: 0.3s all ease;
  color: var(--text-color);
  z-index: 3;
}
.input-field .input-label, 
.input-field .input-label{
  font-size: var(--small-font-size);
  transform: translateY(-100%);
  color: var(--input-color);
  background: var(--fourth-color);
  z-index: 3;
}
.input-field input:focus ~ .i,
.input-field input:valid ~ .i{
  color: var(--fourth-color);
}
.input-field:nth-last-child(2){
  margin-bottom: 2rem;
}
.input-field .i{
  position: absolute;
  right: 0.5rem;
  font-size: var(--h3-font-size);
  color: var(--text-color);
  cursor: pointer;
  z-index: 3;
  transition: 0.3s all ease;
}
.input-field input, select{
  padding: 0.7rem 12px;
  width: 100%;
  height: 100%;
  color: var(--text-color);
  border-radius: 6px;
  border: 2px solid transparent;
  transition: 0.3s all ease;
  z-index: 2;
}
.input-field .read-only{
  padding: 0.7rem 0.4rem;
  width: 60px;
  background: var(--border-color);
  border-color: var(--fourth-color);
  color: var(--title-color);
}
.input-field input:not(.read-only):focus,
.input-field input:not(.read-only):valid{
  border: 2px solid var(--fourth-color);
}
.input-field input:focus{
  color: var(--title-color);
}
.input-field input::placeholder{
  color: var(--text-color);
  font-weight: var(--font-medium);
}
.button{
  padding: 12px 16px;
  width: 100%;
  background: var(--fourth-color);
  color: var(--input-color);
  text-align: center;
  font-size: var(--small-font-size);
  font-weight: 400 !important;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: 0.3s all ease;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
}
.button i{
  color: white;
}
.button:hover{
  opacity: 0.7;
}
.button.void{
  background: none;
  border-radius: 0;
}
.separador{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: var(--small-font-size);
  color: #fff;
}
.separador div{
  width: 100%;
  height: 1px;
  background: #fff;
}
footer{
  position: absolute;
  bottom: 1rem;
  width: 100%;
}
footer h4{
  text-align: center;
  color: var(--text-color-light);
  font-weight: 400;
  font-size: var(--smaller-font-size);
}
footer a{
  font-weight: 600;
  color: var(--fourth-color);
}
.swiper{
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:var(--base-3);
  transition: 0.3s all ease;
}
.bubbles{
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.bubbles .pantalla{
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
  background: #17171727;
  opacity: 0.7;
  z-index: 2;
}
.bubbles span, .bubbles svg{
  position: absolute;
  z-index: 1;
}
.bubbles svg{
  width: max(500px, 80%);
}
.bubbles span:nth-child(1){
  left: -6rem;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  opacity: 0.7;
}
.bubbles span:nth-child(2){
  bottom: -4rem;
  right: -4rem;
  width: 280px;
  height: 280px;
  border-radius: 50%;
}

.swiper-slide{
  position: relative;
  padding: 2rem;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: end;
  align-items: start;
  text-align: center;
  flex-direction: column;
  background-color: #000000;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 3;
}
.swiper-slide .animation{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 600px);
  height: auto;
  object-fit: cover;
  filter: drop-shadow(2px 10px 8px #00000043);
  mix-blend-mode: darken;
}
.swiper-slide h1{
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: calc(var(--big-font-size) - 5px);
  color: var(--input-color);
  text-shadow: 4px 4px 6px #35353583;
  letter-spacing: 1px;
  transition: 0.3s all ease;
}
.swiper-slide p{
  padding: 4px 8px;
  width: min(450px, 100%);
  text-align: justify;
  font-weight: 500;
  font-size: var(--normal-font-size);
  color: var(--input-color);
  background: var(--base);
  transition: 0.3s all ease;
  transform: translateY(-10px);
}
.swiper .to-form{
  padding: 0.7rem 0.5rem;
  position: absolute;
  bottom: 2rem;
  font-size: var(--normal-font-size);
  color: var(--input-color);
  width: calc(100% - 4rem);
  background: var(--success);
  letter-spacing: 0.5px;
  transition: 0.3s all ease;
  display: none;
  z-index: 5;
}
.swiper .to-form:hover, .swiper .to-form:active{
  padding: 0.5rem 1.5rem;
  cursor: pointer;
}

.swiper-pagination-bullet{
  width: 15px !important;
  height: 15px !important;
}


@keyframes flotar {
  0%{
    transform: translateY(10px);
  }
  50%{
    transform: translateY(-10px);
  }
  100%{
    transform: translateY(10px);
  }
}
/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 350px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .section {
    padding: 1rem;
  }

}
@media screen and (max-width: 800px) {
  .content{
    min-height:auto;
    height: 250px;
  }
  .swiper-pagination{
    display: none;
  }
  .login{
    position: fixed;
    width: 100%;
    min-width: unset;
    transform: translate(100%, 0);
    visibility: hidden;
    z-index: 4;
  }
  .login.show{
    transition: 0.5s all ease;
    visibility: visible;
    transform: translate(0, 0);
  }
  .swiper .to-form{
    display: block;
  }
  .login .exit{
    display: block;
    color: #fff;
    transition: 0.3s all ease;
  }
  .login .exit:hover, .login .exit:active{
    opacity: 0.7;
  }
  .swiper-slide{
    padding: 2rem 2rem 4.5rem 2rem;
  }
}
@media screen and (max-width: 430px) {
  .login{
    padding: 0;
    width: min-content;
    min-width: 100%;
  }
  .login .form{
    width: 100%;
    min-width: 250px;
  }
}
@media screen and (max-width: 380px) {
  :root {
    --big-font-size: 1.5rem;
  }
}
