@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
/* --- RESETS --- */
* {
  box-sizing: border-box;
}
html {
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}
:root {
  --dark-blue: #1f1d2c;
  --light-blue: #27233f;
  --semi-white: #e5e5e5;
  --white: #ffffff;
  --gold: #f1a600;
}
body, html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  max-width: 100vw;
  background-color: var(--dark-blue);
  color: var(--semi-white);
}
h1, h2, h3, h4, p, ul {
  margin-top: 0;
  margin-bottom: 0;
}
ul {
  list-style: none;
  padding-left: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
input {
  outline: 0;
  font-family: inherit;
  border: 0;
}
button {
  border: 0;
  font-family: inherit;
}
img {
  display: block;
  width: 100%;
}
/**--- Scrollbar styles ---**/
::-webkit-scrollbar {
  background-color: #242635;
  box-shadow: inset 0 0 6px rgba(52, 152, 219, 1);
  width: 0.8em;
  border-radius: 1em;
}
::-webkit-scrollbar-thumb {
  background-color: #449de6;
}

/**--- STYLES ---**/
/**-------------------------- NAV BAR --------------------------------------- */
.nav__bar {
  background-color: #242635;
  height: 4.5em;
  width: 100%;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out 1s;
  margin-bottom: 2em;
}
.nav__bar.animation {
    opacity: 1;
  }
.nav__items__container {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 7em;
  opacity: 0;
  transition: opacity 0.5s ease-in-out 1s;
  padding-left: 0;
}
.nav__items__container.animation {
  opacity: 1;
}
.li__nav__item {
  position: relative;
  cursor: pointer;
}
.li__nav__item:hover {
  color: #3498db;
}
.li__nav__item::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: #3498db;
  transition: width 0.3s ease-in-out;
}
.li__nav__item:hover::after {
  width: 100%;
}
/* NAV BUTTON */
.bars__menu {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: none;
}
.bars__menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    margin-top: 6px;
    transform-origin: 0px 100%;
    transition: all 300ms;
}
.activeline1__bars-menu {
    transform: rotate(45deg) translate(-2px, 1px);
}
.activeline2__bars-menu {
    opacity: 0;
    margin-left: -30px;
}
.activeline3__bars-menu {
    transform: rotate(-45deg) translate(-4px, 2px);
}

