@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap");

html {
  scroll-behavior: smooth; /* This enables smooth scrolling */
  box-sizing: border-box; /* This change the default box-sizing value */
}

*,
*:before,
*:after {
  box-sizing: inherit; /* This make sure that all elements inherit the same box-sizing value */
}

body,
h1,
h2,
p {
  margin: 0; /* Reset margin */
  padding: 0; /* Reset padding */
  font-family: Arial, sans-serif;
}

body {
  padding-top: 0px; /* Add padding to the top of the body to prevent the content from being hidden by the fixed header */
}

header {
  position: fixed; /* This makes the header fixed */
  top: 0; /* This aligns the header to the top of the viewport */
  left: 0; /* This aligns the header to the left of the viewport */
  width: 100%; /* This makes the header full width */
  background-color: rgba(
    51,
    51,
    51,
    0.8
  ); /* This makes the header semi-transparent */
  color: #fff;
  z-index: 999; /* This ensures that the header is always on top */
}



section {
  min-height: 97vh; /* Change the height of each section to 80% of the viewport height */
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

#home {

  background-color: #333366;
  background-image: url("/images/question.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
}

#home h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 5em;
  color: #FDFDFD; /* Deep black */
  margin-top: 100px;
  padding: 0;
}

#home h2 {
  font-family: "Roboto Slab", cursive;
  font-size: 2.5em;
  color: #ffff00; /* Bright yellow */
  margin: 5px 0 60px 0; /* Spacing between elements */
}

#home p {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #fdfdfd;
}

#home h3 a {
    font-family: "Roboto Slab", cursive;
    color: #ffff00; /* A softer shade of blue */
    text-decoration: none; /* To remove the underline from the link */
}
#home h3 a:hover {
    color: #e6e600; /* A slightly darker blue when the link is hovered over */
    text-decoration: underline; /* You can add underline on hover for clear indication that it's a link */
}


@media screen and (max-width: 768px) {
  #home {
    background-position: top; /* Change the position of the image on smaller screens */
    background-size: auto 100%; /* Change the size of the image on smaller screens */
  }
  footer {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-content {
    justify-content: flex-end;
  }

}


footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.footer-content .logo {
  height: 24px;
  margin: 0 10px;
}

footer a {
    color: #4a6699;  /* Change to any color of your choice */
    text-decoration: none; /* Removes the underline */
}

footer a:hover {
    color: #3a4a7a;  /* Slightly lighter color on hover */
    text-decoration: underline;  /* Adds an underline on hover for clarity */
}

.event_button {
  display: inline-block;
  color: #fff;
  background-color: #333333;
  padding: 10px 20px;
  margin-top: 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.event_button:hover {
  background-color: #555;
}

















.navbar {
  overflow: hidden;
  margin-right: 100px;
}

.navbar a {
  float: right;
  display: block;
  text-align: center;
  padding: 13px 16px;
  text-decoration: none;
  font-size: 17px;
  margin-left: 20px;
  color: #fff;
  line-height: 60px; /* Align text vertically */
  height: 80px;
}
.navbar a:hover {
  color: #007bff;
}

.navbar .logo {
  float: left;
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 17px;
}

.navbar .logo img {
  width: 50px;
  height: auto;
}

.header-content button {
  display: none;
  border: 0;
  outline: none;
}

/* Mobile view */
@media screen and (max-width: 600px) {
  .navbar a:not(:first-child) {
    display: none;
  }
  .navbar a.keep-visible {
      display: inline;
  }
  .header-content button.icon {
    float: right;
    display: block;
    margin: 25px;
    background: transparent;
  }

  .header-content .icon img{
    height: 30px;
    width: 30px;
    color: red;
  }


  .navbar.responsive {
    position: relative;
  }

  .navbar.responsive a {
    float: none;
    display: block;
    text-align: center;
  }
}













#submit form {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin: auto;
}
#submit h2 {
  font-family: "Roboto Slab", cursive;
  font-size: 1.5em;
  color: #ffff00; /* Bright yellow */
  margin: 5px 0 5px 0; /* Spacing between elements */
}

