:root {
    --text-color: #1a1c20;
    --link-color: #4a76ee;
    --background-color: #eeeff1;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    max-width: 1400px;
    margin: 0 auto;
  }
  
  a {
    color: var(--link-color);
    text-decoration: none;
  }
  
  /* NAVBAR */
  
.navbar-section {
    background: var(--background-color);
    position: fixed;
    height: 60px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    z-index: 100; 
} 
.nav_logo{
    font-weight: bold;
    font-size: 20px;
    margin: 15px;
    color: var(--text-colors);
}
.nav_items a{
    margin: 15px;
    color: var(--text-color);
    position: relative;
    text-decoration: none;
}
.nav_items a::before{
    content: "";
position: absolute;
left: 0;
bottom: 0;
width: 0;
height: 2px;
background: var(--background-color);
transition: all 0.5s;
}
.nav_items a:hover::before{
    width: 100% !important;
}
.nav_toggle{
    display: none;
}


@media (max-width: 768px) {
    .nav_items{
        position: absolute;
        top: 60px;
        left: 0;
        background: var(--background-color);
        display: flex;
        flex-direction: column;
        width: 100%;
        height: -webkit-fill-available;
        transform: translateX(-100%);
        transition: 0.3s ease all;
}
.nav_items a{ text-align: center;}
.nav_toggle{
        display: flex !important;
        flex-direction: column;                
        margin: 15px;
}
.nav_toggle span{
        width: 30px;
        height: 4px;
        background: white;
        margin-bottom: 5px;
        border-radius: 2px;             
        transform-origin: 5px 0px;
        transition: all 0.2s linear;
}
.close span{
        transform: rotate(45deg) translate(0px, 0px);
}
.close span:nth-child(2){
        display: none;
}
.close span:nth-child(3){
        transform: rotate(-45deg) translate(-5px, 1px);
}
.open{ transform: translateX(0) !important}
}


  
  /* SECTION 1: Inicio */
  .Inicio-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:15px;
    margin: 100px 0;
    margin-bottom: 100px;
    gap: 40px;
  }
  
  .Inicio-section .text p {
    flex: 5;
    padding: 15px;
  }
  
  .Inicio-section .text h2 {
    font-size: 45px;
  }
  .Inicio-section .group  {
    flex: 8;
    text-align: justify;
    
  }
  

  /* SECTION 2: Acerca de mi */

  .Acercademi-section .headshot {
    flex: 2;
    display: flex;
    justify-content: center;
  }
  
  .Acercademi-section .headshot img {
  
    border-radius: 30%;
  }

  .Acercademi-section article {
    width: 45%;
    padding:15px;
    text-align: justify;
   
  }


.Acercademi-section {
    padding: 0 50px;
    margin-bottom: 100px;
  }
  
  .Acercademi-section h2 {
    text-align: justify;
    font-size: 35px;
  }
  
  .Acercademi-section .text {
    text-align: justify;
    margin-bottom: 20px;
    justify-content: justify;
  }
  
  .Acercademi-section .cells {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .Acercademi-section .cells .cell {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  
    width: 200px;
    padding: 10px 20px;
    margin: 10px;
    border: 1.5px solid #d3d3d3;
    border-radius: 5px;
  }
  
  .Acercademi .cells .cell img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 2px;
  }
  
  .Acercademi .cells .cell span {
    font-size: 18px;
  }

  /* SECTION 3: Mis servicios */
.Misservicios-section {
    padding: 0 50px;
    margin-bottom: 100px;
  }
  
  .Misservicios-section h2 {
    font-size: 35px;
    margin-bottom: 30px;
  }
  .Misservicios-section .text {
    flex: 8;
    text-align: justify;
  }


.Misservicios-section .carousel {
  z-index: 10;
}

.Misservicios-section .carousel-inner {
  left: 20%;
  width: 55%;
  height: 55%;
}


  /* SECTION 4: Contacto */
