body {
  /* background-color: #222831; */
  color: rgb(255, 255, 255);
  font-family: 'Baloo Paaji 2', cursive;
  margin: 0;
  padding: 0;
  text-align: center;
  overflow: auto;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #61dafb #222831;
}
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-thumb {
  background-color: #61dafb; /* Scrollbar thumb color */
  border-radius: 10px;
}

body::-webkit-scrollbar-track {
  background-color: #222831; /* Scrollbar track color */
}
/* header {
  padding: 1em;
  background-color: #222831;
  color: rgb(255, 255, 255);
  border: 2px solid rgb(64, 234, 84);
} */

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.card {
  background-color: #191c21;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin: 20px;
  padding: 20px;
  width: 25%;
  text-align: center;
  border: 2px solid rgb(64, 234, 84);
  text-align: justify;
text-justify: inter-word;
overflow-y: auto;
}

h2 {
  color: rgb(255, 255, 255);
  margin-bottom: 1em;
}

p {
  color: #ccc;
  line-height: 1.5;
}

.register-button {
  display: block;
  margin-top: 20px;
  padding: 10px;
  /* background-color: rgb(64, 234, 84); */
  background-color: #61dafb;
  color: black;
  text-decoration: none;
  border-radius: 4px;
}

/* Media query for responsive design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .card {
    width: 80%;
  }
}
.logo {
margin: 10px;
width: 100px; /* Set your desired width */
height: auto; /* Maintain aspect ratio */
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
backdrop-filter: blur(2px);
padding: 1em;
background-color: rgba(0, 0, 0, 0.518);
}

nav a {
color: #61dafb;
text-decoration: none;
padding: 10px;
font-size: 1.2em;
font-family: 'Baloo Paaji 2', cursive;

}

nav a:hover {
border-bottom: 2px solid #61dafb;
}

a {
color: #61dafb;
text-decoration: none;
}

h2 {
margin-bottom: 0.5em;
}

/* Media query for responsive design */
@media (max-width: 600px) {
nav {
flex-direction: row;
padding: 0.5em;
}


nav a {
padding: 5px;
font-size: 1em;
}

.logo {
width: 80px; /* Adjust the size as needed for smaller screens */
}
body{
  overflow: scroll;
}
}
footer {
  color: #fff;
  text-align: center;
  padding: 0em;
  margin-top: 0px; /* Adjust the margin as needed */
}

.winners-section,
.previous-winners-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px; /* Adjust the margin as needed */
}

.winners-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px; /* Adjust the margin as needed */
}

.winner-card {
      background-color: rgb(10, 23, 27);
      color: #ffffff;
      border: 2px solid rgb(64, 234, 84);
      border-radius: 8px;
      padding: 20px;
      margin: 20px;
      width: 300px;
      display: inline-block;
      vertical-align: top;
    }

/* team */
.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 20px;
}

.team-member-card {
  /* background-color: #222831; */
background-color: #191c21;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin: 20px;
  padding: 20px;
  width: 300px;
  text-align: center;
  border: 2px solid rgb(64, 234, 84);
}

.team-member-picture {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px;
}
.team-member-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the image covers the entire container */
  border-radius: 50%;
}
.team-member-name {
  color: #fff;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.team-member-linkedin {
  color: #61dafb;
  text-decoration: none;
  font-size: 1.2em;
}
.all-events {
  position: relative;
  overflow-y: auto;
  width: 100%;
  height: 300px; /* Adjust the height as needed */
}

.all-events::-webkit-scrollbar {
  width: 5px;
}

.all-events::-webkit-scrollbar-thumb {
  background-color: #61dafb; /* Scrollbar thumb color */
  border-radius: 10px;
}

.all-events::-webkit-scrollbar-track {
  background-color: #222831; /* Scrollbar track color */
}
.poster {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
}

/* Popup styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Fallback for browsers that don't support backdrop-filter */
  backdrop-filter: blur(10px);
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #222831; /* Dark accent */
  padding: 20px;
  text-align: center;
  color: #fff; /* Text color on dark accent background */
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
  color: #fff; /* Text color on dark background */
}

.popup-register-button {
  display: block;
  margin-top: 20px;
  padding: 10px;
  display: inline-block;
  /* background-color: rgb(64, 234, 84); */
  background-color: #61dafb;
  color: black;
  text-decoration: none;
  border-radius: 4px;
}
/* Responsive design for smaller screens ... */

/* Announcement poster index.html*/
.announcement-poster {
  max-width: 80%;
  max-height: 80%;
  /* width: 100%; */
  display: block;
  margin: 10px auto; /* Center the image */
  /* position: absolute; */
  top: 50%;
  left: 50%;
  /* transform: translate(-50%, -50%); */
}
/* Community partners */
.partners-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start; /* Align items at the top of the container */
  flex-wrap: wrap; /* Enable wrapping to create columns */
}

.partners-section {
  text-align: center;
  padding: 20px;
  /* background-color: #f4f4f4; */
  flex: 0 0 30%; /* Each section takes up 30% of the container width */
}
.partner {
  margin-top: 20px;
  display: inline-block;
  margin-right: 20px;
}

.partner img {
  width: 150px; /* Adjust the logo width as needed */
  height: auto;
  border-radius: 8px;
}

.partner p {
  margin-top: 10px;
  color: #a0a0a0;
}