/* Import Font */
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");

/* Page Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Syne", sans-serif;
}

/* Variables */
:root {
  /* Typography */

  --displaylarge: clamp(2rem, 2vw + 2rem, 3.5rem);
  --letterspacing: -4%;
  --lineheight: 100%;

  --displaysmall: clamp(2rem, 2vw + 2rem, 3rem);
  --heading1: clamp(1.5rem, 2vw + 1.5rem, 2.5rem);
  --heading2: clamp(1.25rem, 2vw + 1.25rem, 2.25rem);

  --paragraphlarge: clamp(0.875rem, 2vw + 0.875rem, 1.125rem);
  --paragraphmedium: 16px;
  --paragraphsmall: 14px;

  --thin: 100;
  --extralight: 200;
  --light: 300;
  --semibold: 600;
  --regular: 400;
  --medium: 500;
  --bold: 700;

  /* Colors */

  --primarytextcolor: hsla(0, 0%, 100%, 1);
  --secondarytextcolor: #8a8a8a;
  --primarycolor: hsla(24, 100%, 50%, 1);
  --secondarycolor: hsla(0, 0%, 0%, 1);
  --bordercolor: #333333;
  --primarycoloractive: rgb(255, 140, 64);

  /* Spacing, margin & padding */
  --pagemargin: 72px;
  --padding20: 20px;
  --borderradiuslarge: 16px;
  --borderradiusmedium: 8px;
  --borderradiussmall: 4px;
  --border: 1px;
}

.page-wrapper {
  min-height: 100vh;
  background-color: var(--secondarycolor);
  color: var(--primarytextcolor);
}

/* Header */
.header {
  width: 100%;
  padding: 0px var(--pagemargin);
  position: relative;
  z-index: 1;
}

.navbar {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--border) solid var(--bordercolor);
  padding: var(--padding20) 0px;
}

.logo {
  width: fit-content;
  height: auto;
}

.logo h1 {
  font-family: monospace;
  font-size: var(--paragraphlarge);
  font-weight: var(--medium);
}

.link-container {
  width: fit-content;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  column-gap: 32px;
}

.link-container a {
  text-decoration: none;
  color: var(--primarytextcolor);
  font-size: var(--paragraphmedium);
}

.link-container a:hover {
  color: var(--primarycolor);
}

.link-container a:focus {
  color: var(--primarycolor);
}

/* Background Gradient */
.div {
  width: 500px;
  height: 400px;
  position: absolute;
  top: -80px;
  right: 0px;
  z-index: -1;
}

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

.secondarybutton {
  width: fit-content;
  height: auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondarycolor);
  border: var(--border) solid var(--bordercolor);
  color: var(--primarytextcolor);
  border-radius: var(--borderradiusmedium);
  cursor: pointer;
}

.secondarybutton:hover {
  width: fit-content;
  height: auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondarycolor);
  border: var(--border) solid var(--primarycolor);
  color: var(--primarycolor);
  border-radius: var(--borderradiusmedium);
  cursor: pointer;
}

.primarybutton {
  width: fit-content;
  height: auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primarycolor);
  border: var(--border) solid var(--bordercolor);
  color: var(--primarytextcolor);
  border-radius: var(--borderradiusmedium);
  cursor: pointer;
}

.primarybutton:hover {
  width: fit-content;
  height: auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primarycoloractive);
  border: var(--border) solid var(--bordercolor);
  color: var(--primarytextcolor);
  border-radius: var(--borderradiusmedium);
  cursor: pointer;
}

/* HeroSection */
.herosection {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 16px var(--pagemargin);
}

.hero-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 130px 60px;
  /* background-image: url(./Images/Backie.svg);
  object-fit: cover;
  object-position: center; */
}

.hero-heading {
  width: fit-content;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 16px;
}

.hero-heading h1 {
  font-size: var(--displaylarge);
  font-weight: var(--semibold);
  text-align: center;
}

.herosection p {
  font-size: var(--paragraphmedium);
  color: var(--secondarytextcolor);
  text-align: center;
}

.button-container {
  display: flex;
  flex-direction: row;
  width: fit-content;
  height: auto;
  align-items: center;
  justify-content: center;
  column-gap: 16px;
}

.herofooter {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  padding: 16px var(--pagemargin);
  row-gap: 16px;
}

.herofooter h1 {
  font-size: var(--paragraphlarge);
}

.tools-logo {
  display: flex;
  flex-direction: row;
  width: 50%;
  height: auto;
  align-items: center;
  justify-content: space-between;
}

.exp-section {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  padding: 3.56rem var(--pagemargin);
  row-gap: 16px;
}

.exp-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  border-radius: 2rem;
  border: 1px solid rgba(232, 93, 0, 0.81);
  padding: 2.625rem 1.875rem;
  column-gap: 2rem;
  position: relative;
}

.svgcontainer {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0px;
  right: 70px;
}
.left-container {
  width: 60%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  row-gap: 1rem;
}

.experienceandproject {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  column-gap: 1rem;
}

.experience-card {
  display: flex;
  padding: 1.5rem;
  flex-direction: column;
  align-items: start;
  row-gap: 4.6875rem;
  border-radius: 2rem;
  border: var(--border) solid var(--bordercolor);
}