.contacto-section {
  padding: 0 50px;
  margin-bottom: 100px;
}

.contacto-section h2 {
  font-size: 35px;
}
.contacto-section .cells {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.contacto-section .cells .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: fit-content;

  width: 200px;
  padding: 10px 20px;
  margin: 10px;
  border: 1.5px solid #d3d3d3;
  border-radius: 5px;
}

.contacto-section .cells .cell img {
  width: 30px;
  height: 20px;
  object-fit: contain;
  border-radius: 5px;
}

.contacto-section .cells .cell span {
  font-size: 18px;
}


.contacto-section .group {
  display: flex;
  gap: 50px;
}

.contacto-section .group .text {
  flex: 3;
  margin-top: 20px;
}

.contacto-section .group form {
  flex: 3;
  display: flex;
  flex-direction: column;
}

.contacto-section .group form input,
.contacto-section .group form textarea {
  font-family: 'Poppins', sans-serif;
  border: 2px solid var(--link-color);
  background-color: transparent;
  padding: 10px;
  margin-bottom: 15px;
  outline: none;
  resize: none;
}

.contacto-section .group form button {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: var(--link-color);
  border: none;
  height: 50px;
  cursor: pointer;
  transition: .1s;
}

.contact-section .group form button:hover {
  filter: brightness(.9);
}

  @media (max-width: 850px) {
    /* SECTION 1: Inicio */
    .Inicio-section .text h2 {
      font-size: 35px;
      padding: 15px;
    }
    .Inicio-section .text {
      
      padding: 15px;
    }
  }
  
  @media (max-width: 740px) {
    /* SECTION 1: Hero */
    .Inicio-section {
      flex-direction: column-reverse;
    }
  
    .Acercademi-section .headshot img {
      width: 300px;
    }
  
    /* SECTION 3: Acerca de mi */
    .Acercademi-section {
      text-align: center;
    }
    
  
    .Misservicios-section .group {
      flex-direction: column;
    }
  
    /* SECTION 4: Contacto */
    .contacto-section .group {
      flex-direction: column;
    }
  }
  


@media (max-width: 600px) {
    /* NAVBAR */
    nav {
      padding: 0 20px;
    }
  
    nav .right a {
      font-size: 22px;
    }
  
    nav .right a:last-child {
      color: var(--text-color);
      background-color: transparent;
      padding: 0;
    }
  
    nav .right a span {
      display: none;
    }
    body{
      margin: 0; 
      font-family: Arial, Helvetica, sans-serif;
}
.right{
      background: (var(--background-color));
      height: 60px;
      display: flex;
      justify-content: space-between;
      align-items: center;
} 

.right a{
      margin: 15px;
      color: white;
      position: relative;
      text-decoration: none;
}
.right a::before{
      content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--background-color);
  transition: all 0.5s;
}
.right a:hover::before{
      width: 100% !important;
}
.nav_toggle{
      display: none;
}

@media (max-width: 768px) {
      .nav_items{
          position: absolute;
          top: 60px;
          left: 0;
          background: var(--background-color);
          display: flex;
          flex-direction: column;
          width: 100%;
          height: -webkit-fill-available;
          transform: translateX(-100%);
          transition: 0.3s ease all;
  }
  .nav_items a{ text-align: center;}
  .nav_toggle{
          display: flex !important;
          flex-direction: column;                
          margin: 15px;
  }
  .nav_toggle span{
          width: 30px;
          height: 4px;
          background: white;
          margin-bottom: 5px;
          border-radius: 2px;             
          transform-origin: 5px 0px;
          transition: all 0.2s linear;
  }
  .close span{
          transform: rotate(45deg) translate(0px, 0px);
  }
  .close span:nth-child(2){
          display: none;
  }
  .close span:nth-child(3){
          transform: rotate(-45deg) translate(-5px, 1px);
  }
  .open{ transform: translateX(0) !important}
}


}