#submit a {
  margin: 10px 0 50px 0; /* Spacing between elements */
}

#submit {
    background-color: #333366;
    width: 100%; /* You can set this to whatever width you want */
    padding: 50px 20%;
}

#submit h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 5em;
  color: #FDFDFD; /* Deep black */
  margin-top: 100px;
  padding: 0;
}

#submit .form-group {
  margin-bottom: 20px;
}

#submit .form-group label {
  display: block;
  font-size: 20px;
  color: #FDFDFD;
  margin-bottom: 10px;
}

#submit input[type="text"],
#submit textarea,
#submit input[type="email"] {
  width: 100%;
  padding: 15px;
  border: 2px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  font-size: 16px;
  color: #fff;
  background-color: rgba(51, 51, 51, 0.8);
}

#submit input[type="text"]:focus,
#submit textarea:focus,
#submit input[type="email"]:focus {
    outline-color: #ffff00;
}

#submit input[type="checkbox"] {
  width: auto;
}

#submit input[type="submit"] {
  background: #333;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
  margin-top: 10px;
}

#submit input[type="submit"]:hover {
  background: #555;
}

@media screen and (max-width: 600px) {
  #submit form {
    width: 100%;
  }

  #submit input[type="text"],
  #submit textarea,
  #submit input[type="email"] {
    width: 100%;
  }
}

















#ideas {
  background-color: #333333;
  color: #fff;
  padding: 50px 20%;
}

#ideas h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 5em;
  color: #FDFDFD;
  margin-top: 100px;
  padding: 0;
}

#ideas h3 {
  font-family: "Roboto Slab", cursive;
  font-size: 1.5em;
  color: #ffff00; /* Bright yellow */
  margin: 5px 0 60px 0; /* Spacing between elements */
}

#ideas h3 a {
    color: #aad4ff; /* A softer shade of blue */
    text-decoration: none; /* To remove the underline from the link */
}

#ideas h3 a:hover {
    color: #8bbce3; /* A slightly darker blue when the link is hovered over */
    text-decoration: underline; /* You can add underline on hover for clear indication that it's a link */
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  padding: 20px;
}

@media screen and (max-width: 600px) {
  .ideas-grid {
    grid-template-columns: 1fr; /* Makes it a single column layout for smaller screens */
  }
  #ideas {
    background-color: #333333;
    color: #fff;
    padding: 0px 0px;
  }

}

.idea-card {
  background-color: #fff;
  color: #000;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.idea-card h2 {
  margin: 0 0 10px 0;
}

.idea-card p {
  margin: 0 0 10px 0;
}

.contact-link {
  color: #0000ff;
}

.highlight-note {
    color: #FFD700;
}











#events {
  /*background-color: #399277;*/
  background-color: #333366;
  color: #fff;
  padding: 50px 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#events h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 5em;
  color: #FDFDFD;
  margin-top: 100px;
  padding: 0;
}

#events h2 {
  font-family: "Roboto Slab", cursive;
  font-size: 1.5em;
  color: #ffff00; /* Bright yellow */
  margin: 5px 0 60px 0; /* Spacing between elements */
}

#events h2 a {
    color: #aad4ff; /* A softer shade of blue */
    text-decoration: none; /* To remove the underline from the link */
}

#events h2 a:hover {
    color: #8bbce3; /* A slightly darker blue when the link is hovered over */
    text-decoration: underline; /* You can add underline on hover for clear indication that it's a link */
}

.cards-container {
  display: flex;
  flex-wrap: wrap;  /* Allows the container to wrap its children to the next line */
  justify-content: space-around; /* Distributes cards evenly */
  gap: 20px;
  margin-top: 50px;
  width: 85%;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 10px 20px rgba(0,0,0,0.19), 0px 6px 6px rgba(0,0,0,0.23);
  color: #333;
  max-width: 600px;
  padding: 20px;
  margin: 10px;
  text-align: left;
}

