* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

::-moz-selection {
  /* Code for Firefox */
  color: var(--text-color-2);
  background: var(--bg-color);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(0deg, rgba(34, 193, 195, 1) 0%, rgba(253, 187, 45, 1) 100%);
  border-radius: 20px;
}

:root {
  --text-color-1: #f0f9cf;
  --text-color-2: #23832b;
  --text-color-3: #9cb445;
  --bg-color: #f0f9cf;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(0deg, rgb(166, 195, 34) 0%, rgb(17, 208, 237) 100%);
}

/* -------------------- */

::selection {
  color: var(--text-color-2);
  background: var(--bg-color);
}

.center {
  margin-inline: auto;
}

.firstpage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.wrapper {
  padding-top: 57.8px;
  background-image: url(../images/backgroundss.png);
  background-size: 100% 100%;
}

.nav {
  background-color: white ;
  display: flex;
  align-items: end;
  position: fixed;
  color: pink;
  width: 100%;
  height: 55px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

/* -------------------------------------------------------------------------------------------------------------------------- */

.nav-items {
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
  background-color: white;
  padding-top: 10px;
  padding-bottom: 30px;
}

.header {
  margin-top: 120px;
}

.item a {
  font-size: 1.5rem;
  cursor: pointer;
}

.item:hover {
  transform: scale(1.5);
  transition: all 0.5s;
}

.nav-link {
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin: 0 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: rgb(49, 49, 49);
  font-weight: 500;
  opacity: 0.9;
  transition: 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 7px;
  border-radius: 5px;
  background-color: var(--text-color-3);
  bottom: -10px;
  left: 0;
  z-index: -1;
  opacity: 0;
  transition: 0.3s;
}

.nav-link:hover {
  color: var(--text-color-2);
}

.nav-link:hover::after {
  width: 100%;
  opacity: 1;
}

/* -------------------------------------------------------------------------------------------------------------------------- */

.hamburger {
  position: absolute;
  top: 15px;
  right: 24px;
}

.welcome {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  color: #28352f;
  position: absolute;
  top: 15px;
  left: 24px;
}

.intro {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #172b4d;
  text-align: center;
  max-width: 389px;
  margin-left: auto;
  margin-right: auto;
}

.intro span {
  display: block;
}

.intro-exp {
  font-family: "Inter", sans-serif;
  font-style: oblique;
  font-weight: 400;
  font-size: 20px;
  color: #42526e;
  line-height: 32px;
  text-align: center;
  margin: 58px 24px 60px;
}

.head1 {
  color: #172b4d;
}

.green-color {
  color: #247f59;
}

.bottom-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  align-items: center;
  margin-bottom: 22px;
}

.group-icons {
  margin-bottom: 86px;
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.group-icons li {
  padding-right: 19px;
  list-style: none;
}

/* ------------------------------------------------------------------------------ */

.go-down-container {
  width: 80px;
  height: 80px;
  background-color: #fff;
  text-align: center;
  margin: 0 10px;
  display: block;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 3px solid #fff;
  z-index: -2;
}

.go-down {
  position: relative;
  color: #262626;
  transition: 0.5s;
  z-index: 3;
}

.go-down-container::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  transition: 0.5s;
  z-index: 2;
}

.go-down-container:hover::before {
  top: -100%;
}

.go-down-container:nth-child(1) a::before {
  background: var(--text-color-3);
}

/* ------------------------------------------------------------------------------ */

.grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  margin-left: auto;
  margin-right: auto;
}

.stories-card {
  border-radius: 8px;
  border: 1px solid #d0d9d4;
  background-size: 100% 50%;
  min-width: 310px;
  max-width: 336px;
  margin: 1rem;
  margin-top: 24px;
}

@media screen and (min-width: 1120px) {
  .stories-card {
    max-width: 400px;
  }
}


