@charset "UTF-8";

@font-face {
  font-family: "Comfortaa";
  src: url("/assets/fonts/Comfortaa/Comfortaa-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Fira Mono";
  src: url("/assets/fonts/FiraMono/FiraMono-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Argentum Sans";
  src: url("/assets/fonts/ArgentumSans/ArgentumSans-Black.ttf")
    format("truetype");
}

@font-face {
  font-family: "Zona Pro";
  src: url("/assets/fonts/ZonaPro/ZonaPro-Light.otf") format("truetype");
}

:root {
  --yellow: #fce373;
  --light-purple: #cca69a;
  --green: #9ad18b;
  --orange: #f9a04e;
  --purple: #a385bd;
  --petrol: #6fab9e;
  --pink: #f8b5b8;
  --gray: #231f20;
  --second-gray: #2b2b2b;
  --off-white: #efefef;
  --red: #df3c3e;
  --blue: #4511b3;
  --very-light-purple: #dcc0f7;
  --dark-purple: #b44ef2;
  --elephant: #e6e3e3;
  --off-white: #faf9f6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zona Pro", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: var(--gray);
}

.argentum {
  font-family: "Argentum Sans", Arial, Helvetica, sans-serif;
}

h1 {
  margin: 0;
}

ul li {
  list-style: none;
  text-transform: uppercase;
  padding: 10px 15px;
  text-align: center;
  margin: auto;
}

a {
  color: var(--gray);
  padding: 0.1em 0.1em;
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

a:hover {
  color: var(--blue);
  text-decoration: none;
}

.a-back {
  transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.a-back:hover {
  color: var(--blue);
  transform: scale(1.1);
}

.social-media a,
.social-media-footer a {
  transition: transform 0.3s cubic-bezier(0.59, 0.04, 0.3, 1.43);
  color: var(--off-white);
}

.social-media a:hover,
.social-media-footer a:hover {
  color: var(--off-white);
  /* border-bottom: 1.5px solid transparent; */
  transform: scale(1.1);
}

li a {
  display: block;
  margin: 0 auto;
  padding: 0 0.5em;
  transition: transform 0.2s linear;
  font-size: 1.3em;
}

li a:hover {
  color: var(--gray);
  transform: scale(1.2);
}

footer {
  background: var(--second-gray);
  color: var(--off-white);
  padding: 2em 0;
  text-align: center;
  height: 85px;
}

/* Base classes */

.wrapper {
  min-height: calc(100vh - 85px);
}

.post-wrapper {
  padding: 6em 0 1em;
  min-height: calc(100vh - 85px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--elephant);
}

.wrapper-div {
  width: 60%;
  height: 50px;
  border-bottom: thick double var(--blue);
}

.wrapper h2 {
  color: var(--gray);
}

.Argentum Sans-font {
  font-family: "Argentum Sans", Arial, Helvetica, sans-serif;
}

.ml-08 {
  margin-left: 0.8rem;
}

.btn {
  display: inline-block;
  border-radius: 0;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  letter-spacing: 0.125em;
  text-transform: uppercase;
  padding: 1rem 1.1rem;
  margin: 1.5rem 0;
  border: none;
  font-weight: bold;
  background-color: var(--second-gray);
  color: var(--off-white);
  box-shadow: none;
  font-family: "Argentum Sans", Arial, Helvetica, sans-serif;
  transition: background-color 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
    color 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
    border-radius 0.45s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn:hover {
  background-color: rgba(69, 17, 179, 0.8);
  color: var(--off-white);
  /* border-radius: 15%; */
  border: none;
}

.btn:active {
  background-color: transparent;
  color: var(--second-gray);
  box-shadow: inset 0 0 0 4px var(--second-gray);
}

#fa-play {
  transform: rotate(-90deg);
  font-size: 2.5rem;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 10px;
  z-index: 1;
  display: none;
  writing-mode: vertical-rl;
  text-align: center;
  text-orientation: upright;
  font-size: 1rem;
  background-color: transparent;
  color: #000;
  /* box-shadow: inset 0 0 0 3px var(--blue); */
  border-radius: 10%;
  transition: color 0.45s cubic-bezier(0.215, 0.61, 0.355, 1)
    /* background-color 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.45s cubic-bezier(0.215, 0.61, 0.355, 1), */
    border-radius 0.45s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.back-to-top:hover {
  background-color: transparent;
  border:none;
  box-shadow: none;
}

.back-to-top:active {
  background-color: transparent;
  color: #fff;
  border:none;
  box-shadow: none;
  /* box-shadow: inset 0 0 0 4px var(--blue); */
}

.btn-entrance {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: btn-entrance;
}

@keyframes btn-entrance {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 1;
  }
}

.btn-exit {
  animation-duration: 0.25s;
  animation-fill-mode: both;
  animation-name: btn-exit;
}

@keyframes btn-exit {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
}

.textarea {
  height: calc(1.5em + 1rem + 60px) !important;
}

input,
textarea {
  transition: border-bottom 0.2s;
}

input:focus,
textarea:focus {
  border-bottom: 2px solid var(--gray);
  outline: none;
}

.post-wrapper a {
  margin: 1em 1em 0;
}

/* Main section */

.mobile-container {
  padding-top: 6em;
  min-height: 100vh;
  background-color: var(--elephant);
  display: flex;
  flex-direction: column;
}

.mobile-item {
  margin: 1em;
  position: relative;
}

.mobile-item img {
  width: 80%;
}

.mobile-item-details {
  position: absolute;
  bottom: 1em;
  padding: 0 0.5em;
  margin: 0;
  background-color: var(--off-white);
  font-size: 1.5em;
}

.mobile-item:nth-child(odd) img {
  float: right;
}

.mobile-item:nth-child(odd) .mobile-item-details {
  left: 0;
}

.mobile-item:nth-child(even) .mobile-item-details {
  right: 0;
}

.header-container {
  display: none;
}

/* Other containers */

.container {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--off-white);
}

.container p {
  font-size: 1rem;
  /* padding: 0.25em 1em; */
  max-width: 750px;
  text-align: center;
}

.container h2 {
  padding: 2.2em 0 0em;
  font-family: "Argentum Sans", Arial, Helvetica, sans-serif;
  margin: 0;
  /* letter-spacing: 0.125em; */
  font-size: 3em;
}

.green {
  background: var(--green);
}

.purple {
  background: var(--purple);
}

.post-flex {
  width: 100%;
  max-width: 1430px;
  display: flex;
  flex-wrap: wrap;
  margin: 2em auto 1em;
  justify-content: space-around;
  align-items: center;
}

.spot-flex {
  /* max-width: 100%; */
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  margin: 0 1rem;
  width: 98%;
}

.post-flex h1 {
  flex-grow: 1;
  max-width: 600px;
  margin-bottom: 2em;
}

.post-flex img {
  width: 100%;
  flex-grow: 1;
  max-width: 700px;
  margin-bottom: 2em;
  box-shadow: 0 4px 8px 0 rgba(63, 62, 65, 0.2),
    0 6px 20px 0 rgba(63, 62, 65, 0.19);
  transition: transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.post-flex img:hover {
  transform: scale(0.9);
}

iframe {
  width: 100%;
  min-height: 60vh;
}

.post-container {
  flex-grow: 1;
  max-width: 700px;
  margin-bottom: 1em;
}

.post-flex .btn {
  align-self: flex-start;
  margin: 3em auto;
}

#about {
  background: var(--elephant);
}

#services {
  background: var(--elephant);
}

#projects {
  background: var(--elephant);
}

#contact {
  background: var(--elephant);
}

