/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fleur+De+Leah&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;
  --font-semi: 600;
  --hue-color: 224;
  --first-color: hsl(335, 80%, 58%);
  --font-color: hsl(350, 31%, 17%);
  --black-color: hsl(0, 100%, 0%);
  --white-color: hsl(0, 0%, 100%);
  --navbar-color:hsl(10, 86%, 89%);
  /* --footer-color:linear-gradient(to bottom, #FFFFFF 0%, #fef4ea 100%); */
  --footer-color:linear-gradient(to top, #fbd5ce 0%, #fef4ea 100%);
  --navbar-gradient-color:linear-gradient(to bottom, #fbd5ce 0%, #fef4ea 100%);
  --body-font:"Montserrat Alternates", sans-serif;

  
  --big-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --smaller-font-size: .75rem;
  --button-font-size: 1.1rem;


  /*===== Margenes =====*/
  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;
  
  /*===== z index =====*/
  --z-back: -10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3rem;
    --h2-font-size: 2rem;
    --normal-font-size: 1rem;
    --smaller-font-size: .875rem;
  }
}

/*===== BASE =====*/
*, ::before, ::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--font-color);
}

h1, h2, p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*===== CLASS CSS ===== */
.section-title {
  position: relative;
  font-size: var(--h2-font-size);
  color: var(--section-color);
  /* margin-top: var(--mb-1); */
  margin-bottom: var(--mb-4);
  text-align: center;
}

.section-title::after {
  position: absolute;
  content: '';
  width: 64px;
  height: 0.18rem;
  left: 0;
  right: 0;
  margin: auto;
  top: 2rem;
  background-color: var(--first-color);
}

.section {
  padding: 0;
  transition: background-color 0.3s ease;
}

/*===== LAYOUT =====*/
.bd-grid {
  max-width: 1024px;
  display: grid;
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  /* background-color: var(--navbar-color); */
  background: var(--navbar-gradient-color);
  /* box-shadow: 0 1px 4px rgba(146, 161, 176, 0.15); */
  color: #343234;
}

/*===== NAV =====*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--font-semi);
  color: #343234;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: var(--white-color);
    transition: .5s;
  }
}

.nav__item {
  margin-bottom: var(--mb-4);
  color: #343234;
}

.nav__link {
  position: relative;
  color: #343234;
}

.nav__link:hover {
  position: relative;
}

.nav__link:hover::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--font-color);
}

.logo{
  width: 100px;
  margin: 0%;
  padding-top: var(--mb-1);
}

.nav__logo {
  color: var(--font-color);
  width: 100%;
  padding-bottom: 7px;
}

.nav__toggle {
  color: var(--font-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/*Active menu*/
.active::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--font-color);
}

/*=== Show menu ===*/
.show {
  right: 0;
}

/*===== HOME =====*/
.home {
  position: relative;
  padding: 3rem 0 5rem;
  display: grid;
  grid-template-columns: 1fr .5fr;
  gap: 2rem;
  align-items: center;
}

.home__left {
  align-self: center;
  justify-content: center;
  width: 60%;
}

.home__title {
  font-size: var(--big-font-size);
  font-weight:600;
  margin-bottom: var(--mb-2);
  line-height: 1.2;
}

.home__title-color {
  font-size: 95px;
  color: var(--font-color);
  /* font-weight: var(--font-semi); */
  font-weight: 400;
  font-family: "Fleur De Leah", cursive;
}

.home__title-detail{
    font-weight: var(--mb-2);
    font-size: medium;
}

.home__title-detail-color{
    font-weight: bold;
    font-size: medium;
}

.home__subtitle {
  font-size: var(--normal-font-size);
  color: var(--second-color);
  margin-bottom: var(--mb-4);
  line-height: 1.6;
}

.home__apostrophe {
    width: 20px;
    height: 20px;
    aspect-ratio: 1/1;
}

.home__services-text {
  font-size: var(--normal-font-size);
  color: var(--second-color);
  line-height: 1.6;
  margin-top: var(--mb-2);
  margin-left: var(--mb-2);
  text-align: justify ;
}

.home__right {
  align-self: center;
}

.home__img {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
}

.home__img::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 1;
  aspect-ratio: 1/1;
}

.home__profile-img {
  width: 350px;
  height: 500px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transform: translateY(-20px);
  transition: transform 0.5s ease;
  background-color: #FFEEEE;
  box-shadow: 0 10px 10px rgba(231, 193, 186, .9);
  aspect-ratio: 1/1;
}

.home__profile-img:hover {
  transform: translateY(-25px);
}

.empty{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    justify-items: end;
}

.home__apostrophe2 {
    width: 20px;
    height: 20px;
    aspect-ratio: 1/1;
}

.extra__mail{
    display: flex;
    margin-top: var(--mb-2);
}

.home__email {
  display: inline-block;
  color: #dc7e7c;
  font-weight: var(--font-semi);
  margin-bottom: var(--mb-2);
  text-decoration: none;
}

.home__email:hover {
  text-decoration: underline;
}

