@import url('https://fonts.googleapis.com/css2?family=Poppins: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&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Urbanist: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');

* {
  margin: 0;
  padding: 0;
  /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
  font-family: Poppins;
}

.wrapper {
  width: 375px;
  background-color: #e5e5e5;
  display: grid;
}

.top-container {
  background-color: white;
  border-bottom-left-radius: 10%;
}

.header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8%;
  margin-left: 5%;
  width: 85%;
  margin-top: 5%;
  text-align: center;
}

/* desktop nav */
.nav-li {
  display: none;
}

.left-text {
  font-weight: 700;
  font-style: normal;
  font-size: 18px;
  color: #6070ff;
  text-decoration: none;
  animation-name: rotation;
  animation-duration: 6s;
}

.top-body-background {
  background-image: url("./assets/header-shapes\ mobile.png");
  background-size: contain;
  background-position: 1ch -1em;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 630px;
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  16% { transform: rotate(180deg); }
  50% { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}

.top-image {
  /* stylelint-disable-next-line length-zero-no-unit */
  filter: blur(0px);
  animation-name: rotation;
  animation-duration: 6s;
}

.top-image:hover {
  filter: blur(3px);
}

.top-body {
  justify-content: center;
  height: 80vh;
  margin-left: 5%;
}

.top-body h1 {
  font-size: 40px;
  line-height: 52px;
  font-style: normal;
  display: flex;
  align-items: center;
  font-weight: 700;
  padding: 5px;
  width: 70%;
  color: #172b4d;
}

.top-body p {
  width: 95%;
  margin-bottom: 5%;
  color: #344563;
}

.footer-connect {
  margin-bottom: 5%;
  color: hsl(234, 100%, 75%);
  text-decoration: none;
}

.footer-connect a {
  text-decoration: none;
  font-size: large;
}

.top-footer {
  width: 60%;
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.second-container {
  box-sizing: border-box;
  margin-top: 5%;
  padding-left: 3%;
  padding-right: 3%;
}

.inner-second-container {
  padding: 4%;
  margin-top: 20%;
  box-shadow: rgb(163, 17, 17);
  background-color: white;
  border-radius: 4%;
}

.inner-second-containerr {
  padding: 4%;
  margin-top: 20%;
  box-shadow: rgb(163, 17, 17);
  background-color: white;
  border-radius: 4%;
}

.inner-second-containerl {
  padding: 4%;
  box-shadow: rgb(163, 17, 17);
  background-color: white;
  border-radius: 4%;
  margin-top: 20%;
  margin-bottom: 100px;
}

.top-image img {
  width: 100%;
}

.text-inner-container h2 {
  font-weight: 800;
  color: #344563;
  margin-bottom: 2%;
}

.canopy-inner-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.canopy-inner-container #text1 {
  padding-right: 10px;
  font-size: 13px;
  color: #344563;
}

.canopy-inner-container #text {
  color: #7a869a;
}

.canopy-inner-container ul {
  display: flex;
  font-size: 13px;
  justify-content: space-around;
  width: 70%;
}

.canopy-daily {
  margin-bottom: 20px;
}

.canopy-list {
  display: flex;
  justify-content: space-between;
  width: 70%;
}

.canopy-list li {
  background-color: #ebebff;
  border-radius: 10px;
  padding: 3px 3px;
  margin: 1px;
  color: #6070ff;
  list-style: none;
}

.all-button {
  border: 1px solid #396df2;
  background-color: white;
  width: 50%;
  border-radius: 10px;
  margin: 20px 0;
  padding: 8px;
  color: #396df2;
  font-size: large;
}

.all-button:hover {
  background-color: rgb(91, 91, 238);
  color: white;
}

.all-button:active {
  background-color: hsl(235, 72%, 48%);
  color: white;
}

.third-container {
  padding: 3%;
  background-color: white;
  border-radius: 0 15% 0 0;
}

.lower-body {
  margin-top: 20%;
  width: 90%;
}

.lower-body h2 {
  font-weight: 800;
  font-size: 42px;
  color: #172b4d;
  margin-bottom: 15px;
}

