:root {
  --page-background-color: #98c4af;
  --container-background-color: #f0f5f0;
  --logo-color: #87bba2;
  --text-color: #38514f;
  --header-color: #364958;
  --sub-header-color: #445757;
  --header-background-color: #e0eee3;
  --button-color: #c9e4ca;
  --button-text-color: #38514f;
  --button-hover-color: #87BBA2;
  --link-color: #38514f;
  --social-link-color: #87bba2;
}

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

h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: var(--header-color);
  margin-bottom: 1rem;
  text-align: center;
}

html, body {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.5;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.main {
  background-color: var(--page-background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.card {
  display: flex;
  flex-direction: column;
  font-size: 1.0rem;
  background-color: var(--container-background-color);
  padding: 1rem;
  width: 30%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card h4 {
  color: var(--header-color);
  text-align: center;
}

.card p {
  text-align: center;
  padding: 1rem;
  margin-bottom: 1rem;
}

.closer p {
  text-align: right;  
  
}

.logo {
  width: 35%;
  height: auto;
  align-self: center;
  margin-bottom: 1rem;
}

.socials {
  margin-top: 2rem;
}

.social-items {
  display: flex;
  gap: 2rem;
}

.social-item {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.social-item a {
  text-decoration: none;
  color: var(--social-link-color);
}

/* Tablet view (up to 1024px wide) */
@media (max-width: 1024px) {
  html, body {
    font-size: 1rem;
  }

  .card {
    width: 50%;
  }
}

/* Mobile view (up to 600px wide) */
@media (max-width: 600px) {
  html, body {
    font-size: 1.0rem;
  }

  .card {
    width: 80%;
  }
}