* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  margin: 10px 60px 0px 60px;
  color: black;
  padding: 20px 0;
}

nav {
  display: flex;
  justify-content: flex-end;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: black;
  text-decoration: none;
}

a:hover {
  color: #ff74b8;
}

.hero {
  padding: 40px 25px 0;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  background-image: linear-gradient(90deg, #37e6cc 0%, #fe77b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.15);
}

.hero h3 {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 20px;
}

.hero a {
  color: #ff74b8;
}

footer {
  padding: 20px 0;
}

footer p {
  font-size: 14px;
}

.logo {
  margin-right: auto; /* Pushes the logo to the left */
}

.logo img {
  height: 40px; /* Adjust height of the logo as needed */
}

.menu {
  display: flex;
  align-items: center; /* Aligns menu items vertically in the center */
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
}

.menu li {
  margin-left: 20px;
}

.code-container {
  font-family: "Courier New", monospace;
}

.a-loader-title {
  background-color: #ff74b8;
}

.container {
  text-align: center;
}

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #555;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box;
}

.button.button-primary {
  color: white;
  background-color: #ff74b8;
  border-color: #ff74b8;
  box-shadow: 0 1px 1px rgba(0,0,0,0.25);
}

.button.button-primary:hover {
  background: #ff90c6;
  border-color: #ff90c6;
}

a-scene {
  margin: auto;
  margin-top: 35px;
  height: 300px;
  width: 440px;
}

a-scene canvas {
  border-radius: 4px;
  border: 1px solid #E1E1E1;
  box-sizing: border-box;
}

code {
  padding: 20px;
  font-size: 18px;
  background-color: rgb(246, 246, 246);
  margin: 0;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px;
}

.code-container{
  padding-top: 10px;
  display: grid;
  place-items: center;
  margin: auto;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    margin: 10px 40px 0px 40px;
    padding: 10px 0;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 10px 0;
  }

  #hero h2 {
    font-size: 45px;
  }

  #hero h3 {
    font-size: 18px;
  }

  .menu {
    display: none;
    flex-direction: column;
    margin-top: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .menu.active {
    margin-right: 40%;
    display: flex;
  }

  code {
    font-size: 14px;
  }

  a-scene {
    width: 345px;
  }

  .menu {
    text-align: center; /* Centers the text within menu items */
    flex-direction: column; /* Arranges menu items vertically */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1000; /* Ensures menu appears above other content */
    display: none; /* Initially hides the menu */
  }

  .menu-toggle {
    font-size: 24px;
    cursor: pointer;
  }

  .menu-toggle:before {
    content: "\2630"; /* Hamburger icon */
  }

  .menu-toggle.active:before {
    content: "\2715"; /* X icon */
  }
}
