:root{
    --background-color: rgb(255, 255, 255);
    --font: Arial, Helvetica, sans-serif;
    --font-color: rgb(0, 0, 0);
    --accent1: rgb(172, 167, 167);
    --accent2: rgb(5, 0, 71);
}

body {
    background-color: #336fff8a;
    font-family: var(--font);
    color: var(--font-color);
    padding: 0;
    margin: 0;
    min-height: 100%;
    height: auto;
    position:relative;
    font-size: 18px;
}

h1, h2, h3 {
    margin: 5px;
}

ul {
    list-style-type: none;
}

nav {
    list-style: none;
    display: flex;
    /*gap: 25px;*/ /* Space between items */
    font-size: 18px; /* Font size for the nav */
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /*background-color: #38444d;*/ /* Color for the nav */
}

a {
    text-decoration: none;
    color: white;
}

li a, .dropbtn {
    display: inline-block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color: rgb(151, 17, 17);
    color: white;
}
  
li.dropdown {
    display: inline-block;
}
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(151, 17, 17);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
  
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
  
.dropdown-content a:hover {background-color: #153275;}
  
.dropdown:hover .dropdown-content {
    display: block;
}

/*a:hover {
    color:rgb(151, 17, 17)
}*/

p {
    text-align: center;
    letter-spacing: .2px;
    padding-left:10px;
    padding-right: 10px;
}

p a {
    color: blue;
}

.container {
    margin: 0px auto;
    max-width: 940px;
    height: 135px;
}

#footer {
    margin: 0px auto;
    height: 60px;
    background: #153275;
    background-position: center top;
    width:auto;
}

.logo {
    float:left;
    height: 125px;
    width: 125px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    font-size:24px;
}

/* Logo hover effect */
.logo-link {
    display: inline-block;
    position: relative;
}

.logo-link img {
    width: 125px;
    height: 125px;
    transition: opacity 0.3s ease;
}

.logo-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 125px;
    height: 125px;
}

.logo-link:hover .logo-default {
    opacity: 0;
}

.logo-link:hover .logo-hover {
    opacity: 1;
}

.nav_container {
    height: 50px;
    padding-top:86px;
    padding-left:175px;
}

.extlinks {
    display: block;
    position: relative;
    padding-top:5px;
    padding-left: 7px;
    padding-right: 7px;
}

.mobile-menu-box {
    padding-top:95px;
}

.burger-items {
    display: block;
    padding-top: 15px;
    padding-bottom: 20px;
    padding-left:0px;
    color:aliceblue;
}
/* hide mobile menu on desktop */
.hamburger, .mobile_menu {
    display: none;
}

@media (max-width: 768px) {
    #handles {
        display: none;
    }
    
    .nav_container{
        display: none;
    }
    .hamburger {
        display: flex;
        position: absolute;
        right: 1rem;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 54px;
        padding-top: 5px;
        z-index: 11;
    }
    /* hide by default */
    .mobile_menu {
        display: none;
        list-style: none;
        float:inline-end;
        position:fixed;
        right:0px;
        top: 0px;
        bottom: 0;
        height: auto;
        max-height:480px;
        margin: 0;
        flex-direction: column;
        width: 50%;
        background: rgb(151, 17, 17);
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        font-size: x-large;
        font-weight: bold;
        z-index:10;
    }
    /* show when active */
    .mobile_menu.active {
        display: flex;
    }
    .container {
        height:95px;
    }
    .logo {
        float:left;
        height: 80px;
        width: 80px;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 5px;
        padding-right: 5px;
        font-size:24px;
    }
    .logo-link img {
        width: 85px;
        height: 85px;
        transition: opacity 0.3s ease;
    }
    
    .logo-hover {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        width: 90px;
        height: 90px;
    }

    .calendar-container {
        padding-bottom: 120%; /* Taller aspect ratio for mobile */
      }
}

#global_header {
    background: #153275;
    background-position: center top;
    width:auto;
    position: sticky; /*sticky header*/
    top: 0;
    z-index: 8;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

/*********************************Gala Page*******************************************/
#global_header-gala {
    background: goldenrod;
    background-position: center top;
    width:auto;
    position: sticky; /*sticky header*/
    top: 0;
    z-index: 8;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

#gala_body{
    /*position: fixed;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        /* Base red color */
        linear-gradient(135deg, #8b0000 0%, #700000 25%, #8b0000 50%, #700000 75%, #8b0000 100%),
        /* Velvet texture */
        repeating-linear-gradient(
            45deg,
            rgba(0, 0, 0, 0.1) 0px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.2) 2px,
            rgba(0, 0, 0, 0.2) 4px
        );
    background-blend-mode: overlay;
    background-size: 400% 400%, 10px 10px;
    background-color: darkred;
}

/* Some folds to make it look more like a curtain */
#gala_body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.2) 10%,
        transparent 20%,
        rgba(0, 0, 0, 0.2) 30%,
        transparent 40%,
        rgba(0, 0, 0, 0.2) 50%,
        transparent 60%,
        rgba(0, 0, 0, 0.2) 70%,
        transparent 80%,
        rgba(0, 0, 0, 0.2) 90%,
        transparent 100%
        );
    pointer-events: none;
}