.card-title {
  font-size: 24px;  /* Larger font size */
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;  /* Space below title */
}

.card-time,
.card-location,
.card-host {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;  /* Space below each info field */
}

.card-description {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 20px;  /* More space below description */
  text-align: center;
}

.card-link {
  color: #399277;
  text-decoration: none;
  margin-top: 15px;
  display: inline-block;
  display: flex;
  justify-content: center;
  width: 100%;
}


.card-info {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.card-info-item {
  font-weight: bold;
  font-size: 16px;
  margin-right: 15px; /* add right margin to each item */
}

.card-info-value {
  font-size: 16px;
  color: #666;
}

/* This is the media query for screens smaller than 600px (typical phone view) */
@media (max-width: 600px) {
  .card {
    max-width: 100%; /* make the card 90% of the viewport width */
    margin: 5px auto; /* horizontally center the card with automatic horizontal margins */
    width: 100%;  /* make the card take up the full width on smaller screens */
  }
  .cards-container {
    width: 100%;
  }

    #events {
      padding: 50px 10px; /* Reduced left and right padding to 5px */
    }

}




#contact {
  background-color: #333366;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
}

.MuiContainer-root {
    background-color: #FFF;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    justify-content: center;
}

.MuiContainer-root h2{
    text-align: center;
    margin:50px 50px;
}























#ideas-list {
  background-color: #333366;
  color: #fff;
  padding: 130px 20%;
}

#ideas-list h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 5em;
  color: #FDFDFD;
  margin: 0;
  padding: 0;
}

.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.page-prev, .page-next {
    padding: 10px 20px;
    margin: 0px 20px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.page-prev:hover, .page-next:hover {
    background-color: #666;
    color: #fff;
}

@media screen and (max-width: 600px) {

  #ideas-list {
    background-color: #333366;
    color: #fff;
    padding: 130px 0px;
  }

}











.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.8); /* To make it consistent with your header background */
    z-index: 1000; /* Ensuring it stays on top of other content */
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border-radius: 10px; /* Adding some rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Giving it a subtle shadow */
    max-width: 400px;
    width: 90%; /* It'll take 90% of the viewport width if viewport is very small */
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer; /* Making sure users know it's clickable */
    margin: -10px -10px 0 0; /* Providing a little negative margin for better positioning */
}

.close:hover, .close:focus {
    color: #333366; /* Making it consistent with your color scheme */
}

.modal-content h2 {
    font-family: "Montserrat", sans-serif;
    color: #333366;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.modal-content p,
.modal-content input,
.modal-content button {
    font-family: "Roboto", sans-serif;
}

.modal-content input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
}

.modal-content button {
    background-color: #333366;
    color: #FDFDFD;
    font-size: 16px;
    letter-spacing: 2px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    -webkit-font-smoothing: antialiased;  /* For Webkit browsers */
    text-rendering: optimizeLegibility;   /* Helps text rendering */
}

.modal-content button:hover {
    background-color: #555;
}




















#winner {
  background-color: #333366;
  color: #fff;
  padding: 50px 20%;
}

#winner h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 5em;
  color: #FDFDFD;
  margin: 0;
  padding: 0;
}

#winner h2 {
  font-family: "Roboto Slab", cursive;
  font-size: 1.5em;
  color: #ffff00; /* Bright yellow */
  margin: 5px 0 60px 0; /* Spacing between elements */
}















#rules {
  background-color: #333333;
  color: #fff;
  padding: 50px 20%;
}

#rules h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 5em;
  color: #FDFDFD;
  margin: 0;
  padding: 0;
}

#rules h2 {
  font-family: "Roboto Slab", cursive;
  font-size: 1.5em;
  color: #ffff00; /* Bright yellow */
  margin: 5px 0 60px 0; /* Spacing between elements */
}