html,
body {
  max-width: 100%;
  overflow-x: hidden;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Fredoka";
}

/* ---------------------------------------------------------HEADER SECTION-------------------------------------------------------------- */

.header {
  background-color: white;
  padding: 10px 20px;
  border-bottom: 5px solid #7279f3;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.logo {
  max-width: 80px;
  height: auto;
}

.title {
  color: #6e51f0;
  font-size: 30px;
  margin: 0;
  text-align: center;
  flex-grow: 1;
}

.icon-link {
  margin-top: 0;
  display: flex;
  z-index: 10;
  color: #6e51f0;
  font-size: 40px;
  text-decoration: none;
  justify-content: end;
  transition: transform 0.3s ease;
}

.icon-link:hover,
.icon-link:focus {
  transform: scale(1.1);
}

/* ---------------------------------------------------------HONOURS SECTION-------------------------------------------------------------- */

.honours-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 50px;
}

.honour-square {
  background-color: #6e51f0;
  width: 500px;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px;
  transition: background-color 0.6s, transform 0.6s;
}

.team-photo-container {
  margin-bottom: -10px;
}

.team-photo {
  width: 100%;
  height: auto;
  max-height: 300px;
  min-height: 300px;
  border-radius: 5px;
}

.trophy-container {
  background-color: white;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fredoka";
}

.trophy-icon {
  height: auto;
  width: auto;
  max-height: 120px;
  min-height: 120px;
  margin-right: 10px;
}

.trophy-count {
  font-size: 24px;
  font-weight: bold;
}

.honour-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.honour-square:hover {
  background-color: #7279f3;
  transform: scale(1.05);
  box-shadow: 0 0 15px 5px rgba(110, 81, 240, 0.7);
}

/* ---------------------------------------------------------FOOTER SECTION-------------------------------------------------------------- */

.footer-section {
  margin-top: 100px;
  background-color: #7279f3;
  color: white;
  width: 100%;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Fredoka", sans-serif;
}

.footer-content {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  color: #021218;
}

h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.social-icon,
.app-store,
.google-play {
  font-size: 30px;
  margin: 0 10px;
  color: #021218;
}

.footer-logo img {
  max-width: 100px;
  margin-top: 20px;
}

.information a {
  color: #021218;
  text-decoration: none;
}

.social-icon:hover,
.app-store:hover,
.google-play:hover {
  color: white;
  background: none;
}

.information a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------MEDIA SECTION-------------------------------------------------------------- */

@media (max-width: 768px) {
  .header,
  .footer-section {
    flex-direction: column;
    align-items: center;
  }

  .header-content,
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .images-news {
    flex-direction: column;
  }

  .photo-title {
    width: 90%;
  }

  .honour-square {
    width: 90%;
  }

  .honour-row {
    flex-direction: column;
  }
}
