html{
    font-family: 'Exo 2', sans-serif;
    font-size: 20px;
    margin: 40px;
    padding: 0px;
    background-color: rgba(10, 12, 20, 1);
    color: white;
}

/* header styling */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2rem;
}

.site-title{
  color: rgba(0, 224, 255, 1);
  font-size: 2.5rem;
  text-align: left;
  white-space: nowrap;
  margin: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px 0;
  background-color: #f5f5f5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  justify-content: space-evenly;
  align-items: center;
}

.main-nav a {
  color: #f5f5f5;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: #ff9500;
}

/* Main body styling */

.site-main-body {
  display: flex;
  flex-direction: column;
  align-content: center;
  min-height: 400px;
}

.page-header {
  text-align: center;
  margin-top: 0;
  margin-bottom: 2rem;
}

.under-construction {
  display: block;
  max-width: 160%;
  height: auto;
  max-height: 20rem;
}

/* Footer styling */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.icon-link {
  text-decoration: none;
  padding: 5px;
}

.footer-icon {
  width: 24px;
  height: 24px;
}

/* paragraph styling */

p{
    font-size: 0.75rem;
}

/* Tablet stlying */

@media (max-width: 1000px) {
  .site-header {
    flex-direction: column;   /* stacks flexbox items vertically */
    align-items: center;
    gap: 0rem;
  }

  .main-nav {
    margin-left: 0;
    justify-content: center;  /* center links */
    flex-wrap: wrap;          /* safe wrapping */
    gap: 1rem;
    margin-top: 1rem;
  }
}

/* Phone stlying */

@media (max-width: 500px) {
  .site-header {
    flex-direction: row;;
    position: relative;
  }
  
  .site-title {
    font-size: 1.25rem; /* pixel size is 75% of standard */
    flex-wrap: nowrap;
    justify-content: left;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

    /* Turn nav into an off-screen panel */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 35%;
    max-width: 280px;
    height: auto;
    background-color: rgba(10, 12, 20, 0.98);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.6);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 4rem 1.5rem 2rem;
    gap: 1.25rem;

    transform: translateX(100%);      /* hidden off-screen */
    transition: transform 0.25s ease;
    z-index: 1000;
  }

  /* When menu is open */
  .main-nav.is-open {
    transform: translateX(0);
  }

  /* Make links bigger/touchable */
  .main-nav a {
    font-size: 1rem;
  }

  .site-footer {
    flex-direction: column;
  }
}