/**       @ imports       */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap');

/**       variables       */
:root {
  /* colors */
  --primary-red--300: #830a2e;
  --primary-red--500: #c12352;
  --primary-red--600: #e75e87;
  --primary-red--650: #b18996;
  --primary-red--700: #f0bdcd;
  --primary-red--800: #fcebf0;

  --secondary-purple--700: #ece6f2;
  --secondary-purple--light: #faf8fc;

  --tertiary-blue--300: #07203b;
  --tertiary-blue--400: #4a7099;
  --tertiary-blue--600: #acc6e2;
  --tertiary-blue--700: #dce9f7;
  --tertiary-blue--light: #f7fafd;

  --grey-medium: #727272;
  --grey-light: #b1b1b1;

  /* shadows */
  --big-box-shadow:
    0px 100px 80px rgba(0, 0, 0, 0.07),
    0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
    0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
    0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
    0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
    0px 2.76726px 2.21381px rgba(0, 0, 0, 0.096);
}

/**       global       */
* {
  /* border: 1px solid rgb(219, 219, 219); */
  margin: 0;
  padding: 0;
  font-size: 10px;
  font-family: sans-serif;
  font-family: 'Quattrocento Sans';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  box-sizing: border-box;
  color: rgb(29, 29, 29);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}
::selection {
  background: hsla(340, 63%, 84%, 1);
}
nav,
header,
section {
  font-size: 1.6rem;
}

div {
  font-size: 1.6rem;
}
h1 {
  font-family: 'Poppins';
  font-weight: 900;
  /* font-size: 72px; */
  color: rgb(29, 29, 29);
  line-height: 100%;
}
h2 {
  font-family: 'Poppins';
  font-weight: 900;
  font-size: 48px;
  margin-top: 24px;
  margin-bottom: 48px;
}
h3 {
  font-size: 2rem;
}

h4 {
  font-family: 'Quattrocento Sans';
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
}
p {
  font-size: 1.6rem;
  line-height: 150%;
}
a {
  font-family: 'Quattrocento Sans';
  font-weight: 400;
  font-size: 1.6rem;
  text-decoration: none;
  color: rgb(29, 29, 29);
}
button {
  font-family: 'Quattrocento Sans';
  font-weight: 400;
  border: none;
  font-size: 1.6rem;
  outline: none;
  transition: background-color 0.4s;
}
button:hover {
  border: none;
  cursor: pointer;
  text-decoration: none;
  background-color: var(--primary-red--600);
}

ol,
ul {
  list-style: none;
}

/* see images as wireframe placeholders */
/* img { */
/* background-color: grey; */
/* } */

/**                 HEADER                */

header {
  display: flex;
  align-items: center;
  margin: 24px auto;
  max-width: 1200px;
  padding: 0 32px;
}

nav {
  display: flex;
  align-items: center;

  width: 100%;
}

#main-nav-list {
  /* display: inline-block; */
  /* border: 3px solid green; */
  display: flex;
}

nav li {
  margin-left: 64px;
}
nav li a {
  color: var(--grey-medium);
}
nav li a:hover {
  color: var(--primary-red--500);
}

.active-nav-link {
  color: var(--primary-red--500);
  /* text-decoration: underline; */
  border-bottom: 1px solid var(--primary-red--500);
}
.nav-btn {
  margin-left: auto;
  /* border: 1px solid red; */
}
.btn-contact {
  background-color: var(--primary-red--500);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  margin-left: auto;
}

/**       MAIN SECTION         */
main {
  margin-top: 72px;
}

section {
  /* max-width: 800px; */
  margin: auto;
  padding: 32px;
}

#hero-section {
  display: flex;
  /* align-items: center; */
  /* border: 1px solid red; */
  /* padding: 32px 0px 72px 10%; */
}

#hero-text {
  /* border: 1px solid purple; */
  width: 40%;
}
#hero-text-inner {
  /* display: flex; */
  margin-top: 56px;
}
#profile-img {
  width: 96px;
  height: 96px;
  margin-right: 16px;
  float: left;
}