/**------------------- MEDIA QUERYS MENU---------------------------**/
@media (max-width: 900.98px) {

  .nav__items__container {
    transform: translateX(100%);
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60%;
    border-radius: 0.5em;
    height: calc(100% - 60px);
    overflow-y: hidden;
    right: 0;
    bottom: 0;
    gap: 5em;
    background-color: var(--light-blue);
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.090);
    height: 90%;
    transition: all 1s ease;
    z-index: 2;
  }
  .toggle-menu.animation {
    opacity: 1;
  }
  
  .toggle-menu {
    transform: translateX(0);
  }
  .bars__menu {
    display: block;
    position: fixed;
    z-index: 2;
    right: 2em;
    top: 1em;
  }
 
}
/** ------- STYLES: <main> <header> -------- **/
.main__container {
  display: flex;
  justify-content: center;
  margin-top: 2em;
}
.header__container {
  margin-top: 0.9em;
  display: flex;
  justify-content: center;
  gap: 5em;
  flex-wrap: wrap;
  width: 100vw;
}
.profile__left-container {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.profile__name {
  text-align: center;
  color: var(--semi-white);
  font-size: 2.8rem;
  user-select: none;
  letter-spacing: 2px;
  margin-bottom: 0.1em;
}
.profile__info {
  text-align: center;
  user-select: none;
  font-size: 1.8rem;
  letter-spacing: 8px;
  margin-bottom: 0.3em;
  text-shadow: 2px 2px 4px rgba(52, 152, 219, 1),
               -2px -2px 4px rgba(52, 152, 219, 1);
}
.profile__description-container {
  max-width: 37.5em;
}
.profile__description {
  padding-top: 0.5em;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 2rem;
  text-align: center;
  user-select: none;
  margin-bottom: 1.2em;
}
.first-word {
  font-size: 1.5rem;
  font-weight: 800;
  color: #5ba1cf;
}
.profile__img-container {
  max-height: 20em;
  max-width: 20em;
}
.profile-img {
  border-radius: 1em;
  transition: transform 300ms ease;
  object-fit: contain;
  z-index: 10;
}
.profile-img:hover {
  transform: scale(1.1);
}
.header__icons-container{
  display:flex;
  justify-content: center;
  gap: 1.5em;
  margin-top: 1em;
  position: relative;
}
.header__icon {
  width: 3em;
  height: 3em;
  cursor: pointer;
}
.header__icon:hover{
  filter: opacity(.5);
}
.separation__bar {
  color: #5aa8db;
  border: 1px solid;
  width: 70%;
  position: absolute;
  top: 5.2em;
  box-shadow: 2px 2px 4px rgba(52, 152, 219, 1),
               -2px -2px 4px rgba(52, 152, 219, 1);
}
.lang__circle-container {
  position: absolute;
  height: 1.5em;
  width: 3em;
  left: 8em;
  display: flex;
  align-items: center;
  background-color: #12121d;
  border-radius: 2em;
}
.circle__es {
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: linear-gradient(180deg, #c60b1e 0%, #c60b1e 33.33%, #ffd500 33.33%, #ffd500 66.66%, #c60b1e 66.66%, #c60b1e 100%);
  cursor: pointer;
  margin-left: 0.2em;
  z-index: 10;
  transition: transform 0.3s ease-in-out;
}
.circle__es.move-right {
  transform: translateX(50%);
}
.circle__en {
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff 0%, #fff 33.33%, #c8102e 33.33%, #c8102e 66.66%, #fff 66.66%, #fff 100%);
  cursor: pointer;
  margin-right: 0.2em;
  transition: transform 0.3s ease-in-out;
  z-index: 10;
}
.circle__en.move-left {
  transform: translateX(-50%);
}
/** --------- MEDIA QUERYS MAIN / HEADER  --------- **/
@media (max-width: 900.98px) {
.main__container {
  flex-direction: column;
  align-items: center;
}
.header__container {
  margin-top: 0.4;
}
.profile__img-container {
  margin-right: 0;
  margin-top: 5em;
}
 
}
@media (max-width: 768px) {
  .main__container {
    flex-wrap: wrap;
  }
  .header__container {
    width: 100%;
  }
  .profile__img-container {
    margin-top: 3em;
    margin-left: auto;
    margin-right: auto;
  }
  .profile-img {
    max-height: 25em;
    max-width: 25em;
  }
  .separation__bar {
    top: 4.5em;
  }
}
@media (max-width: 474px) {
  .lang__circle-container {
    left: 4em;
  }
}
/** --------- Section About Styles --------- **/
.skills__section {
  margin-top: 10em;
  background-color: var(--light-blue);
  display: flex;
  flex-direction: column;
  padding-bottom: 3em;
}
.skills__title-container {
  position: relative;
  background: #191724;
  width: 18em;
  height: 4em;
  margin-top: 2em;
  margin-bottom: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5em;
}
.skills__section-tittle {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--white);
  text-shadow: 1px 1px 4px rgba(52, 152, 219, 1),
               -1px -1px 4px rgba(52, 152, 219, 1);
}
.skills__section-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6em;
  padding-left: 10em;
  padding-right: 10em;
  
}
.skills__container {
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 background-color: #211e36;
 border: 2px solid #191729;
 border-radius: 1em;
 min-height: 190px;
 min-width: 130px;
 user-select: none;
 transition: transform 300ms ease;
}
.skills__container:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.skills__description-container {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.skill__icon-container {
  max-width: 5em;
}
.skill-icon {
  border-radius: 0.8em;
  object-fit: contain;
}
.skills__description {
  text-align: center;
}
/**-----Section Projects styles -------*/
.section__projects {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #12121d;
}
.title__projects-container {
  position: relative;
  background: #191724;
  width: 18em;
  height: 4em;
  margin-top: 2em;
  margin-bottom: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5em;
}
.projects__title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--white);
  text-shadow: 1px 1px 4px rgba(52, 152, 219, 1),
               -1px -1px 4px rgba(52, 152, 219, 1);
}
/**----- CARDS ------- */
.container__card {
  max-width: 100%; /* max-width: 1200px; */
  margin: auto;
  perspective: 1000px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.card__father {
  margin: 20px;
  perspective: 1000px;
  transition: all 600ms;
  transform-style: preserve-3d;
}
.card__father:hover {
  transform: rotateY(180deg);
}
.card {
  width: 350px;
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
}
.card__front {
  background-size: cover;
  background-position: center;
}
.card__front, .card__back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  border-radius: 20px;
}
.card__back {
  transform: rotateY(180deg);
  background-color: white;
}
.body__card_back {
  padding: 40px;
  text-align: center;
}
.body__card_back p {
  margin-top: 20px;
  font-size: 18px;
}
.body__card_back input {
  padding: 10px 40px;
  margin-top: 30px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  color: white;
  background: #58B0F6;
  box-shadow: 1px 1px 30px -5px #58B0F6;
  border-radius: 10px;
  transition: box-shadow 600ms;
}
.body__card_back input:hover {
  box-shadow: 1px 1px 30px 0px #449de6;
}
/** Section Certifications ---------- **/
.certifications {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2em;
  background-color: var(--light-blue);
  padding-bottom: 3em;
}
.title__certifications-container {
  position: relative;
  background: #191724;
  width: 24em;
  height: 4em;
  margin-top: 2em;
  margin-bottom: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5em;
}
.certifications__title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--white);
  text-shadow: 1px 1px 4px rgba(52, 152, 219, 1),
               -1px -1px 4px rgba(52, 152, 219, 1);
}
.certifications__container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3em;
  margin-top: 2em;
}
.certification {
  max-width: 30em;
  position: relative;
  padding: 1em;
}
.certification__img {
  border-radius: 1em;
  transition: transform 600ms ease;
}
.certification__img:hover{
  transform: scale(1.1);
}
.certification__btn {
  position: absolute;
  left: 2em;
  padding: 0.8em 1.5em;
  background: #58B0F6;
  color: var(--white);
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 1px 1px 20px -5px #58B0F6;
  border-radius: 10px;
  transition: box-shadow 600ms;
}
.certification__btn:hover {
  box-shadow: 1px 1px 30px 0px #449de6;
}
/** Footer -------------*/
.footer__container {
  height: 12em;
}
.form__container {
  justify-content: center;
  align-items: center;
  width: 100%;

}
.contact_tittle {
  text-align: center;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--white);
  text-shadow: 1px 1px 4px rgba(52, 152, 219, 1),
               -1px -1px 4px rgba(52, 152, 219, 1);
}