.lower-body p {
  color: #344563;
  margin-bottom: 20px;
}

.footer-third-container {
  margin-top: 10px;
  margin-bottom: 10%;
}

.footer-third-container a {
  text-decoration: none;
  color: #7f8cff;
}

.lower-footer {
  display: flex;
  justify-content: space-between;
  width: 60%;
  margin-bottom: 3%;
  padding-left: 15px;
  list-style: none;
}

#third-container-button {
  border: 1px solid #396df2;
  width: 55%;
  border-radius: 10px;
  margin: 20px 0;
  padding: 15px 5px;
  color: #396df2;
  font-size: large;
}

#third-container-button:hover {
  background-color: rgb(91, 91, 238);
  color: white;
}

#third-container-button:active {
  background-color: hsl(235, 72%, 48%);
  color: white;
}

.languages-container {
  background-color: white;
  margin-top: 0.5%;
  padding: 20% 3% 15% 3%;
  width: 90%;
}

.language-container-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15%;
}

#dropdown-img {
  height: 8px;
}

.dropside-img {
  height: 8px;
  transform: rotate(-90deg);
}

.language-java-script {
  display: flex;
  justify-content: space-between;
  background-color: #f7f7f9;
  border-radius: 5px;
  position: relative;
  margin-bottom: 20px;
  padding-left: 10px;
  box-shadow: 10px 10px 50px 0 #d7e7f8;
}

#javascript {
  position: absolute;
  top: 15px;
  left: 80px;
}

.language-html {
  display: flex;
  justify-content: space-between;
  background-color: #f7f7f9;
  border-radius: 5px;
  position: relative;
  margin-bottom: 20px;
  padding-left: 10px;
  box-shadow: 10px 10px 50px 0 #d7e7f8;
}

#html {
  position: absolute;
  top: 15px;
  left: 80px;
}

.language-css {
  display: flex;
  justify-content: space-between;
  background-color: #f7f7f9;
  border-radius: 5px;
  position: relative;
  margin-bottom: 20px;
  padding-left: 10px;
  box-shadow: 10px 10px 50px 0 #d7e7f8;
}

#css {
  position: absolute;
  top: 15px;
  left: 80px;
}

.language-footer {
  margin-top: 40px;
}

.language-framwork {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8%;
}

.language-skill {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8%;
}

.section-background {
  background: white;
}

.section {
  margin-top: 20%;
  background-color: #6070ff;
  background-image: url("./assets/header-shapes\ mobile.png");
  background-size: contain;
  background-repeat: no-repeat;
  border-top-left-radius: 15%;
  padding: 4% 3% 15% 3%;
}

.contact-me-section {
  margin-top: 80px;
  margin-bottom: 40px;
  text-align: center;
  color: white;
  width: 90%;
}

.contact-me-section #contact-me {
  font-weight: bold;
  font-size: xx-large;
  margin-bottom: 15px;
}

#contact-me p {
  font-weight: bold;
  font-size: xx-large;
  margin-bottom: 1px;
}

form .text {
  width: 90%;
  font-size: 1.2rem;
  display: flex;
  padding: 3px;
  border-radius: 10px;
  margin-bottom: 3%;
  border: none;
}

form #type-msg {
  width: 90%;
  height: 20vh;
  padding-left: 15px;
  padding-bottom: 50%;
  border-radius: 10px;
  margin-bottom: 5%;
  border: none;
}

.btn-sec {
  position: relative;
}

.sec-btn {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  color: #6070ff;
  cursor: pointer;
  transition: all 0.5s;
}

.sec-btn span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

/* stylelint-disable-next-line selector-pseudo-element-colon-notation */
.sec-btn span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

/* stylelint-disable-next-line selector-pseudo-element-colon-notation */
.sec-btn:hover span:after {
  opacity: 1;
  right: 0;
}

.sec-btn:hover span {
  padding-right: 25px;
}

.sec-btn:hover {
  background-color: rgb(91, 91, 238);
  color: white;
}

.sec-btn:active {
  background-color: #5a38f6;
  box-shadow: 0 2px rgb(127, 160, 251);
  transform: translateY(4px);
}

