@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");

@font-face {
  font-family: "Mosk";
  src: url("assets/fonts/Mosk.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.flexbox {
  align-items: center;
  
  
 
}


/* COLOR DE LETRA Y BOTON DE BARRA DE NAVEGACION */

:root {
  --light: #f0f0f5;
  --dark: #1a1a1d;
  --cyan: #5789b8;
  --pink: #423fff;
  --gray: #aaaaad
}

/* COLOR DE LETRA Y BOTON DE BARRA DE NAVEGACION */


*
{
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}




/* COLORES DE PARTE DE INICIO LADO IZQUIERDO DE LOGO MOVIBLE */
body
{
  background-image:
  radial-gradient(at 75% 45%, #19275b 0%, transparent 50%),
  radial-gradient(at 35% 65%, #0b147b 0%, transparent 50%),
  radial-gradient(at 10% 20%, #204f84 0%, transparent 50%),
  radial-gradient(at 70% 25%, #133176 0%, transparent 50%),
  radial-gradient(at 90% 80%, #1354b4 0%, transparent 100%);
  background-color:#1a1a1d;
  background-attachment: fixed;
  font-size: 1rem;
}

/* COLORES DE PARTE DE INICIO LADO IZQUIERDO DE LOGO MOVIBLE */



h1, .highlight
{
  font-family: "Cooper Black";
}

h2, h3, h4
{
  font-family: "Nunito", sans-serif;
}

.dark h3,
.dark h4
{
  color: var(--light);
}


/* COLOR DE SECCION DE INFORMACION Y FOOTER */

.dark
{
  background-color: #1d1a1b;
}

/* COLOR DE SECCION DE INFORMACION Y FOOTER */



a, p, li
{
  color: var(--gray);
}


/* COLOR DE TRANSPARENCIA DE BARRA DE NAVEGACION */

nav
{
  background-color: #3a3a3030;
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

/* COLOR DE TRANSPARENCIA DE BARRA DE NAVEGACION */




nav .container
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px;
}

.nav-dark .nav-links li a
{
  color: var(--light);
}

/* NO TOCAR */

#logo
{
  transition: 300ms;
  fill: red;
}

/* NO TOCAR */


#logo:hover
{
  transform: scale(1.2);
}

.nav-links ul
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a
{
  position: relative;
  text-decoration: none;
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  transition: 300ms;
  z-index: 1;
}

.nav-links li a::after
{
  content: "";
  position: absolute;
  background-color: var(--cyan);
  height: 3px;
  width: 0;
  left: 0;
  bottom: -10px;
  transition: all ease 500ms;
}


.nav-links li a:hover::after
{
  width: 100%;
}

.nav-links li a.active::after
{
  width: 100%;
}

.btn
{
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  padding: 0.5rem 1rem;
  position: relative;
  text-decoration: none;
  transition: all 300ms ease;
  white-space: nowrap;
  background-color: var(--cyan);
  border: 2px solid var(--cyan);
}

.btn:hover
{
  background-color: transparent;
}

.btn a
{
  color: var(--light);
  font-weight: 600;
  text-decoration: none;
  transition: all 300ms ease;
}

.btn:hover a
{
  color: var(--cyan);
}

.btn-secondary
{
  width: 120px;
  height: 40px;
  color: var(--gray);
  background: -webkit-linear-gradient(0deg, var(--dark) 50%, var(--gray) 50%);
  border: 2px solid var(--gray);
  background-size: 360px;
}

.btn-secondary a
{
  color: var(--gray);
}

.btn-secondary:hover
{
  background-position: 120px 0;
}

.btn-secondary:hover a
{
  color: var(--light);
}




.hamburger
{
  display: none;
  cursor: pointer;
}

.hamburger .bar
{
  transition: all 300ms ease;
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--light);
  border-radius: 3px;
}








/* SECCION DE CARGA COLOR DE FONDO NO TOCAR POR QUE SE SUSTITUYE 
EL JUEGO DE COLORES Y SE QUEDA UNO SOLIDO TOCAR A MENOS DE PETICION*/


.section-landing
{
  position: relative;
  height: 100vh;
  display: flex;
  /* background-image: linear-gradient(90deg, var(--gray) 35%, var(--dark) 35%); */
  background: radial-gradient(#4a4a40c0 10%, #1b1a1dc0 10%);
  background-position: 0% 0%;
  background-size: 5vmin 5vmin;
  align-items: center;
}

/* SECCION DE CARGA COLOR DE FONDO NO TOCAR POR QUE SE SUSTITUYE 
EL JUEGO DE COLORES Y SE QUEDA UNO SOLIDO TOCAR A MENOS DE PETICION*/





/* COLOR DE SOMBRA DE LA FIGURA DE LADO IZQUIERDO */

.bg-left
{
  display: flex;
  align-items: center;
  background-color: var(--gray);
  box-shadow: 10px 0px 40px 0px #000000;
  border-radius: 0 0 5rem;
  width: 35%;
  height: 100%;
}

/* COLOR DE SOMBRA DE LA FIGURA DE LADO IZQUIERDO */



.bg-left .hero
{
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  margin: 0 0 0 25%;
  width: 130%;
}

.bg-left .hero img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-container
{
  position: absolute;
  width: 40%;
  margin: 100px 70px 0 auto;
  left: 0;
  right: 0;
}

.text-container h1
{
  position: absolute;
  bottom: 200px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--cyan);
  color: transparent;
}

.text-container h1:first-child
{
  color: var(--cyan);
  z-index: 2;
  
}

.rotate
{
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 7rem;
  /* transform: translate(-20%, -20%); */
  animation: rotate 20s linear infinite;
}

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

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

.aligner
{
  position: relative;
  width: 80%;
  margin: 0 auto;
}

.section-about
{
  width: 100%;
  height: 100%;
  background-color: var(--light);
}

.section-about img
{
  display: block;
  margin: auto;
  width: 256px;
}

.aligner-flex
{
  position: relative;
  display: flex;
  margin: auto;
  flex-direction: row;
  justify-content: space-between;
}

.left
{
  width: 70%;
}

.left img
{
  width: 100%;
}

.info
{
  width: 25%;
}

.text-col
{
  margin-bottom: 2rem;
}

.section-skills
{
  width: 100%;
  height: 100%;
  padding: 5vh 0;
  background-color: var(--light);
  text-align: center;
}

/* COLORES MOVIBLES EN SECCION DE CONOCE MAS DE NOSOTROS */


.section-parallax
{
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
  radial-gradient(at 75% 45%, #1b3387 0%, transparent 50%),
  radial-gradient(at 35% 65%, #3b3972 0%, transparent 50%),
  radial-gradient(at 10% 20%, #327ce9 0%, transparent 50%),
  radial-gradient(at 70% 25%, #170884 0%, transparent 50%),
  radial-gradient(at 90% 80%, #22848f 0%, transparent 100%);
  background-color:#b213af;
  background-attachment: fixed;
  width: 100%;
  height: 50vh;
}

/* COLORES MOVIBLES EN SECCION DE CONOCE MAS DE NOSOTROS */


.section-parallax h1,
.section-parallax h3
{
  color: #f5f0f0c0;
  font-family: "Mosk";
}

.section-cv
{
  scroll-margin-top: 25vh;
  width: 100%;
  height: 100%;
  padding: 5vh 0;
}

.section-cv .container
{
  text-align: center;
}

.wrapper-grid
{
  display: flex;
  justify-content: center;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 732px;
}




/* COLOR DE TARJETAS CON FOTOS MISION VISION ETC. */

.card
{
  background-color: #e0e0e5;
  box-shadow: 5px 5px 2rem #5a5a5c,
  -5px -5px 2rem #ffffff;
  padding: 1rem;
  width: 350px;
  border-radius: 1rem;
}

/* COLOR DE TARJETAS CON FOTOS MISION VISION ETC. */






.img-card
{
  position: relative;
  /* padding-bottom: 56.25%; 16:9 Aspect Ratio */
  /* background: linear-gradient(0deg, #00000088 30%, #ffffff44 100%); */
}

.card img
{
  /* box-shadow: 5px 5px 1rem #5a5a5c,
  -5px -5px 1rem #ffffff; */
  width: 100%;
  border-radius: 1rem;
}

.card h4
{
  text-transform: capitalize;
}

.card p
{
  color: #1a1a1d;
}



/* SECCIOND DE IMAGENES DEL PERSONAL COLOR DE FONDO */

.section-portfolio
{
  width: 100%;
  height: 100%;
  padding: 5vh 0;
  background-color: #1d1a1b;
}

/* SECCIOND DE IMAGENES DEL PERSONAL COLOR DE FONDO */


.page-portfolio
{
  width: 100%;
  padding: 5rem 0;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  background-color: var(--dark);
}

.modal
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding-top: 100px;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  /* background-color: rgba(0,0,0,0.9); */
  backdrop-filter: blur(10px);
  transition: all 300ms ease;
}

.modal.open
{
  opacity: 1;
  pointer-events: all;
}

.modal .modal-img
{
  position: absolute;
  height: 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  transition: all 300ms ease;
}

.modal .modal-img.open
{
  transform: translate(-50%, -50%) scale(1);
}

.modal .caption
{
  color: #ffffff;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -5%);
}

.img-container
{
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 20% 0;
}

.mask
{
  overflow: hidden;
  width: 60%;
  float: left;
}

.img-container .info
{
  width: 35%;
  float: right;
}

.mask img
{
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  transform-origin: left;
  object-fit: cover;
  display: block;
}

.mask iframe
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  transform-origin: left;
  object-fit: cover;
  display: block;
}

.video-wrapper
{
  position: relative;
  height: 0;
 /* height / width * 100% = 315 / 560 * 100% = 56.25% */
  padding-top: 56.25%;
}

.img-container:nth-child(even) .mask
{
  float: right;
}

.img-container:nth-child(even) .info
{
  text-align: right;
  float: left;
}

/* TEXT - HEADERS - FONTS */

h1
{
  font-weight: normal;
  font-size: 7vw;
  color: var(--gray);
}

h2
{
  font-weight: normal;
  font-size: 4rem;
  color: var(--light);
}

h3
{
  font-weight: 600;
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

h4
{
  font-weight: 600;
  font-size: 2rem;
  color: var(--dark);
}

.paragraph
{
  font-size: 1.25rem;
  line-height: 150%;
}

.highlight
{
  color: #a2645d;
}

.image-grid
{
  width: 100%;
  margin: 0 auto;
  padding: 2rem 0;
  display: grid;
  /* 1140 */
  /* grid-template-columns: repeat(3, minmax(270px, 1fr)); */
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 270px;
  grid-auto-flow: dense;
  grid-gap: 2rem;
}

.image-grid .image-box
{
  position: relative;
  overflow: hidden;
  /* aspect-ratio: 4 / 3; */
  border-radius: 2rem;
}

.image-grid .image-box:nth-child(7n + 1)
{
  grid-column: span 2;
  grid-row: span 2;
}

.image-grid .image-box img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 500ms ease;
}

.image-grid .image-box:hover img
{
  transform: scale(1.1);
  filter: brightness(0.5);
}

.image-grid .image-box h3
{
  width: 100%;
  margin: auto;
  text-align: center;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  color: var(--light);
  border-bottom: none;
  pointer-events: none;
  transition: all 500ms ease;
}

.image-grid .image-box:hover h3
{
  opacity: 1;
}

.footer
{

  width: 100%;
  height: 100%;
}

.container
{
  width: 100%;
  margin: auto;
}

.container h1
{
  text-align: center;
}

.row
{
  display: flex;
  flex-wrap: wrap;
}

.footer-col
{
  padding: 0 1rem;
  flex: 0 0 50%;
  max-width: 50%;
  margin-bottom: 2rem;
}

.footer-col.lg
{
  flex: 0 0 100%;
  max-width: 100%;
}

.footer-col h4
{
  display: inline-block;
  text-transform: capitalize;
  margin-bottom: 2rem;
  position: relative;
}

.footer-col h4::before
{
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  background-color: var(--cyan);
  height: 3px;
  box-sizing: border-box;
  width: 50px;
}

.footer-col ul li:not(:last-child)
{
  margin-bottom: 0.5rem
}

li
{
  list-style: none;
}

.footer-col ul li a
{
  text-decoration: none;
  color: var(--gray);
  display: block;
  padding-left: 0px;
  transition: all 300ms ease;
}

.footer-col ul li a:hover
{
  color: var(--light);
  padding-left: 0.5rem;
}

.socials
{
  display: flex;
}

.margin-right
{
  margin-right: 0.5rem;
}

.icon
{
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2.5rem;
  font-size: 1.25rem;
  margin-top: 1rem;
  line-height: 2.5rem;
  text-align: center;
  vertical-align: middle;
  background-color: #302a2a;
  color: var(--gray);
  transition: all 300ms ease;
}




.icon:hover
{
  color: var(--light);
  transform: scale(1.2);
}

hr
{
  margin: 3rem 0;
}

.input-box
{
  width: 100%;
  height: 100%;
  position: relative;
}

input,
textarea
{
  width: 100%;
  height: 100%;
  background: transparent;
  color: var(--gray);
  border: none;
  border-bottom: 2px solid var(--gray);
  font-size: 1rem;
  padding: 0.5rem;
  outline: none;
  resize: none;
  transition: all 300ms ease;
}

.input-box .details
{
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  color: var(--gray);
  transition: all 0.3s ease;
  pointer-events: none;
}

input:focus ~ .details, textarea:focus ~ .details,
input:valid ~ .details, textarea:valid ~ .details
{
  position: absolute;
  top: -10px;
  font-size: 0.75rem;
  background-color: var(--dark);
  color: #2196f3;
}

.btn-submit
{
  margin: 0 0.5rem;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--gray);
  font-size: 1.25rem;
  transition: all 300ms;
  float: right;
}

.btn-submit:hover
{
  color: var(--light);

}

::-webkit-scrollbar
{
  width: 10px;
}

::-webkit-scrollbar-thumb
{
  background: #6a6a70;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover
{
  background: #8a8a90;
}

::selection
{
  background: var(--gray);
}

@keyframes float {
  0%
  {
    transform: translatey(5vh);
	}

	50%
  {
    transform: translatey(-5vh);
	}

	100%
  {
    transform: translatey(5vh);
	}
}

@media (max-width: 480px) {

  .img-container
  {
    width: 100%;
  }

  .img-container .mask
  {
    width: 100%;
  }

  .footer-col
  {
    width: 100%;
    text-align: center;
  }

  .footer-col h4::before
  {
    content: "";
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: -10px;
    background-color: #ff3f81;
    width: 50px;
    height: 2px;
    box-sizing: border-box;
  }

  .wrapper-grid
  {
    grid-template-columns: 100%;
  }
}

@media (max-width: 991px) {


  .hamburger
  {
    display: block;
  }

  
  .nav-links ul
  {
    position: fixed;
    top: 80px;
    left: 0px;
    gap: 0;
    flex-direction: column;
    text-align: center;
    background-color: #3a3a3030;
    width: 100%;
    transition: all 300ms ease;
    clip-path: circle(0% at 100% 0%);
  }
  
  .nav-links li
  {
    margin: 0.5rem 0;
  }

  .nav-links button
  {
    margin: 0.5rem 0;
  }

  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 250px;
  }

  .image-grid .image-box:nth-child(7n + 1) {
    grid-column: unset;
    grid-row: unset;
  }

  .aligner-flex
  {
    flex-direction: column;
    padding: 0 30px;
    width: 100%;
  }

  .left
  {
    width: 100%;
    text-align: center;
  }

  .info
  {
    width: 100%;
    text-align: center;
  }

  .bg-left
  {
    width: 50%;
  }

  .bg-left .hero
  {
    margin: auto 30%;
    width: 140%;
    bottom: 10%;
  }

  .text-container
  {
    bottom: 20%;
    width: 90%;
    text-align: center;
    margin: auto;;
  }

  .text-container p
  {
    display: none;
  }

  .text-container h1
  {
    font-size: 15vw;
    margin: 0px auto;
    left: 0;
    right: 0;
    bottom: 120%;
  }

  .img-container .mask
  {
    width: 100%;
  }

  .img-container .info
  {
    width: 100%;
  }

  .img-container:nth-child(even) .info
  {
    text-align: left;
  }

  .footer
  {
    align-items: center;
    text-align: center;
  }

  .footer .socials
  {
    justify-content: center;
  }
  
}

@media (min-width: 576px) {
  .container
  {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container
  {
    max-width: 720px;
  }
  
  .aligner-flex
  {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container
  {
    max-width: 960px;
  }

  .aligner-flex
  {
    max-width: 960px;
  }
  
  .footer-col.lg
  {
    flex: 0 0 32%;
    max-width: 32%;
  }
  
  .footer-col
  {
    padding: 0 1rem;
    flex: 0 0 18%;
    max-width: 18%;
  }
}

@media (min-width: 1200px) {
  .container
  {
    max-width: 1140px;
  }

  .aligner-flex
  {
    max-width: 1140px;
  }
  
}

@media (min-width: 1600px) {
  .container
  {
    max-width: 1380px;
  }
  
  .aligner-flex
  {
    max-width: 1380px;
  }
}

@media (min-width: 1920px) {
  .container
  {
    max-width: 1520px;
  }
  
  .aligner-flex
  {
    max-width: 1520px;
  }

}

.preloader
{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  width: 100%;
  height: 100vh;
  z-index: 50;
  background-color: #0d0a0a;
  flex-direction: column;
}

.percent
{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  color: white;
  font-size: 150px;
  mix-blend-mode: difference;
}

.bar
{
  width: 60%;
  height: 10%;
}

.bar-container
{
  width: 1%;
  height: 100%;
  background-color: #f0f0f5;
}































.social-buttons {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20vh;
}

.social-buttons__button {
  margin: 10px 5px 0;
}

.social-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  width: 70px;
  height: 70px;
  text-decoration: none;
}

.social-button__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: 1000%;
  background: #fff;
  text-align: center;
}

.social-button i,
.social-button svg {
  position: relative;
  z-index: 1;
  transition: 0.3s;
}

.social-button i {
  font-size: 28px;
}

.social-button svg {
  height: 40%;
  width: 40%;
}

.social-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 0;
  height: 0;
  border-radius: 100%;
  transition: 0.3s;
}

.social-button:focus,
.social-button:hover {
  color: #fff;
}

.social-button:focus::after,
.social-button:hover::after {
  width: 100%;
  height: 100%;
  margin-left: -50%;
}

.social-button--mail {
  color: #BB001B;
}

.social-button--mail::after {
  background: #BB001B;
}

.social-button--facebook {
  color: #3b5999;
}

.social-button--facebook::after {
  background: #3b5999;
}

.social-button--linkedin {
  color: #0077b5;
}

.social-button--linkedin::after {
  background: #0077b5;
}

.social-button--tiktok {
  color: #6e5494;
}

.social-button--tiktok::after {
  background: #c40c7d;
}

.social-button--twitter {
  color: #55acee;
}

.social-button--twitter::after {
  background: #55acee;
}

.social-button--instagram {
  color: #e4405f;
}

.social-button--instagram::after {
  background: #e4405f;
}

