@import url('https://fonts.googleapis.com/css2?family=Arima:wght@100..700&display=swap');
*{
    font-family: "Arima", system-ui;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1, h2, span {
    color: #242424;
    text-align: center;
    line-height: 1.25;
    padding-bottom: 32px;
    padding-top: 60px;
}

h1 {
    font-size: 32px;
}

h3 {
    font-size: 20px;
    text-align: right;
    padding-right: 300px;
    padding-top: 30px;
}

h4{
    font-size: 20px;
    text-align: right;
    padding-right: 350px;
}

h5 {
    color: #eae7e4;
    font-size: 25px;
    text-align: center;
    line-height: 1.25;
    padding-top: 20px; 
    padding-bottom: 5px;
}

a {
    text-decoration: none;
    position: relative;
}

.link__hover-effect:after {
    content: "";
    position: absolute;
    height: 3px;
    background-color: rgb(234, 137, 58);
    width: 0;
    bottom: -3px;
    left: 0;
    transition: all 300ms ease;
}

.link__hover-effect:hover:after {
    width: 100%;
    right: 0;
}

p {
line-height: 1.5;
font-size: 16px;
}

.flex {
    display: flex;
    background-color: #E3D1BA;
}

.flex-1 {
    flex: 1;
}

.row {
    width: 100%;
    max-width: 800px;
    margin: 0 auto ;
}

.text--brown {
    color: #533b31;
}
/* NAVIGATION BAR */

nav {
    height: 150px;
    display: flex;
    background-color: #317371;
}

.logo__blanco {
    width: 160px;
    height: 100%;
    max-height: 50vh;
    padding: 20px;
    opacity: 80%;
}

.nav__container {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.nav__link--list {
    display: flex;
}

.nav__link--anchor {
    margin: 0 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.nav__link--anchor-primary {
    background-color: rgb(218, 116, 14);
    padding: 8px 20px;
    border-radius: 50px;
    color: white;
    transition: all 300ms ease;
}

.nav__link--anchor-primary:hover {
    background-color: #ebaf55;
}

/* ABOUT ME */

#about-me {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.about-me__info {
    display: flex;
    flex-direction: column;
}

.about-me__info--container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.about-me__picture--mask {
    max-width:200px;
   overflow: hidden;
   padding-top: 50px;
   animation: animate-profile-picture 800ms 200ms backwards;
}

@keyframes animate-profile-picture {
    0% {
        transform: scale(0);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
 

.about-me__picture {
    width: 100%;


    /* IMPROVING MY OWN PICTURE */
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.about-me__info--title {
    padding-top: 70px;
    margin-bottom: 16px;
    animation: fade-up 650ms 400ms backwards;
}
    
.about-me__info--para {
    font-size: 18px;
    margin-bottom: 28px;
    animation: fade-up 650ms 400ms backwards;
    padding: 0 2%;
}    

.about-me__link {
    font-size: 20px;
    text-decoration: none;
    padding: 0 16px;
    animation: fade-up 650ms 400ms backwards;
}
.about-me__links {
    animation: fade-up 650ms 800ms backwards;
}

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-me__links {
    margin-bottom: 40px;
}
.about-me__img--container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    
}

/* SERVICES */

#services {
      width: 100%;
      max-width: 2000px;
      background-color: #A2B9A7;
      margin-top: auto;
      }
      
    ul{
      line-height: 1.8;
      margin-left: 150px;
      list-style: none;
    }
    ul:not(.nav__link--list, .project__list, .menu__links) li::before {
      content: '✅';
      margin-right: 4px;
    }

    .menu__links {
        list-style: none;
    }

    ul li::before {
        content: '';
    }

    .services-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 30px;
  margin-left: 100px;
  margin-right: 100px;
}

.services-list {
  flex: 1;
  min-width: 280px;
  padding-bottom: 40px;
}

.services__list {
    margin-left: 10%;
}

    .labor__img--mask {
      flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
    transition: all 300ms ease;
    } 

 
    .labor__img {
    width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .labor__img:hover {
        filter: brightness(80%);
        opacity: 0.86;
        transform: scale(0.9);
        cursor: no-drop;
    }

    .services-flex1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 0 10%;
    }

    .deal__img--mask {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
    }

    .deal__img:hover {
       filter: brightness(80%);
        opacity: 0.86;
        transform: scale(0.9);
        cursor: no-drop;
    } 
    

    .deal__img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .deal__list {
        padding-bottom: 30px;
        margin-left: 20%;
    }

    /* PROJECTS */

    #projects {
        background-color: #e3d1ba;
    }

    .project__img {
        width: 100%;
        transition: all 500ms ease;
        padding-bottom: 30px;
    }

  .project__wrapper {
    width: 100%;
    max-width: 400px;
    display: flex;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
  }

  .project__wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100;
    width: 100%;
    background-color: #1c1d25;
    opacity: 0;
    transition: opacity 450ms ease;
    z-index: 2;
  }
 
  .project:hover .project__wrapper:before {
    opacity: 0.7;
  }

  .project:hover .project__img {
    transform: scale(1.01);
    filter: blur(5px);
  }

  .project__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 20px;
    list-style: none;
    margin: 0;
  }

  .project {
    display: flex;
    justify-content: center;
  }

  .project__description {
    position: absolute;
    top: 45%;
    left: 10%;
    transform: translateY(100%);
    width: 100%;
    max-width: 90%;
    z-index: 3;
    opacity: 0;
    transition: transform 450ms, opacity 300ms;
    text-align: center;
    box-sizing: border-box;
  }

  .project:hover .project__description {
    opacity: 1;
     transform: translateY(-50%);
  }

  .project__description--title {
    font-size: 40px;
  }

  .project__description--para {
    margin: 16px 0;
    text-align: center;
  }

  .project__description--title,
  .project__description--sub-title,
  .project__description--para {
    text-align: left;
    color: #fff;
  }

  /* CONTACT */

      #contact {
      background-color: #785F54;
      color: #f9fafb;
      padding: 10px 20px;
      text-align: center;
    }
    .contact a {
      color: #45350a;
      text-decoration: none;
      font-weight: bold;
    }
  
    .contact p {
      font-size: 1.1em;
      margin: 8px 0;
    }

    .contact__logo-img {
        width: 100px;
        height: 100px;
        opacity: 80%;
    }

    .contact__row {
        padding: 3% 0;
    }

    .contact__logo--popper {
        color: #fff;
        right: 0;
        font-weight: 700px;
        opacity: 0;
        transition: all 300ms ease;
    }

    .contact__anchor {
        margin-bottom: 20px;
        position: relative;
    }

    .contact__anchor:hover .contact__logo--popper {
        transform: translateY(60px);
        opacity: 1;
    }

    .text__color {
        color: #edfd45;
    }

    /* MENU */

    .btn__menu {
    background-color: transparent;
    font-size: 40px;
    text-align: center;
    border: none;
    color:  rgb(218, 116, 14);
    display: none;
}

