:root {
  --black-color: #1a2236;
  --blue-color: #98dede;
  --deep-blue: #1c528a;
  --pink-color: #e2505c;
  --yellow-color: #febf52;
  --white-color: #fff;
  --ash-color: #f9f9fa;
  --normal-font: "Poppins", "sans-serif";
  --normal-weight: 500;
}

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

.get-started,
body {
  background: url("Images/image_geometry_1.png");
  background-repeat: no-repeat;
}

.mobile-nav {
  display: flex;
  justify-content: center;
}

.name-tag {
  width: 220px;
  height: 100px;
  margin-top: 30%;
  margin-bottom: 0%;
  font-family: "Playfair Display", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 50px;
  line-height: 100%;
  color: #1a2236;
}

.about-tag {
  width: 288px;
  height: 126px;
  margin-top: 20px;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.01em;
  color: #1a2236;
}

.dark-bg,
.dark-bg-cv,
.dark-bg-submit {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 16px;
  background-color: var(--black-color);
  width: 345px;
  height: 51px;
  color: var(--white-color);
  line-height: 24px;
  display: inline-block;
  margin-top: 40px;
  padding-right: 64px;
  padding-left: 53px;
  border-width: 1px;
}

.dark-bg-cv {
  padding-bottom: 6px;
  margin-top: 5rem;
}

.dark-bg-submit {
  margin-top: 10px;
}

.btn-container {
  display: flex;
}

.link {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  color: var(--white-color);
}

button:hover,
button:active,
.link:hover {
  background-color: var(--white-color);
  color: var(--black-color);
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 27px;
}

.link:hover {
  padding: 5px;
}

button:active,
link:active {
  border-width: 2px;
}

.body-display {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 20px;
}

.footer-image {
  background-image: url("Images/image_geometry_2.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 190px;
  margin-top: 32px;
}

.about-container,
.about-card {
  display: flex;
  flex-direction: column;
}

h2 {
  font-family: "Playfair Display", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 50px;
  line-height: 100%;
  color: var(--black-color);
  width: 181px;
  height: 50px;
  margin-left: 16px;
  margin-top: 55px;
  margin-bottom: 50px;
}

h3,
h4 {
  font-family: "Playfair Display", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 50px;
  line-height: 100%;
  color: var(--black-color);
  margin-top: 35px;
}

h4 {
  padding-top: 50px;
}

.blue-bg {
  text-decoration: none;
  display: inline-block;
  background-color: #98dede;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  padding: 9px;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-right: 5px;
  line-height: 80%;
  color: var(--black-color);
}

.close-btn {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  position: relative;
  top: -2rem;
  font-size: 2.5rem;
  font-weight: 1rem;
}

.close-btn:hover {
  font-size: 2.5rem;
}

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

.project-name {
  color: var(--white-color);
  font-size: 22px;
  font-weight: 300;
}

.p-icons {
  position: relative;
  left: 3rem;
  top: 0.3rem;
}

.background-card,
.background-card-footer {
  background-color: var(--black-color);
  width: 100%;
  display: flex;
  padding-top: 25px;
  height: 200px;
}

.background-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: auto;
}

.background-card-footer {
  display: inline-block;
  color: #92dcdc;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  padding-left: 20px;
  padding-top: 50px;
}

.arrow-link {
  display: flex;
  flex-direction: row;
  gap: 20px;
  border: 2px solid var(--white-color);
  padding-bottom: 15px;
  text-decoration: none;
  padding-top: 10px;
  padding-left: 8px;
}

.get-buttton {
  display: inline-flex;
  flex-direction: row;
}

.about-section {
  display: flex;
  flex-direction: column;
  column-gap: 20em;
  padding: 25px;
}

.about-section-tag,
.about-section-tag-start {
  margin-top: 20px;
  width: 288px;
  height: 126px;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.01em;
  color: var(--black-color);
}

.about-section-tag-start {
  height: 100px;
}

.down-icon {
  padding-top: 5px;
  padding-left: 20px;
  width: 45px;
}

.about-grid-container {
  display: grid;
  gap: 20px;
}

.languages,
.frameworks,
.skills {
  width: 90%;
  height: 300px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-left: 80px;
  padding-top: 40px;
}

.languages {
  background: url("icons/hash.svg");
  background-color: #1c528a;
  background-repeat: no-repeat;
  background-position: right;
  background-position-y: bottom;
}

.frameworks {
  background: url("icons/rectangles.svg");
  background-color: #e2505c;
  background-repeat: no-repeat;
  background-position: right;
  background-position-y: bottom;
}

.skills {
  background: url("icons/bulb.svg");
  background-color: #febf52;
  background-repeat: no-repeat;
  background-position: right;
  background-position-y: bottom;
}

p {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
}

.list {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: -0.0525em;
  color: #fff;
}

.get-started {
  background-color: #f9f9fa;
  padding-bottom: 86px;
  margin-top: 65px;
}

ul {
  list-style: none;
}

