/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
}

a {
    color: #006699;
    text-decoration: none;
}

a:hover {
    color: #F2AF5C;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: normal;
}
.bold{
    font-weight: bold;
}


.scroll-container-vert {
background-color: gray;
  padding: 35px;
}
.upcomingEventVert {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 5px;
  background-color: #f9f9f9;
}
.scroll-container-vert .event-image img {
  object-fit: cover;
}
.scroll-container-vert .event-details {
  flex: 1;
}

.scroll-container-vert .event-image {
  width: 285px;
  height: auto;
  overflow: hidden;
  background: whitesmoke;
  display: flex;
  margin-right: 25px;
}


.event-details {
  min-height: 195px;
}


#eventsViewLink{
  font-size: 23px;
  text-align: right;
  display: block;
  cursor: pointer;
}

.pointer{
    cursor: pointer;
}

.permissionList li {
  padding: 0;
  margin: 0;
}

.removeRoleBtn{
  display: inline;
  padding: 3px;
  font-size: 13px;
}

.removeRoleForm{
  display: inline;
}

.hideValue{
  display: none;
  width: 100%;
  float: left;
  clear: both;
}

.hero {
    display: flex;
    flex-direction: column;
    background-image: url("../images/hero/sunset_ausable.jpg");
    height: 100vh;
    align-self: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    align-items: center;
    justify-content: center;
    margin-right: -15px;
  margin-left: -15px;
}

.sideSection {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  margin-right: 10px;
}
.sideSection:last-child {
  margin-right: -10px;
}

.hero {
  width: 100vw;
  margin-right: 0;
  margin-left: 0;
}
.heroText {
    font-size: 1.4rem;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* add a shadow to the text */

}

/* Header Styles */
header {
    background-color: #006699;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .container {
  display: flex;
  flex-direction: column;
}

header h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  padding: 30px;
    padding-left: 30px;
  padding-left: 0;
}

header img {
    height: 100px;
    margin-right: 15px;

  }

nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #006699;
    padding: 20px;
    box-sizing: border-box;
    flex-basis: 100%;
}

nav.open {
    display: block;
}
#menu.open{
    display: block;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
    padding: 0;
}
nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

nav a:hover {
    background-color: #F2AF5C;
    color: #fff;
}

.header-top {
  display: flex;
  align-items: center;
  width: 100%;
}

#nav {
  width: 100%;
  margin-top: 10px;
}
.hamburger {
    display: none;
    cursor: pointer;
}

#eventsView{
    background-color:#55efc4;
    color: #006699;
}

.centerHeader{
    text-align: center;
    font-size: 2.75rem;
}


.mySlides {
    max-height: 18.5rem;
    overflow: hidden;
  }

  .homepage-events {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .contactFormSubmissions {
    background-color: #f9f9f9; /* Light grey background */
    border: 1px solid #ddd; /* Grey border */
    border-radius: 5px; /* Rounded corners */
    padding: 15px; /* Padding */
    margin-bottom: 20px; /* Bottom margin */
  }
  
  .contactFormSubmission {
    background-color: #fff8dc; /* Light yellow background */
    border: 1px solid #eee8aa; /* Pale golden border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px; /* Padding */
    margin-bottom: 10px; /* Bottom margin */
  }
  
  .upcomingEvent {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
    background: whitesmoke;
    padding: 20px;
    border-radius: 5px;
    margin: 20px;
  }

  .homepageOuterContainer {
    padding: 50px;
  }
  .event-image {
    height: 275px;
    overflow: hidden;
    background: whitesmoke;
    display: flex;
  }
  .event-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: white;
    border: 1px solid lightgray;
  }
  
  .event-title {
    font-size: 1.5rem;
    margin-top: 0;
    padding: 10px;
      padding-left: 10px;
    padding-left: 0;
  }

  .event-description {
    margin-top: 0;
  }
  
  .event-date {
    margin-bottom: 0;
  }

  .homepageNewsItem {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background: #b2bec3;
    padding: 25px;
    border-radius: 5px;
  }
  .news-image {
    flex: 0 0 120px;
    margin-right: 20px;
  }
  
  .news-image img {
    width: 100%;
    height: auto;
  }
  
  .news-details {
    flex: 1;
  }
  
  .news-title {
    font-size: 1.5rem;
    margin-top: 0;
    color: #336699; /* Blue color reflecting water */
  }
  
  .news-description {
    margin-top: 0;
    color: #333333; /* Dark gray color for description */
  }
  
  .news-date {
    margin-bottom: 0;
    color: #00b894;
    font-style: italic;
  }

.news-readmore {
  margin-top: auto;
  color: #336699; /* Blue color reflecting water */
  text-decoration: none;
}
.card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  
  .article-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
  }
  
  .article-content {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
  }
  .editEventImageView {
    width: 600px;
    padding: 10px;
  }

  #keepImageBox{
    padding: 20px;
    font-weight: bold;
  }
  .article-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
  }
  
  .article-timestamp {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
  }

  .fieldIconContain{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #3274d6;
    color: #ffffff;
}

.loginfield{
    display: flex;
}

