/* navigation and intro section */
@media (max-width: 900px) {
    #navigate{
        height: 10vh;
    }

    #divider{
        width: 30%;
    }

    #intro{
        height: 82vh;
        display: flex;
        flex-direction: column;
    }

    #inPageLogo{
        opacity: 1;
        width: 70vw;
    }

    #intro #inPageLogo{
        margin-top: 0;
        margin-bottom: 4vh;
    }

    #intro div{
        margin-block: 0vh;
    }

    #intro-arrow{
        order: 3;
        width: 20vw;
        margin-inline: auto;
    }

    #mobile-menu{
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 4vh;
        right: 0;
        background-color: black;
        border: 1px solid;
        width: 90vw;
        height: 40vh;
        z-index: 4;
        transition: transform 0.6s linear;
    }

    .menu-open{
        transform: translateX(0vw);
    }

    .menu-close{
        transform: translateX(100vw);
    }

    #mobile-menu button{
        margin-inline: 8vw;
        border-radius: 1rem;
        margin-bottom: 1vh;
    }
    #menu-menu{
        margin-left: 78vw;
        margin-block: 1rem;
    }
    
}

/* Generally applicable */
@media (max-width: 900px) {
    .mobile-text{
        font-size: 1.7rem;
    }

    .consistent-section-height{
        height: 60vh;
    }

    .mobile-highlights{
        font-family: "Book Antiqua";
        font-size: 40px;
        color: #c59d38;
        text-shadow: 0 0 4px #e6e1d2; 
        color: #FFD700; 
    }
}


/* Projects section */
@media (max-width: 900px) {

    /* Container and upper body */
    #projects{
        height: 120vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        margin: auto;
    }

    #projectTag{
        display: grid;
        margin-inline: auto;
        padding-top: 16vh;
    }

    #paddingDiv{
        margin-top: 2vh;
    }

    /* Project Buttons */
    #projBtns{
        display: flex;
        margin-top: 2vh;
        margin-bottom: 0;
    }

    #projBtns button{
        border: 2px solid;
        border-radius: 50%;
        margin-block: auto;
        margin-inline: 2vw;
    }

    .projBtnActive{
        font-size: 20px;
        height: 40px;
        width: 40px;
    }

    .projBtnInactive{
        font-size: 15px;
        height: 30px;
        width: 30px;
    }

    /* I have to mention this one because this is also a div */
    #slider {
        margin: auto;
        margin-top: 0;
        margin-bottom: 20vh;
        display: flex;
        width: 100vw;
        transition: transform 1s linear;
    }

    .slider-1{
        transform: translateX(0);
    }

    .slider-2{
        transform: translateX(-100vw);
    }

    .slider-3{
        transform: translateX(-200vw);
    }


    /* Re-arranging the project appearance and display */
    #project-1{
        display: flex;
        flex-direction: column;
        margin: 2.5vw;
    }

    #project-2{
        display: flex;
        flex-direction: column;
        margin: 2.5vw;
    }

    #project-3{
        display: flex;
        flex-direction: column;
        margin: 2.5vw;
    }

    /* Actual Projects */
    #project-1 video, #project-2 video, #project-3 video{
        width: 95vw;
        margin-top: 0;
        margin: auto;
    }

    #project-1 div, #project-2 div, #project-3 div{
        margin-block: 5vh;
    }

    #d-proj1-line2{
        display: none;
    }
    #m-proj1-line2{
        display: block;
    }
    #d-proj2-line2{
        display: none;
    }
    #m-proj2-line2{
        display: block;
    }
    #d-proj3-line2{
        display: none;
    }
    #m-proj3-line2{
        display: block;
    }

    #project-2 div{
        width: 95vw;
        order: 1;
    }
    #project-2 video{
        order: 2;
    }
    #project-2 #m-proj2-line2{
        margin-inline: auto;
        width: 95vw;
        order: 3;
    }
    
}

/* Credits section */
@media (max-width: 900px) {
    #creditsPanel{
        height: fit-content;
        display: flex;
        flex-direction: column;
    }

    #companyDetails{
        margin-inline: auto;
    }

    #simpleContactDetails{
        display: none;
    }

    #simpleContactDetails-Mobile{
        margin-block: 2vh;
        display: block;
    }
    
    #simpleContactDetails-Mobile td{
        overflow-wrap: anywhere;
        width: 150px;
    } 

}









