@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap");

html {
  margin: 0;
  padding: 5px;
  box-sizing: border-box;
  background-image: url('/images/WTTSS Home Page.jpg');
  background-size: cover
  background-position: bottom center;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: none;
    height: 100%;
}

.ticker {
    white-space: nowrap;
    overflow: hidden;
}
.ticker span {
    display: inline-block;
    padding-left: 100%;
    padding-right: 100%;
    font-size: 16px;
    font-weight: bold;
    color: red;
    animation: scrollTicker 20s linear infinite;
    background: yellow;
}
@keyframes scrollTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.webpage-title {
    text-align: center;
    margin: 5px 0 5px;
    font-size: 2em;
    color: orange;
}

.main-content {
    display: flex;
    justify-content: space-between;
    width: 98%;
    height: 900px;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 0;
}

.left-column, .middle-column, .right-column {
    flex: 1; /* Allows the columns to be flexible */
    min-width: 300px; /* Ensures they don’t shrink too much */
    padding: 5px; /* Add spacing to prevent overlap */
    height: 1200px;
}

.content-box {
    background: rgba(0,0,0,0.3);
    padding: 0;
    margin-bottom: 5px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border-color: black;
    color: orange;
}

.content {
    background: rgba(0,0,0,0.3);
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    color: orange;
    
}
.thumbnail-container {
    background: rgba(0,0,0,0.3);
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    color: orange;    
}

.text-overlay {
    background: rgba(0,0,0,0.3);
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    color: orange;
}

.thumbnail {
    width: 100px; /* Adjust thumbnail size */
    height: auto;
    cursor: pointer;
}

#imagePreview {
    display: none;
    position: absolute;
    width: 300px; /* Enlarged size */
    height: auto;
    border: 2px solid #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    background-color: white;
    z-index: 1000;
}

#imagePreview img {
    width: 100%;
    height: auto;
    display: block;
}


.content-box {
  background: rgba(0,0,0,0.3);
  font-size: 16px;
  font-weight: bold;
  color: orange;
  margin-bottom: 5px;
}

.sn-row1, .sn-row2, .sn-row3, .sn-row4, .sn-row5, .su-row1, .su-row2, .su-row3, .su-row4, .su-row5, .so-row1, .so-row2, .so-row3, .so-row4, .so-row5, .rsc-row1, .rsc-row2, .su-row1, .su-row2, .su-row3, .su-row4, .su-row5, .bsotm-row1, .bsotm-row2, .h2{
    background: rgba(0, 0, 0, 0.3); /* Dark semi-transparent background */
    margin-bottom: 5px; /* Adds space below each element */
    color: orange;
}

.slideshow {
    position: relative;
    overflow: hidden;
    height: 300px; /* Adjust height as needed */
    width: 100%;
    max-width: 600px; /* Adjust width if needed */
}

.slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the images fill the container */
    transition: opacity 5s ease-in-out;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: transparent;
    padding: 0;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.events-list {
    width: 100%; /* Ensures it fits inside .right-column */
    margin-top: 10px;
    background: rgba(0,0,0,0.3);
    padding: 0;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    color: orange;
}

.monthEvents {
    width: 100%; /* Ensures it fits inside .right-column */
    margin-top: 10px;
    background: rgba(0,0,0,0.3);
    padding: 0;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
    color: orange;
}
.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid #efefef;
}

.calendar-toolbar > .current-month {
  flex-grow: 1;
  text-align: center;
  padding: 5px;
  font-size: 20px;
  font-weight: bold;
  color: orange;
  background: rgba(0,0,0,0.3);
}

.calendar-toolbar > [class$="month-btn"] {
  width: 40px;
  text-align: center;
  line-height: 40px;
  font-size: 14px;
  color: orange;
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 15px;
}

.weekday-name {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  text-align: center;
  background: rgba(0,0,0,0.3);
  color: orange;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);  /* 7 columns, one for each day */
  padding: 5px;  /* Optional: adds space between the days */
  background: rgba(0,0,0,0.3);
}

.prev-month-day, .month-day, .next-month-day, .current-day, .has-event {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;  /* Adjust as needed */
  border: 1px solid #ddd;
  margin: 2px;
  color: orange;
  background: rgba(0,0,0,0.3);
}
.day-of-week {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  color: orange;
  background: rgba(0,0,0,0.3);
}

.current-day {
  background-color: #f0f0f0;
}

.has-event {
  background-color: #e6ffe6;
  border: 1px solid #a2d9a2;
}

.padding-day {
  color: #a5a5a5;
  user-select: none;
}

.calendar-toolbar > [class$="month-btn"]:hover,
.month-day:hover,
.btn:hover {
  border-radius: 15px;
  background: rgba(0,0,0,0.3);
  color: orange;
  transition: 0.1s;
  cursor: pointer;
  box-shadow: inset 0 0 0 1.5px rgb(112, 71, 235);
}

.calendar-toolbar > [class$="month-btn"]:focus,
.month-day:focus,
.btn:focus {
  border-radius: 15px;
  background: #f4f4f4;
  color: #f8f7fa;
}

.goto-buttons {
  border-top: 1px solid #efefef;
  padding-block: 18px;
  display: flex;
  justify-content: space-between;
}

.btn {
  background: #f8f7fa;
  border: none;
  border-radius: 15px;
  padding: 11px 13px;
  color: #19181a;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 1px;
  box-shadow: 0 0 0 #efefef;
}

.event-popup {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.event-popup-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.event-form {
  margin-top: 20px;
  text-align: center;
}

.event-form {
  font-size: 24px;
  color: #19181a;
}

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

.event-form label {
  font-size: 16px;
  color: #19181a;
  margin: 10px 0 5px 0;
}

.event-form input, .event-form textarea, .event-form select {
  padding: 8px;
  font-size: 16px;
  border: 1px solid #efefef;
  border-radius: 10px;
  outline: none;
  width: 200px;
  margin-bottom: 10px;
}

.event-form textarea {
  resize: none;
}

.event-form button {
  padding: 10px 20px;
  font-size: 16px;
  color: #f8f7fa;
  background-color: rgb(112, 71, 235);
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.event-form button:hover {
  background-color: rgb(91, 61, 202);
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        align-items: center;
    }
     .left-column, .middle-column, .right-column {
        width: 100%;
    }
}
