body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: rgba(36, 37, 55);
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
  background-color: #202133;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #202133;
  color: white;
  padding: 1rem;
  display: flex;
  /* justify-content: center; */
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.footer-items {
  display: flex;
  gap: 40px;          /* space between the two items */
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  color: white;
  text-decoration: none;
}

.footer-item:hover {
  text-decoration: underline;
}

.footer-item img {
  width: 32px;
  height: 32px;
}

.footer-label {
  font-size: 28px;
  font-weight: bold; /* optional, makes "Links:" stand out */
  color: white;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding-top: 300px;
}

.contact-items {
  display: flex;
  gap: 300px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  
  max-width: 240px;         /* limits width of text */
  text-align: center;       /* wrap text nicely below icon */
  word-wrap: break-word;    /* allow long text to wrap */
}

.contact-item img {
  width: 48px;
  height: 48px;
}

.icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1); /* light transparent background */
  border-radius: 50%;    /* makes it a perfect circle */
  width: 96px;            /* total diameter of circle */
  height: 96px;
}

.icon-circle img {
  width: 52px; 
  height: 52px;
  display: block;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
}

nav a:hover {
    text-decoration: underline;
}

main {
  flex: 1;
  padding: 1rem;
  text-align: center;
}

.home main {
  padding: 150px 0 0 50px;
  max-width: 600px;
  text-align: left;
}

.home main p {
  font-size: 24px;
}

.home main h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

@media (max-width: 1024px) {

  body { display: block; min-height: auto; }

  main { flex: 0; }

  .home main { padding: 50px 25px 25px 25px; max-width: 600px; min-height: auto; text-align: center; }

  .contact {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .contact-items {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .contact-item {
    max-width: 180px;
    font-size: 20px;
  }

  .icon-circle {
    width: 75px;
    height: 75px;
  }

  .icon-circle img {
    width: 38px;
    height: 38px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    gap: 0px;
    height: auto;
    padding: 1rem;
  }

  .footer-items {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .footer-item {
    font-size: 18px;
  }

  .footer-label {
    font-size: 20px;
  }
}
