@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

#wrapper {
  background-color: #ffffff;
  min-height: 100vh;  /* This line ensures the div takes at least the full viewport height */
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background-color: #ffffff; 
  line-height: 1.5;
}



ul, ol {
  padding-left: 20px;
}


.navbar {
  overflow: hidden;
  background-color: #333; 
  display: flex; 
  flex-wrap: wrap;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  padding: 14px 10px;
  text-decoration: none;
  text-align: center;
}

.navbar a.active {
  background-color: #444;
  color: white;
}

.subnav {
  float: left;
  overflow: hidden;
}

.subnav .subnavbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: #ffffff;
  padding: 14px 10px; 
  background-color: inherit;
  font-family: inherit;
  text-align: center;
  margin: 0;
}

.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: #871e1e;
}

.subnav-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: #f6f6f6;
  box-shadow: 0px 8px 16px 0px #00000033;
  width: 100%;
  z-index: 1;
}

.subnav-content a {
  float: left;
  color: #000000;
  text-decoration: none;
}

.subnav-content a:hover {
  background-color: #d6d6d6;
}

.subnav:hover .subnav-content {
  display: block;
}

#content {
    width: 100%;
    padding: 1rem 2rem;
    background-color: #ffffff;
}

a {
    transition: color 0.2s;
}

.red a {
    color: #a53c3c;
    font-weight: bold;
}

.red a:hover {
    color: #871e1e;
}


h1, h2 {
    color: #444;
}

h1 {
    font-size: 24px;
    margin-bottom: 1rem;
}

h2 {
    font-size: 20px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.logo {
  width: 123px;
  height: auto;
}

dt, dd {
  display: inline-block;
  vertical-align: bottom; /* Aligns elements to the top */
}

dt {
  font-weight: bold;
  margin-right: 5px;
  margin-left: 10px;
}

dl div {
  display: flex;
  margin-bottom: 5px;
}



table {
  border-collapse: collapse;
  width: 85%;
  max-width: 900px;
}

table th, table td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #000000;
  border-top: 1px solid #000000;
}

table tr:nth-child(even) {
  background-color: #d6d6d6;
}

table tr:hover {
  background-color: #a6a6a6;
}

.responsive-calendar {
  width: 600px;
  height: 620px;
  border: solid 1px #444;
  overflow: hidden;
}

.responsive-calendar iframe {
  width: 100%;
  height: 100%;
}

.event-image {
    width: 100%;
    max-width: 575px;
    height:auto;
    border: 1px solid #000000;
    display: block;
    margin: 15px 0;
}

figcaption {
    text-align: left;
    margin: 10px 0;
}

.column {
  float: left;
  width: 50%;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

dl {
  margin-bottom: 20px;
}

dt {
  font-weight: bold;
  margin-top: 10px;
}

dd {
  margin-left: 20px; /* Indent the description for better readability */
}


@media screen and (max-width: 767px) {
    
    /* Make the wrapper full width for better use of space */
    #wrapper {
        width: 100%;
        padding: 0 10px; /* Add some padding to prevent content sticking to the edges */
    }

    h1 {
      font-size: 22px;
      margin-bottom: 0rem;
  }

  h2 {
    font-size: 18px;
    margin-top: 0rem;
    margin-bottom: 0rem;
}

    /* Stack columns on top of each other and make them full width */
    #content {
        float: none;
        width: 100%;
        padding: 5px 0;
        margin: 0;
    }

    .logo {
      width: 61.5px;
      height: auto;
    }

    .navbar {
      flex-direction: column;
    }
    
  
    .navbar a,
    .subnav .subnavbtn {
      width: 100%;
      padding: 10px;
      border: 1px solid #333; 
    }
    
    .subnav .subnavbtn {
      position: relative;
      box-shadow: none;
    }
    
  
    .subnav .subnav-content a {
      width: 100%;
      padding: 10px;
      border-top: 1px solid #f6f6f6;
    }
  
  table {
    width: 100%;
  }
  
  .responsive-calendar {
    width: 100%; /* Matches the text width */
    height: 120vw; 
  }

  .column { width: 100%; }

}

