@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,500;0,600;0,700;1,100;1,200&display=swap');

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 12px;
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #e5e5e5;
}

.main {
  border-top: none;
  width: 100%;
  height: 100%;
}

.header-section {
  border: 1px solid #dfe1e6;
  border-top: none;
}

.nav-elements {
  display: none;
}

.hearders {
  background: url("img/header-shapes.png");
  background-size: cover;
  background-color: #fff;
  border-radius: 0 0 0 70px;
  height: 600px;
  width: 100%;
}

.myself-section {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 10px 70px 0 0;
  border: 1px solid #dfe1e6;
  border-top: none;
  margin-top: 200px;
  width: 95%;
}

.last-button {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  display: flex;
  justify-content: center;
  width: 40%;
  border: 1px solid #6070ff;
  border-radius: 8px;
  padding: 1% 1%;
  transition: 0.5s;
  cursor: pointer;
  color: #396df2;
  margin: 5%;
  font-size: 10px;
}

.tallbar {
  height: 44px;
  width: auto;
  left: 0;
  top: 0;
  border-radius: 0;
  background-color: #fff;
}

.header-sub {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 0;
  border-radius: 0;
  background-color: transparent;
  position: fixed;
}

.desk-card-image {
  display: none;
  width: 50%;
}

.logo {
  color: #6070ff;
  height: 20px;
  width: auto;
  margin-left: 24px;
  margin-top: 10px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
}

a {
  text-decoration: none;
}

.fa-bars {
  cursor: pointer;
  color: #6070ff;
  width: 16px;
  margin-right: 24px;
  margin-top: 7px;
  font-size: 18px;
  text-align: center;
  height: 17px;
  padding-right: 20px;
}

.title {
  height: 150px;
  margin-left: 24px;
  padding-top: 30;
  margin-right: 24px;
  font-family: 'Poppins', Arial, sans-serif;
  font-style: normal;
  line-height: 52px;
  display: flex;
  align-items: center;
  color: #172b4d;
  flex: none;
}

.h-title {
  max-width: 300px;
  height: auto;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 52px;
  color: #172b4d;
  padding-top: 50%;
}

.ruby {
  display: none;
}

.title-h3 {
  height: 80px;
  margin-top: 0;
  margin-left: 24px;
  padding-top: 0;
  margin-right: 24px;
  font-family: 'Poppins', Arial, sans-serif;
  font-style: normal;
  line-height: 52px;
  color: #172b4d;
  margin-bottom: 0;
  padding-bottom: 0;
}

.parrafo {
  width: auto;
  margin-left: 24px;
  margin-right: 24px;
  margin-top: 30%;
}

.parraf {
  width: auto;
  margin-left: 24px;
  margin-right: 24px;
  margin-top: 40%;
}

p {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  color: #344563;
}

.connect {
  height: 20px;
  width: 150px;
  margin-left: 24px;
  margin-right: 234px;
  margin-top: 0;
}

.connect-P {
  font-family: 'Poppins', Arial, sans-serif;
  font-style: normal;
  font-size: 16px;
  color: #7f8cff;
}

.ul {
  display: flex;
  justify-content: space-between;
  width: 68%;
  margin: 4% 0;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  list-style-type: none;
  padding-left: 0;
}

.socialMedia .ul {
  display: flex;
  justify-content: left;
  color: #505f79;
  padding: 6px;
  margin: 0 8px;
  list-style-type: none;
}

.stack {
  display: none;
}

.text-desk {
  display: none;
}

.icon {
  margin: 9px;
  border-radius: 8px;
}

.icon:hover {
  background-color: #6070ff;
  cursor: pointer;
}

.icon-3 {
  height: 20px;
}

.main_wrapper {
  display: grid;
  justify-content: center;
  justify-items: center;
  margin: 5%;
  gap: 1%;
  width: 95%;
}