.label {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.label h1 {
  font-size: var(--paragraphlarge);
  color: var(--primarycolor);
}
.label p {
  font-size: var(--paragraphmedium);
}

.secondarytext p {
  color: var(--secondarytextcolor);
}

.right-container {
  flex: 1;
  height: auto;
  /* position: relative; */
}

.image-container {
  width: 100%;
  height: auto;
}

.image {
  width: 100%;
  height: auto;
}

.image img {
  width: 100%;
  height: auto;
  border-radius: 2rem;
}

/* project Section */

.projectwrapper {
  width: 100%;
  height: auto;
  padding: 60px 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 2rem;
}

.projectheading {
  width: fit-content;
  height: auto;
  padding-bottom: 40px;
}

.projectcards {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 2rem;
}

.projectcardsrow {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  column-gap: 3.2rem;
}

.card1 {
  display: flex;
  width: 35.8125rem;
  flex-direction: column;
  align-items: start;
  row-gap: 1.713rem;
}

.cardimage {
  /* align-self: stretch; */
  width: 100%;
  height: 25rem;
  /* object-fit: fill; */
  object-fit: cover;
  object-position: center;
}

.cardimage img {
  width: 100%;
  height: 100%;
  border-radius: 1.713rem;
}

.cardbody {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  row-gap: 1rem;
}

.cardbody h1 {
  font-size: var(--paragraphlarge);
}

.cardbody p {
  font-size: var(--paragraphmedium);
  color: var(--secondarytextcolor);
}

.cardheading {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  row-gap: 0.86rem;
}

.project-year {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.projecttags {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.42825rem;
}

.tagcontainer {
  align-self: stretch;
  display: flex;
  height: auto;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 0.43rem;
}

.symbols {
  width: fit-content;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 0.43rem;
}

.Tag {
  display: flex;
  width: fit-content;
  padding: 0.4rem 0.8rem;
  justify-content: center;
  align-items: center;
  gap: 0.53531rem;
  border-radius: 1.713rem;
  border: 0.857px solid rgba(255, 255, 255, 0.25);
}

.Tag p {
  color: var(--secondarytextcolor);
}
.Tag a {
  text-decoration: none;
  color: var(--primarytextcolor);
}
.Tag a:hover {
  text-decoration: none;
  color: var(--primarycolor);
}

.closingsection {
  width: 100%;
  min-height: 100vh;
  padding: 9rem var(--pagemargin);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.bottomdiv {
  width: 500px;
  height: 400px;
  position: absolute;
  top: 200px;
  right: 0px;
  z-index: -1;
}

.bottomdiv img {
  width: 200px;
  height: 200px;
}

.forelabel {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  row-gap: 1rem;
}

.closingsection p {
  font-size: var(--paragraphmedium);
  font-weight: var(--medium);
}

.closingsection h1 {
  font-size: var(--heading1);
}

.footer {
  width: 100%;
  height: auto;
  display: flex;
  padding: 0rem var(--pagemargin);
}

.footercontainer {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
  border-top: 1px solid var(--bordercolor);
  padding: 24px;
}

.footercontainer h1 {
  font-size: var(--paragraphsmall);
}

/* =========================================
   TABLET VIEW (max-width: 1024px)
   ========================================= */
@media (max-width: 1024px) {
  :root {
    --pagemargin: 48px;
  }

  /* Navbar */
  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 1rem;
  }

  .link-container {
    column-gap: 24px;
  }

  .div {
    width: clamp(250px, 35vw, 400px);
    top: -40px;
  }

  /* Hero section */
  .hero-container {
    padding: 100px 40px;
  }

  .hero-heading h1 {
    text-align: center;
  }

  .hero-heading p {
    width: 90%;
  }

  /* Tools section */
  .tools-logo {
    width: 80%;
    justify-content: space-around;
  }

  /* Experience section */
  .exp-container {
    flex-direction: column;
    row-gap: 2rem;
    padding: 2rem;
  }

  .left-container {
    width: 100%;
  }

  .right-container {
    width: 100%;
  }

  .svgcontainer {
    display: none;
  }

  /* Project Section */
  .projectwrapper {
    padding: 60px 4rem;
  }

  .projectcardsrow {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2rem;
  }

  .card1 {
    width: 80%;
  }

  /* Closing Section */
  .closingsection {
    padding: 6rem 3rem;
  }

  .bottomdiv {
    width: clamp(250px, 40vw, 400px);
    top: 120px;
  }

  .bottomdiv img {
    width: 100%;
    height: auto;
  }

  .forelabel h1 {
    font-size: var(--heading2);
  }

  /* Footer */
  .footer {
    padding: 0 3rem;
  }
}

/* =========================================
   MOBILE VIEW (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
  :root {
    --pagemargin: 24px;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    row-gap: 1rem;
  }

  .link-container {
    flex-direction: column;
    row-gap: 12px;
  }

  .secondarybutton {
    width: 100%;
  }

  .secondarybutton:hover {
    background-color: var(--secondarycolor);
    border: var(--border) solid var(--primarycolor);
    color: var(--primarycolor);
    border-radius: var(--borderradiusmedium);
    cursor: pointer;
  }

  .div {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(150px, 60vw, 250px);
    height: auto;
    opacity: 0.5;
  }

  .hero-container {
    padding: 80px 24px;
    text-align: center;
  }

  .hero-heading p {
    font-size: var(--paragraphsmall);
  }

  .button-container {
    flex-direction: column;
    row-gap: 1rem;
  }

  .tools-logo {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .exp-section {
    padding: 2rem 1.5rem;
  }

  .experienceandproject {
    flex-direction: column;
    row-gap: 1.5rem;
  }

  .projectwrapper {
    padding: 40px 2rem;
  }

  .card1 {
    width: 100%;
  }

  .projectcardsrow {
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
  }

  .closingsection {
    padding: 4rem 1.5rem;
    min-height: auto;
  }

  .bottomdiv {
    width: 60%;
    top: 80px;
    right: 0;
  }

  .bottomdiv img {
    width: 100%;
    height: auto;
  }

  .forelabel h1 {
    font-size: var(--heading2);
  }

  .footercontainer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    row-gap: 1rem;
  }
}
