@import url("reset.css");

body {
    width: 100%;
    color: #907c90;
    background-color: #f4f3f4;
    font-family: Roboto;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: center;
}

/* ASSORTED FORMATTING ITEMS */

a {
    text-decoration: none;
    color: inherit;
}
.mobile {
    display: none;
}
@media (max-width: 768px) {  /*mobile section*/
    .mobile {
        display: initial;
    }
    .desktop {
        display: none;
    } 
}

/* header strip */

#header-strip {
    width: 100%;
    height: 60px;
    padding: 9px 60px;
    background-color: #13202f;
}
#header-strip .hx-logo {
    float: left; 
    width: 241.6px;
    height: 42px;
}
#header-strip .social-networks {
    float: right; 
    width: 170px;
    height: 35.8px;
    margin: 3px 0 3.2px 0px;
}
#header-strip .social-link {
    display: inline-block;
    opacity: 1;
    width: 36px;
    height: 35.8px;
    margin: 0 0px 0 16.7px;
}
#header-strip .social-link:hover {
    opacity: 0.7;
}
@media (max-width: 768px) { 
    #header-strip {
        width: 100%;
        height: 60px;
        padding: 9px 0 9px 0;
        background-color: #12202f;
        display: flex;
        justify-content: center;
    }
}


/* INTRO */

#intro-holder {  /*top image */
    height: auto;
}

@media (max-width: 768px) { 
    #intro-holder {
        height: auto;
    }
}

/* Content Box */

#content-box {
	width: 70%;
	max-width: 900px;
    height: auto;
	margin: 60px auto 20px;
	font-size: x-large;
    display: flex;
    flex-direction: row;
    gap: 25px; /* space between video and text */
}
#content-box .content-text {
    margin: 0px 0px 0px 20px;
}
#content-box .trailer {
    height: 350px;
    width: 600px; 
    border: solid 11px #fff;
}
#content-box .big-title {
    font-size: 26px;
    font-weight: 900;
    color: #232c36;
}
#content-box .small-footnote {
    font-size: small;
    line-height: 0.9;
}
#content-box .footnote-row {
    line-height: .6; /* Experiment with values like 0.8, 0.9, 0.75 */
}
@media (max-width: 1284px) {
    #content-box {
        width: 95%;
        font-size: x-large;
    }
}
@media (max-width: 1003px) {
    #content-box {
        font-size: large;
    }
}
@media (max-width: 768px) {  /* mobile customizations */
    #content-box .big-title {
        font-size: 22px;
    }
    #content-box .small-footnote {
        font-size: 13px;
    }
    #content-box .footnote-row {
        line-height: .8; /* Experiment with values like 0.8, 0.9, 0.75 */
    }
    #content-box .trailer {
        width: 200px;
        height: 244px;
        margin: 0 auto;
        display: block;
        font-size: medium;
    }
    #content-box {
        flex-direction: column;
        margin: 20px auto 20px;
    }
    #content-box .content-text {
        margin: 0px 20px 0px 20px;
    }
}

#expand-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s ease, background 0.3s ease;
}
#expand-btn:hover {
    transform: scale(1.1);
    background: rgba(0,0,0,0.8);
}
#expand-btn svg {
    width: 20px;
    height: 20px;
}
@media (max-width: 768px) {  /* mobile customizations */
    #expand-btn {
        bottom: 15px;
        right: 90px;
    }
}

/* Modal Close Button */
#close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    color: white;
    font-size: 32px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    z-index: 10000;
}
#close-btn:hover {
    color: #ccc;
}

/* video wrapper */
.video-wrapper {
    cursor: pointer;
}
.video-wrapper:hover .trailer {
    filter: brightness(1.05);
}

/* MODAL OVERLAY */
#video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
#video-modal.hidden {
    display: none;
}
.modal-content {
    width: 90%;
    max-width: 500px;
    max-height: 90vh; /* Limit the height to 60% of the viewport */
    aspect-ratio: 9 / 16; /* Keeps a nice widescreen shape */
    position: relative;
}
.modal-content video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills container without distortion */
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    cursor: pointer;
    z-index: 9998; /* just behind the modal video content */
    background: transparent; /* optional: keep it transparent */
}

/* FOOTER */

#footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    padding: 15px 0 20px 0;
    font-size: small;
}
#footer p {
    margin: 5px;
}
#footer .social-networks {
    display: flex;
    justify-content: center;
    gap: 25px;
    order: -1;
}
#footer .social-networks .icon {
    width: 32px;
    height: 32px;
    margin: 0 0px 0 16.7px;
}
#legal {
	padding: 0;
}
#legal .policy-link {
    font-weight: 700;
    opacity: 1;
}
#legal .dev-mf {
    display: flex;
	width: 80px;
    margin: 4.5px 10px 0 0px; 
}
#legal .dev-ks {
	display: flex;
    width: 100px;
    margin: 3px 0 0 10px; 
}
#legal .policy-link:hover {
    opacity: .7;
}

@media (max-width: 768px) {  /* mobile customizations */
    #legal {
	    padding: 17px;
    }   
    #legal .dev-mf {
        display: flex;
        width: 70px;
        margin: 4.5px 0px 0 0px; 
    }
    #legal .dev-ks {
        display: flex;
        width: 80px;
        margin: 5px 0 0 3px; 
    }
}

