/*font-family: "Tilt Warp", sans-serif;
font-family: "Syne", sans-serif;
font-family: "Inter", sans-serif;*/
:root {
  --heading-font-family: "Syne", sans-serif;
  --default-font-family: "Inter", sans-serif;
  --primary-color: #cdd8ec;
  --secondary-color: #d3f0e7;
  --tertiary-color: #fbddf7;
  --highlight-color: #fceadd;
  --box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  --edge-offset: calc(100vw - 100%);
}

body {
  font-family: var(--default-font-family);
  font-size: 21px;
  font-weight: 400;
  overflow-x: hidden;
}

h1,
h2 {
  font-family: var(--heading-font-family);
}

h1 {
  font-size: 64px;
  font-weight: 700;
}

h2 {
  font-size: 38px;
  font-weight: 600;
}

h3,
h4 {
  font-weight: 500;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 21px;
}

a {
  font-size: 18px !important;
  font-weight: 400 !important;
}

img {
  box-shadow: var(--box-shadow);
  border-radius: 10px;
}

.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.hero {
  background-color: var(--primary-color);
}

.hero h2 {
  font-size: 46px;
  font-weight: 700;
}

.image-card {
  display: grid;
}

.image-card img {
  width: 100%;
  height: 60vh;
  max-height: 500px;
  object-fit: cover;
  grid-area: 1 / 1;
  border-radius: 0px;
  box-shadow: none;
}

.image-card .my-name {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  color: white;
  font-family: "Tilt Warp", sans-serif;
  font-size: clamp(52px, 12vw, 120px);
}

.sub-heading {
  padding-top: clamp(40px, 12vh, 120px);
  padding-left: 30px;
}

.title-card {
  background-image: url("/src/images/pastel-oil-spill.png");
  text-align: center;
  min-height: clamp(200px, 40vw, 500px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.title-card h1,
.title-card h3 {
  color: white;
  margin: 0 auto;
}

.project-content {
  margin-top: 100px;
}

.project-text-right {
  margin-left: 100px;
}

.project-text-left,
.content-text {
  margin-right: 100px;
}

.project-img-right,
.edge-img {
  margin-right: calc(-1 * var(--edge-offset));
  padding-right: 0;
}

.project-img-left {
  margin-left: calc(-1 * var(--edge-offset));
  padding-left: 0;
}

.project-img-right img,
.project-img-left img,
.edge-img img {
  width: 100%;
  display: block;
}

.project-img-right img,
.edge-img img {
  border-radius: 45px 0px 0px 45px;
}

.project-img-left img {
  border-radius: 0px 45px 45px 0px;
}

.hover-color {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

a:hover .hover-color {
  filter: grayscale(0%);
}

.contact-box {
  display: flex;
  justify-content: space-evenly;
  margin: 80px auto 50px;
  padding: 20px;
  max-width: 75%;
  background-color: var(--primary-color);
  border-radius: 20px;
}

.contact-box-text p {
  font-size: 18px;
  padding-right: 10px;
}

.contact-box-button {
  margin: 30px 5px;
}

.copyright {
  font-size: 18px;
}

.secret {
  color: var(--tertiary-color);
}

@media (max-width: 1100px) {
  .image-card img {
    display: none;
  }

  .hero {
    background-image: url("/src/images/pastel-oil-spill.png");
  }

  .hero .row {
    display: block !important;
  }

  .hero .row > div {
    width: 100%;
    flex: none;
  }

  .hero-content {
    padding: 20px;
  }

  .hero h1 {
    text-align: center;
    margin: 20px 0 0 0 !important;
    padding-bottom: 20px;
    font-size: clamp(48px, 8vw, 68px);
  }

  .hero h2 {
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 5px !important;
  }

  .sub-heading {
    padding: 5px;
    text-align: center;
    margin-bottom: 20px;
  }

  .hero a {
    display: inline-block;
    margin-top: 15px;
  }

  .content-text {
    margin: 0;
  }

  .edge-img {
    margin: 0 auto;
    padding: 15px;
    text-align: center;
  }

  .edge-img img {
    display: block;
    border-radius: 20px;
  }
}

@media (max-width: 990px) {
  h2 {
    font-size: clamp(28px, 5vw, 38px);
  }

  h3,
  p {
    font-size: clamp(16px, 5vw, 21px);
  }

  .project-text-right,
  .project-text-left {
    margin: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .contact-box {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .contact-box-button {
    margin: 20px 0 0;
  }
}
