
/* ANIMACION SUAVE PARA CAMBIO DE SECCION */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body,
html {
background: #131e25;
background: #001220;
scroll-behavior: smooth;
margin: 0;
padding: 0;
box-sizing: border-box;
}

body::-webkit-scrollbar {
  display: none;
}

/* NAVBAR */
header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.6s;
  padding: 40px 100px;
  z-index: 100000;
}
/* NAVBAR */

/* NAVBAR STICKY AL HACER SCROLL DOWN */

/* CONF NAVBAR RECTANLE */
header.sticky{
  padding: 10px 100px;
  background: whitesmoke;
  border-radius: 10px;
}

/* CAMBIO DE COLOR DE LI */

header.sticky ul li a{
  color: #000;
  font-weight: 700;
  font-size: 20px;
}


/* NAVBAR STICKY AL HACER SCROLL DOWN */


header .logo{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-image: url(/logoblanco.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 100px;
  height: 100px;
  transition: 0.6;
}

.logoN {
  position: relative;
  background-image: url(/logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 100px;
  height: 100px;
 }

header ul{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

header ul li {
  position: relative;
  list-style: none;
}

/* cambiar color al pasar por encima */
header ul li :hover {
  color: #000;
}

header ul li a{
  position: relative;
  margin: 0 20px;
  text-decoration: none;
  color: #fff;
  letter-spacing: 2px;
  font-weight: 700px;
  font-size: 20px;
  transition: 0.6;
}




     
/* TEXTOS ANIMADO */
.text-container {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-container h1 {
  margin: 0;
  font-size: 150px;
  color: rgba(255, 0, 0, 0.01);
  background-image: url("https://4kwallpapers.com/images/wallpapers/colorful-background-texture-multi-color-orange-illustration-2048x2048-3104.jpg");
  background-repeat: repeat;
  -webkit-background-clip: text;
  animation: animate 15s ease-in-out infinite;
  text-align: center;
  font-weight: 900;
  margin-bottom: 150px;
}

@keyframes animate {

  0%,
  100% {
    background-position: left top;
  }

  25% {
    background-position: right bottom;
  }

  50% {
    background-position: left bottom;
  }

  75% {
    background-position: right top;
  }
}

.tex-container-sub{
  /* POSICION DE LAS LETRAS */
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: 270px;
  right: 75px;
  margin: auto;
  /* POSICION DE LAS LETRAS */

  /* MEDIDAS */
  width: 1000px;
  height: 100px;
  font-size: 80px;
  font-weight: 900;
  /* MEDIDAS */
  color: #fff;

 /* ESCONDER LOS ELEMENTOS NO MOSTRADOS */
  overflow: hidden;
}

.ul_banner{
list-style: none;
padding-left: 10px;
animation: move 7s infinite;
}


@keyframes move {
  0%{margin-top: 0;}
  20%{margin-top: 0;}

  25%{margin-top: -130px;}
  50%{margin-top: -130px;}

  55%{margin-top: -250px;}
  80%{margin-top: -250px;}

  85%{margin-top: -370px;}
  95%{margin-top: -370px;}

  100%{margin-top: 0px;}
}
/* TEXTOS ANIMADO */




.quiensoy{
  background-image: url(/img/background/background-quien.svg);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  height: auto;
  display: flex;
  flex-direction: row-reverse;
}

dialog::backdrop {
  background: rgba(234, 206, 227, 0.9);
}

#modal{
margin: 0 auto;
margin-top: 120px;
text-align: center;
width: 1100px;
height: 600px;
background-color: grey;
border-radius: 15px;
}

.button-black {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 15px;
  transition: background-color 0.3s ease;
}

.button-black:hover {
  background-color: #130202;
}




.hobbies{
  background-image: url(/img/background/background-hobbies.svg);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  height: auto;
  display: flex;
}

.futuro{
  position: relative;
  height: auto;
  background-image: url(/img/background/background-10.svg);
 background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: row-reverse;
}



.header .footer{
  background: #001220;
  color: white;
  height: 850px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card_sec{ 
  background: rgb(20, 50, 100, 0.9);
  background: #001220;;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
}

.fancy {
  --b: 6px;   /* control the border thickness */
  --w: 80px;  /* control the width of the line*/
  --g: 15px;  /* control the gap */
  --c: #0B486B;
 
  width: fit-content;
  padding: 0 1em;
  line-height: 1.6em;
  border: 1px solid;
  color: #fff;
  background: 
    conic-gradient(from   45deg at left ,var(--c) 25%,#0000 0) 0,
    conic-gradient(from -135deg at right,var(--c) 25%,#0000 0) 100%;
  background-size: 51% 100%;
  background-origin: border-box;
  background-repeat: no-repeat;
  border-image: 
     linear-gradient(
       #0000      calc(50% - var(--b)/2),
       var(--c) 0 calc(50% + var(--b)/2),
       #0000    0) 
    1/0 var(--w)/calc(var(--w) + var(--g));
  margin-inline: auto;
}

#pading_card{
  padding-top: 60px;
}







/* EFECTO DE BOMBEO PARA LAS CARDS */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
/* EFECTO DE BOMBEO PARA LAS CARDS */

.size_icons{
  width: 60px;
  height: 60px
}


.container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background: #001220;
  margin: 0 130px;
}

.container .card {
  position: relative;
  cursor: pointer;
  animation: pulse 8s infinite;
}

.container .card .face {
  width: 400px;
  height: 250px;
  transition: 0.5s;
  border-radius: 15px;
}

.container .card .face.face1{
  position: relative;
  background: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transform: translateY(100px);
}

.container .card:hover .face.face1{
  background: #ff0057;
  transform: translateY(0);
}

.container .card .face.face1 .content{
  opacity: 0.2;
  transition: 0.5s;
  text-align: center;
}

.container .card:hover .face.face1 .content{
  opacity: 1;
}

.container .card .face.face1 .content img{
  max-width: 200px;
}

.container .card .face.face1 .content h3{
  margin: 10px 0 0;
  padding: 0;
  color: #fff;
  text-align: center;
  font-size: 1.5em;
}

.container .card .face.face2{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: translateY(-100px);
}

.container .card:hover .face.face2{
  transform: translateY(0);
}

.container .card .face.face2 .content p{
  margin: 0;
  padding: 0;
}

.container .card .face.face2 .content a{
  margin: 15px 0 0;
  display:  inline-block;
  text-decoration: none;
  font-weight: 900;
  color: #333;
  padding: 5px;
  border: 1px solid #333;
}


.container .card .face.face2 .content a:hover{
  background: #333;
  color: #fff;
}

.container .card .face.face2 .content img {
  margin: 10px; /* Agrega espacio entre los iconos */
}

#card_itb{
width: 500px;
height: 500px;
margin-top: 20px;
background-image: url(/img/img_estudios/itb.JPG);
}

#card_cep{
  width: 500px;
  height: 500px;
  margin-top: 20px;
  background-image: url(/img/img_estudios/cep.jpg);
}

#card_nttbcn{
  width: 680px;
  height: 360px;
  margin-top: 20px;
  background-image: url(/img/nttbcn_video.gif);
  background-repeat: no-repeat;
}


#card_kenia{
  width: 680px;
  height: 358px;
  margin-top: 20px;
  background-image: url(/img/KENIA.gif);
  background-repeat: no-repeat;
}











section .imgBx {
  position: sticky;
  top: 0;
  min-width: 50%;
  height: 100vh;
}


section .imgBx img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
}

