/**
* Template Name: iPortfolio
* Updated: Sep 18 2023 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --bg-body: #060b12;
  --bg-main: #0b121b;
  --bg-section: #0f1722;
  --bg-section-alt: #111c2a;
  --text-primary: #e7eef9;
  --text-secondary: #b7c5d9;
  --accent: #149ddd;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-primary);
  background: var(--bg-body);
  cursor: default;
}

a {
  color: #149ddd;
  text-decoration: none;
}

a:hover {
  color: #37b3ed;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #149ddd;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #2eafec;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  transition: all 0.5s;
  padding: 0 15px;
  background: #040b14;
  overflow-y: auto;
}

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid #2c2f3f;
}

#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}

#header .profile h1 a,
#header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #212431;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  background: #149ddd;
  color: #fff;
  text-decoration: none;
}

#main {
  margin-left: 300px;
  background: var(--bg-main);
}

.container,
.container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }

  #main {
    margin-left: 0;
  }

  .container,
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  padding: 30px 0 0 0;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover>a i {
  color: #149ddd;
}

.nav-menu .nav-favicon {
  margin-top: 12px;
  padding: 10px 15px 0;
  text-align: center;
}

.nav-menu .nav-favicon img {
  display: inline-block;
  width: 90px;
  height: 90px;
  object-fit: contain;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #149ddd;
  color: #fff;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.email{
  color: rgb(240, 233, 233);
  padding-left: 10px;
}

#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/ChatGPT Image 23 abr 2026, 19_56_02.png") top center;
  background-size: cover;
}

#hero:before {
  content: "";
  background: rgba(5, 13, 24, 0.3);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#hero .hero-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
  text-shadow: 0 0 5px #000;
}

#hero p {
  color: #fff;
  margin-bottom: 50px;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

#hero p span {
  color: #fff;
  font-weight: 800;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #149ddd;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

#hero .typed-cursor {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# programacion
--------------------------------------------------------------*/

.programacion {
  padding-top: 20px;
}

.programacion .icon-box {
  padding-left: 15px;
}

.programacion .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.programacion .icon-box i {
  font-size: 48px;
  float: left;
  color: #ffc451;
}

.programacion .icon-box p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-left: 60px;
}

#programacion .programacion-media {
  display: flex;
}

#programacion .programacion-media img {
  width: 100%;
  height: auto;
  max-height: clamp(360px, 62vh, 760px);
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

#programacion .programacion-text .icon-box {
  margin-top: 1.5rem !important;
}

#programacion .programacion-text .icon-box:first-child {
  margin-top: 0 !important;
}

#habilidades .habilidades-media {
  display: flex;
}

#habilidades .habilidades-swiper {
  width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
}

#habilidades .habilidades-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

#habilidades .habilidades-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  max-height: clamp(360px, 62vh, 760px);
  object-fit: contain;
  display: block;
}

#habilidades .habilidades-text .icon-box {
  margin-top: 1.5rem !important;
}

#habilidades .habilidades-text .icon-box:first-child {
  margin-top: 0 !important;
}

@media (max-width: 991px) {
  #programacion .programacion-media img {
    max-height: 500px;
  }

  #programacion .programacion-media + .programacion-text {
    margin-top: 1.5rem;
  }

  #habilidades .habilidades-swiper .swiper-slide img {
    max-height: 500px;
  }

  #habilidades .habilidades-media + .habilidades-text {
    margin-top: 1.5rem;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

#main section {
  background: var(--bg-section);
}

#main section:nth-of-type(even) {
  background: var(--bg-section-alt);
}

#main p,
#main li {
  color: var(--text-secondary);
}

.section-bg {
  background: var(--bg-section-alt);
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--text-primary);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: var(--bg-section);
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
  color: var(--text-primary);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: var(--text-secondary);
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}




/*--------------------------------------------------------------
# otras habilidades
--------------------------------------------------------------*/
.habilidades {
  padding-bottom: 30px;
}

.habilidades .icon-box {
  margin-bottom: 20px;
  text-align: center;
}

.habilidades .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  background: #162235;
  border-radius: 50%;
  transition: 0.5s;
  color: #66bde9;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.habilidades .icon i {
  font-size: 36px;
  line-height: 0;
}

.habilidades .icon-box:hover .icon {
  box-shadow: 0px 0 30px rgba(66, 139, 202, 0.5);
}

.habilidades .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 15px;
}

.habilidades .title a {
  color: var(--text-primary);
  transition: 0.3s;
}

.habilidades .title a:hover {
  color: #428bca;
}

.habilidades .title::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: #428bca;
  bottom: 0;
  left: calc(50% - 25px);
}

.habilidades .description {
  line-height: 24px;
  font-size: 14px;
}