.menu__backdrop {
    position: absolute;
    background-color: #242424;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 300ms ease;
    visibility: hidden;
    opacity: 0;

}

.menu--open .menu__backdrop {
    visibility: visible;
    opacity: 1;
}

.menu--open {
    max-height: 100vh;
    overflow-y: hidden;
}

.menu__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    content: '';
}

.menu__list {
   padding: 32px 0;     
}

.menu__link {
    color: white;
    font-size: 40px;
}

.btn__menu--close {
    position: absolute;
    right: 24px;
    top: 10px;
    padding: 8px;
    color: white;
}

/* Small phones, tablets, large smartphones */ 
    @media (max-width: 550px) {

        h1 {
            font-size: 28px;
        }

        .about-me__info--para {
            font-size: 16px;
        }
        .services__list {
            margin-left: -25%;
        }
        .labor__img {
            margin-left: -40%;
            size: 20px;
        }
        h3 {
            text-align: center;
            padding-right: 0;
        }
        .deal__list {
            margin-left: 3%;
        }
        .nav__link--list {
            margin-left: -35%;
            padding-top:1%;
            font-size: 10px;
        }
        .labor__img--mask {
            size: 40px;
            max-width: 290px;
        }
        .deal__img--mask {
            max-width: 290px;
        }
        .services-flex1 {
            display: block;
            justify-content: center;
            align-items: center;
        }
        
        .logo__blanco--container {
            max-width: 100%;
            padding-top: 75;
        }

        .nav__link--list {
            display: none;
        }

          .btn__menu {
        display: block; 
        }

        .menu__links {
            margin-left: 0;
            margin-right: 0;
            padding: 0;
            list-style: none;
            display: flex;
            justify-content: center;
        }


    }

 

    


  


 