#hero-text h4 {
  font-family: 'Quattrocento Sans';
  font-weight: 400;
  /* margin-top: 32px; */
  /* border: 1px solid red; */
}
#hero-img {
  /* border: 1px solid grey; */

  align-self: center;
  justify-self: center;
  /* position: relative; */
  /* left: 24px; */
  /* bottom: 100px; */
  /* width: 60%; */
  width: 80%;
  object-fit: contain;
}

#skill-cards-section {
  background-color: var(--tertiary-blue--light);
  background: linear-gradient(112.36deg, #de4c75 0%, #4fb3d9 101.47%);
  display: flex;
  flex-wrap: wrap;
}

#skill-cards-section h2 {
  width: 100%;
  color: white;
  /* border: 1px solid grey; */
}

#cards {
  display: flex;
  width: 100%;
  justify-content: center;
  /* border: 1px solid yellow; */
  /* margin-top: 48px; */
  margin-bottom: 72px;
  /* gap: 24px; */
}

.card {
  border-radius: 8px;
  box-shadow: var(--big-box-shadow);
  width: 30%;
  max-width: 280px;
  /* border: 1px solid red; */
  padding: 24px;
  /* margin-left: 24px; */
  background-color: #fff;
  margin-left: 24px;
}
.first-card {
  margin-left: 0;
  /* border: 1px solid red; */
}
.card-icon {
  /* border: 1px solid blue; */
  margin: auto;
  display: flex;
}
h5 {
  font-family: 'Poppins';
  font-size: 22px;
  line-height: 100%;
  margin-top: 16px;
  margin-bottom: 16px;
  text-align: center;
}
#skill-cards-section ul {
  margin-top: 16px;
  line-height: 26px;
  list-style: none;
}
#skill-cards-section li {
  font-size: 1.6rem;
  list-style: none;
  letter-spacing: -0.12px;
}
#skill-cards-section li::before {
  content: '\2022';
  color: var(--primary-red--700);
  font-size: 32px;
  position: relative;
  top: 4px;
  left: -2px;
}

/*  gallery 1 */
.work-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 16px;
}
.work-gallery.last {
margin-top: 24px;
}
.work-gallery img {
  border-radius: 8px;
  width: 100%;
  /* height: auto; */
  height: 278px;
  object-fit: contain;
  object-position: top;
}
.img-gallery-contain {
  /* border: 2px solid red !important; */
  object-fit: cover !important;
  /* min-height: 300px; */
}
.extra-gallery {
  margin-top: 24px;
}
/* case study 1 */
.work-case-study {
  border: 1px solid rgb(228, 228, 228);
  border: 1px solid var(--primary-red--700);
  border-left: 8px solid var(--primary-red--600);
  background-color: #fcf4f6;
  background-color: #fff4f6;
  display: flex;
  /* box-shadow: var(--big-box-shadow); */
  border-radius: 8px;
  /* background-color: var(--primary-red--800); */
  /* gap: 24px; */
  padding: 24px 8px 24px 24px;
  margin: 72px 0;
}

.work-case-study > img {
  width: 50%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  /* transition: all 0.4s; */
}
.work-case-study > img:hover {
  width: 50%;
  height: 320px;
  /* object-position: 1%, 1%; */
  border-radius: 8px;
  /* transform: scale(1.01); */
}
.case-study-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 4px 24px 12px 16px;
  width: 50%;
}

.case-study-metatext {
  width: 100%;
  height: auto;
  font-family: 'Quattrocento Sans';
  color: var(--grey-light);
  color: var(--primary-red--650);
  font-weight: 600;
  font-size: 14px;
}

h6 {
  font-family: Poppins;
  font-size: 18px;
  line-height: 140%;
  margin-top: 8px;
  margin-bottom: 16px;
}
.case-study-text {
  /* border: 1px solid red; */
  flex-grow: 1;
}
img.case-study-text {
  cursor: pointer;
}
.work-case-study button {
  width: 200px;
  display: flex;
  align-items: center;
  background-color: white;
  background-color: #fcf4f6;
  color: var(--primary-red--500);
  padding: 12px 16px 12px 16px;
  border-radius: 8px;
  transition: background 0.6s;
}

.work-case-study button:hover {
  display: flex;
  align-items: center;
  background-color: var(--primary-red--800);
  background-color: var(--primary-red--700);
  color: var(--primary-red--500);
}
.button-svg {
  margin-left: 8px;
  position: relative;
  top: 2px;
  transition: transform 0.4s;
}