.card {
  display: flex;
  flex-direction: column;
  grid-gap: 1.5%;
  margin-top: 13%;
  padding-top: 10%;
  padding-bottom: 20%;
  height: auto;
  width: 95%;
  background: #fff;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
  padding-right: 13%;
  margin-right: 0;
  margin-left: 0;
}

h1 {
  width: 90%;
  height: 20%;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  display: flex;
  align-items: center;
  color: #172b4d;
}

h2 {
  width: 90%;
  line-height: 92%;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-style: bold;
  font-size: 40px;
  display: flex;
  align-items: center;
  color: #172b4d;
  margin-bottom: 0;
  margin-top: 4%;
}

.text {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #344563;
  line-height: 24px;
  width: 90%;
  padding: 0 0;
  margin: 0;
  font-size: 15px;
}

.project {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

#color {
  color: #7f8cff;
}

.social {
  display: flex;
  align-self: start;
  justify-content: space-around;
  width: 60%;
  margin: 1% 2%;
}

.facebook {
  display: none;
}

.myself-section .text-card {
  padding-left: 8%;
}

.card .text-card {
  margin-left: 5%;
}

.ul-tag {
  display: flex;
  justify-content: space-between;
  width: 65%;
  gap: 1%;
  margin: 4% 0;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 24px;
  list-style-type: none;
  padding-left: 0;
}

.ul-tag-ruby {
  display: flex;
  justify-content: space-between;
  width: 65%;
  gap: 1%;
  margin: 4% 0;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 24px;
  list-style-type: none;
  padding-left: 0;
}

ul.canopy {
  display: flex;
  justify-content: space-between;
  width: 75%;
  font-weight: 700;
  padding-left: 0;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 13px;
  padding-top: 0;
  list-style-type: disc;
  color: #c1c7d0;
}

.cano {
  color: #344563;
  list-style-type: none;
}

.can {
  color: #344563;
}

.canop {
  color: #7a869a;
}

.pic {
  justify-self: center;
  margin-left: 16px;
  margin-right: 16px;
}

.tag {
  background: #ebebff;
  border-radius: 8px;
  padding: 1% 4% 1% 4%;
}

.tag-in {
  color: #6070ff;
}

.button {
  display: flex;
  justify-content: center;
  width: 30%;
  border: 1px solid #6070ff;
  border-radius: 8px;
  padding: 2% 2% 2% 2%;
  margin-top: 8%;
  transition: 0.5s;
  cursor: pointer;
  color: #396df2;
  font-size: 90%;
}

.button:active {
  background: #2230d2;
  color: #fff;
}

.last-button:active {
  background: #2230d2;
  color: #fff;
}

.button:hover {
  background: #6070ff;
  color: #fff;
  transition: 0.5s;
}

.last-button:hover {
  background: #6070ff;
  color: #fff;
  transition: 0.5s;
}

.languages li {
  list-style: none;
}

.languages ul {
  padding-left: 10px;
}

#lang {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 550px;
  font-size: 20px;
  line-height: 24px;
  color: #000;
  align-items: left;
}

.arrow {
  position: relative;
  display: flex;
  width: 100%;
  vertical-align: middle;
  justify-content: space-between;
  padding-left: 10px;
}

div.arrow-pointing-down {
  position: absolute;
  left: 90%;
  height: 7px;
  width: 7px;
  border-top: 3px solid #acb7c3;
  border-left: 3px solid #acb7c3;
  vertical-align: end;
  padding: 3px;
  display: inline-block;
  justify-content: space-around;
  padding-left: -20%;
  top: 30%;
  transform: rotate(45deg);
  -webkit-transform: rotate(-135deg);
}

.dropdown-items {
  display: block;
  padding-bottom: 5%;
  width: 90%;
  padding-left: 0%;
}

.dropdown-items li {
  background: #f7f7f9;
  padding-bottom: 5%;
  margin-bottom: 5%;
  border-radius: 5%;
}