#fs-frm input,
              #fs-frm select,
              #fs-frm textarea,
              #fs-frm fieldset,
              #fs-frm optgroup,
              #fs-frm label,
              #fs-frm #card-element:disabled {
                font-family: inherit;
                font-size: 100%;
                color: inherit;
                border: none;
                border-radius: 0;
                display: block;
                width: 50%;
                padding: 0;
                margin: 0;
                -webkit-appearance: none;
                -moz-appearance: none;
              }

              #fs-frm label,
              #fs-frm legend,
              #fs-frm ::placeholder {
                font-size: .825rem;
                margin-bottom: .5rem;
                padding-top: .2rem;
                display: flex;
                align-items: baseline;
              }
   /* border, padding, margin, width */
   #fs-frm input,
   #fs-frm select,
   #fs-frm textarea,
   #fs-frm #card-element {
     border: 1px solid rgba(0,0,0,0.2);
     background-color: rgba(255,255,255,0.9);
     padding: .75em 1rem;
     margin-bottom: 1.5rem;
     color: #12121d;
   }
   #fs-frm input:focus,
   #fs-frm select:focus,
   #fs-frm textarea:focus {
     background-color: white;
     outline-style: solid;
     outline-width: thin;
     outline-color: gray;
     outline-offset: -1px;
   }
   #fs-frm [type="text"],
   #fs-frm [type="email"] {
     width: 100%;
   }
   #fs-frm [type="button"],
   #fs-frm [type="submit"],
   #fs-frm [type="reset"] {
     width: auto;
     cursor: pointer;
     -webkit-appearance: button;
     -moz-appearance: button;
     appearance: button;
   }
   #fs-frm [type="button"]:focus,
   #fs-frm [type="submit"]:focus,
   #fs-frm [type="reset"]:focus {
     outline: none;
   }
   #fs-frm [type="submit"],
   #fs-frm [type="reset"] {
     margin-bottom: 0;
   }
   #fs-frm select {
     text-transform: none;
   }
   
   #fs-frm [type="checkbox"] {
     -webkit-appearance: checkbox;
     -moz-appearance: checkbox;
     appearance: checkbox;
     display: inline-block;
     width: auto;
     margin: 0 .5em 0 0 !important;
   }
   
   #fs-frm [type="radio"] {
     -webkit-appearance: radio;
     -moz-appearance: radio;
     appearance: radio;
   }
   
   /* address, locale */
   #fs-frm fieldset.locale input[name="city"],
   #fs-frm fieldset.locale select[name="state"],
   #fs-frm fieldset.locale input[name="postal-code"] {
     display: inline;
   }
   #fs-frm fieldset.locale input[name="city"] {
     width: 52%;
   }
   #fs-frm fieldset.locale select[name="state"],
   #fs-frm fieldset.locale input[name="postal-code"] {
     width: 20%;
   }
   #fs-frm fieldset.locale input[name="city"],
   #fs-frm fieldset.locale select[name="state"] {
     margin-right: 3%;
   }
 
   