.contact-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-text p {
  text-align: left;
}

#websites {
  padding: 9em 0 1em;
  min-height: calc(100vh - 85px);
}

/* Navbar */

.nav {
  /* background: rgba(252, 227, 115, 0.9) 0%; */
  background: var(--off-white);
  /* position: fixed; */
  z-index: 2;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  transition: background transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.name-nav {
  text-align: center;
  font-family: "Argentum Sans", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  margin-top: 2.5em;
}

.name-details {
  text-align: center;
  margin-top: -1.5em;
}

.logo-a:hover {
  /* border-bottom: 1px solid transparent !important; */
}

.logo {
  max-height: 70px;
  max-width: 160px;
  margin: 0.3em 1em 0;
  transition: transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.logo:hover {
  cursor: pointer;
  transform: scale(1.1);
}

.nav-links {
  margin: 0;
  padding: 0;
  display: none;
}

.nav-links a {
  color: var(--gray);
}

.nav-active {
  /* display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-column: 1 / -1;
  grid-row: 2 / 3; */
  min-height: calc(100vh - 75px);
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-left: 4.5em;
}

.burger {
  margin-top: 2.5em;
  margin-left: auto;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--gray);
  margin: 5px;
  transition: all 0.3s ease;
}

.anim-rotate .line1 {
  transform: rotate(-45deg) translate(-5px, 6px) !important;
}

.anim-rotate .line2 {
  opacity: 0 !important;
}

.anim-rotate .line3 {
  transform: rotate(45deg) translate(-5px, -6px) !important;
}

.social-media {
  display: none;
}

/* About Items */

.about-text {
  padding: 0 1em 1.5em;
  font-size: 1rem;
}

.about-items {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1rem;
  padding: 1em 1em 3em;
  perspective: 700px;
  max-width: 1920px;
}

.about-item {
  /* border: 5px solid var(--blue);
  text-align: center; */
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1),
    background-color 0.5s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);

  background-color: var(--blue);
  color: #fff;
  text-align: left;
}

