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

html {
  font-size: 62.5%;
}

body {
  font-family: "Segoe UI";
  color: white;
  background: linear-gradient(rgb(79, 81, 83), rgb(14, 14, 14));
  min-height: 100vh;
}

.main-centered-container {
  margin: 0 auto;
  max-width: 100rem;
}

.h3 {
  font-weight: 300;
  letter-spacing: 1px;
  font-size: 1.6rem;
}

section {
  margin-bottom: 3rem;
}

button {
  border: white;
  background-color: #0059a4;
  border-style: solid;
  border-width: 1px;
  border-radius: 5%;
  font-size: 1rem;
  font-family: "Segoe UI";
  color: white;
  transition-duration: 0.4s;
  padding: 0.5rem 1.5rem;
}

button:hover {
  background-color: #0088cc;
  color: white;
}

button.active {
  border: #0059a4;
  background-color: #ffffff;
  border-style: solid;
  border-width: 1px;
  border-radius: 5%;
  font-size: 1rem;
  font-family: "Segoe UI";
  color: #0059a4;
  transition-duration: 0.4s;
  padding: 0.5rem 1.5rem;
}

button.active:hover {
  color: #0088cc;
  background-color: white;
}

.grid-2column-2rows {
  display: grid;
  column-gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.grid-5column-5rows {
  display: grid;
  column-gap: 2rem;
  grid-template-columns: 1fr 1fr 0.5fr 1fr 1fr;
  row-gap: 5rem;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
}

.grid-5column-7rows {
  display: grid;
  column-gap: 2rem;
  grid-template-columns: 1fr 1fr 0.5fr 1fr 1fr;
  row-gap: 2rem;
  grid-template-rows: repeat(7, 1fr);
}

/**************************/
/* Header */
/**************************/
/* Container for navigation menu */
header {
  margin: 0 auto;
  max-width: 120rem;
  display: flex;
  align-items: center;
  justify-content: left; /* Moves the menu to the left */
  text-align: left;
  padding: 3rem;
  margin-bottom: 3rem;
  border-radius: 1rem; /* Rounded corners for a smoother design */
}

/* Navigation menu styles */
nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

/* List item in the navigation menu */
nav ul li {
  margin-right: 2.5rem; /* Increased spacing between items */
}

/* Link styling */
nav ul li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 1.8rem; /* Slightly larger font for better readability */
  padding: 1rem 1.5rem; /* Padding for better clickability */
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
  border-radius: 0.5rem; /* Rounded corners for a softer look */
  background-color: rgba(
    255,
    255,
    255,
    0.1
  ); /* Default slightly transparent background */
}

/* Hover effects */
nav ul li a:hover {
  transform: scale(1.1);
  color: #ffcc00;
  background-color: rgba(
    255,
    255,
    255,
    0.3
  ); /* Lighten background on hover for clearer effect */
}

/* Focus or active state for better accessibility */
nav ul li a:focus,
nav ul li a:active {
  outline: none;
  background-color: rgba(
    255,
    255,
    255,
    0.4
  ); /* Even lighter background for focus or active state */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column; /* Stack items vertically on smaller screens */
    align-items: flex-start;
  }

  nav ul li {
    margin-right: 0;
    margin-bottom: 1.5rem; /* Space out vertically */
  }

  nav ul li a {
    font-size: 1.6rem; /* Adjust font size for smaller screens */
  }
}
#header-wp-logo {
  width: 40%;
  height: 40%;
  transition: transform 0.3s ease-in-out; /* Aggiunto effetto di transizione per lo zoom */
}

#header-wp-logo:hover {
  transform: scale(1.1); /* Ingrandisci del 10% al passaggio del mouse */
}
/**************************/
/* Footer */
/**************************/
footer {
  margin: 0 auto;
  max-width: 120rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 3rem;
}

footer img {
  border-radius: 10%;
  max-width: 12%;
  max-height: 12%;
}
