* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*-----FONTS-----*/
@font-face {
    font-family: 'Inter-regular';
    src: url('../fonts/Inter-Regular.woff2') format('woff2'),
        url('../fonts/Inter-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter-Light';
    src: url('../fonts/Inter-Light.woff2') format('woff2'),
        url('../fonts/Inter-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter-SemiBold';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2'),
        url('../fonts/Inter-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter-Bold';
    src: url('../fonts/Inter-Bold.woff2') format('woff2'),
        url('../fonts/Inter-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter-ExtraLight';
    src: url('../fonts/Inter-ExtraLight.woff2') format('woff2'),
        url('../fonts/Inter-ExtraLight.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
        url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}


@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2'),
        url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: 'Inter', sans-serif;
}

:root {
    --negro: black;
    --blanco: white;
    --azul: #2B49FF;
    --espaciado-base: 16px;

    /* Fuentes */
    --font-bold: 'Inter-Bold', sans-serif;
    --font-semi: 'Inter-SemiBold', sans-serif;
    --font-regular: 'Inter-regular', sans-serif;
    --font-light: 'Inter-Light', sans-serif;

    /* Tamaños de fuente */
    --font-size-title: 60px;
    --font-size-subtitle: 35px;
    --font-size-parrafo: 20px;
}

/*SELECCIÓN DE TEXTO*/
/* Cambiar color de selección de texto */
::selection {
    background: var(--azul);
    /* Color de fondo */
    color: white;
    /* Color del texto */
}

/* Para compatibilidad con Firefox */
::-moz-selection {
    background: var(--azul);
    color: white;
}


/**************************
    CERTIFICACIONES
***************************/
.mis-certificaciones {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.cert-header {
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(50px);
}

.cert-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.cert-header p {
  font-size: 16px;
  color: #333;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.cert-item {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.cert-img {
  overflow: hidden;
  border-radius: 4px;
}

.cert-img img {
  width: 100%;
  transition: transform 0.3s ease;
  display: block;
}

.cert-img-link:hover img {
  transform: scale(1.05);
}

.cert-title {
  font-family: var(--font-bold);
  display: inline-block;
  margin-top: 10px;
  font-size: 16px;
  color: var(--azul);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cert-title:hover {
  color: #000;
}

.cert-info {
  font-size: 14px;
  color: #333;
  margin-top: 5px;
}

.cert-boton {
  text-align: center;
  margin-top: 40px;
}

.ver-mas {
  display: inline-block;
  font-size: 16px;
  color: #000;
  text-decoration: none;
  position: relative;
  transition: all 0.4s ease;
}

.ver-mas:hover {
  color: #0073e6;
  transform: translateX(8px);
}

.ver-mas::after {
  content: '→';
  position: absolute;
  opacity: 0;
  right: -20px;
  transition: all 0.4s ease;
}

.ver-mas:hover::after {
  opacity: 1;
  right: -30px;
}

@media (max-width: 1024px) {
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .cert-header h2 {
    font-size: 28px;
  }
}

/*TODAS CERTIFICACIONES*/
.todas-certificaciones {
  padding: 130px 20px 30px 20px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease-out;
}

.cert-container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.certall-title {
  font-family: var(--font-bold);
  font-size: 25px;
  font-weight: normal;
  margin-bottom: 10px;
}

.certall-subtitle {
  font-family: var(--font-regular);
  font-size: 25px;
  color: var(--negro);
  margin-bottom: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.divider {
  border: none;
  border-top: 1px solid var(--negro);
  margin: 40px 0;
}

.cert-list {
  font-family: var(--font-regular);
  font-size: 35px;
  line-height: 1.2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cert-list a {
  position: relative;
  color: #000;
  text-decoration: none;
  display: inline-block;
  padding: 2px 4px;
  transition: color 0.3s ease;
}

.cert-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 50%;
  width: 0%;
  height: 5px;
  background-color: var(--azul);
  transition: width 0.4s ease;
  transform: translateY(50%);
}

.cert-list a:hover::after {
  width: 100%;
}

.volver {
  margin-top: 40px;
}

.btn-volver {
  font-size: 16px;
  color: #000;
  text-decoration: none;
  position: relative;
  padding-left: 8px;
  transition: all 0.3s ease;
}

.btn-volver:hover {
  color: #0073e6;
  padding-left: 20px;
}

.btn-volver::before {
  content: '←';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.btn-volver:hover::before {
  opacity: 1;
  left: -15px;
}

@media (max-width: 768px) {
  .cert-list {
    font-size: 20px;
    text-align: left;
    justify-content: flex-start;
  }

  .cert-container {
    text-align: left;
  }

  .certall-subtitle {
  text-align: center;
  font-size: 18px;
  
  }
  .certall-title {
  text-align: center;
  font-size: 20px;

}
}