.arrow-hover {
  transform: translate(8px);
}

/*. reverse case study */
.reverse-case-study {
  padding: 24px 24px 24px 8px;
}
.reverse-case-study > img {
  order: 2;
}
.reverse-case-study > div {
  order: 1;
}

/**       SECTION    Why work with me?     */
#why-me-section {
  margin-top: 64px;
  background-color: var(--secondary-purple--700);
}

.why-me-feature {
  display: flex;
  margin: 64px 0;
}
.why-me-text {
  width: 40%;
  padding: 4px 24px 12px 16px;
}
.why-me-image {
  width: 60%;
  max-height: 340px;
  border-radius: 8px;
  object-fit: contain;
  object-position: top;
}

.reverse-why-me-feature > div {
  order: 2;
}

.reverse-why-me-feature > img {
  order: 1;
}

/** SECTION TESTIMONIALS */

.testimonial-div {
  margin-top: 56px;
  margin-bottom: 56px;
}

.quote-one {
  color: #b1c1d2;
  font-size: 24px;
  font-family: Arial, Arial, Helvetica, sans-serif;
}
.quote-two {
  color: #b1c1d2;
  font-size: 24px;
  font-family: Arial, Arial, Helvetica, sans-serif;
  position: relative;
  right: 0px;
  bottom: 0px;
  /* border: 32px solid blue; */
}
.p-testimonial {
  font-size: 16px;
  font-style: italic;
  line-height: 150%;
  width: 80%;
  margin: auto;
}

.p-testimonial-title {
  width: 80%;

  margin: 24px auto 4px auto;
  font-weight: 700;
  color: var(--primary-red--500);
}
.p-testimonial-subtitle {
  width: 80%;
  margin: auto;
}

.logo-abbreviated {
  display: flex;
  margin: auto;
  justify-self: center;
  opacity: 0.3;
}

/**                 FOOTER                */

footer {
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-red--500);
  background-color: var(--primary-red--300);
}

footer p {
  color: white;
}

.heart {
  fill: rgb(226, 89, 89);
  fill: var(--primary-red--600);
  position: relative;
  top: 5px;
  width: 20px;
  animation: pulse 1s ease infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

/**     scroll to top scroller  */

#scroller {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 3;
  opacity: 0.15;
  transition:
    transform 0.4s,
    opacity 0.4s;
}

#scroller:hover {
  opacity: 0.5;
  transform: scale(1.2);
}

/**                     CASE STUDIES HTML                         */

.alternate {
  font-size: 72px;
  margin-bottom: 56px;
}

.case-study-link {
  display: block;
  color: var(--primary-red--500);
  width: fit-content;
  margin-bottom: 12px;
}
.case-study-link:hover {
  /* border-bottom: 1px inset var(--primary-red--500); */
  text-decoration: underline;
}

.h2-smaller {
  font-size: 36px;
  color: var(--primary-red--500);
}
.case-study-hero-image {
  /* border: 1px solid red; */
  border-radius: 8px;
  width: 100%;
  height: 520px;
  object-fit: cover;
  margin-top: 16px;
  margin-bottom: 48px;
}
.case-study-hero-image.contain {
  object-fit: contain;
  object-position: top;
  border-radius: 8px;
}

.case-study-intro-text {
  /* border: 1px solid grey; */
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
}
.metadata {
  border-radius: 8px;
  /* border: 6px solid rgb(6, 153, 97); */
  /* border-bottom: 12px solid var(--tertiary-blue--600); */
  border-top: 4px solid var(--tertiary-blue--600);
  width: 30%;
  background-color: var(--tertiary-blue--700);
  padding: 12px;
  height: auto;
}
.metadata-title {
  /* border: 1px solid red; */
  margin-bottom: 8px;
  color: var(--tertiary-blue--400);
  font-size: 1.4rem;
}
.middle {
  margin-top: 16px;
}
.metadata-text {
  color: var(--tertiary-blue--300);
}
.case-study-introduction {
  width: 70%;
  padding: 0px 24px;
  line-height: 150%;
}
.case-study-introduction-title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 24px;
}
.h2-alternate-2 {
  font-size: 32px;
  /* margin-top: 72px; */
  margin-bottom: 32px;
}