#username, #password {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    border-radius: 0 5px 5px 0px;
    margin-bottom: 20px;
    padding: 0 15px;
}
.login {
    width: 400px;
    background-color: #ffffff;
    border: 1px solid #dee0e4;
    padding: 11px;
    height: 100%;
  }
  .login h1
  {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 10px 0 10px 0;
    border-bottom: 1px solid #dee0e4;
    margin-bottom: 20px;
  }
.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
#eventsScrollDiv {
  display: flex;
  flex-wrap: nowrap;
  overflow: scroll;
}

#loginBtn {
    width: 100%;
    padding: 15px;
   margin-top: 20px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}
#loginBtn:hover {
  background-color: #2868c7;
    transition: background-color 0.2s;
}
  
@media only screen and (max-width: 1024px) {
    .hamburger {
        display: block;
        font-size: 2rem;
        cursor: pointer;
    }

    header h1 {
        margin-left: 0;
        font-size:  1.3rem;
            margin: 0;
            padding: 13px;
            padding-left: 0px; 
    }

    header img {
        width: auto;
        height: 75px;
        margin-right: 15px;
      }

    #menu.open{
        display: block;
    }

     nav {
        display: none;
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background-color: #006699;
        padding: 20px;
        box-sizing: border-box;
        z-index: 1;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }

    nav.open {
        transform: translateY(0);
    }

    nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    nav li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    nav a {
        display: block;
        padding: 10px;
        text-decoration: none;
        color: #fff;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    }

    nav a:hover {
        background-color: #F2AF5C;
        color: #fff;
    }
    

    .hamburger.open .hamburger-icon {
        display: none;
    }

    .hamburger.open .close-icon {
        display: block;
    }

    .close-icon {
        display: none;
        font-size: 2rem;
        cursor: pointer;
    }

    .homepage-events {
        flex-wrap: nowrap;
      }
    
      .upcomingEvent {
        margin-right: 0;
      }
      .homepageNewsItem {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
      }
      
      .news-image {
        flex: 0 0 120px;
        margin-right: 20px;
      }
      
      .news-image img {
        width: 100%;
        height: auto;
      }
      
      .news-details {
        flex: 1;
      }
      
      .news-title {
        font-size: 1.5rem;
        margin-top: 0;
        color: #336699; /* Blue color reflecting water */
      }
      
      .news-description {
        margin-top: 0;
        color: #333333; /* Dark gray color for description */
      }
      
      .news-date {
        margin-bottom: 0;
        color: #669933; /* Green color reflecting nature */
      }
      .card {
        padding: 10px;
      }
    
      .article-title {
        font-size: 1.5rem;
      }
    
      .article-content {
        font-size: 1rem;
      }
}

@media only screen and (min-width: 1024px) {
    .hamburger {
        display: none;
    }

    header img {
        max-width: none;
        height: 100px;
    }

    nav {
        display: flex;
        align-items: center;
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        background-color: transparent;
        padding: 0;
    }
    
    nav.open {
        display: block;
    }

    #menu.open{
        display: block;
    }


    nav ul {
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
    }

    nav li {
        margin-left: 20px;
    }
}

/* Main Styles */
main {
    margin: 20px;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 24px;
    color: #006699;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

ul {
    margin-left: 20px;
}

li {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
}

li a {
    color: #006699;
}

#menu li a{
    color: white;
}
li a:hover {
    color: #F2AF5C;
}

/* Footer Styles */
footer {
    background-color: #8FBF7F;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
  .hero {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: auto 1900px;
  }

  .heroText{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* add a shadow to the text */

  }

  .homepageNewsItem {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .news-image {
    width: 100%;
    height: auto;
  }

  .news-content {
    text-align: center;
    width: 100%;
    padding: 10px;
  }

  .news-date, .read-more {
    width: 100%;
    text-align: left;
    padding-bottom: 10px;
  }

  #eventsScrollDiv{
    padding: 10px;
  }
}


@media (max-width: 576px) {
  .hero {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: auto 1200px;
  }

  .heroText{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* add a shadow to the text */

  }

  .homepageNewsItem {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .news-image {
    width: 100%;
    height: auto;
  }

  .news-content {
    text-align: center;
    width: 100%;
    padding: 10px;
  }

  .news-date, .read-more {
    width: 100%;
    text-align: left;
    padding-bottom: 10px;
  }
}

/* Responsive Styles */
@media (max-width: 767.98px) {
  .upcomingEventVert {
      flex-direction: column;
  }

  .scroll-container-vert .event-image {
      margin-bottom: 15px;
  }

  .scroll-container-vert .event-details {
      margin-left: 0;
  }

  .scroll-container-vert .event-image {
    height: auto;
    width: 100%;
  }
}


/* Make the sponsors section on the homepage look good and responsive */
.sponsors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}
.sponsor-logo {
    max-width: 200px;
    height: auto;
    flex: 1 1 150px; /* Allow logos to shrink and grow */
}
.sponsor-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* make the gold tier and the silver tier look different. 
   Gold tier should be more prominent also they should have the image nice and standard sized so that they look good and professional */
.gold-tier {
    background-color: #FFD700; /* Gold color */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}
.silver-tier {
    background-color: #C0C0C0; /* Silver color */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}
.gold-tier h3, .silver-tier h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.gold-tier p, .silver-tier p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.gold-tier img, .silver-tier img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.gold-tier img, .silver-tier img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.sponsor-graphic{
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
  }