.dropdown-items li a {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  color: #253858;
  margin-left: 10%;
}

ul.dropdown-items {
  width: 100%;
}

.dropdown-items ul {
  padding-left: 0;
}

.dropdown-items li img {
  vertical-align: middle;
  margin-top: 5%;
}

.languages p {
  padding-right: 20%;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  margin-left: 0;
}

.first {
  width: 100%;
}

.second {
  width: 100%;
}

.languages {
  display: flex;
  flex-direction: column;
  padding-right: 20%;
}

.arrow-right {
  position: absolute;
  left: 90%;
  height: 7px;
  width: 7px;
  border-top: 3px solid #acb7c3;
  border-left: 3px solid #acb7c3;
  vertical-align: end;
  display: inline-block;
  padding-left: -20%;
  top: 30%;
  justify-content: space-around;
  transform: rotate(45deg);
  -webkit-transform: rotate(135deg);
}

hr {
  width: 100%;
}

.contact-section {
  display: flex;
  flex-direction: column;
  background-color: #6070ff;
  border-radius: 70px 10px 0 0;
  border: 1px solid #dfe1e6;
  border-top: 1%;
  margin-top: 200px;
  width: 100%;
}

.contacts {
  background: url("img/contact-form.png");
  background-size: cover;
  width: 100%;
}

.heading-two {
  padding-top: 40%;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  text-align: center;
  color: #fff;
}

.contacts p {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: #ebebff;
  width: 88%;
  margin-left: 3%;
}

.contact-form ul {
  display: block;
  list-style: none;
  padding-bottom: 8em;
  padding-right: 4%;
}

.contact-form li {
  margin-bottom: 1em;
  padding: 0;
  margin-left: 0;
}

form {
  box-sizing: border-box;
  align-self: center;
}

input,
textarea {
  width: 85%;
  padding: 3%;
  border-radius: 8px;
  border-color: white;
}

.end {
  display: none;
}

textarea {
  height: 10em;
}