.quiensoy .content {
  padding: 100px 0 100px 100px;
  text-align: right;
}

.hobbies .content {
  padding: 100px 100px 100px 0;
  text-align: left;
}

.futuro .content {
  padding: 100px 0 100px 100px;
  text-align: right;
}

/* .section4 .content {
  padding: 100px 100px 100px 0;
  text-align: left;
} */

section .content h2 {
  color: #777;
  margin: 0 0 20px;
  font-size: 60px;
}

section .content p {
  color: #fff;
  font-size: 25.1px;
}

input[type="submit"] {
  border: 0;
  background-color: #fff;
  display: block;
  font-size: 18px;
  margin: 20px auto;
  font-weight: 500;
  text-align: center;
  border: 2px solid #536DFE;
  padding: 14px 40px;
  outline: none;
  color: #000000;
  border-radius: 24px;
  cursor: pointer;
  transition: 0.5s ease-in-out;
}

input[type="submit"]:hover {
  background: lightgray;
}


/* SEPARADOR */
.triangle {
  position: relative;
  background: #2c3e50;
  height: 350px;
}

.triangle::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 100px 100px 0 100px;
  border-color: #2c3e50 transparent transparent transparent;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
}
/* SEPARADOR */




/* SECTION 1 */
#h2_section2 {
  padding-top: 762px; /* PADING PARA PRODUCIR EFECTO DE LETRA SUBIR */
}

#h2_section1 {
  padding-top: 600px; /* PADING PARA PRODUCIR EFECTO DE LETRA SUBIR */
}
/* SECTION 1 */
#margen{
padding-bottom: 200px;
}

/* FORMULARIO *//* FORMULARIO *//* FORMULARIO *//* FORMULARIO */

.container_contact{
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 50px 100px;
}

.contact-box{
	max-width: 1550px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: #2b2a2a;
	box-shadow: 0px 0px 19px 5px rgba(0,0,0,0.19);
  border-radius: 15px;
}

.left{
	background: url("/img/CONTACT.png") no-repeat center;
  background-size:410PX;
  border-radius: 15px;
	height: 100%;
}

.right{
	padding: 25px 40px;
}

.field{
	width: 100%;
	border: 2px solid rgba(0, 0, 0, 0);
	outline: none;
	background-color: rgba(230, 230, 230, 0.6);
	padding: 0.5rem 1rem;
	font-size: 1.1rem;
	margin-bottom: 22px;
	transition: .3s;
}

.field:hover{
	background-color: rgba(0, 0, 0, 0.1);
}

textarea{
	min-height: 150px;
}

.btn{
	width: 100%;
	padding: 0.5rem 1rem;
	background-color: #2ecc71;
	color: #fff;
	font-size: 1.1rem;
	border: none;
	outline: none;
	cursor: pointer;
	transition: .3s;
}

.field:focus{
    border: 2px solid rgba(30,85,250,0.47);
    background-color: #fff;
}
/* FORMULARIO *//* FORMULARIO *//* FORMULARIO *//* FORMULARIO */