.p-case-study {
  margin-bottom: 32px;
  line-height: 150%;
}
.h2-alternate {
  margin-top: 72px;
}
.text-with-image {
  /* border: 4px solid red; */
  display: flex;
  margin-bottom: 144px;
  margin-top: 72px;
  gap: 24px;
  /* height: auto; */
}
.text-with-image > img {
  width: 66%;
  min-height: 400px;
  height: auto;
  max-height: 600px;
  /* object-fit: cover; */
  object-fit: contain;
  object-position: top;
  /* border: 1px solid blue; */
  border-radius: 8px;
}
.text-with-image > div {
  /* padding: 12px 12px 12px 32px; */
  /* border: 1px solid purple; */
  width: 33%;
  line-height: 150%;
}
.subtitle {
  font-family: Poppins;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

img.case-study-text--reverse {
  order: 2;
}

div.case-study-text--reverse {
  order: 1;
  padding: 12px 24px 12px 24px;
}

.contain-image {
  object-fit: contain !important;
}

.image-solo {
  width: 100%;
  display: flex;
  /* border: 1px solid red; */
  object-fit: cover;
  margin: 0px auto;
  border-radius: 8px;
  margin-bottom: 24px;
}

.h3-alternate {
  font-size: 24px;
}
.p-alternate {
  line-height: 150%;
  margin: 24px 0 32px 0;
}

#tt-gallery {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

#tt-gallery img {
  width: 33%;
  object-fit: cover;
}

.get-in-touch {
  background-color: var(--secondary-purple--light);
  /* height: 320px; */
}
.h2-get-in-touch {
  width: 100%;
}
.get-in-touch-inner {
  display: flex;
  flex-wrap: wrap;
}

.p-get-in-touch {
  width: 100%;
}
.btn-get-in-touch {
  margin: 32px 0 72px 0;
}

.a-get-in-touch {
  color: var(--primary-red--500);
}
.a-get-in-touch:hover {
  color: var(--primary-red--300);
  text-decoration: underline;
}
.a-get-in-touch img {
  transform: rotate(180deg) translateY(-2px);
}

#case-study-2 img {
  cursor: pointer;
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.modal-container.visible {
  pointer-events: all;
  opacity: 1;
  cursor: pointer;
}
.overlay {
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.8;
  backdrop-filter: blur(225px);
  z-index: 100;
  position: absolute;
}

.modal {
  z-index: 101;
  width: 90%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* position: relative; */
}

.modal-btn {
  z-index: 102;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 24px;
  top: 24px;
  width: 36px;
  height: 36px;
  transition: transform 0.2s;
  cursor: pointer;
}
.modal-btn:hover {
  transform: scale(1.2);
}

.modal-icon {
  z-index: 103;
  width: 100%;
  height: 100%;
  background-color: none;
  background-image: url(../assets/icons/icon-close.svg);
}

.modal-img {
  z-index: 105;
  width: 100%;
  height: 100%;
  /* background: #041425; */
  background: none;
  opacity: 1;
  object-fit: contain;
}

.scrolling-locked {
  overflow: none;
  height: 100vh;
}

/* add shadows or outlines on hover to all images */
.case-study img {
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.case-study img:hover {
  /* transform: scale(100.5%); */
  box-shadow: 0px 0px 8px 4px hsla(342, 74%, 64%, 0.25);
}

/* gif images */
.image-gif {
  width: 33% !important;
}
.image-gif:last-of-type {
  margin-left: 8px;
}

/* *                                             */
/* *                ABOUT ME  HTML               */
/* *                                             */
#about-card {
  /* border: 1px solid blue; */
  display: flex;
  margin: 80px 0 72px 0;
  padding: 24px;
  border-radius: 8px;
  background-color: #f7e9ed;
}

#about-card > img {
  float: left;
  margin: 16px 16px 8px 0;
  width: 120px;
  height: 120px;
}
#about-card-text {
  /* border: 1px solid red; */
  width: 100%;
  padding: 24px;
  line-height: 150%;
}

