/* HERO STYLING */

.hero {
    width: 100vw;
    height: calc(100% - 4.55em);
    position: absolute;
    box-shadow: 0 0 8em 8em #000 inset;
    background-size: cover;
    background-image: url(/imgs/lost_pro/lostfound-hero.jpg);
}

.hero-group{
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    width: fit-content;
    margin-left: 60%;
    margin-bottom: 25em;
    margin-right: 3em;
}

.hero-inner {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: min(1em, 2.1vh);
    user-select: none;
}

.hero .text-container {
    font-family: 'Roboto Mono', monospace;
    font-weight: 400;
    width: 90%;
    margin-left: 0;
    margin-bottom: 0;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
    background-color: rgba(48, 42, 21, 0.534);
    border-radius: 1em;
    margin-right: 2em;
    padding: 1em 1.2em;
}

.hero h1 {
    font-family: 'kode Mono', monospace;
    font-size: 4.5em;
    font-weight: 600;
    margin-bottom: .2em;
}

.hero p {
    font-size: 1em;
    font-style: italic;
    width: 35em;
    max-width: 80%;
    margin-bottom: 2em;
    margin-left: 1em;
}

.hero .text-stack {
    display: flex;
    flex-direction: column; 
    gap: 0.3em;             
    text-align: left;
    margin-bottom: .5em;
}

.hero .text p {
    margin-left: .8em;
}

.hero .genre-tag {
    max-width: fit-content;
    font-size: 1em;
    background-color: #464b53;
    color: aliceblue;
    padding: .2em .5em;
    border-radius: .5em;
    margin-left: 16px;
    margin-top: .3em;
    margin-right: -1em;
}

.download-button, .video-button {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2em;
    border-radius: 3em;
    background-color: rgba(255, 255, 255, 0.068);
    border-color: rgba(255, 255, 255, 0.322);
    padding: 1em;
}

.download-button{
    width: 10em;
    margin-top: 30px;
    margin-left: 10em;
}

.video-button{
    width: 16em;
    margin-top: 30px;
    margin-left: 7em;
}

.download-button:hover, .video-button:hover {
    scale: 1.02;
    box-shadow: 0 0 1em .1em #4d4d4d;
}


/* PROJECT DESCRIPTION */

.project-description {
    display: flex;
    justify-content: center;
    color: aliceblue;
    padding: 2em 1em;
    margin-top: 85vh;
}

.project-description .wrapper {
    flex-direction: row;         
    justify-content: center;   
    gap: 4em;                  
    max-width: 1300px;         
    margin: 0 auto;            
    padding: 0 2em;           
}

.project-description h2 {
    font-size:3em;
    margin-top: 2.2em;
    margin-left: 1vw;
    margin-bottom: 1em;
}

.desc-text a {
    font-family: 'kode Mono', monospace;
   font-style: italic;
}

.desc-text p {
    font-size: 1.2em;
    line-height: 1.5em;
    margin-bottom: 1em;
}

.desc-text p2 {
    font-size: 1.1em;
    line-height: 1.5em;
    margin-top: 1em;

}

.desc-text {
    flex: 1;                   
    min-width: 300px;          
}

.desc-text .portfolio {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2em;
    border-radius: 3em;
    background-color: rgba(255, 255, 255, 0.068);
    border-color: rgba(255, 255, 255, 0.322);
    padding: 1em 2em;
    margin-top: 1em;
    margin-left: 4em;
}

.desc-text .portfolio:hover {
    scale: 1.02;
    box-shadow: 0 0 1em .1em #4d4d4d;
}

.desc-image {
    flex: 1;  
    margin-top: 5em;                 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
}


.desc-image img {          
    border-radius: 5px;
    width: 90%;       
}

/* PDF MODAL */

.pdf-modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px); 
}


.modal-content {
    position: relative;
    background-color: #1a1a1a;
    margin: 2% auto; 
    padding: 0;
    border: 1px solid #444;
    width: 80%;       
    height: 90%;      
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}


.modal-header {
    padding: 10px 20px;
    background-color: #0f0f0f;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}


.modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
}


.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}


iframe {
    border: none;
    flex-grow: 1; 
    border-radius: 0 0 8px 8px;
}


/* MOBILE SNAP */

@media (max-aspect-ratio: 6/10) {
    
    .hero-inner {
        align-items: center;
        justify-content: center;
        margin-left: 2em;           
        padding: 0;               
        text-align: center;       
        width: 100%;
        margin-top: 5em;
    }

    .hero .text-container h1 {
        font-size: 3em;        
        line-height: 1.1;
        width: 100%;           
        word-wrap: break-word; 
        margin-bottom: 0.2em;  
        align-items: center;
    }

    
    .hero .text-container p {
        font-size: 1em;
        width: 90%;            
        margin: 0 auto 1.5em;  
        line-height: 1.4;
    }

    
    .genres {
        display: flex;
        flex-wrap: wrap;       
        justify-content: center;
        gap: 0.5em;
        margin-bottom: 2em;
        width: 100%;
        margin-left: -1em;
    }


    .hero .button, 
    .hero .hero-button {
        display: flex;
        flex-direction: column; 
        align-items: center;
        width: 100%;
        gap: .75em;
        margin-top: 1.5em;
        margin-right: 2em;
    }

    
    .download-button, 
    .video-button {
        width: 90%;           
        max-width: none;       
        padding: 1em;
        margin: 0;             
        box-sizing: border-box;
    }

    .download-button{
        width: 60%;
    }

    
    .hero-group {
        justify-content: center;
        margin-left: 0;           /* Removes the 5% left margin */
        padding: 0;               /* Reset padding */
        text-align: center;       /* Forces text to center */
        width: 100%;
    }


    footer {
        flex-direction: column;
        align-items: center;
        gap: .5em;
        padding-bottom: 0em;
        text-align: center;
        margin-right: .7em;
    
    }
    

    .footer-icons {
        margin-left: 0;
        margin-right: .5em; 
    }


    .project-description .wrapper {
        display: flex;
        flex-direction: column; 
        width: 90%;             
        padding: 2em 0;
    }


    .desc-text {
        width: 90%;
        margin-right: 0;
        margin-bottom: 3em; 
        margin-top: 2em;
    }

  
    .desc-text h2 {
        font-size: 2em;     
        margin-top: 0;
    }
    
    .desc-text p {
        font-size: 1.1em;   
        line-height: 1.6;   
    }

    
    #open-pdf-btn {
        margin: 2em .5em;
        width: 100%;        
        padding: 1em;       
        font-size: 1.1em;
        margin-top: 2em;
        
    }

   
    .desc-image {
        width: 100%;
        display: flex;
        flex-direction: column; 
        gap: 1em;   
        margin-top: -5em;   
        margin-left: -.75em;         
    }

    .desc-image div {
        width: 100%;
        height: auto;
    }
    
    .desc-image img {
        width: 100%;
        height: auto;
        object-fit: contain; 
        border-radius: 8px;  
    }
}
