body {
    font-family: Arial, sans-serif;
    background-color: #2d3748;
    color: #e2e8f0;
}
@import url("https://fonts.googleapis.com/css3?family=Inter:wght@400;800&display=swap");

:root {
  --bg: #000000;
  --clr-1: #00c2ff;
  --clr-2: #33ff8c;
  --clr-3: #ffc640;
  --clr-4: #e54cff;

  --blur: 1rem;
  --fs: clamp(3rem, 8vw, 7rem);
  --ls: clamp(-1.75px, -0.25vw, -3.5px);
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background-color: var(--bg);
  color: #fff;
  font-family: "Inter", "DM Sans", Arial, sans-serif;
}

.navbar {
  transition: top 0.3s;
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  padding-right: 0px;
  background-color: transparent;
  z-index: 1000;
}

.logo img {
  height: 60px;
  padding-left: 50px;
}

.menu {
  display: flex;
  gap: 30px;
}

.menu-item {
  text-decoration: none;
  color: white;
  position: relative;
  transition: color 0.3s ease-in-out;
  text-align: middle;

}

.menu-item::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 40px;
  left: 50%;
  background-color: white;
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.menu-item:hover {
  color: #ccc;
}

.menu-item:hover::before {
  width: 100%;
}

.active {
  color: #ccc;
}

.active::before {
  width: 100%;
}

/* Hamburger icon styling */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger .line {
  width: 2rem;
  height: 0.25rem;
  background: white;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* Responsive design */
@media screen and (max-width: 1080px) {
  .navbar .menu {
      display: none;
  }
  .hamburger {
      display: flex;
  }
}

/* Mobile menu styling */
@media screen and (max-width: 1080px) {
  .navbar .menu {
      flex-direction: column;
      width: 100vw;
      height: 100vh;
      position: fixed;
      top: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.9);
      align-items: center;
      justify-content: center;
      gap: 3rem;
  }

  .menu-item {
      font-size: 2rem;
      width: 100%;
      text-align: center;
  }

  .menu-item::before {
      display: none;
  }

  .menu-item:hover {
      color: #ccc;
  }
}


*,
*::before,
*::after {
  font-family: inherit;
  box-sizing: border-box;
}

.content {
  text-align: center;
}

.title {
  font-size: var(--fs);
  font-weight: 800;
  letter-spacing: var(--ls);
  position: relative;
  overflow: hidden;
  background: var(--bg);
  margin: 0;
  padding-top: 60px;
  line-height: 100px
}



.aurora {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  mix-blend-mode: darken;
  pointer-events: none;
}

.aurora__item {
  overflow: hidden;
  position: absolute;
  width: 60vw;
  height: 60vw;
  background-color: var(--clr-1);
  border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  filter: blur(var(--blur));
  mix-blend-mode: overlay;
}

.aurora__item:nth-of-type(1) {
  top: -50%;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-1 12s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(2) {
  background-color: var(--clr-3);
  right: 0;
  top: 0;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-2 12s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(3) {
  background-color: var(--clr-2);
  left: 0;
  bottom: 0;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-3 8s ease-in-out infinite alternate;
}

.aurora__item:nth-of-type(4) {
  background-color: var(--clr-4);
  right: 0;
  bottom: -50%;
  animation: aurora-border 6s ease-in-out infinite,
    aurora-4 24s ease-in-out infinite alternate;
}

@keyframes aurora-1 {
  0% {
    top: 0;
    right: 0;
  }

  50% {
    top: 100%;
    right: 75%;
  }

  75% {
    top: 100%;
    right: 25%;
  }

  100% {
    top: 0;
    right: 0;
  }
}

@keyframes aurora-2 {
  0% {
    top: -50%;
    left: 0%;
  }

  60% {
    top: 100%;
    left: 75%;
  }

  85% {
    top: 100%;
    left: 25%;
  }

  100% {
    top: -50%;
    left: 0%;
  }
}

@keyframes aurora-3 {
  0% {
    bottom: 0;
    left: 0;
  }

  40% {
    bottom: 100%;
    left: 75%;
  }

  65% {
    bottom: 40%;
    left: 50%;
  }

  100% {
    bottom: 0;
    left: 0;
  }
}

@keyframes aurora-4 {
  0% {
    bottom: -50%;
    right: 0;
  }

  50% {
    bottom: 0%;
    right: 40%;
  }

  90% {
    bottom: 50%;
    right: 25%;
  }

  100% {
    bottom: -50%;
    right: 0;
  }
}

@keyframes aurora-border {
  0% {
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  }

  25% {
    border-radius: 47% 29% 39% 49% / 61% 19% 66% 26%;
  }

  50% {
    border-radius: 57% 23% 47% 72% / 63% 17% 66% 33%;
  }

  75% {
    border-radius: 28% 49% 29% 100% / 93% 20% 64% 25%;
  }

  100% {
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
  }
}



/* Large devices */
@media (min-width: 1200px) {
  .card-row {
    justify-content: space-around;
  }

}

/* Medium devices */
@media (min-width: 768px) and (max-width: 1199px) {
  .card-row {
    justify-content: space-around;
  }

}

/* Small devices */
@media (max-width: 767px) {
  .card-row {
    justify-content: center;
  }

}



.container {
    width: 50%;
    margin: auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
    background-color: #4e4e4e;
    padding: 2em;
    border-radius: 1em;
}

.contact-form form {
    width: 50%;
}

.contact-form label {
    display: block;
    margin-top: 1em;
    padding: 10px;
    color: #dadada;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.5em;
    border-radius: 1em;
    border: none;
    background-color: #e2e8f0;
    color: #2d3748;
}

.contact-form textarea {
    height: 10em;  /* Adjust this value to change the height of the textarea */
}

.contact-form input[type="submit"] {
    margin-top: 1em;
    padding: 0.5em 1em;
    border-radius: 1em;
    border: none;
    background-color: #2b6cb0;
    color: #e2e8f0;
    cursor: pointer;
    width: 50%;
    align-self: center;
}




.contact-form input[type="submit"]:hover {
    background-color: #2c5282;
}

/* Existing CSS styles */
/* Existing CSS styles */

/* Responsive design for medium devices (tablets, 600px and up) */
@media screen and (min-width: 600px) {
    .contact-form form {
        width: 90%;  /* Adjusted width for medium devices */
    }
}

/* Responsive design for small devices (phones, 600px and below) */
@media screen and (max-width: 600px) {
    .container {
        width: 90%;
    }

    .contact-form {
        padding: 1em;
    }

    .contact-form form {
        width: 100%;
    }

    .contact-form input[type="submit"] {
        width: 100%;
    }
}
