@charset "utf-8";
/* Simple fluid media
   Note: Fluid media requires that you remove the media's height and width attributes from the HTML
   http://www.alistapart.com/articles/fluid-images/ 
*/
img, object, embed, video {
	max-width: 100%;
	color: #000;
	text-align: center;
	vertical-align: middle;
}
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
	width:100%;
}

body
{
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  transition: color 0.3s ease;
}



/* Mobile Layout: 480px and below. */



#videoModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 55, 70, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
#modalContent {
    position: relative;
    background-color: transparent;
    padding: 0;
    width: 90vw; /* Set a fixed width percentage */
    /* max-width: 1280px; Add a max-width for very large screens */
    display: flex;
    justify-content: center;
    align-items: center;
}	
#modalContent img {
    display: block;
    margin: 0 auto;
}
.responsive-video {
    width: 100%;
    height: 100%; /* Change from auto to 100% */
    aspect-ratio: 16 / 9;
}
#modalContent iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* This ensures proper video sizing */
	background: rgba(0, 0, 0, 0.8);
	border: medium solid white;
}
.close-button {
    position: absolute;
    right: -15px;
    bottom: 0px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: red;
    z-index: 10000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media only screen and (min-width: 800px) {

#modalContent {
    position: relative;
    background-color: transparent;
    padding: 0;
    width: 60vw; /* Set a fixed width percentage */
    display: flex;
    justify-content: center;
    align-items: center;
}
.close-button {
    right: -30px;
    top: -30px;
    font-size: 40px;
	font: bold;
    width: 30px;
    height: 30px;
}
}

/* Desktop Layout: 769px to a max of 1920px.  Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 1100px) {

#modalContent {
    position: relative;
    background-color: transparent;
    padding: 0;
    width: 40vw; /* Set a fixed width percentage */
    display: flex;
    justify-content: center;
    align-items: center;
}
.close-button {
    right: -40px;
    top: -40px;
    font-size: 50px;
	font: bold;
    width: 40px;
    height: 40px;
}
}