.home__social {
  display: flex;
  gap: 1rem;
  margin-top: var(--mb-4);
}

.home__social-icon {
  font-size: 1.5rem;
  color: var(--font-color);
  transition: .3s;
}

.home__social-icon:hover {
  color: var(--first-color);
  transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
  .home {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .home__img {
    width: 300px;
    height: 300px;
    aspect-ratio: 1/1;
  }

  .home__profile-img {
    width: 340px;
    height: 340px;
    aspect-ratio: 1/1;
  }

  .home__social {
    justify-content: center;
  }
}

/* ===== ABOUT =====*/
.about__container {
  row-gap: 2rem;
  text-align: center;
  background-color: transparent;
}

.about__subtitle {
  margin-bottom: var(--mb-2);
  color: var(--font-color);
}

.about__img {
  justify-self: center;
}

.about__img img {
  width: 200px;

  border-radius: .5rem;
}

.about__text {
    color: var(--font-color);
    text-align: justify;
    padding-top: 2rem;
    /* box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15); */
    /* border-style: 2px; */
    border: 1.5px solid var(--font-color);
    border-radius: var(--mb-1);
    padding: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    
}

/* ===== SKILLS =====*/
.skills__container {
  row-gap: 2rem;
  text-align: center;
  background-color: transparent;
}

.skills__subtitle {
  margin-bottom: var(--mb-2);
}

.skills__text {
  margin-bottom: var(--mb-4);
  margin-top: var(--mb-4);
  text-align: center;
}

.skills__data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  font-weight: var(--font-semi);
  padding: .5rem 1rem;
  margin-bottom: var(--mb-4);
  border-radius: .5rem;
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15);
}

.skills__icon {
  font-size: 2rem;
  margin-right: var(--mb-2);
  color: var(--first-color);
}

.skills__names {
  display: flex;
  align-items: center;
}

.skills__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: var(--first-color);
  height: .25rem;
  border-radius: .5rem;
  z-index: var(--z-back);
}

.skills__html {
  width: 95%;
}

.skills__css {
  width: 95%;
}

.skills__js {
  width: 95%;
}

.skills__img {
  border-radius: .5rem;
}

/* ===== WORK =====*/
.work__container {
  row-gap: 2rem;
  background-color: transparent;
}
work__container bd-grid{
    hover {
  background-color: yellow;
}
}
/*
.top-part{
    backface-visibility: visible;
    transition-property: all;
    box-decoration-break: slice;
}
*/

.work__img {
  box-shadow: 0px 4px 25px rgba(14, 36, 49, 0.15);
  border-radius: .5rem;
  overflow: hidden;
}

.work__img img {
  transition: 1s;
}

.work__img img:hover {
  transform: scale(1.1);
}

/* ===== CONTACT =====*/

.contact{
  background: #fef4ea;
  padding-top: 0;
  margin-top: 0;
}

.contact__input {
  width: 100%;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi);
  padding: 1rem;
  border-radius: .5rem;
  border: 2px solid var(--navbar-color);
  outline: none;
  margin-bottom: var(--mb-4);
}

.contact__button {
  padding: 10px 10px;
  border-radius: 15px;
  background-color: var(--navbar-color);
  color: var(--font-color);
  font-weight: bold;
  border: none;
  outline: none;
  font-size: var(--button-font-size);
  cursor: pointer;
  margin-left: auto;
  margin-bottom: var(--mb-4);
  display: inline;
}


/* ===== FOOTER =====*/
.footer {
  background: var(--footer-color)!important;
  text-align: center;
  font-weight: var(--font-semi);
  padding: 1rem 0;
}

.footer__title {
  font-size: 2rem;
  margin-bottom: var(--mb-4);
}

.footer__social {
  margin-bottom: var(--mb-4);
}

.footer__icon {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 var(--mb-2);
}

.footer__copy {
  font-size: var(--smaller-font-size);
}

/* ===== MEDIA QUERIES=====*/
@media screen and (max-width: 320px) {
  .home {
    row-gap: 2rem;
  }
  .home__img {
    width: 200px;
  }
}

