

/* MODAL WINDOWS */


.modal-overlay {

    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;

    background-color: rgb(18, 19, 21);
    z-index: var(--z-index-modals);

    overflow: hidden;

    &.open {

        display: block;
    }

    &.closed {

        display: none;
    }
}

.x-to-close {

    display: none;
    visibility: visible;
    position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
    font-size: 2rem;
    padding: 0.25rem;
    margin: 2rem;

    z-index: 100000000;

    &:hover {

        transform: scale(1.1);
    }
}



/*  MODAL LAYOUTs HERE  */


.modal-wrapper {

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    width: var(--max-wrapper-width);
    max-width: 100vw;
    height: 100vh;
    margin: 0px auto;
    overflow-x: hidden;
}

.modal-main {

    width: max(min(60rem, 60%), 100%);
    height: 100%;
}

.modal-section {

    display: block;
    width: 100%;
}

#modal-project-list {


    & .project-tile {

    }

}









/* MODAL WINDOW TYPOGRAPHY*/

.modal-caleb-name {

    font-family: "Red Hat Display", sans-serif;
    position: relative;
    font-size: 1rem;
    margin-bottom: 1rem;
}


.modal-heading {

    font-size: calc(var(--unitC) + 1rem);
    display: block;
    font-family: 'Argent-CF', serif;
    margin: var(--unitC) 0;
    margin-top: 0;
    font-weight: 100;
    letter-spacing: 0%;
}





/* WORK AND INFO */




#work-project-list {

    display: flex;
    flex-flow: column nowrap;
    gap: 0.25rem;
    position: relative;

    /* background-color: blue; */
 
    & .project-tile {

        /* padding: calc(0.2 * var(--unitA)); */
        padding: calc(0.02 * var(--unitA));
        flex-grow: 2;

        color: #eff1ea;
        justify-content: stretch;
        width: 1fr;
        min-width: 30%;
        height: calc(20% + var(--unitC));
        /* height: 60cqh; */
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }
}


#work-project-list .project-tile .project-link {

    display: block;
    width: 100%;
    height: 100%;
    /* background-color: rgb(225, 244, 244); */
    /* background-color: rgb(38, 49, 49); */
    border-radius: 1.5px;
    font-family: 'Articulat-CF', sans-serif;
    padding: 1rem;
    outline: 1px solid #68b2f8;
    font-size: 1rem;

    &:hover {

        background-color: rgba(25, 29, 30);
    }
}


.punched-up {

    font-size: 1.5em;
    
    font-weight: 600;
    color: var(--forget-me-blue);
    line-height: 120%;
    letter-spacing: -2%;
    max-width: 20rem;
}



#email-copy {

    font-family: 'Articulat-CF', sans-serif;
    

    &:hover {

        color: #b4c6c3;
    }
}




/* MEDIA QUERIES FOR THIS SET OF RULES */
@media screen and (min-width: 2400px) {

}

@media screen and (max-width: 1200px) {


        
}
@media screen and (max-width: 800px) {




}
@media screen and (max-width: 600px) {


}
@media screen and (max-width: 400px) {


}