#name,
#name1,
#email,
#email1,
textarea {
  width: 340px;
  height: 75px;
  background-color: #fff;
  border: 1px solid #dfdfe0;
  border-radius: 7px;
  margin-bottom: 10px;
  font-family: "poppins", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 7px;
  padding-left: 10px;
  padding-bottom: 45px;
}

::placeholder {
  width: 200px;
  height: 15px;
  margin-top: 10px;
  padding-top: 10px;
  color: #7d7c84;
}

textarea {
  height: 125px;
  font-size: 15px;
  line-height: 30px;
}

.icons-container {
  display: flex;
  justify-content: space-around;
  margin-top: 35px;
  margin-left: -15px;
}

#footer-icon {
  margin-left: 15px;
  width: 25px;
}

.blue-bg-desktop,
.desktop-name,
.desktop-name-2,
.justify-btn {
  display: none;
}

.text-area {
  display: flex;
}

.hamburger,
.close {
  position: absolute;
  left: 88%;
  top: 5%;
}

.desktop-nav,
.desktop-nav-main {
  display: none;
}

.projects-btn {
  background-color: var(--black-color);
  color: var(--white-color);
  border: 1px solid var(--white-color);
  width: 11rem;
  height: 3rem;
  font-family: var(--normal-font);
  font-size: 1rem;
}