#btn-download {
  background-color: var(--primary-red--500);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  margin-left: auto;
  margin-top: 24px;
  transition: background-color 0.25s;
}
#btn-download:hover {
  background-color: var(--primary-red--600);
}

.icon-download {
  position: relative;
  top: 2px;
  margin-right: 12px;
}

.h3-about-me {
  font-family: Poppins;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
  margin-top: 72px;
}

p.about-me {
  font-family: 'Poppins';
  font-weight: 700;
  color: var(--primary-red--500);

  margin-top: 32px;
}

.about-me-subtitle {
  font-weight: 500;
  font-size: 1.6rem;
  color: rgb(145, 145, 145);
}
.about-me-description {
  margin-top: 8px;
  line-height: 150%;
}

/**                                              */
/**              media queries                   */
/**                                              */

/*?      mobile phones to 600px       */

@media screen and (min-width: 300px) and (max-width: 600px) {
  h1 {
    font-size: 48px;
  }

  header {
    margin: 24px 16px;
    padding: 0 0px;
  }

  #logo-img {
    width: 80px;
  }

  nav li {
    flex: 0;
    margin-left: 16px;
    /* border: 1px solid blue; */
    /* max-width: 50px; */
    display: flex;
    align-items: center;
  }
  nav li a {
    flex: 0;
    font-size: 16px;
    min-width: 64px;
    /* border: 1px solid red; */
  }
  .nav-btn {
    margin-left: auto;
  }
  .btn-contact {
    background-color: var(--primary-red--500);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    /* margin-left: auto; */
  }
  main {
    margin-top: 48px;
  }
  section {
    padding: 0 16px;
  }


  #hero-section {
    /* border: 1px solid red; */
    display: flex;
    flex-wrap: wrap;
    padding: 0px 16px 0px 16px;
    width: 100%;
  }
  #hero-text {
    /* border: 1px solid purple; */
    width: 100%;
  }
  #hero-text-inner {
    /* border: 1px solid purple; */
    max-width: 90%;
    margin: 0 auto;
  }
  #hero-section h1 {
    width: 100%;
    /* font-size: 72px; */
    margin-bottom: 48px;
    /* border: 2px solid green; */
  }

  #hero-text h4 {
    font-size: 16px;
  }

  #hero-img {
    /* border: 1px solid blue; */
    margin: 24px auto;
    position: static;
    width: 100%;
  }

  .work-gallery {
    grid-template-columns: 1fr;
  }

  .work-case-study {
    flex-wrap: wrap;
    padding: 8px 16px;
    /* margin: 0; */
  }

  .reverse-case-study > img {
    order: 1;
  }

  .work-case-study > img {
    width: 100%;
    height: 240px;
  }
  .work-case-study > img:hover {
    width: 100%;
  }
  .case-study-content {
    width: 100%;
    padding: 4px 16px 24px 0;
  }

  .case-study-metatext {
    margin-top: 12px;
  }
  .case-study-button {
    width: auto !important;
    background-color: var(--primary-red--500) !important;
    color: white !important;
    margin-top: 24px;
  }

  .button-svg svg path {
    fill: white;
  }

  #cards {
    flex-wrap: wrap;
  }
  .card {
    width: 100%;
    /* height: 360px; */
    min-height: 312px;
    margin-left: 0;
    margin-bottom: 24px;
  }
  h5 {
    margin-top: 8px;
    line-height: 120%;
  }
  #skill-cards-section ul {
    margin-top: 8px;
    line-height: 22px;
  }

  .why-me-feature {
    display: flex;
    flex-wrap: wrap;
    margin: 32px 0;
    /* border: 1px solid blue; */
  }
  .why-me-text {
    width: 100%;
    padding: 0;
  }
  .why-me-image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    margin-top: 16px;
  }
  .reverse-why-me-feature > div {
    order: 1;
  }

  .reverse-why-me-feature > img {
    order: 2;
  }

  /** case studies page */

  #case-study-1 {
    margin-top: 64px;
  }

  .case-study-hero-image {
    /* border: 1px solid red; */
    border-radius: 8px;
    width: 100%;
    height: 320px;
    object-fit: cover;
    margin-bottom: 32px;
  }

  .case-study-intro-text {
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .metadata {
    width: 100%;
  }
  .case-study-introduction {
    /* border: 1px solid red; */
    width: 100%;
  }
  .h2-smaller {
    font-size: 28px;
    line-height: 120%;
  }
  .h2-alternate-2 {
    font-size: 32px;
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .h2-alternate {
    font-size: 28px;
    margin-top: 32px;
    margin-bottom: 24px;
  }
  .p-case-study {
    margin-bottom: 0;
  }
  .text-with-image {
    display: flex;
    flex-wrap: wrap;
    margin-top: 32px;
    margin-bottom: 48px;
  }
  .subtitle {
    margin-top: 24px;
  }
  .text-with-image img {
    width: 100%;
  }
  .text-with-image > div {
    width: 100%;
  }
  .case-study-text--reverse {
    padding: 0;
  }
  .alternate {
    font-size: 56px;
    margin-bottom: 48px;
  }

  .modal {
    height: 80%;
  }

  .modal-btn {
    top: 12px;
    right: 12px;
  }

  .image-gif {
    width: 100% !important;
  }
  .image-gif:last-of-type {
    margin-top: 8px;
    margin-left: 0;
  }

  /**           about page          */
  #about-card {
    flex-wrap: wrap;
    margin-top: 24px;
  }

  #about-card img {
    margin: auto;
  }

  #about-card-text {
    padding-left: 0;
    padding-right: 0;
  }

  .get-in-touch {
    padding-top: 32px;
    padding-bottom: 72px;
  }
}

