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

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

#eu-project-image {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  /* width: 300px; */
  height: 210px;
}

html,
body,
#root {
  height: 100%;
  min-height: 100%;
}

body {
  font-family: Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
}

#root {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

#root > main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  flex-grow: 1;
  padding: 0 2rem;
}

#banner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 800px;

  background-color: lightgrey;
  font-size: 5rem;
}

#banner-spacer {
  display: none;
  height: 210px;
  width: 100%;
}

.site-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 0;
}

.site-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  margin: 0;
  padding: 0.5rem;
  border-radius: 5px;
  transition: box-shadow 0.3s ease;
}

.site-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.plain-site-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  margin: 0;
  padding: 0.5rem;
}

.site-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.site-subtitle {
  font-size: 1rem;
  text-align: center;
}

#printer-service-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
  width: 340px;
  padding: 0.5rem;
  border: 1px solid #000000;
  background-color: #f1f1f1;
  min-width: 100%;
  text-align: start;
}

.site-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 200px;
  background-color: lightgrey;
  font-size: 2rem;
}

footer {
  width: 100%;
  border-top: 2px solid #000000;
}

#footer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

.footer-image {
  width: 80px;
}

/* Styles for mobile screens */
@media (max-width: 768px) {
  #banner {
    display: none;
  }
  #banner-spacer {
    display: block;
  }
  .site-item {
    margin: 0 100%;
  }

  #root > main {
    padding: 0 0.5rem;
  }
}
