:root{
    --event-bezel-size: 1vmin;
}

div.titlebar {
    padding-top:6vmin;
    background-image: url("/static/images/mtbaker_hi_blur.jpg");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    left: calc(-1 * var(--body-side-margin));
    width: calc(100% + calc(var(--body-side-margin) * 1.8));
    min-height: calc(0.7* 50vmax);
    height:auto;
    overflow: hidden;
    position:relative;
    padding:1vmin;
    display:flex;
    justify-content: space-around;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 10vmin;
}

span.title_text {
    margin-top: 10vh;
    font-size: 10vmin;
    width:70vw;
    color:white;
    font-family: Arial, Helvetica, sans-serif;
    display: inline-block;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    -webkit-text-stroke: 0.1vmin white;
    background-color: rgba(0, 0, 0, 0.35);
    padding: 2.5vmin 7vmin;
    border-radius: 2vmin;


    /*
    -webkit-text-stroke: 0.05vmin black;
    color:white;
    font-family: Arial, Helvetica, sans-serif;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    padding: 2.5vmin 7vmin;
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 2vmin;
    transition: all 0.4s ease;
    text-align: center;
    letter-spacing: 0.3vmin;
    position: relative;
    overflow: hidden;
    z-index: 1;*/
}


.titlebar_button_container {
    display: flex;
    width:100%;
    justify-content: space-evenly;
    align-items: baseline;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}


.absolute-center {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;

    align-items: center;
    justify-content: center;
}


        
.transparent-button {
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3.5vmin;
    padding: 2.5vmin 7vmin;
    border: 0.6vmin solid white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 2vmin;
    transition: all 0.4s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3vmin;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.transparent-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-0.5vmin);
    box-shadow: 0 1vmin 2vmin rgba(0, 0, 0, 0.3);
}

.transparent-button:active {
    transform: translateY(0.2vmin);
    box-shadow: 0 0.5vmin 1vmin rgba(0, 0, 0, 0.3);
}

.transparent-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.transparent-button:hover::before {
    transform: translateX(100%);
}




.auto-resizable-iframe {
    max-width: 420px;
    margin: 0px auto;
    width: 100%;height:auto;
  }
  
.auto-resizable-iframe > div {
  position: relative;
  padding-bottom: 75%;
  height: 0px;
}
  
.auto-resizable-iframe iframe {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

.front-page-text {
    font-size: clamp(1rem, 3vmin, 7rem);
} 



#main_content_container{
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.event {
    height: 100%;
}


div#events_container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    align-items: center;
}


div#events_container  a {
    display: table;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    border-radius: var(--event-bezel-size);
    width:100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top:5vh;
}

div#events_container  a:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

div.event_image_container {
    width: 100%;
    height: 80%;
    max-height: 40vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: var(--event-bezel-size);
    overflow: hidden;
}

div.event_image_container img {
    object-fit: cover;
    width:100%;
    height:100%;
}

div.event_text{
    margin:3vmin;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
}




span.event_title_text {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color:black;
    font-size: 100%;
    font-size: clamp(1rem, 5vmin, 7rem);
}

span.event_subtitle_text {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color:#444;
    font-size: 80%;
    font-size: clamp(1rem, 3vmin, 7rem);
}




p {
    font-size: 5vmin;
    font-family: Arial, Helvetica, sans-serif;
}