@media screen and (min-width: 576px) {
  .home {
    padding: 4rem 0 2rem;
  }
  .home__social {
    padding-top: 0;
    padding-bottom: 2.5rem;
    flex-direction: row;
    align-self: flex-end;
  }
  .home__social-icon {
    margin-bottom: 0;
    margin-right: var(--mb-4);
  }
  .home__img {
    width: 300px;
    bottom: 25%;
  }
  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    text-align: initial;
  }

  .skills__container {
    grid-template-columns: .7fr;
    justify-content: center;
    column-gap: 1rem;
  }
  .work__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    padding-top: 2rem;
  }
  .contact__form {
    width: 360px;
    padding-top: 2rem;
    text-align: center;
  }
  .contact__container {
    justify-items: center;
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .section {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  .section-title {
    margin-top: var(--mb-4);
    margin-bottom: var(--mb-1);
  }
  .section-title::after {
    width: 80px;
    top: 3rem;
  }
  .section-title-contact {
    margin-top: 0 !important;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__list {
    display: flex;
    padding-top: 0;
  }
  .nav__item {
    margin-left: var(--mb-6);
    margin-bottom: 0;
  }
  .nav__toggle {
    display: none;
  }
  .nav__link {
    color: var(--font-color);
  }
  .home {
    padding: 8rem 0 2rem;
  }
  .home__img {
    width: 400px;
    bottom: 10%;
  }
  .about__container {
    padding-top: 2rem;
  }
  .about__img img {
    width: 300px;
  }
  .skills__container {
    /* grid-template-columns: repeat(2, 1fr); */
    column-gap: 2rem;
    align-items: center;
    text-align: initial;
  }
  .work__container {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
  }
}

@media screen and (min-width: 992px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }
  .home {
    padding: 10rem 0 2rem;
  }
  .home__img {
    width: 450px;
  }
}
.container {
    max-width: 85%;
    margin: 0 auto;
    height: 100%;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3%;
    margin: 5% 0;
}

.card {
    overflow: hidden;
    border: 2px solid var(--font-color);
    padding: 20px;
    background-color: #FFF;
    border-radius: 30px;
    text-align: center;
}


.card_img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.card_body {
    padding: 26px 20px 36px 20px;
}

.card_title {
    font-family: 'Merriweather',
        serif;
    font-weight: 900;
    text-transform: capitalize;

    font-size: 26px;
    padding-bottom: 20px;
}

.card_body p {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;

}

p.card_author {
    font-size: 15px;
    padding-top: 15px;

}

p.card_author a {
    color: #1B1C34;
    font-style: italic;
}

p.card_author a:hover {
    font-weight: bold;
}

a.read_more {
    color: #FFF;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 1.1px;
    background: #0F1616;
    margin-top: 50px;
    padding: 24px 0px;
    border-radius: 15px;
    display: inline-block;
    width: 70%;
    transition: all .3s ease-in-out;
}

a.read_more:hover {
    box-shadow: 0px 1px 50px rgba(0, 0, 0, 0.15);
    background: #404040;
}

.link {
    position: fixed;
    background-color: #D12322;
    padding: 23px 40px;
    right: -106px;
    border-radius: 5px;
    top: 50%;
    transform: translateY(-50%);
    transform: rotate(-90deg);
    font-size: 18px;
    font-weight: 500;
    color: #FFF;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .1s ease-in-out;
}

.link i {
    padding-left: 7px;
}

.link:hover {
    text-decoration: underline;
    background-color: black;
}

@media only screen and (max-width: 1441px) and (min-width: 1025px) {
    .container {
        max-width: 80%;
    }

    .grid {
        gap: 2%;
    }

    .card {
        padding: 15px;
    }

    .card_body {
        padding: 15px;
    }

    .card_title {
        font-size: 22px;
        padding-bottom: 14px;
    }

    .card_body p {
        font-size: 16px;
    }

    a.read_more {
        padding: 19px 0;
        width: 60%;
        font-size: 11px;
        margin-top: 30px;
    }

}

@media only screen and (max-width: 1024px) {

    .grid {
        grid-template-columns: 1fr;
        gap: 2%;
    }

    .home {
      max-width: 80%;
    }

    .home__left
    {
      width: 100%;
    }

    .home__right
    {
      width: 100%;
    }

    .logo{
      padding-left: 3%;
    }
}

@media only screen and (max-width: 425px) {
    .container {
        max-width: 90%;
    }

    .card {
        padding: 20px 10px;
    }

    .card_body {
        padding: 7px;
    }

    .card_title {
        font-size: 20px;
        padding-bottom: 7px;
    }

    .card_body p {
        font-size: 14px;
    }

    a.read_more {
        padding: 15px 0;
        margin-top: 20px;
    }

}

/*===== SECTION WRAPPERS =====*/
.section-wrapper {
  width: 100%;
  padding: 4rem 0;
  transition: background-color 0.3s ease;
}

.section-wrapper.odd-section-1 {
  padding-top: var(--mb-1);
  background: url('/image/firstbackground.png');
  background-size: cover;       
  background-position: center;    
  background-repeat: no-repeat;  
  background-attachment: relative;
}

.section-wrapper.odd-section {
  padding-top: var(--mb-1);
  background: #fef4ea;
  background-size: cover;       
  background-position: center;    
  background-repeat: no-repeat;  
  background-attachment: relative;
}

.section-wrapper.even-section {
  background-color: white;
  padding-top: var(--mb-1);
}

/* Remove old background colors from sections */
.about {
  background-color: transparent;
}

.skills {
  background-color: transparent;
}

.work {
  background-color: transparent;
}

#blog {
  background-color: transparent;
}

/* Update section padding */
.section {
  padding: 0;
  margin: 0;
}


.wave-separator-odd {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
  
.wave-separator-odd svg {
    display: block;
    width: 100%;
    height: 80px;
     transform: scaleX(-1) rotate(180deg);
}
  

.wave-separator-even {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    padding: 0;
    margin: 0;
}