.card-div {
  display: flex;
  align-self: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.projects {
  width: 95%;
}

.recent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.recent>h2 {
  text-align: center;
  height: 97px;
  width: 280px;
  border-radius: 0;
  color: #28352f;
  font-size: 40px;
  line-height: 52px;
  font-weight: bold;
  margin-bottom: 24px;
}

.white-back {
  margin-top: 252px;
  min-height: 219px;
  height: auto;
  padding-bottom: 20px;
  width: 100%;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  text-align: center;
  align-self: center;
  flex-direction: column;
}

.card-title {
  margin: 16px;
  font-style: normal;
  color: rgb(90 98 95);
  font-size: 22px;
  font-weight: bold;
}

.list {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.lang-name {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #3a4a42;
  background-color: #ebf0ee;
  border-radius: 4px;
  padding: 8px 12px;
  margin-left: 4px;
  margin-right: 4px;
  margin-top: 10px;
}

.seepr-button {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.03em;
  color: #fff;
  background: #247f59;
  border-radius: 4px;
  padding: 12px;
  margin-top: 29px;
  transition: 0.2s box-shadow ease-in-out;
}

.seepr-button:hover {
  box-shadow: 0 8px 16px 0 #247f59;
}

.seepr-button:active {
  background: #008552;
}

.aboutme {
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-bottom: 59px;
}

.myself {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  color: #172b4d;
  margin-top: 24px;
  margin-bottom: 24px;
  width: 351px;
}

.exp {
  width: 351px;
  margin: 0 auto;
  line-height: 32px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  color: #42526e;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 24px;
}

.resume-button {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.03em;
  color: #fff;
  padding: 12px;
  background: #247f59;
  border-radius: 4px;
  width: 159px;
  align-items: center;
  align-self: center;
  text-decoration: none;
  transition: 0.2s box-shadow ease-in-out;
}

.resume-button:hover {
  box-shadow: 0 8px 16px 0 #247f59;
}

.resume-button:active {
  background: #008552;
}

.languages {
  height: 400px;
  min-width: 300px;
  max-width: 400px;
  background: #ebf0ee;
  border-radius: 8px;
  border: 1px solid #c1c7d0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-bottom: 24px;
}

.lang-icon {
  background-size: 80px 80px;
  padding: 16px;
  background-color: #fff;
  border-radius: 50%;
  margin-bottom: 30px;
  margin-top: 40px;
}

.lang-heading {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 24px;
  text-align: center;
  color: #344563;
}

.lang-list {
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mr-LR {
  margin-left: 24px;
  margin-right: 24px;
}

.mr-B72 {
  margin-bottom: 72px;
}

.mr-T {
  margin-top: 8px;
}

.mr-B24 {
  margin-bottom: 24px;
}

.mr-B60 {
  margin-bottom: 60px;
}

.langs-name {
  border-radius: 8px;
  letter-spacing: 0.03em;
  padding: 12px;
  background: #fff;
  color: #247f59;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
}

.conclusion-text {
  font-style: normal;
  font-weight: 500;
  font-size: 27px;
  line-height: 51px;
  color: #172b4d;
  text-align: center;
  margin-block: 36px;
  position: relative;
}

.footer {
  background: url(../images/bg-footer.svg) no-repeat right;
  background-size: 100% 100%;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 36px 0 0;
}

.contact-btn {
  align-self: center;
  margin: 0 0 36px;
  border-radius: 4px;
  border-style: none;
  padding: 12px 9px;
  height: 48px;
  transition: 0.2s box-shadow ease-in-out;
}

.contact-btn:hover {
  box-shadow: 0 8px 16px 0 #247f59;
}

.contact-btn:active {
  background: #008552;
}

.contact-lists {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 19px 102px 19px;
  margin-bottom: 17px;
}

.contact-lists li {
  padding-right: 19px;
  list-style: none;
}

.email {
  display: flex;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  color: #42526e;
  padding-bottom: 100px;
}

.email a {
  text-decoration: none;
  color: #42526e;
}

.info {
  height: 48px;
  padding-left: 15px;
  border: 1px solid rgb(96, 192, 149);
  box-sizing: border-box;
  border-radius: 4px;
  font-size: 15px;
}

.textarea {
  padding: 12px;
  font-size: 15px;
  border: 1px solid #60c095;
  box-sizing: border-box;
  border-radius: 4px;
  color: #091e42;
  height: 114px;
}

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

.cross-icon {
  position: absolute;
  top: 50px;
  right: 26px;
}

.popup-list {
  position: absolute;
  top: 90px;
  left: 0;
}

.popup-list li a {
  text-decoration: none;
  color: #3a4a42;
}

.display {
  display: none;
}

.header-desktop li {
  list-style-type: none;
}

.header-desktop {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: black;
  background: linear-gradient(0deg, rgb(121, 122, 114) 0%, rgb(243, 248, 223) 100%);
  background-size: 100% 100vh;
  z-index: 20;
  opacity: 0;
  transform: translateX(-100%);
  transition: all 300ms ease-out;
}

.header-desktop[data-visible="true"] {
  opacity: 1;
  transform: translateX(0%);
}

.header-desktop[data-visible="onRight"] {
  opacity: 1;
  transform: translateX(100%);
}

.header-desktop-text {
  font-family: "Inter", sans-serif;
  color: #3a4a42;
  width: 251px;
  height: 33px;
  margin-left: 28px;
  margin-bottom: 40px;
  padding: 0;
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 44px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.overflow {
  overflow: hidden;
}

.header-mobile {
  display: none;
}

.error-message {
  font-weight: 900;
  padding: 0 12px;
  color: salmon;
  align-self: flex-start;
  font-family: "Poppins", sans-serif;
  text-align: center;
  width: auto;
}

.hide {
  display: none;
}

.error {
  text-align: center;
  align-self: center;
  display: flex;
  font-family: "Poppins", sans-serif;
  border-radius: 8px;
  background-color: greenyellow;
  margin-bottom: 5px;
  width: 60%;
  height: auto;
  margin-top: 12px;
  transform: scale(1.3);
}

.contact-lists li a:hover img,
.group-icons li a:hover img {
  cursor: pointer;
  font-size: 3.5rem;
  transform: scale(2, 2);
  transition: all 0.5s;
}

@media screen and (min-width: 768px) {
  .grid {
    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    grid-gap: 24px; */
  }
}

@media screen and (min-width: 768px) {
  nav .nav-items {
    background-color: var(--bg-color);
    display: flex;
    position: fixed;
    height: 13vh;
    flex-direction: row;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .item a {
    font-size: 1.5rem;
    cursor: pointer;
  }

  .nav-link {
    text-decoration: none;
    position: relative;
    display: inline-block;
    margin: 0 0.75rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--text-color-2);
    font-weight: 500;
    opacity: 0.9;
    transition: 0.3s;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 7px;
    border-radius: 5px;
    background-color: var(--text-color-3);
    bottom: -10px;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: 0.3s;
  }

  /* -------------------------------------------------------------------------------------------------------------------------- */

  /* .container {
    padding: 0 104px;
  } */

  .lastpage {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    border-bottom: 2px solid #dfe1e6;
    padding-bottom: 160px;
  }

  .header-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    width: 100%;
    height: 60px;
  }

  .header-mobile-text {
    font-size: 15px;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 600;
    margin: 50px;
    color: var(--text-color-2);
  }

  .header-mobile-text a {
    text-decoration: none;
    color: var(--text-color-2);
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    margin-top: 2rem;
  }

  .wrapper {
    margin-top: 0;
    background: url(../images/desktop-background.png);
    background-size: 100% 100vh;
    padding: 0 200px 100px;
  }

  .nav {
    display: none;
  }

  .intro {
    max-width: 100%;
    margin-bottom: 24px;
    margin-top: 0;
    font-weight: 800;
    font-size: 40px;
    line-height: 60px;
    text-align: center;
    letter-spacing: 0.37px;
    color: #172b4d;
  }

  .intro-exp {
    height: auto;
    width: 920px;
    margin: 0 0 0 34px;
    padding: 0 80px 34px 80px;
    margin-left: auto;
    margin-right: auto;
  }

  .group-icons {
    margin-bottom: 86px;
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .group-icons li {
    padding-right: 19px;
    list-style: none;
  }

  /* .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    grid-gap: 24px;
  } */

  .conclusion-text {
    width: 40%;
    font-size: 30px;
    text-align: left;
    margin: 140px 24px 0;
  }

  .contact {
    width: 60%;
    margin: 120px 24px 0;
  }

  .info {
    width: 100%;
  }

  .textarea {
    width: 100%;
  }

  .contact-btn {
    align-self: flex-start;
  }

  .footer {
    align-self: center;
    background: url(../images/bg-footer.svg) no-repeat;
    background-size: 100% 100%;
  }

  .aboutme {
    margin-top: 95px;
    background: url(../images/aboutme-background.svg) no-repeat;
    background-size: cover;
    padding-bottom: 70px;
  }

  .languages {
    width: 100%;
    transition: transform 1s;
  }

  .exp {
    width: 900px;
  }

  .email {
    display: none;
  }

  .stories-card {
    transition: transform 1s;
  }

  .stories-card:hover {
    transform: scale(1.1);
    border: 1px solid rgb(96, 192, 149);
  }

  .languages:hover {
    transform: scale(1.1);
  }

  .lang-name {
    transition: transform 1s;
  }

  .lang-name:hover {
    transform: scale(1.5);
  }

  .langs-name {
    transition: transform 1s;
  }

  .langs-name:hover {
    transform: scale(1.5);
  }

  .resume-button {
    transition: transform 1s, background-color 1s, color 1s;
  }

  .resume-button:hover {
    transform: scale(1.3);
    background-color: #fff;
    color: #247f59;
  }

  .seepr-button {
    transition: transform 1s, background-color 1s, color 1s;
  }

  .seepr-button:hover {
    transform: scale(1.3);
    background-color: #fff;
    color: #247f59;
  }
}