/*Vinculación tipografía externa*/
@font-face {
  font-family: "Amplitude-Comp-Bold";
  src: url(../fonts/Amplitude-Comp-Bold.ttf);
}

@font-face {
  font-family: "Inter-Regular";
  src: url(../fonts/Inter-Regular.ttf);
}

@font-face {
  font-family: "Inter-Semibold";
  src: url(../fonts/Inter-SemiBold.ttf);
}


/*Estilos del ejercicio*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: #FFFFFE;
  font-family: "Inter-Regular", sans-serif;
  line-height: 1.5;
}

/*Estilos del header*/
header {
  background-color: #222222;
}

.navbar {
  min-height: 80px;
}

.navbar-brand {
  font-family: "Amplitude-Comp-Bold", Verdana, Geneva, Tahoma, sans-serif;
  font-size: 25px;
  color: #B9D6BA;
}

.nav-link {
  color: #FFFFFE;
  font-size: 17px;
  font-weight: 500;
  margin-left: 2rem;
}

.nav-link:hover {
  color: #B9D6BA;
}


/* Animación del logo */
.navbar-brand {
  opacity: 0;
  filter: blur(10px);
  animation: foco 2.5s ease-out forwards;
}

@keyframes foco {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

/*Configuración de la sección principal main*/
main {
  width: 100%;
  max-width: 1440px;
  margin: 10px auto;
  padding: 32px;
}

/*Separador*/
.separador-asterisco {
  position: relative;
  height: 1.5px;
  background-color: #E5E5E5;
}

.separador-asterisco::after {
  content: "*";
  position: absolute;
  top: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFE;
  padding: 0 0.5rem;
  font-family: "Amplitude-Comp-Bold", Verdana, Geneva, Tahoma, sans-serif;
  color: #B9D6BA;
  font-size: 40px;
}


/*Estilos cards*/
.card-portafolio {
  overflow: hidden;
}

.imagen-portafolio {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-wrapper {
  height: 400px;/
}

.contenido-texto {
  padding: 1rem 6rem;
  text-align: left;
}

.textos h4 {
  color: #353535;
  font-family: "Inter-Semibold", sans-serif;
  font-size: 30px;
  margin-bottom: 10px;
}

.textos p {
  font-size: 16px;
  color: #6E746F;
}

.btn-primary {
  background-color: #B9D6BA;
  color: #222222;
  padding: 8px 30px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background-color 500ms;
}

.btn-primary:hover {
  background-color: #222222;
  color: #B9D6BA;
}


@media (max-width: 767.98px) {
  .img-wrapper {
    height: 250px;/
  }

  .imagen-portafolio {
    height: 250px;
  }

  .contenido-texto {
    padding: 1rem 1.5rem;
  }

  .textos h4{
    margin-top: 14px;
    font-size: 20px;
  }

  .textos p{
    font-size: 15px;
  }
}

/* Estilos del Footer */
.footer-custom {
    background-color: #B3C4B7;
}

/* Fila principal */
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Item */
.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icono */
.icon-circle {
    width: 42px;
    height: 42px;
    background-color: #FFFFFE;
    color: #B3C4B7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    flex-shrink: 0;
}

.icon-circle:hover {
    background-color: #222222;
    color: #B3C4B7;
}

/* Texto */
.icon-label {
    font-size: 14px;
    color: #FFFFFE;
    white-space: nowrap;
}

/* Responsive Móvil */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .icon-label {
        white-space: normal;
        text-align: center;
    }
}