html, body {
    margin: 0;
    padding: 0;
    width: auto;
}

.about-page {
    position: relative; 
    overflow-y: auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

#about-window {
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%);  
    width: 100%;  
    flex-direction: column;
    align-items: center; 
    box-sizing: border-box; 
    background: none; 
    box-shadow: none; 
    border: none;
}

a, p, h1, h2, h3 {
		transform: scale(0.9);
	}

.video-header {
    position: relative; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    max-width: 100%; 
    padding: 8px; 
    transform: scale(0.95); 
}


.gif-overlay {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/VIDEO-FRAME.webp'); 
    background-size: contain; 
    background-repeat: no-repeat; 
    pointer-events: none; 
    z-index: 2; 
}


.video-header video {
    position: relative; 
    display: block;
    width: 100%;
    max-width: 600px; 
    height: auto;
    border: none; 
    z-index: 1; 
	border-radius: 8px; 

}


.text-sections {
    margin-top: 20px; 
	display: flex; 
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
    text-align: center; 
    margin: 0 auto; 
}

.text-section {
	background-image: url('images/POSITIONS-FRAME.webp'); 
    background-size: contain; 
    background-repeat: no-repeat; 
    font-size: 1.2em;
    padding-bottom: 50px;
    margin-top: 20px;
}

.text-section2 { 
    background-image: url('images/POSITIONS-FRAME.webp'); 
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: center; 
    color: white;  
    box-sizing: border-box; 
    overflow: hidden; 
    margin-top: 20px;
}

.text-section2 h2 {
    font-size: 1.5em; 
    font-weight: bold; 
    margin-bottom: 10px; 
}

.text-section2 strong {
    color: gold; 
}

.text-section2 p {
    line-height: 1.25;
}


.text-section3 {
    max-width: 600px; 
	background-image: url('images/POSITIONS-FRAME.webp'); 
    background-size: contain; 
    background-repeat: no-repeat; 
	background-position: center;
}

.text-section h2 {
    font-size: 1.5em; 
}

.text-section p {
	color: white;
}


.special-features {
    display: flex; 
    flex-wrap: wrap; 
    gap: 50px; 
    justify-content: center; 
	transform: scale(0.8); 
	bottom: 20px;
}

text-section3 h3 {
  font-size: 0.4em;
}

.feature {
    flex: 1;
    max-width: 350px; 
    text-align: center; 
}


.feature-image-wrapper, .feature-image-wrapper2, .feature-image-wrapper3 {
    position: relative; 
    width: 100%;
    max-width: 300px; 
    height: auto;
}


.feature-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/MEDIA-SMALL.webp'); 
    background-size: contain; 
    background-repeat: no-repeat; 
    z-index: 2; 
    pointer-events: none; 
}


.feature-image-wrapper2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-image: url('images/MEDIA-LARGE.webp'); 
    background-size: contain; 
    background-repeat: no-repeat; 
    z-index: 2; 
    pointer-events: none; 
}


.feature-image-wrapper3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    width: 100%;
    height: 100%;
    background-image: url('images/MEDIA-SMALL.webp'); 
    background-size: contain; 
    background-repeat: no-repeat; 
    z-index: 2; 
    pointer-events: none; 
}


.feature-image {
    position: relative; 
    display: block;
    width: 100%;
    height: auto;
    z-index: -1; 
    border-radius: 10px; 
    transition: transform 0.3s; 
	transform: scale(0.9); 
}

.feature .p2 {
    font-size: 12.5px;
    color: white;
    margin-top: 25px;
	line-height: 1.5em;
}

.feature .p1 {
    font-size: 12.5px;
    color: white;
    margin-top: 15px;
	line-height: 1.2em;
}

.feature h2, h3 {
    text-align: center; 
    color: white; 
    font-weight: bold; 
    font-size: 1.3em;
    margin-top: 40px;
}

h2 {
    font-size: 1.5em;  
    color: white; 
    font-weight: bold; 
}

.faq-item {
    cursor: pointer;
    margin-bottom: 2px;
	transform: scale(0.9);
}

.faq-item p {
    display: none; 
    margin-top: 5px;
    font-size: 0.85em;
    line-height: 1.8;
}

a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #d35400; 
    text-decoration: underline; 
}


video {
    transition: border-color 0.3s;
	transform: scale(1.01); 
	
}

.contact {
    display: flex;                  /* enable flex */
    flex-direction: column;         /* stack h2 and p vertically */
    justify-content: center;        /* vertical centering */
    align-items: center;            /* horizontal centering */
    text-align: center;             /* text inside is centered */
    min-height: 10vh;               /* ensures it takes enough vertical space */
    margin: 0 auto;                 /* horizontal auto margin */
    position: relative;
    background-image: url('images/CONTACT-US.webp'); 
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: center; 
    padding: 5px;
    line-height: 2px;
}



.contact a{
    font-size: 1em;
	font-weight: bold;
    color: darkred;
    text-decoration: underline;
}

.contact p{
    font-weight: bold;
    color: white;
}

.contact a:hover {
    color: red; 
}


.faq-item, .tos-item {
    background-image: url('images/TAB.webp'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    padding: 35px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    overflow: hidden;  
}

.faq strong {
	font-size: 12px;
}


.faq-item:hover, .tos-item:hover {
    transform: scale(1.05); 
}


.faq-item.open, .tos-item.open {
    transform: scale(1); 
    z-index: 1; 
	padding: 10px;
}


.faq-item p, .tos-item p {
    display: none; 
}


.faq-item.open p, .tos-item.open p {
    display: block; 
    margin-top: 10px;
    font-size: 1.15em;
    line-height: 1.5;
}


.faq-item:hover p, .tos-item:hover p {
    text-shadow: 1px 1px 2px black; 
}



.tos-item p, .faq-item p {
    display: none; 
    margin-top: 5px;
    font-size: 0.9em;
    line-height: 1.3;
    padding: 10px;
	text-align: center;
}

.tos-item p {
	font-size: 0.85em;
}


.tos-item.open p, .faq-item.open p {
    display: block; 
}


.tos-item.open strong, .faq-item.open strong {
    display: none; 
}


.tos-item, .faq-item {
	overflow: hidden;
}

.tos-item:not(.open) {
	padding: 20px;
}


