@font-face {
  font-family: fontBold;
  src: url('https://www.agireperlordine.org/fonts/Montserrat-Bold.ttf');
}
@font-face {
  font-family: fontMedium;
  src: url('https://www.agireperlordine.org/fonts/Montserrat-Medium.ttf');
}
@font-face {
  font-family: fontRegular;
  src: url('https://www.agireperlordine.org/fonts/Montserrat-Regular.ttf');
}

.font-bold {
  font-family: 'fontBold', sans-serif;
}
.font-medium {
  font-family: 'fontMedium', sans-serif;
}
.font-regular {
  font-family: 'fontRegular', sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  font-family: 'fontRegular', sans-serif;
}

ul {
	list-style-type: disc;
}

.custom-nav {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-light .navbar-nav .nav-link {
  color: #ffb904;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #ff4500;
  transform: translateY(-5px);
}

/* Stile per la griglia dei candidati */
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.candidate-card {
	position: relative;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  background-color: #ff9604;
}

.candidate-card:hover {
  transform: translateY(-5px);
  background-color: #fbda36;
}

.candidate-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.candidate-link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.custom-footer {
  background-color: #ff6b00;
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.8;
  color: white;
}