* {
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}

body {
  background-color: #f7f7f9;
  margin: auto;
  padding: 0;
}

header {
  background-color: white;
}

li {
  list-style: none;
}

a {
  color: #6070ff;
  text-decoration: none;
}

.navbar {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.nav-branding {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  color: #6070ff;
}

.nav-link {
  transition: 0.7s ease;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: #344563;
}

.nav-link:hover {
  color: #6070ff;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #6070ff;
}

.imagen_bg {
  background-color: white;
  background-size: 100%;
  background-image: url("./header_shapes_mobile.svg");
  background-repeat: no-repeat;
  border-bottom-left-radius: 80px;
  background-position: center;
  padding-top: 30%;
}

.introduction {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 80px;
  padding-bottom: 138px;
}

.presentation1 {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #172b4d;
}

.description1 {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #344563;
  margin: auto;
  padding-top: 12px;
}

.connect {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #7f8cff;
  padding-top: 12px;
  padding-bottom: 12px;
}

.lets {
  text-decoration: none;
}

.list_icon {
  display: flex;
  padding-right: 20px;
  list-style: none;
}

.icon {
  padding-right: 20px;
  padding-left: 0;
}

.container {
  padding-top: 142px;
  padding-bottom: 114px;
  display: grid;
  grid-template-columns: 12px auto 12px;
  row-gap: 80px;
}

.middle-sec {
  grid-column-start: 2;
  grid-column-end: 3;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
  padding-top: 16px;
  padding-bottom: 30px;
}

.mds12 {
  display: flex;
  justify-content: flex-start;
  padding-left: 16px;
  padding-right: 16px;
}

.mds12 img {
  width: 100%;
  height: 100%;
}

.mds22 {
  background-color: white;
  display: flex;
  flex-direction: column;
  padding-left: 16px;
  padding-right: 16px;
}

.presentation {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 300%;
  line-height: 52px;
  display: flex;
  align-items: center;
  color: #172b4d;
  margin-top: 20px;
}

.list_middle {
  margin-top: 20px;
}

.canopy {
  padding-right: 20px;
  float: left;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #344563;
  list-style: none;
}

.counter {
  padding-right: 25px;
  float: left;
  text-align: left;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #7a869a;
  list-style: disc;
}

.description {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #344563;
  margin-top: 20px;
}

.languaje {
  float: left;
  text-align: left;
  background: #ebebff;
  border-radius: 8px;
  margin-right: 8px;
  margin-bottom: 20px;
  padding: 4px 12px;
  border: #ebebff;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.03em;
  color: #6070ff;
  list-style: none;
}

.button_project {
  padding: 16px;
  background: #fff;
  border: 1px solid  #6070ff;
  box-sizing: border-box;
  border-radius: 16px;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  text-align: center;
  letter-spacing: 0.03em;
  color: #396df2;
}

.button_project:hover {
  background: #6070ff;
  box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
  border-radius: 8px;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0.03em;
  color: #fff;
}

.button_project:active {
  background: #2230d2;
  border-radius: 8px;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0.03em;
  color: #fff;
}

.modal {
  position: fixed;
  top: 50%;
  left: 48%;
  transform: translate(-50%, -50%) scale(0);
  transition: 200ms ease-in-out;
  border-radius: 10px;
  z-index: 10;
  background-color: white;
  width: 95%;
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
}

.modal_buttons {
  display: flex;
  flex-direction: column;
}

#overlay {
  position: fixed;
  opacity: 0;
  transition: 200ms ease-in-out;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #c1c7d0;
  pointer-events: none;
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}

.close-button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-size: 2.5rem;
  font-weight: lighter;
  position: absolute;
  top: 3%;
  right: 6%;
  color: #67798e;
}