.mobile-nav2 {
  justify-content: center;
  height: 100vh;
  background-image: url(./Images/menu-items.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100vw;
  margin: 0 auto;
}

.mobile-nav2 ul li {
  margin-bottom: 40%;
  font-size: 1.5rem;
  font-weight: var(--normal-weight);
}

.desktop-nav ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.desktop-nav ul li a {
  list-style: none;
  text-decoration: none;
  color: var(--black-color);
}

.card-bg-img,
.desktop-btn-icon {
  display: none;
}

.grid-item-x,
.grid-item-xi,
.image-geo-3,
.final-image2,
.final-images {
  display: none;
}

.final-section {
  display: none;
}

.hidden,
.prev-btn,
.next-btn {
  display: none;
}

.hamburger1.display {
  display: flex;
}

.projectImg {
  display: block;
  width: -webkit-fill-available;
}

.projectsBackground {
  background-color: var(--black-color);
  padding: 1rem;
}

/* MODAL STYLES */

.mainPopupContainer {
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  overflow: scroll;
  scroll-behavior: smooth;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;

  /* background-color: rgba(0, 0, 0, 0.6); */
  background-color: white;
  backdrop-filter: blur(3px);
  z-index: 5;
}

.close-modal {
  position: fixed;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
}

.popUp-title {
  color: black;
  padding-bottom: 0.2rem;
}

.seeLiveBtn,
.seeSourceBtn {
  border: 1px solid black;
  background-color: #fff;
  display: block;

  /* margin: 0 auto; */
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  color: black;
  padding: 1rem 3.5rem;
  margin: 1rem 2rem;
}

.faIcons {
  padding-left: 3rem;
}

.faIcon2 {
  padding-left: 1rem;
}

.popUp-btn {
  text-decoration: none;
  display: inline-block;
  background-color: #fff;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  padding: 0.5rem;
  margin: 0.5rem 0;
  line-height: 80%;
  color: var(--black-color);
  border: 1px solid var(--black-color);
}

.popUp-text {
  color: #1a2236;
  text-align: left;
  padding: 1rem 0;
  font-weight: 200;
}

/* DESKTOP STYLES WITH MEDIA QUERIES */

@media (min-width: 768px) {
  body {
    background: none;
  }

  .mainProjectContainer,
  .footer-image,
  .mobile-nav img,
  .mobile-nav2,
  .about-container {
    display: none;
  }

  .side-image {
    background-image: url("dimages/bg-image-1\ \(1\).svg");
    background-repeat: no-repeat;
    background-size: fill;
    background-position: top right;
    padding-bottom: 35%;
  }

  h3,
  h2 {
    font-size: 100px;
  }

  .list {
    list-style: disc;
  }

  .desktop-projects-section {
    background-image: url("works/Group121.svg");
    background-repeat: no-repeat;
    background-size: cover;
  }

  .arrangeDesktopWorks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 16.35rem 17rem 20rem 30rem;
    height: 225vh;
  }

  .rotatedHeading {
    margin-top: 15rem;
    transform: rotate(270deg);
    grid-column: 1/2;
  }

  .work1 {
    width: -webkit-fill-available;
    height: 30rem;
    grid-row: 1/2;
    grid-column: 2/4;
  }

  .desktopDark-bg {
    background-color: #1a2236;
    padding: 8rem;
    grid-row: 2/3;
    grid-column: 2/4;
  }

  .work2 {
    margin-top: 3.5rem;
    width: 27rem;
    grid-row: 3/4;
  }

  .work3 {
    margin-top: 2rem;
    margin-left: 2rem;
    width: 26rem;
    grid-row: 3/4;
    grid-column: 3/4;
  }

  .work4 {
    margin-top: 0.9rem;
    width: 48rem;
    height: 28rem;
    grid-row: 4/5;
    grid-column: 1/3;
  }

  .work5 {
    grid-row: 5/6;
    grid-column: 3/4;
    width: 28rem;
    margin-left: -8.5rem;
    margin-top: -1rem;
  }

  .work6 {
    width: 26rem;
  }

  .overlay-project {
    margin-left: -1.7rem;
    position: absolute;
    z-index: 4;
    top: 110rem;
    left: 60rem;
  }

  .second-desktopDarkBg {
    background-color: #1a2236;
    padding: 2rem;

    /* padding-top: 5rem; */
  }

  .name-tag {
    font-size: 110px;
    margin-top: 10%;
    width: auto;
    height: auto;
  }

  .about-tag {
    padding-top: 2%;
    width: 30%;
  }

  .mobile-nav {
    box-shadow: 0 0.5px 0 #dddfe6;
    display: flex;
    justify-content: center;
    background-color: var(--white-color);
    margin: 0%;
    padding: 0%;
  }

  .projects-btn {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: var(--black-color);
    background-color: var(--white-color);
    border: none;
    width: 15rem;
    height: 3rem;
  }

  .projects-btn:hover {
    background-color: var(--black-color);
    color: var(--white-color);
    border: 1px solid var(--white-color);
  }

  .desktop-nav-main {
    display: flex;
    background-image: none;
  }

  .desktop-nav-main ul {
    display: flex;
    flex-direction: row;
  }

  .desktop-nav-main li a {
    text-decoration: none;
    font-family: var(--normal-font);
    font-weight: var(--normal-weight);
    color: #1a2236;
    padding: 1rem;
    font-size: 16px;
    display: block;
  }

  .about-grid-container {
    display: grid;
    grid-template-columns: 300px 300px;
    grid-column: 1/2;
    margin: 0%;
    margin-top: -65%;
  }

  .languages {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .frameworks {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  .skills {
    grid-column: 1/2;
    grid-row: 2/3;
  }

  .teal-bg {
    background-image: url("Images/image_dots_with_teal.svg");
    background-repeat: no-repeat;
    background-position: bottom right;
    grid-column: 2/3;
    grid-row: 2 / 3;
  }

  .languages,
  .frameworks,
  .skills {
    gap: 0;
    margin: 0%;
    padding: 20%;
    width: 100%;
  }

  .desktop-about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10%;
  }

  .about-section {
    grid-column: 2/3;
    position: center;
    margin-top: 15%;
    padding-left: 20%;
  }

  .about-section-tag {
    width: 25rem;
  }

  .get-started,
  .arrow-icon {
    display: none;
  }

  .final-section {
    display: block;
    background-image: url("Images/footer-top.svg"), url("Images/footer-btm.svg");
    background-position: top left, bottom right;
    background-repeat: no-repeat;
    background-color: var(--ash-color);
    padding-bottom: 240px;
  }

  .desktop-4 {
    display: flex;
    flex-direction: column;
    width: 680px;
    margin: 0 auto;
    padding-top: 60px;
  }

  .desktop-text {
    color: #1a2236;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: -0.01em;
    text-align: center;
    padding-bottom: 9%;
  }

  .desktop-header {
    font-size: 110px;
    padding: 8%;
    text-align: center;
  }

  .background-card-footer {
    height: 100%;
    padding-top: 20px;
    display: flex;
    justify-content: space-around;
  }

  .btm-grid {
    display: grid;
    grid-template-columns: 100px 100px;
    column-gap: 20%;
    row-gap: 8%;
    justify-items: center;
    justify-content: center;
  }

  .btm-grid1 {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .btm-grid2 {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  .btm-grid3 {
    grid-column: 1/3;
    grid-row: 2/3;
  }

  .btm-grid4 {
    grid-column: 1/3;
    grid-row: 4/5;
  }

  .btm-grid-flex {
    display: flex;
    flex-direction: column;
  }

  textarea {
    width: 600px;
    padding: 80px;
    overflow-y: hidden;
  }

  #email,
  #name {
    width: 250px;
  }

  input[type="email"]::placeholder,
  input[type="text"]::placeholder {
    opacity: 0;
  }

  ::placeholder {
    margin-top: -90px;
  }

  .icons-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 30px;
    padding-bottom: 20px;
  }

  .text-area {
    margin-top: 35px;
  }

  .animation-1 {
    color: var(--pink-color);
    transition: all 0.3s;
    position: relative;
  }

  .animation-1 span {
    transition: 0.5s;
  }

  .animation-1::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-top-color: var(--black-color);
    border-bottom-color: var(--black-color);
    transform: scale(0.1, 1);
  }

  .animation-1:hover span {
    letter-spacing: 2px;
  }

  .animation-1:hover::before {
    opacity: 1;
    transform: scale(1, 1);
  }

  .animation-1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all 0.3s;
  }

  .animation-1:hover::after {
    opacity: 0;
    transform: scale(0.1, 1);
  }
}
