/*=============== 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');


@font-face {
  font-family: 'Secret';
  src: url('../fonts/Secret.ttf');
}
@font-face {
  font-family: 'ITC';
  src: url('../fonts/ITC.otf');
}
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --fourth-color: #BF8089;
  --title-color: hsl(208, 79%, 4%);
  --text-color: #B8BBC7;
  --text-color-light: hsl(191, 45%, 42%);
  --border-color: hsl(0, 0%, 89%);
  --border-color-2: hsl(0, 0%, 43%);
  --body-color: #dfe1f2;
  --notif: #F5F5F5;
  --error: #ff5f5f;
  --success: #239cff;
  --container-color: #F5F5F5;
  --input-color:#ede3e3;
  --base: #f2ebeb;
  --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: 'Secret', sans-serif;
  --body-font-3: 'ITC', 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(--base);
  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;
  width: 500px;
  min-height: 100vh;
  background: var(--base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.login .exit{
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: var(--big-font-size);
  display: none;
}
.form-container{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}
header{
  padding: 0 1.5rem;
  width: min(350px, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: var(--title-color);
}
header h1{
  margin-bottom: 0.5rem;
  font-weight: 400;
  font-family: var(--body-font-2);
  color: var(--title-color);
}
header p{
  font-family: var(--body-font-3);
  font-size: var(--h3-font-size);
}
.logo{
  width: min(100%, 130px);
  height: auto;
}
.form{
  padding: 15px 0px;
  width: min(290px, 100%);
  color: var(--title-color);
}
.form *{
  color: var(--title-color);
}
.form .adv{
  padding: 0;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.form .adv p{
  text-align: left;
  font-size: var(--small-font-size);
  color: var(--title-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;
  margin-bottom: 1rem;
  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: 0.5rem;
  background: var(--input-color);
  border-radius: 3px;
  font-weight: 500;
  transition: 0.3s all ease;
  color: var(--text-color);
  z-index: 1;
}
.input-field input:focus ~ .input-label, 
.input-field input:valid ~ .input-label{
  font-size: var(--small-font-size);
  transform: translateY(-140%);
  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{
  padding: 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 input:focus,
.input-field input: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-weight: 600;
  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;
}
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: #ffffff;
  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;
  animation: bubble1 8s alternate infinite;
}
.bubbles span:nth-child(2){
  bottom: -4rem;
  right: -4rem;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: #ff5fa4;
  animation: bubble2 8s alternate infinite;
}
@keyframes bubble1 {
  0%{
    top: 0;
  }
  50%{
    top: -4rem;
    filter: blur(5px);
    transform: scale(1.5);
    background: #ff6a6a;
  }
  100%{
    top: 0;
  }
}
@keyframes bubble2 {
  0%{
    transform: scale(1);
  }
  50%{
    bottom: -8rem;
    right: -8rem;
    transform: scale(2);
    filter: blur(5px);
    background: #651ea8;
  }
  100%{
    transform: scale(1);
  }
}
.swiper-slide{
  padding: 0 2rem;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  z-index: 3;
}
#slide1{
  background-image: url('../img/banner-5.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
#slide2{
  background-image: url('../img/banner-2.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: right;
}
#slide3{
  background-image: url('../img/banner-4.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.swiper-slide .animation{
  width: min(100%, 400px);
  height: auto;
  object-fit: cover;
  filter: drop-shadow(2px 10px 8px #00000043);
  mix-blend-mode: darken;
  animation: flotar 4s linear infinite;
}
.swiper-slide:nth-child(1) .animation{
  width: min(100%, 300px);
}
.swiper-slide:nth-child(2) .animation{
  width: min(100%, 400px);
}
.swiper-slide h1{
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--big-font-size);
  color: var(--base);
  text-shadow: 4px 4px 6px #35353583;
  letter-spacing: 1px;
  transition: 0.3s all ease;
  animation: flotar 4s linear infinite;
}
.swiper-slide p{
  max-width: 250px;
  font-weight: 500;
  font-size: var(--base);
  transition: 0.3s all ease;
  transform: translateY(-10px);
  animation: flotar 4s linear infinite;
}
.swiper .to-form{
  padding: 10px 20px;
  position: absolute;
  bottom: 2rem;
  font-size: var(--h3-font-size);
  color: var(--fourth-color);
  font-weight: 500;
  border: 3px solid var(--fourth-color);
  letter-spacing: 0.5px;
  transition: 0.3s all ease;
  display: none;
  z-index: 3;
}
.swiper .to-form:hover, .swiper .to-form:active{
  background: var(--base);
  border-color: var(--base);
  cursor: pointer;
}
@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{
    width: 100%;
    position: fixed;
    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: var(--fourth-color);
    transition: 0.3s all ease;
  }
  .login .exit:hover, .login .exit:active{
    opacity: 0.7;
  }
}
@media screen and (max-width: 430px) {
  .login{
    padding: 0;
    width: min-content;
    min-width: 100%;
  }
  .login .form{
    width: 90%;
    padding: 15px 1rem;
  }
}
@media screen and (max-width: 380px) {
  :root {
    --big-font-size: 1.5rem;
  }
}