/*?      600 to 730 because of cards gap  */
/*? is down after tablets */

/*?      tablets 600 - 900px      */

@media screen and (min-width: 601px) and (max-width: 900px) {
  h1 {
    font-size: 32px;
  }

  nav li {
    flex: 0;
    margin-left: 48px;
    /* border: 1px solid blue; */
    /* max-width: 50px; */
    display: flex;
    align-items: center;
  }
  nav li a {
    flex: 0;
    font-size: 16px;
    /* border: 1px solid red; */
  }
  .nav-btn {
    margin-left: auto;
  }
  .nav-btn {
    margin-left: auto;
  }
  .btn-contact {
    background-color: var(--primary-red--500);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    margin-left: auto;
  }
  nav li {
    margin-left: 32px;
  }
  #hero-section {
    /* border: 1px solid red; */
    display: flex;
    flex-wrap: wrap;
    padding: 0px 32px 0px 32px;
    width: 100%;
  }
  #hero-text {
    /* border: 1px solid purple; */
    width: 100%;
  }
  #hero-text-inner {
    /* border: 1px solid purple; */
    max-width: 100%;
    margin: 0 auto;
  }
  #hero-section h1 {
    width: 100%;
    font-size: 72px;
    margin-bottom: 48px;
    /* border: 2px solid green; */
  }

  #hero-img {
    /* border: 1px solid blue; */
    margin: 24px auto;
    position: static;
    width: 100%;
  }
  #cards {
    flex-wrap: wrap;
    /* gap: 24px; */
  }
  .card {
    width: 100%;
    /* height: 320px; */
    margin-bottom: 24px;
    /* margin-left: 24px; */
  }
  .last-card {
    margin-left: 0;
  }
  .case-study-metatext {
    margin-top: 12px;
  }
  .work-gallery {
    grid-template-columns: 1fr;
  }
  .why-me-feature {
    display: flex;
    flex-wrap: wrap;
    margin: 64px 0;
  }
  .why-me-text {
    width: 100%;
    padding: 0;
    order: 2;
    margin-top: 16px;
  }
  .why-me-image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    order: 1;
  }
  .reverse-why-me-feature > div {
    order: 2;
  }

  .reverse-why-me-feature > img {
    order: 1;
  }

  /** case studies */
  .case-study-hero-image {
    /* border: 1px solid red; */
    border-radius: 8px;
    width: 100%;
    height: 440px;
    object-fit: cover;
    margin-bottom: 32px;
  }
  .h2-alternate-2 {
    font-size: 32px;
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .h2-alternate {
    margin-top: 32px;
    margin-bottom: 24px;
  }
  .p-case-study {
    margin-bottom: 0;
  }
  .text-with-image {
    display: flex;
    flex-wrap: wrap;
  }
  .text-with-image img {
    width: 100%;
  }
  .text-with-image > div {
    width: 100%;
  }

  .get-in-touch {
    padding-top: 32px;
    padding-bottom: 72px;
  }

  .image-gif {
    width: 100% !important;
  }
  .image-gif:last-of-type {
    margin-top: 8px;
    margin-left: 0;
  }
  .text-with-image > div {
    padding: 24px 0;
  }
  div.case-study-text--reverse {
    padding: 24px 0;
  }
}