.dot {
  height: 30px;
  width: 30px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  left: 75%;
  top: 8px;
}

.black-linen {
  margin-top: 15px;
  text-align: center;
}

.bold-text {
  font-weight: bold;
}

#hr {
  margin-bottom: 20px;
}

@media only screen and (min-width: 768px) {
  .wrapper {
    width: auto;
    overflow: hidden;
  }

  .header {
    margin-top: 1rem;
  }

  .right-hamburger {
    display: none;
  }

  .nav-li {
    display: flex;
    justify-content: space-between;
  }

  .nav-li > a {
    text-decoration: none;
    margin: 0 1rem;
  }

  .top-body-background {
    background-size: cover;
    background-position: 2ch em;
    background-repeat: no-repeat;
    margin-top: 1rem;
  }

  .top-body {
    height: 30vh;
    width: 90vw;
    margin-left: 20%;
    margin-bottom: 10rem;
  }

  .top-body h1 {
    width: 40%;
    margin-top: 2rem;
  }

  .top-body p {
    width: 60%;
    margin-bottom: 2rem;
  }

  .footer-connect {
    margin-bottom: 1%;
  }

  .top-footer {
    width: 15%;
  }

  .mobile-first-card {
    display: none;
  }

  .inner-second-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 3.5rem;
    width: 90%;
    margin: 0 auto;
  }

  .inner-second-containerr {
    display: flex;
    flex-direction: row-reverse;
    width: 90%;
    margin: 0 auto;
  }

  .inner-second-containerl {
    display: flex;
    flex-direction: row-reverse;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 5%;
  }

  .same {
    flex: 0 0 calc(50% - 2rem);
  }

  .top-image img {
    width: 100%;
  }

  @keyframes rotation {
    0% { transform: rotate(0deg); }
    16% { transform: rotate(180deg); }
    50% { transform: rotate(360deg); }
    100% { transform: rotate(360deg); }
  }

  .top-image {
    /* stylelint-disable-next-line length-zero-no-unit */
    filter: blur(0px);
    animation-name: rotation;
    animation-duration: 6s;
  }

  .top-image:hover {
    filter: blur(3px);
  }

  .text-inner-container {
    width: 90%;
    margin-right: 5%;
  }

  .canopy-inner-container {
    width: 50%;
  }

  .canopy-inner-container ul {
    gap: 1rem;
    width: 60%;
    margin-left: 5%;
  }

  .canopy-list {
    display: flex;
    justify-content: space-between;
    gap: 0.2rem;
    width: 45%;
  }

  .canopy-list li {
    padding: 8px;
  }

  .all-button {
    margin: 40px 0;
    width: 30%;
  }

  .third-container {
    display: flex;
    width: 95%;
    margin: 0 auto;
    border-radius: 0 15% 0 0;
  }

  .lower-body {
    width: 50%;
  }

  .lower-footer {
    width: 40%;
  }

  .languages-container {
    width: 80%;
    margin-top: 1rem;
  }

  .languages-tools {
    margin-top: 2px;
  }

  .language-li {
    display: none;
  }

  .section {
    background-size: cover;
    background-position: 2ch -8em;
    background-repeat: no-repeat;
    margin-top: 2rem;
  }

  .contact-me-section {
    margin-top: 80px;
    margin-bottom: 40px;
    text-align: center;
    width: 70%;
  }

  .contact-me-section #contact-msg {
    margin-bottom: 40px;
    margin-left: 50%;
    text-align: center;
    width: 50%;
  }

  .contact-me-section #contact-me {
    margin-bottom: 40px;
    margin-left: 50%;
    text-align: center;
    width: 50%;
  }

  .form-section {
    width: 50%;
    margin-left: 30%;
  }

  form .text {
    border-radius: 0%;
  }

  form #type-msg {
    border-radius: 0%;
    width: 89%;
    height: 5vh;
  }

  .dot {
    display: none;
  }

  .sec-btn {
    margin-left: 35%;
  }

  .black-linen {
    display: none;
  }
}