@media only screen and (min-width: 768px) {
  body {
    font-size: 20px;
    overflow-x: hidden;/* Hide scrollbars */
  }

  .hearders {
    background: url("img/Header-desktop.png") no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: contain, cover;
    border-radius: 0 0 0 5em;
    background-color: #fff;
    padding: 14%;
    height: 100%;
    padding-top: 3%;
  }

  .bars {
    display: none;
  }

  .header-sub {
    justify-content: space-between;
  }

  .nav-elements {
    display: flex;
    padding: 6px;
    align-items: stretch;
    gap: 2em;
  }

  .bb {
    margin-right: 12%;
  }

  .aa {
    margin-left: 5%;
  }

  .nav-elements li {
    list-style-type: none;
  }

  .logo {
    color: #6070ff;
    height: 30px;
    width: auto;
    padding-top: 12%;
    margin-left: 24px;
    margin-top: 15px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    transition: width 2s, height 2s, rotate 2s;
  }

  .logo:hover {
    width: 200px;
    height: 200px;
    rotate: 360deg;
  }

  .tallbar {
    display: none;
  }

  .nav-elements a {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #344563;
    text-align: center;
    transition: all 0.5s ease-out;
  }

  .nav-elements a:hover,
  .nav-elements a:focus {
    color: #00f;
    background-color: #7f8cff;
  }

  .card .text-card {
    width: 50%;
  }

  .h-title {
    line-height: 52px;
    color: #172b4d;
    padding-bottom: 0;
    padding-top: 50%;
    animation-duration: 4s;
    animation-name: slidein;
    animation-iteration-count: infinite;
  }

  @keyframes slidein {
    from {
      margin-left: 70%;
      width: 300%;
    }

    to {
      margin-left: 0%;
      width: 100%;
    }
  }

  .parrafo {
    width: auto;
    max-width: 75%;
    margin-top: 25%;
    padding-bottom: 0;
  }

  .connect {
    padding-top: 0;
    margin-top: 0;
  }

  .card {
    display: flex;
    flex-direction: row;
    grid-gap: 1.5%;
    margin-top: 13%;
    box-sizing: border-box;
    padding: 0.5%;
    margin-left: 32%;
    width: 95%;
    background: #fff;
    border: 1px solid #dfe1e6;
    border-radius: 10px 10px 10px 10px;
    margin-right: 10%;
  }

  .pic {
    display: none;
  }

  .desk-card-image {
    display: block;
  }

  .myself-section {
    display: flex;
    flex-direction: row;
    border-radius: 10px 70px 0 0;
    padding: 10%;
    margin-top: 20%;
    width: 120%;
  }

  .first {
    width: 40%;
  }

  .second {
    width: 60%;
  }

  .dropdown-items {
    display: flex;
    gap: 2%;
    padding-bottom: 5%;
    width: 90%;
    padding-left: 0%;
  }

  .dropdown-items span {
    display: inline-block;
  }

  .title-h3 {
    height: 5%;
    margin-top: 0;
    margin-left: 24px;
    padding-top: 0;
    margin-right: 24px;
    font-family: 'Poppins', Arial, sans-serif;
    font-style: normal;
    line-height: 5%;
    color: #172b4d;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .parraf {
    margin-top: 4%;
  }

  .languages ul {
    padding-bottom: 0;
  }

  .languages .skill-ul {
    padding-top: 0;
    margin-top: 0;
  }

  input,
  textarea {
    width: 50%;
    margin-left: 23%;
  }

  .contacts p {
    width: 100%;
    padding-left: 10%;
  }

  .heading-two {
    width: 70%;
    padding-left: 20%;
    font-size: 30px;
  }

  .titleh2 {
    font-size: 80%;
  }

  .contacts {
    background: url("img/contact-form-desk.png") no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: contain, cover;
    width: 100%;
  }

  .contact-section {
    display: flex;
    flex-direction: column;
    background-color: #6070ff;
    border-radius: 70px 10px 0 0;
    border: 1px solid #dfe1e6;
    border-top: none;
    margin-top: 20%;
    width: 130%;
  }

  .contact-button {
    padding-top: 1%;
    margin-top: 1%;
    padding-left: 2%;
    margin-left: 38%;
    font-size: 12px;
  }

  ul.canopy {
    display: none;
  }

  .facebook .canop {
    padding: 2;
  }

  .facebook {
    display: flex;
  }

  ul.facebook {
    display: flex;
    justify-content: space-between;
    width: 60%;
    font-weight: 700;
    padding-left: 0;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 10px;
    padding-top: 0;
    list-style-type: disc;
    color: #c1c7d0;
  }

  .ul-tag-ruby {
    display: flex;
    justify-content: left;
    gap: 3%;
    margin: 4% 0;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 7px;
    line-height: 15px;
    list-style-type: none;
    padding-left: 0;
    width: 75%;
  }

  .button {
    display: flex;
    justify-content: center;
    width: 20%;
    border: 1px solid #6070ff;
    border-radius: 8px;
    padding: 1% 1%;
    margin-top: 4%;
    transition: 0.5s;
    cursor: pointer;
    color: #396df2;
    font-size: 10px;
  }

  .text-desk {
    display: flex;
    font-size: 50%;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #344563;
    line-height: 24px;
    width: 90%;
    padding: 0 0;
    margin: 0;
  }

  .text {
    display: none;
  }

  .ruby {
    display: flex;
  }

  .forms {
    padding-left: 20%;
    padding-right: 20%;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  .title-myself {
    padding-top: 0;
    animation-duration: 3s;
    animation-name: bounce;
    animation-iteration-count: infinite;
  }

  @keyframes bounce {
    from {
      margin-left: 50%;
      width: 300%;
    }

    to {
      margin-left: 0%;
      width: 100%;
    }
  }
}
