/**
* Template Name: MyResume
* Template URL: https://bootstrapmade.com/free-html-bootstrap-template-my-resume/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #45505b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0563bb; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #45505b;  /* The default color of the main navmenu links */
  --nav-hover-color: #0563bb; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0563bb; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);

}

/*****memo******/


a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  min-width: 200px;
}

@media (max-width: 1199px) {
  .header {
    background-color: var(--background-color);
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    width: 300px;
    left: -100%;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .header~main {
    margin-left: 160px;
  }

  .header~main .hero {
    margin-left: -160px;
    width: 100vw;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
  width: 140px;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  font-family: var(--nav-font);
  display: flex;
  align-items: center;
  padding: 10px 18px;
  margin-bottom: 8px;
  font-size: 15px;
  border-radius: 50px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

.navmenu a i,
.navmenu a:focus i {
  font-size: 20px;
}

.navmenu a span,
.navmenu a:focus span {
  padding: 0 5px 0 7px;
}

@media (min-width: 992px) {

  .navmenu a,
  .navmenu a:focus {
    max-width: 56px;
  }

  .navmenu a span,
  .navmenu a:focus span {
    display: none;
  }
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus,
.navmenu li:hover>a {
  color: var(--contrast-color);
  background: var(--nav-hover-color);
}

.navmenu a:hover,
.navmenu li:hover>a {
  max-width: 100%;
  color: var(--contrast-color);
}

.navmenu a:hover span,
.navmenu li:hover>a span {
  display: block;
}


/*****memo******/



.starter-section {
  /* Add your styles here */
}

.backhero{
  width: 100wv;
  height: 100vh;
  position: fixed;
  left: 0;
  right: 0;
  background-image: url(../img/hero/backhero.png);
  background-size: cover;
  z-index: -100;
  
}

.carousel-container {
  position: absolute;
  top: 0;
  width: 600%; /* Ancho total del carrusel (6 slides) */
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out; /* Transición suave */
  
}

/* Breakpoint para tablets (por ejemplo, 768px) */
@media (min-width: 10px) {
  .header~main {
    margin-left: 0px !important;
  }
  .hero-carousel {
    width: calc(100% - 10px); /* Ajusta el ancho del contenedor */
    min-height: 100vh;
    position: relative;
    margin-left: 15px;
    
    overflow-x: hidden; /* Oculta el contenido que se desborda */
  }
  .slide{
    padding-top: 80px;
  }
  
    /* Otros estilos específicos para tablets */
}

/* Breakpoint para escritorios pequeños (por ejemplo, 992px) */
@media (min-width: 992px) {
  .header~main {
    margin-left: 160px !important;
  }
  .hero-carousel {
    width: calc(100% - 40px); /* Ajusta el ancho del contenedor */
    height: 100vh;
    position: relative;
    margin-left: 40px;
    overflow: hidden; /* Oculta el contenido que se desborda */
  }
  .slide{
    padding-top: 0;
  }
  
    /* Otros estilos específicos para escritorios pequeños */
}

/* Breakpoint para escritorios grandes (por ejemplo, 1200px) */
@media (min-width: 1200px) {
  .header~main {
    margin-left: 160px !important;
  }

  .hero-carousel {
    width: calc(100% - 40px); /* Ajusta el ancho del contenedor */
    height: 100vh;
    position: relative;
    margin-left: 40px;
    overflow: hidden; /* Oculta el contenido que se desborda */
  }
  
    /* Otros estilos específicos para escritorios grandes */
}




.slide {
  width: calc(100% / 6); /* Cada slide ocupa el 100% del ancho visible */
  height: 100%;
  flex-shrink: 0; /* Evita que los slides se encojan */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.slide-txt {
  text-align: center;
}

.slide-txt h1 {
  color: #F2BF08;
}

.slide-txt p {
  color: #004765;
}

.slide-txt p span {
  color: #004765;
  font-weight: bold;
  font-size: 2em;
}

.slide-txt a {
  text-align: center;
}

.barra {
  position: fixed;
  height: 70px;
  z-index: 50;
}

.logo {
  height: auto;
  width: 155px;
  margin-left: 15px;
  margin-top: 15px;
  
}

/* .header~main {
  margin-left: 160px !important;
} */


.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #004765; /* Color inactivo */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #F2BF08; /* Color activo */
}

.total {
  background-color: #e7e7e7;
  width: 100vw;
  height: 100vh;
}

.justificado{
  text-align: justify;
}

.blueK{
  color: #004765;
  font-weight: bold;
  font-size: 1.3em;
}

.titulo{
  color: #004765;
  font-weight: bold;
  text-align: end;
}

.c-gnp{
  color: #fc6c25;
  font-weight: bold;
  font-size: 1.3em;
}

.blogt{
  background-color: #004765;
}
.blogt  h1{
  background-color: #004765;
  font-weight: bold;
  font-size: 4em;
  border-radius: 10px;
  padding: 2px;
  text-align: center;
  color: #F2BF08;
}


.blogt p{
  text-align: justify;
  color: #ffffff;
  /* color: #004765; */
  border-radius: 30px;
  padding: 15px;
}


@media screen and (min-width: 1301px) and (orientation: landscape) {
  .mmenu{
    margin-left: 200px;
  }

  /* Extra large screens */
  .backtopblog{
    width: calc(100% - 190px);
    margin-left: 190px;
    height: 100vh;
    background-image: url(../img/topblog.jpg);
    background-size: cover;
  }

  .blogt{
    width: 40%; 
    height: 100vh;
   
  }
}

@media screen and (min-width: 1025px) and (max-width: 1300px) and (orientation: landscape) {
  /* Large screens */

  .mmenu{
    margin-left: 200px;
  }

  .backtopblog{
    width: 100wv;
    height: 100vh;
    
    background-image: url(../img/topblog.jpg);
    background-size: cover;
  }
  .blogt{
    width: 40%; 
    height: 100vh;
   
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  /* Medium screens */

  .mtop{
    height: 100px;
  }
  
  .mmenu{
    margin-left: 200px;
  }

  .backtopblog{
    width: 100%;
    height: 100vh;
    
    background-image: url(../img/topblog.jpg);
    background-size: cover;
  }
  .blogt{
    width: 100%; 
    height: 100vh;
   
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) and (orientation: landscape) {
  /* Tablets */

  .mtop{
    height: 100px;
  }
  
  .mmenu{
    margin: 0;
  }
  .backtopblog{
    width: 100%;
    height: 100vh;
   
  }
  .blogt{
    width:100%; 
    height: 100vh;
   
  }
}

@media screen and (max-width: 480px) {
    /* Phones */
    .mtop{
      height: 100px;
    }
    
  .backtopblog{
    width: 100wv;
    height: 100vh;
   
  }
}


@media only screen  and (orientation: portrait) {
  .mmenu{
    margin: 0;
  }
  .backtopblog, .blogt{
    width: 100wv !important; 
    height: 100vh;
   
  }

  .backtopblog{
    background-image: url(../img/topblogh.jpg);
    background-size: cover;
    
  }

  .blogt{
    padding-top: 100px;
    
  }

  .blogt  h1{
    font-size: 3em;
  }
  
}


.oferta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Permite que los divs se acomoden cuando el espacio es reducido */
  gap: 10px; /* Agrega espacio entre los divs */
}

.trapezoid {
  width: 15vw; /* Ajusta el tamaño */
  height: 100vh; /* Ajusta la altura */
  background-color: #f0f0f0;
  clip-path: polygon(0% 100%, 20% 0%, 100% 0%, 80% 100%); /* Clip más agresivo para el ángulo */
  margin: 0;
  flex-grow: 1;
  transition: ease all .3;
  position: relative; /* Necesario para posicionar el título en la base */
}

.trapezoid:hover {
  transform: scale(1.05); /* Aumenta el tamaño al pasar el mouse */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra al pasar el mouse */
}

.trapezoid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Media Query para pantallas pequeñas */
@media (max-width: 768px) {
  .trapezoid {
    width: 45vw; /* Los divs ocupan más espacio en pantallas pequeñas */
    height: 40vh;
  }
}

/* Media Query para pantallas muy pequeñas (móviles en modo retrato) */
@media (max-width: 480px) {
  .trapezoid {
    width: 90vw; /* Los divs ocupan casi toda la pantalla */
    height: 50vh; /* Ajusta la altura */
  }
}


.titulolink{
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  color: #fff; /* Color del texto */
  text-align: center;
  padding: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  box-sizing: border-box; /* Asegura que el padding no afecte el tamaño total */
}



/* Container for both sections */
.contacto-det {
  display: flex;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  flex-wrap: wrap; /* Allow the sections to stack on smaller screens */
}

/* Left side: Contact information */
.contact-info {
  background-color: #2b3a56;
  color: white;
  padding: 30px;
  width: 50%;
  box-sizing: border-box;
}

.contact-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 10px;
}

.contact-info a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.contact-info .social-media {
  margin-top: 20px;
}

.contact-info .social-media a {
  color: white;
  margin-right: 10px;
  text-decoration: none;
}

/* Right side: Contact form */
.contact-form {
  padding: 30px;
  width: 50%;
  box-sizing: border-box;
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-form p {
  font-size: 16px;
  margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background-color: #2b3a56;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  width: 100%;
}

.contact-form button:hover {
  background-color: #1d2a40;
}

/* Media Queries for Responsiveness */

/* When the screen is 768px or smaller (e.g., tablets, mobile devices) */
@media (max-width: 768px) {
  .contacto-det {
    flex-direction: column; /* Stack the contact info and form vertically */
  }

  .contact-info, .contact-form {
    width: 100%; /* Make each section take full width */
  }

  .contact-info {
    padding: 20px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-info h2, .contact-form h2 {
    font-size: 20px;
  }

  .contact-info p, .contact-form p {
    font-size: 14px;
  }

  .contact-info .social-media a {
    font-size: 14px;
    margin-right: 5px;
  }
}

/* When the screen is 480px or smaller (e.g., very small mobile devices) */
@media (max-width: 480px) {
  .contact-info h2, .contact-form h2 {
    font-size: 18px;
  }

  .contact-info p, .contact-form p {
    font-size: 12px;
  }

  .contact-info .social-media a {
    font-size: 12px;
  }

  .contact-form button {
    padding: 12px 10px; /* Adjust button padding for smaller screens */
  }
}

.topformacion p{
  text-align: justify;
  margin: 10px;
}

.topformacion{
  background-color: white;
  border-radius: 30px;
  padding: 5px;
}

.prodsformacion{
  margin: 10px 0;
}

.carback{
 margin: 10px 0 10px 0;
 background-color: white;
}