/*?      600 to 730 because of cards gap */

@media screen and (min-width: 601px) and (max-width: 735px) {
  .last-card {
    margin-left: 0;
  }
  .card {
    margin-left: 0;
  }
  #skill-cards-section, #why-me-section {
  /* border: 4px solid blue; */
  max-width: 100%;
}

.section-inner {
  max-width: 1100px;
  margin: auto;
}

}

/*?      landscape tablets and small laptops 900 - 1200     */

@media screen and (min-width: 901px) and (max-width: 1201px) {
  header {
    margin: 24px auto;
  }
  h1 {
    font-size: 72px;
  }
  #hero-text-inner {
    /* border: 1px solid blue; */
    margin-top: 32px;
  }
  section {
    /* border: 4px solid green; */
    /* padding-left: 10%;
    padding-right: 10%; */
    max-width: 1000px;
    padding-left: 40px;
    padding-right: 40px;
  }
  #skill-cards-section, #why-me-section {
  /* border: 4px solid blue; */
  max-width: 100%;
}

.section-inner {
  max-width: 1100px;
  margin: auto;
}

  .get-in-touch {
    /* border: 4px solid blue; */
    /* padding-left: 10%;
    padding-right: 10%; */
    max-width: 11000px !important;
  }
  .get-in-touch-padding {
    /* border: 4px solid red; */
    /* padding-left: 10%;
    padding-right: 10%; */
    max-width: 1100px;
    margin: auto;
  }
}

/*?      small laptops 1200 - 1800       */

@media screen and (min-width: 1201px) and (max-width: 1800px) {
  header {
    margin: 24px auto;
  }
  h1 {
    /* font-size: 100px;    I will try a bit larger, below with 120px    */
    font-size: 96px;
  }

  section {
    /* border: 4px solid red; */
    /* padding-left: 10%;
    padding-right: 10%; */
    max-width: 1000px;
  }

  #skill-cards-section, #why-me-section {
  /* border: 4px solid blue; */
  max-width: 100%;
}

.section-inner {
  max-width: 1100px;
  margin: auto;
}


  .get-in-touch {
    /* border: 4px solid red; */
    /* padding-left: 10%;
    padding-right: 10%; */
    max-width: 11000px !important;
  }
  .get-in-touch-padding {
    /* border: 4px solid red; */
    /* padding-left: 10%;
    padding-right: 10%; */
    max-width: 1100px;
    margin: auto;
  }

  .image-solo-container {
    display: flex;
    flex-wrap: wrap;
  }

  .image-solo {
    width: 80%;
    margin-left: auto;
    margin-right: auto;

    justify-self: center;
  }
}

/*?      large desktops 1800 and up      */

@media screen and (min-width: 1801px) {
  h1 {
    font-size: 120px;
  }

  section {
    /* border: 4px solid blue; */
    /* padding-left: 10%;
    padding-right: 10%; */
    max-width: 1200px;
  }
  .get-in-touch {
    /* border: 4px solid red; */
    /* padding-left: 10%;
    padding-right: 10%; */
    max-width: 11000px !important;
  }
  .get-in-touch-padding {
    /* border: 4px solid red; */
    /* padding-left: 10%;
    padding-right: 10%; */
    max-width: 1200px !important;
    margin: auto;
  }
  #skill-cards-section, #why-me-section {
  /* border: 4px solid blue; */
  max-width: 100%;
}

.section-inner {
  max-width: 1200px;
  margin: auto;
}


  .image-solo-container {
    display: flex;
    flex-wrap: wrap;
  }

  .image-solo {
    width: 80%;
    margin-left: auto;
    margin-right: auto;

    justify-self: center;
  }
}



#cards {
  margin: auto;
}