#content-gala {
    background-color: black;
    display:grid;
    justify-items: center;
    margin: 0px auto;
    padding-top:5px;
    max-width: 940px;
    color: white;
}

.item-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
        
.item-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}
        
.item {
    width: 200px;
}
        
.item-photo {
    width: 150px;
    height: 150px;
    /*border-radius: 50%;*/
    object-fit: cover;
    border: 3px solid #333;
    margin: 0 auto 15px;
}

.item-photo:hover {
    border: 3px solid goldenrod;
}
        
.item-name {
    font-weight: bold;
    margin-bottom: 5px;
}
        
.item-title {
    color: goldenrod;
    font-style: italic;
    margin-bottom: 10px;
}
        
@media (max-width: 768px) {
.item {
    width: 150px;
}
}

.silent-auction-btn {
    color:black;
    text-decoration: underline;
}

.silent-auction-btn:hover {
    color:darkred
}

/*
li a, .dropbtn-gala {
    display: inline-block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover, .dropdown-gala:hover .dropbtn-gala {
    background-color: purple;
    color: white;
}
  
li.dropdown-gala {
    display: inline-block;
}
  
.dropdown-content-gala {
    display: none;
    position: absolute;
    background-color: purple;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
  
.dropdown-content-gala a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
  
.dropdown-content-gala a:hover {background-color: pink;}
  
.dropdown-gala:hover .dropdown-content-gala {
    display: block;
}
*/

/***************************************************************************************/

#handles {
    float:right;
    padding-top: 6px;
}

#content {
    display:grid;
    justify-items: center;
    margin: 0px auto;
    padding-top:5px;
    max-width: 940px;
}

#videoframe {
    display: block;
    width: 100%;
    height:450px;
    padding-top: 10px;
}

#shortframe {
        display: block;
        width:50%;
        height:837px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
@media (max-width: 768px) {
    #shortframe {
        display: block;
        width:100%;
        height:837px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* Home Page Photo*/
#slideshow-container {
    width: 940px;
    height:500px;
    overflow: hidden;
    background-image: linear-gradient(to right, rgb(197, 227, 245), rgb(12, 29, 124));
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius:15px 50px;
}

@media (max-width: 768px) {
    #slideshow-container {
    width: 100%;
    height:350px;
    }
}

#image-container {
    margin:0;
    padding: 0;
}

#full-width-image {
    width:100%;
    height:100%;
    object-fit: contain;
    margin:auto;
    opacity: 1;
    transition: all .3s ease-in-out;
}

#small-image {
    width:50%;
}

#selector {
    height: 20px;
    width: 100%;
    padding-top:5px;
    display: flex;
    justify-content: center;
}

/* For fixed-height sections */
.full-width-image.fixed-height {
    height: 500px; /* Custom height */
    object-fit: cover; /* Crop to fill */
}

/* Board and Officers */
.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
        
.team-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}
        
.team-member {
    width: 200px;
}
        
.member-photo {
    width: 150px;
    height: 150px;
    /*border-radius: 50%;*/
    object-fit: cover;
    /*border: 3px solid #333;*/
    margin: 0 auto 15px;
}
        
.member-name {
    font-weight: bold;
    margin-bottom: 5px;
}
        
.member-title {
    color: #555;
    font-style: italic;
    margin-bottom: 10px;
}
        
@media (max-width: 768px) {
.team-member {
    width: 150px;
}
}


/* QR code*/
.centered-image {
	width: 500px;
	height: 500px;
	object-fit: cover; /* Ensures image fills the space without distortion */
	position: absolute;
    top: 50%;
    left: 50%;
	transform: translate(-50%, -50%);
	}
		
@media (max-width: 600px) {
    .centered-image {
        width: 300px;
        height: 300px;
    }
}

.news-container {
    max-width: 940px;
    margin: 0 auto;
    /*padding: 20px;*/
    text-align: center;
}

.news-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /*gap: 30px;*/
    margin-bottom: 40px;
}

.calendar-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    padding-bottom: 75%; /* Aspect ratio (600px height / 800px width) */
    height: 0;
    margin-bottom: 20px;
  }
  
  .calendar-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

  }

.front-page-btn {
  color:rgb(255, 215, 0);
  background: rgb(0, 0, 0); 
  box-shadow: 5px 5px 5px rgb(255, 215, 0); 
  padding-inline: 40px; 
  margin-bottom: 40px; 
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
}

.front-page-btn:hover {
  background: darkred; 
}

.gala-btn   {
  color:rgb(255, 215, 0);
  background: rgb(0, 0, 0); 
  padding-inline:20px;
  margin-bottom: 40px; 
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
  border: 4mm ridge goldenrod; 
}

.gala-btn:hover {
  background: darkred; 
}

.committee-btn {
    color:rgb(255, 255, 255); 
    background: rgb(0, 30, 98); 
    width:max-content; 
    box-shadow: 5px 5px 5px rgb(213, 0, 50); 
    padding-inline: 40px;
}

.committee-btn:hover {
    background: rgb(213, 0, 50); 
    box-shadow: 5px 5px 5px rgb(0, 30, 98); 
}
