/* Navigation Menu Styles */
body {
  min-height: 100vh; 
  margin: 0; 
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 1440px;
  margin: 0px auto;
  background-color: rgb(245, 246, 250);
  font-family: Arial, sans-serif;
  height: auto;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  grid-column: 1; /* take the explicit one */
  justify-items: stretch;
  align-items: stretch;
  padding: 10px 4px 0px 40px;
  margin: 0px auto;
  background-color: rgb(255, 255, 255);
  width: 100%;
  max-width: 1396px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px -1px 0px inset;
}

.links{
  display: flex;
  margin-bottom: 0px;
  padding-left: 0px;
}

.logo {
  max-width: max-content;
  grid-column:-3; /* create an implicit one at the beginning */
}

.logo a {
  display: block;
  height: 100%;
}

.img-logo {
  object-fit: contain;
  max-width: 100%;
}

.link {
  margin-right: 36px;
  color: #333;
  /* color: #f2f2f2; */
  text-decoration: none;
  font-size: 17px;

  display: flex;
  flex-direction: row;
  justify-content: start;
  align-self: center;
  grid-column: 1; /* take the explicit one */
}

.link:hover {
  color: rgb(38, 38, 38);
  border-bottom: 2px solid #03BFD7;
  transition: all 0.6s ease 0s;
}

.active {
  border-bottom: 2px solid #03BFD7;
}

.sponsors {
  display: grid;
  grid-gap: 70px;
  justify-items: center;
  align-items: center;
  grid-template-columns: repeat(5, minmax(15%, 200px));
}

.sponsors img.gulfImg {
  max-width: 100px;
}

.sponsors img.glovo{
  width: 90%;
}

.sponsors img {
  width: 100%;
  object-fit: cover;
}

/* Main Content Styles */
.main-content {
  background-color: rgb(255, 255, 255);
  padding: 0px 48px 10px 48px;
}

.goals, .statistic,.team,.sponsorsBlock{
  margin: 30px 0 30px 0;
}

.statisticBlock{
  display: flex;
  justify-content: space-between;
  list-style-type: none;
}

.statisticNumber{
  text-align: center;
  color: #03BFD7;
  font-size: 30px;
}

.statisticText {
  font-weight: 600;
}

h1 {
  color: #333;
  font-size: 30px;
}

a {
  color: #333;
}

h2 {
  margin: 0;
 }
/* Footer Styles */
.footer {
  width: 100%;
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
}
.footer p{
  padding: 30px 0 60px 0;
}



@media only screen and (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .links{
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo {
    margin-right: 0;
  }

  .navbar a {
    width: 100%;
  }

  .navbar .link {
    justify-content: center;
    padding: 10px;
  }

  .sponsors {
    grid-template-columns: 1fr;
  }

  .sponsors img {
    width: 80%;
  }

  .sponsors img.gulfImg {
    max-width: 140px;
  }

  .sponsors img.glovo{
    width: 70%;
  }

  .statisticBlock{
    flex-direction: column;
  }

  .statisticText{
    text-align: center;
  }
}

@media only screen and (max-width: 1070px) {
  .navbar {
    padding: 0;
  }

  .link{
    margin-right: 10px;
  }

  .main-content{
    padding: 10px;
  }

  .sponsors img {
    width: 70%;
  }

  .sponsors img.gulfImg {
    margin-top: 20px;
    max-width: 140px;
  }

  .sponsors img.glovo{
    width: 70%;
  }

  .sponsors {
    width: 90%;
    grid-gap: 30px;
  }

}