@font-face {
    font-family: 'Comic Sans MS';
    src: url("/events/advent24/COMIC.TTF");
  }

  @font-face {
    font-family: 'Clarendon';
    src: url("/events/advent24/CLARE___.TTF");
}

@font-face {
    font-family: 'Bello';
    src: url("/events/advent24/Bello-Script.ttf");
}

html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ul, li {
    font-family: 'Comic Sans MS';
	color: #d99c64;
  	font-size: 1em;
	text-align: left;
	margin: 5px;
	list-style-position: inside;
}

img {
  max-width: 100%;
  height: auto;
}

body {
	background-color: #412731;
    background-image: url("/events/advent24/bg.jpg");
}

p {
    font-family: 'Comic Sans MS';
	color: #d99c64;
  	font-size: 1em;
	text-align: center;
	margin-bottom: 75px;
}

p.content {
    font-family: 'Comic Sans MS';
	color: #d99c64;
  	font-size: 1em;
	text-align: left;
}

p.lyrics {
    font-family: 'Bello';
	color: #d99c64;
  	font-size: 2em;
	text-align: center;
    text-shadow: -2px 3px 4px rgba(0, 0, 0, .5);
}

h1 {
    font-family: 'Clarendon';
	text-align: center;
	color: #c0564c;
	margin-bottom: 15px;
    margin-top: 75px;
    letter-spacing: .02em;
    text-shadow: -2px 3px 4px rgba(0, 0, 0, .5);
}

h2 {
    font-family: 'Clarendon';
    font-size: 3em;
	text-align: center;
	color: #c0564c;
    /*-webkit-text-stroke: 1px #f9bb82;*/
	margin-bottom: 15px;
    margin-top: 25px;
    letter-spacing: .02em;
    text-shadow: -2px 3px 4px rgba(0, 0, 0, .5);
}

a:link, a:visited {
    background-color:rgba(0, 0, 0, 0);
    color: #112324;
    text-align: center;
    font-family: 'Comic Sans MS';
    font-size: 1.25em;
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
    border-radius: 15px;
    margin: 4px 6px;
    transition: transform 0.2s ease;
}

a:hover, a:active {
  background-color: rgba(0, 0, 0, 0);
  transform: translate(-1px, 1px);
}

#img-link, #img-link img {
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
  padding: 0px;
  text-align: center;
  font-family: 'Comic Sans MS';
  font-size: 1.25em;
  text-decoration: none;
  display: inline-block;
  border-radius: 0px;
  margin: 0px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  width: 75%;
}

.nav {
  background-color: #112324;
  padding: 20px 10px 20px 10px;
  text-align: center;
  font-family: 'Comic Sans MS';  display: flex;
  flex-direction: row; /* Align children in a row */
  justify-content: center; /* Center them horizontally */
  align-items: center; /* Center them vertically */
  gap: 10px; /* Optional: Add spacing between elements */
}

.nav > div {
    display: flex; /* Ensures dropdown and other elements are properly contained */
    justify-content: center;
    align-items: center;
  }

.hero {
	background-color: #112324;
  background-image: url("/events/advent24/banner-bg.jpg");
  background-position: center;
  padding: 50px 20px 50px 20px;
  text-align: center;
}

.content {
	padding: 25px;
	max-width: 900px;
	margin: auto;
    text-align: center;
}


#p-link {
  background-color: rgba(0, 0, 0, 0);
  color: #769f92;
  padding: 0px;
  text-align: center;
  font-family: 'Comic Sans MS';
  text-decoration: none;
  display: inline;
  border-radius: 0px;
  margin: 0px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

#p-link:hover {
    text-decoration: underline;
  }

.bottom {
  margin-top: 75px;
  margin-bottom: 150px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    align-content: space-around;
    gap: 5px 5px;
  }
  
.dropdownButton {
    background-color:rgba(0, 0, 0, 0);
    color: #112324;
    text-align: center;
    font-family: 'Comic Sans MS';
    font-size: 1.25em;
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
    border-radius: 15px;
    margin: 4px 6px;
    transition: transform 0.2s ease;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdownButton:hover{
    transform: translate(-1px, 1px);
  }

  .dropdown-content {
    display: none;  
    position: absolute; /* Positioned relative to the .dropdown */
    top: 100%; /* Positions dropdown-content directly below the button */
    left: 50%; /* Centers dropdown-content horizontally */
    transform: translateX(-50%); /* Adjusts position to the center */
    background-color: #112324;
    color: #32453f;
    min-width: 500px;
    z-index: 1;
    box-shadow: -8px 16px 8px rgba(0, 0, 0, 0.2); /* Optional: Adds a subtle shadow for clarity */
    border-radius: 15px; /* Optional: Rounded corners */
  }
  
  .dropdown-content a {
    color: #7ea594;
    text-decoration: none;
    text-align: left;
    flex: none;
  }
  
  .dropdown-content a:visited {
    color: #7ea594;
    text-decoration: none;
  }
  
  .dropdown-content a:hover {
    color: #6a9381;
    text-decoration: none;
  }

  @media screen and (max-width: 600px) {
    #img-link, #img-link img {
        background-color: rgba(0, 0, 0, 0);
        color: #fff;
        padding: 0px;
        text-align: center;
        font-family: 'Comic Sans MS';
        font-size: 1.25em;
        text-decoration: none;
        display: inline-block;
        border-radius: 0px;
        margin: 0px;
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
        width: 100%;
      }
}