/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Playfair+Display:wght@400;700&display=swap');

/* Fontawesome */
@import url('https://use.fontawesome.com/releases/v5.6.3/css/all.css');

/* Components */
@import url('components/banner.css');
@import url('components/button.css');
@import url('components/cards.css');
@import url('components/container.css');
@import url('components/footer.css');
@import url('components/list.css');
@import url('components/navbar.css');


/* Utilities */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
}

main {
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

h1 {
  font-size: calc(32 / 16 * 1rem);
}

h2 {
  font-size: calc(30 / 16 * 1rem);
}

h3 {
  font-size: calc(26 / 16 * 1rem);
  margin-top: 0;
}

h4 {
  font-size: calc(26 / 16 * 1rem);
  margin-bottom: 40px;
}

h1, h2, h4, i {
  color: hsl(228, 45%, 20%);
}

p {
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

.active, .text-bold {
  font-weight: 700;
}

.page-title {
  font-size: calc(42 / 16 * 1rem);
}

.contact-info i {
  font-size: calc(30 / 16 * 1rem);
}

.email-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.email {
  font-family: 'Playfair Display', serif;
  color: hsl(228, 45%, 20%);
  font-weight: 700;
  font-size: calc(24 / 16 * 1rem);
  margin: 0;
}

/* SPAM PROTECTION */
span.spamprotection {
  display:none;
}

/* Media queries */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: center;
  }
  .banner {
    padding: 0;
  }
  .container {
    width: 70%;
  }
}

@media (max-width: 500px) {
  header > h1 {
    margin-top: 20px;
  }
  .navigation-menu {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 0;
  }
  .button-container {
    flex-wrap: wrap;
  }
  footer {
    flex-wrap: wrap;
  }
  .resources {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-title {
    font-size: calc(26 / 16 * 1rem);
  }
  .td-cards {
    grid-template-columns: 1fr;
  }
  .td-card {
    padding: 30px 20px;
  }
  .email-info {
    flex-direction: column;
  }
}