.about-item:hover {
  /* transform: translate3d(0, 0, 50px);
  background-color: var(--off-white);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  cursor: pointer; */
}

.about-item h3 {
  font-family: "Argentum Sans", Arial, Helvetica, sans-serif;
  font-variant: small-caps;
  /* text-transform: capitalize; */
  text-transform: uppercase;
  padding: 0 1rem;
  font-size: 2em;
  line-height: 1;
}

.about-item img {
  object-fit: scale-down;
  object-position: center;
  width: 100%;
  height: 120px;
}

.about-item p {
  font-size: 1rem;
  margin-top: auto;
  padding: 0 1rem 2rem;
  text-align: left;
}

/* Services and Projects Items */

 h3 {
  margin-left: 0;
  margin-right: auto;
  font-size: 1.6em;
}

.services-items {
  width: 100%;
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 1rem;*/
  padding: 1em 1em 3em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: 1920px;
}

.projects-items {
  width: 100%;
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: .5em; */
  padding: 2em 1em 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: 70%;
  gap: 10px;
}

.services-item {
  text-align: center;
  flex: 1 50vh;
  max-width: 463px;
}

.projects-item {
  text-align: center;
  flex: 1 40vh;
  /* max-width: 380px; */
}

.services-border,
.projects-border {
  display: block;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-border:hover,
.projects-border:hover {
  border: none;
}

.services-item img {
  object-fit: cover;
  object-position: center;
  height: 40vh;
  max-height: 360px;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.projects-item img {
  object-fit: cover;
  object-position: center;
  height: 30vh;
  max-height: 290px;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.services-items p,
.projects-items p {
  margin-top: 0;
  right: 0;
}

.services-items a:hover,
.projects-items a:hover {
  /* border: 1px solid transparent; */
}

.services-border img,
.projects-border img {
  /* transform: scale(0.9); */
}

.mobile-item-details-opacity,
.read-more,
.services-border:hover .details {
  opacity: 1;
}

.read-more,
.details {
  position: absolute;
  display: flex;
  color: var(--blue);
  transition: opacity 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.read-more,
.services-border .details {
  opacity: 1;
  bottom: 0em;
  right: 0;
  text-align: left;
  justify-content: right;
}

.projects-border .details {
  opacity: 0;
  top: 0.5em;
  left: 0;
  font-size: 2em;
  font-weight: 400;
  text-align: left;
  justify-content: left;
  height: 100%;
}

.details p {
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    background-color 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.read-more,
.services-border .details p {
  padding: 0 0.5em;
  background-color: rgba(255, 255, 255, 0.67);
}

.projects-border .details p {
  text-align: left;
  padding: 0;
  max-width: 50%;
}

.services-border:hover .details p,
.projects-border:hover .details p {
  transform: translateY(-10%);
}

.projects-p {
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.see-all {
  margin-left: auto;
  margin-right: 0;
}

.play-arrow {
  font-size: 0.7rem;
  display: inline-block;
}

.play-back-arrow {
  transform: rotate(180deg);
}

/* .details button {
  display: inline-block;
  border-radius: 0;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  font-family: "Argentum Sans", Arial, Helvetica, sans-serif;
  letter-spacing: 0.125em;
  text-transform: uppercase;
  padding: 1rem 1.1rem;
  margin: 1.5rem 0;
  border: 2.5px solid var(--yellow);
  background-color: transparent;
  color: var(--yellow);
  font-weight: bold;
  transition: background .3s cubic-bezier(.215,.61,.355,1);
}

.details button:hover {
  background: rgba(0,0,0, .6);
} */

/* Contact */

.fa-phone-alt {
  transition: color transform 0.3s cubic-bezier(0.59, 0.04, 0.3, 1.43),
    transform 0.3s cubic-bezier(0.59, 0.04, 0.3, 1.43);
}



.form-container {
  display: flex;
  flex-direction: column;
  margin: 1em auto 2em;
  width: 100%;
  padding: 0 1em;
  max-width: 730px;
}

.form-container label {
  font-size: 1.125em;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 1rem + 2px);
  font-size: 1.25em;
  line-height: 1.5;
  border-bottom: 1px solid var(--gray);
  border-top: none;
  border-left: none;
  border-right: none;
  color: var(--gray);
  background-color: transparent;
  padding-top: 1em;
}

/* Footer */

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.social-media-footer {
  display: block;
}

/* Media Queries */

/* Small Devices */

@media (min-width: 480px) {
  .projects-item img {
    height: 46vh;
  }
}

/* Mobiles */

@media (max-width: 768px) {
  body {
    font-size: 0.9em;
  }

  .logo {
    width: 70px;
    height: 70px;
  }

  .nav {
    padding: 1em;
  }

  .name-nav {
    margin-top: 1em ;
  }

  .container h2 {
    font-size: 2em;
  }

  .container p {
    font-size: 0.9em;
  }

  h3 {
    font-size: 1.15em;
  }

  .projects-items {
    max-width: 90%;
    padding: 0;
  }

  .image-grid,
  .image-grid div,
  .image-grid-logos {
    gap: 5px !important;
  }

  .contact-text {
    /* max-width: 90% !important;
    padding: 0 !important; */
  }

  .modal-content {
    margin-top: 30% !important; 
  }
  .see-all {
    font-size: 0.9em;
  }

  .contact-text {
    padding: 0 1em;
  }

  .form-container label {
    font-size: 0.8em;
  }

  .btn {
    font-size: 0.8em;
  }

  .mobile-back {
    display: none;
  }

  .post-wrapper {
    padding: 0 1rem;
  }

  .spot-wrapper {
    width: 100%;
    padding: 0;
  }

  .post-wrapper a {
    margin: 0;
  }

  .post-flex h1,
  .spot-flex h1 {
    margin-bottom: 1.2rem;
  }

  .post-flex .btn {
    margin: 0.2em auto 1.5em 0;
    text-align: left;
  }

  .spot-flex {
    display: flex;
    flex-direction: column;
    padding-top: 3.7rem;
    margin: 0;
    width: 100%;
  }

  .spot-flex > div {
    width: 95%;
    text-align: center;
  }

  .spot-flex .a-back {
    display: none;
  }

  .spot-flex h1 {
    font-size: 1.5em;
  }

  iframe {
    min-height: 30vh;
  }

  .copyright {
    font-size: 0.7em;
  }
}

/* Medium Devices and Landscapes */

@media (min-width: 769px), (min-width: 700px) and (orientation: landscape) {
  li a {
    margin: 0;
    width: 100%;
  }

  /* .nav {
    display: grid;
    grid-template-columns: 1fr 4fr;
  } */

  /* Navbar */

  .nav {
    background: transparent;
  }


  .nav a:hover {
    /* border-bottom: 1px solid transparent; */
    /* color: var(--blue); */
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    font-weight: 400;
    font-size: 15px;
    margin-top: 3em;
  }

  .social-media a:hover {
    color: var(--blue);
  }

  .burger {
    display: none;
  }

  .services-item,
  .projects-item {
    /* margin-left: 1em;
    margin-right: 1em; */
  }

  .services-border:hover img,
  .projects-border:hover img {
    transform: scale(0.9);
  }

  .mobile-item-details-opacity,
  .read-more {
    opacity: 0;
  }

  .details {
    opacity: 0;
  }

  .services-border .details {
    bottom: 1em;
  }

  .services-border .details p {
    opacity: 0;
  }

  .services-border:hover .details p {
    opacity: 1;
  }

  .services-border:hover .details p {
    padding: 0 0.5em;
    background-color: rgba(255, 255, 255, 0.67);
  }

  .projects-border:hover .details {
    opacity: 1;
  }

  .projects-item:hover .projects-p {
    opacity: 0;
  }
}

/* Large Devices */

@media (min-width: 1140px) {
  .mobile-container {
    display: none;
  }

  .header-container {
    min-height: 100vh;
    padding: 50px;
    background: var(--elephant);
    /* background-size: 200px;
    background-image: linear-gradient(to right, #fff, #fff 199px, rgba(84, 83, 74, 0.15) 199px);
    background-repeat: repeat; */
    padding: 6em 1em 1em;
    display: flex;
    flex-direction: row;
  }

  .header-text {
    cursor: pointer;
    font-size: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex-grow: 1;
    max-width: 40%;
    margin: 5em 0 5em 5em;
    font-family: "Argentum Sans", Arial, Helvetica, sans-serif;
  }

  .header-text h1:hover {
    /* color: var(--blue); */
  }

  .header-text h1:hover::before {
    content: "\00a0\00a0";
    color: var(--blue);
  }

  .header-img {
    margin-top: 1em;
    position: relative;
    flex-grow: 1;
  }

  .header-img img {
    width: 100%;
    position: absolute;
    top: 5%;
    left: 0;
    opacity: 0;
  }

  .design-tx,
  .development-tx,
  .responsive-tx,
  .marketing-tx,
  .support-tx {
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .design-img,
  .development-img,
  .responsive-img,
  .marketing-img,
  .support-img {
    transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .social-media {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  .social-media a {
    padding: 1em;
    color: var(--gray);
  }

  .about-items {
    max-width: 1200px;
  }

  .social-media-footer {
    display: none;
  }
}

/* Header Animation */

/* @keyframes intro {
    0% {
      transform: translateY(-100%);
    }
    100% {
      transform: translateY(0%);
      opacity: 1;
    }
  }

  @keyframes intro-img {
    0% {
      opacity: 0;
    }
    95% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  .animation-tx-1 {
    animation: intro 1s cubic-bezier(0.215, 0.61, 0.355, 1) 1s forwards;
  }

  .animation-tx-2 {
    animation: intro 1s cubic-bezier(0.215, 0.61, 0.355, 1) 2s forwards;
  }

  .animation-tx-3 {
    animation: intro 1s cubic-bezier(0.215, 0.61, 0.355, 1) 3s forwards;
  }

  .animation-tx-4 {
    animation: intro 1s cubic-bezier(0.215, 0.61, 0.355, 1) 4s forwards;
  }

  .animation-tx-5 {
    animation: intro 1s cubic-bezier(0.215, 0.61, 0.355, 1) 5s forwards;
  }
  

  .animation-img-1 {
    animation: intro-img 1s linear 1s backwards;
  }

  .animation-img-2 {
    animation: intro-img 1s linear 2s backwards;
  }

  .animation-img-3 {
    animation: intro-img 1s linear 3s backwards;
  }

  .animation-img-4 {
    animation: intro-img 1s linear 4s backwards;
  }

  .animation-img-5 {
    animation: intro-img 1s linear 5s backwards;
  } 
} */

@keyframes fadeIn {
  0% {
    opacity: 0.1;
  }
  15% {
    opacity: 1;
  }
  30% {
    opacity: 0.1;
  }
  100% {
    opacity: 0.1;
  }
}

.div-fade {
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: auto;
  text-align: center;
}

.h1-fade {
  margin: auto;
  font-family: "Argentum Sans";
  text-transform: uppercase;
  font-size: 3.68rem;
  line-height: 1.1;
  opacity: 0.1;
  animation: fadeIn 10s linear;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.h1-fade:nth-child(2) {
  font-size: 4.46rem;
  animation-delay: 2s;
}

.h1-fade:nth-child(3) {
  font-size: 3.96rem;
  animation-delay: 4s;
}

.h1-fade:nth-child(4) {
  font-size: 3.43rem;
  animation-delay: 6s;
}

.h1-fade:nth-child(5) {
  font-size: 4.51rem;
  animation-delay: 8s;
}

.div-fade-mob {
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 40% auto;
  text-align: center;
}

.h1-fade-mob {
  margin: auto;
  font-family: "Argentum Sans";
  text-transform: uppercase;
  font-size: 1.4rem;
  line-height: 1.1;
  opacity: 0.1;
  animation: fadeIn 10s linear;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.h1-fade-mob:nth-child(2) {
  font-size: 1.7rem;
  animation-delay: 2s;
}

.h1-fade-mob:nth-child(3) {
  font-size: 1.5rem;
  animation-delay: 4s;
}

.h1-fade-mob:nth-child(4) {
  font-size: 1.3rem;
  animation-delay: 6s;
}

.h1-fade-mob:nth-child(5) {
  font-size: 1.71rem;
  animation-delay: 8s;
}

.design-images {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.image-grid-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.image-grid div{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-grid img, 
.image-grid-logos img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  cursor: pointer;
  box-sizing: border-box;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0%;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  margin-top: 5%;
}

.modal-content img {
  width: 100%;
  height: auto;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#modalTitle {
  color: #fff !important;
  padding: 0; 
  font-size: 1.1em;
  text-align: left;
}

.projects-item:hover {
  cursor: pointer;
}