.button_foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about_myself {
  background-color: white;
  border-top-right-radius: 80px;
  width: 100%;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.presentation2 {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 40px;
  line-height: 52px;
  display: flex;
  align-items: center;
  color: #172b4d;
  margin: 0;
  padding-top: 114px;
}

summary {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  display: flex;
  align-items: center;
  color: #000;
}

.arrow {
  padding-left: 75%;
}

.icon_languaje {
  background: #f7f7f9;
  border-radius: 8px;
  margin: 12px 0 0 0;
  display: flex;
}

.link_leng {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  align-self: center;
  color: #253858;
  text-decoration: none;
}

.icon_leng {
  padding-left: 12px;
  padding-right: 16px;
  padding-top: 9px;
  padding-bottom: 9.72px;
}

.list_detail {
  margin-top: 36px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dfe1e6;
}

.list_icons_lengs {
  padding: 0;
}

.list_skill {
  align-self: flex-start;
  list-style: none;
  padding: 0;
}

.sec3 {
  background-color: white;
  width: 100%;
  margin: auto;
}

.contact {
  background-image: url(./contact_form.svg);
  background-color: #6070ff;
  width: 100%;
  background-size: cover;
  border-top-left-radius: 80px;
  padding-top: 30px;
  margin: auto;
  padding-bottom: 50px;
}

.contactme {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #fff;
  padding-top: 80px;
  text-align: center;
  padding-bottom: 16px;
}

.contact p {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #ebebff;
  margin-left: 24px;
  margin-right: 24px;
  padding-bottom: 50px;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

form .input {
  width: 100%;
}

.contact_text {
  text-align: center;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: 90%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 15px 12px 15px 12px;
  margin-left: 24px;
}

.button_touch {
  margin-left: 24px;
  background: #fff;
  border: 1px solid  #6070ff;
  border-radius: 8px;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0.03em;
  color: #396df2;
  width: 140px;
  height: 48px;
}

.button_touch:hover {
  margin-left: 24px;
  background: #6070ff;
  box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
  border-radius: 8px;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0.03em;
  color: #fff;
}

.button_touch:active {
  margin-left: 24px;
  background: #2230d2;
  border-radius: 8px;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0.03em;
  color: #fff;
}

.error-warning {
  display: none;
}

.error-warning.active {
  display: contents;
  padding-left: 30px;
}

@media (max-width: 768px) {
  .hamburger {
    cursor: pointer;
    display: block;
    z-index: 100;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: white;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: white;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    gap: 0;
    padding-top: 100px;
    flex-direction: column;
    background: #6070ff;
    mix-blend-mode: multiply;
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100vh;
    text-align: left;
    padding-left: 24px;
    transition: 0.3s;
    z-index: 100;
  }

  .nav-item {
    margin: 16px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-family: Poppins, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 44px;
    color: white;
  }
}

@media (min-width: 780px) {
  .hamburger {
    display: none;
  }

  .nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
  }

  .imagen_bg {
    background-size: contain;
    background-image: url("./Headerbg2x.png");
    width: 100%;
    height: 100vh;
    padding-left: 25%;
    padding-right: 25%;
    padding-top: 80px;
  }

  .middle-sec {
    flex-direction: row;
    margin-left: 9%;
    margin-right: 90px;
    height: 448px;
  }

  .middle-sec .mds12 {
    margin-left: 10px;
    margin-right: 10px;
    padding: 0;
    width: 50%;
  }

  .middle-sec .mds22 {
    width: 50%;
    margin-left: 10px;
    margin-right: 10px;
  }

  .snaps {
    width: 100%;
    height: 100%;
  }

  .about_myself {
    width: 100%;
  }

  .section1 {
    display: flex;
    flex-direction: row;
    padding: 142px;
  }

  .section1 > .ams12 {
    width: 50%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .presentation {
    padding-top: 0;
    margin-top: 10px;
  }

  .presentation2 {
    padding-top: 0;
  }

  .arrow {
    padding-left: 68%;
  }

  .list_icons_lengs {
    display: flex;
    flex-direction: row;
  }

  .icon_languaje {
    width: 122px;
    height: 120px;
    margin-left: 12px;
  }

  .icon_languaje > .icon_leng {
    margin: 12px;
    width: 48px;
    height: 48px;
    padding: 0.5px;
  }

  .icon_languaje > .link_leng {
    position: absolute;
    margin-left: 12px;
    margin-top: 12px;
    margin-bottom: 30px;
    padding-top: 100px;
    justify-content: center;
  }

  .contact_background {
    background-color: #6070ff;
    border-top-left-radius: 80px;
    margin: auto;
    padding: 80px;
  }

  .contact {
    background-size: contain;
    background-image: url(/css/contact_formx2.svg);
    width: 100%;
    padding-left: 30%;
  }

  .contact_text {
    align-self: center;
    width: 60%;
  }

  .form {
    align-self: center;
    width: 60%;
  }

  .button_touch {
    align-self: center;
  }

  .modal {
    top: 50%;
    left: 50%;
    overflow: auto;
    width: 90%;
    height: 95%;
  }

  .modal .middle-sec {
    width: 100%;
    height: auto;
    flex-direction: column;
    margin-left: 10px;
  }

  .modal .middle-sec .mds22 {
    width: 100%;
    height: 100%;
  }

  .modal .middle-sec .mds12 {
    flex-direction: column;
    width: 90%;
    max-height: 700px;
  }

  .modal .middle-sec .description {
    width: 60%;
    margin-right: 20px;
  }

  .modal .mds12 .snaps {
    width: 100%;
    height: 80%;
  }

  .modal_content {
    display: flex;
    padding: 20px;
    margin-top: 18%;
  }

  .modal .button_project {
    margin: 20px;
    height: 50px;
    width: 160px;
  }
}
