

@media only screen and (min-width: 800px)  {
    .mobile-show {
        display: none!important;
    }
    .mobile-hide {
        display: block!important;
    }
    .sections-outer {
        height: 100vh;
    }
    .section {
        height: auto;
        min-height: 95vh;
    }
    .mobile-back {
        display: none;
    }
    #leftFront, #leftShadow,  #rightShadow, #rightFront, #leftBack  ,#rightMiddle, #rightBack,  #leftMiddle, #leftFrontMiddle, #leftFrontMiddleOne, #leftFrontOne {
        display: block;
    }
    .backLeaves {
        /* opacity: 0.5; */
        /* filter: saturate(90%) sepia(10%) brightness(125%); */
        height: 100vh;
        width: 100vw;
        position: fixed;
        z-index: -1;
    }
    .rightLeaves {
        position: absolute;
        right: 35%;
        top: 5%;
        height: 100vh;
        object-fit: fill;
    }
.leftLeaves {

    position: absolute;
    left: -30%;
    top: 0;
    width: 90vw;
    object-fit: fill;
}
#leftShadow {
    display: block;
    position: fixed;
    height: 130vh;
    width: auto;
    translate: -35% 15vh;
}

#leftBack {
    display: block;
    position: fixed;
    height: 130vh;
    width: auto;
    translate: -40% 10vh;
    /* transition: ease-in-out 70ms; */
}

#leftMiddle {
    display: block;
    position: fixed;
    height: 130vh;
    width: auto;
    translate: -40% 10vh;
    /* transition: ease-in-out 80ms; */
}

#leftFront {
    display: block;
    position: fixed;
    height: 130vh;
    width: auto;
    translate: -40% 10vh;
    z-index: 10;
    /* transition: ease-in-out 100ms; */
}
#leftFrontMiddle {
    display: block;
    position: fixed;
    height: 130vh;
    width: auto;
    translate: -40% 10vh;
    z-index: 1;
    /* transition: ease-in-out 90ms; */
}

#leftFrontOne {
    display: block;
    position: fixed;
    height: 130vh;
    width: auto;
    translate: -40% 10vh;
    z-index: 10;
    /* filter: saturate(170%) grayscale(60%) brightness(110%);    */
     /* opacity: 0.5; */
    /* transition: ease-in-out 100ms; */
}
#leftFrontMiddleOne {
    display: block;
    position: fixed;
    height: 130vh;
    width: auto;
    translate: -40% 10vh;
    z-index: 1;
    /* filter: saturate(170%) grayscale(60%) brightness(110%); */
        /* opacity: 0.5; */
    /* transition: ease-in-out 90ms; */
}

#rightShadow {
    display: block;
    position: fixed;
    height: 130vh;
    width: auto;
    translate: 0% 5%;
    translate: 50% 10vh;
}

#rightBack {
    display: block;
    position: fixed;
    height: 130vh;
    width: auto;
    translate: 50% 5vh;
    /* transition: ease-in-out 70ms; */
}

#rightMiddle {
    display: block;
    position: fixed;
    height: 130vh;
    width: auto;
    translate: 50% 5vh;
    /* transition: ease-in-out 80ms; */
}

#rightFront {
    display: block;
    position: fixed;
    height: 130vh;
    width: auto;
    translate: 60% 5vh;
        z-index: 5;
        /* transition: ease-in-out 100ms; */
}



.top {
    width: 100vw;
    height: 13vh;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 90;
    background-color: #EAFFDA;
    left: 0px;
    top: 0px;
}
.name {
    position: absolute;
    height: 5vh;
    display: flex;
    align-items: center;
    overflow-y: hidden;
    margin: 4vh;
    margin-left: 4vw;
    left: 0px;
    top: 0px;
}

.container {
    position: absolute;
    left: 10vw;
    margin-top: 10vh;
    width: 70vw;
    max-height: 400px;
    max-width: 900px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 32px;
    
}
        .self-image {
            position: relative;
            height: 25vw;
            width: 25vw;
            max-height: 370px;
            max-width: 370px;
        }
.cont-text {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-top: -8vh;
    max-width: none;
}



    .text-title {
        width: 100%;
        font-size: 2em;
        overflow-y: hidden;
        color: #00312C;
        gap: .5em;
    }
    .iAmOuter {
        height: 100%;
        overflow-y: hidden;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

        .iAm {
            position: absolute;
            display: block;
            overflow-y: hidden;
            transform: translateY(-10px);
            opacity: 0;
            transition: 0s linear;
            font-weight: 600;
            color: #006166;
        }
    
        .iAm.show {
            transform: translateY(0);
            opacity: 1;
            transition: 0.5s ease;
            
        }
        .iAm.leave {
            transform: translateY(5px);
            transition: 0.2s ease;
            opacity: 0;
        }
                      


    .text {
        color: #00312C;
        font-weight: 400;
        width: 80%;
    }
        .section2 {
            display: flex;
            flex-direction: row;
            align-items: flex-start;
        }

    .about-text{
        line-height: 1.5em;
        font-size: 1.5em;
        perspective: 2000px;
            backface-visibility: hidden;
            transition: transform 1s;
                transform-style: preserve-3d !important;
    }
    

.about-text-title {
    width: 100%;
    height: 1.25em;
    overflow-y: hidden;
    gap: 16px;
}
.earl-is-watching p {
    opacity: 1;
}
.earl-is-watching {
    bottom: 5px;
}

    .navigation {
        position: relative;
        background-color: #EAFFDA00;
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 4vw;
        margin: 0;
        margin-left: 4vw;
        padding: 0;
        opacity: 1;
        transform: translateY(0%);
        transition: none;
    }
    
    .navigation p {
        font-size: 1.5em;
        font-weight: 500;
    }

    
     .projects:hover p  {
            color: #A3F514;
            transition: ease-in-out 300ms;
        }
        .home:hover p  {
            color: #A3F514;
            transition: ease-in-out 300ms;
        }
        .about:hover p  {
            color: #A3F514;
            transition: ease-in-out 300ms;
        }
        .contact:hover p  {
            color: #A3F514;
            transition: ease-in-out 300ms;
        }


    /* .p2 {
        margin-bottom: 32vh;
    } */




    


.outer-work {
    width: 120vw;
    min-width: calc(260px * 7);
    height: 60vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 32px;
    overflow-y: visible !important;
}



.work-card {
    perspective: 1000px;
    overflow: visible;
}

.work-card-inner {
    position: relative;
    width: 20vw;
    min-width: 260px;
    height: 60vh;
    transition: transform 1s;
    transform-style: preserve-3d !important;
    overflow: visible;
}

.work-card:hover .work-card-inner {
    transform: rotateY(180deg);
}

.work {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 8px;
    background-color: #EFFFE3;
    /* background-color: #F4FFEC; */
    box-shadow: 4px 4px 8px 4px #00312C25;

    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    overflow: hidden !important;
}

.work-back {
    transform: rotateY(180deg);

}



.work-image {
    width: 100%;
    height: 55%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    opacity: 95%;

}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-card-base {
    padding: 16px;
    padding-top: 0px;
    width: calc(100% - 32px);
    height: calc(45% - 16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.work-company-name {
    font-size: 1.25em;
    width: 100%;
    font-weight: 600;
    color: #006166;
    overflow: hidden;
}

.work-type {
    font-size: 1em;
    width: 100%;
    font-weight: 500;
    color: #00312C;
    overflow: hidden;
}

.work-software {
    font-size: 1em;
    width: 100%;
    font-weight: 400;
    color: #00312C;
    overflow: hidden;
    /* margin-top: -8px; */
}

.work-text {
    font-size: 1em;
    padding: 16px;
    padding-bottom: 0px;
    color: #00312C;
    overflow: hidden;
    height: calc(55% - 16px);
}



    .contact-info {
        position: absolute;
        height: 25vh;
        width: 55vw;
        top: 10vh;
        left: 20vw;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        z-index: 10;
    }
    
    .contact-info p {
        color: #00312C;
        /* font-size: 22px; */
        font-weight: 600;
        text-align: center;
    }
    
    .email-me {
        height: 120px;
        width: 120px;
        justify-content: center;
    }
    
    .linked-in {
        height: 120px;
        width: 120px;
        justify-content: center;
    }
    
    .cv {
        height: 120px;
        width: 120px;
        justify-content: center;
    }
    
    .email-me:hover p {
        color: #A3F514;
        transition: ease-in-out 150ms;
    }
    .linked-in:hover p {
        color: #A3F514;
        transition: ease-in-out 150ms;
    }
    
    .cv:hover p {
        color: #A3F514;
        transition: ease-in-out 150ms;
    }

.footer-link p {
    font-size: 1.5em;
}
.footer-name {
    height: 25vh;
}

.calendly-badge-content {
    scale: 1;
}

}

@media only screen and (min-width: 1000px)  {
    .backLeaves {
        opacity: 1;
        height: 100vh;
        width: 100vw;
        position: fixed;
        z-index: -1;
    }

    #leftFrontMiddleOne, #leftFrontOne {
        opacity: 1;
    }
}

