﻿:root {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-family: 'Montserrat', sans-serif;

    --text-primary: #000000;
    --text-secondary: #ffffff;
    --text-primary-d: #135353;
    --bg-primary: #E8DED2;
    --bg-secondary: #A3D2CA;
    --bg-third: #056676;

    --main-one: #ffffff;
    --main-two: #FFF5EE;

    --transition-speed: 600ms;

    --proj-main-height: 26vw;
    --proj-main-width: 32.5vw;

    --proj-side-height: 19.5vw;
    --proj-side-width: 26vw;

    --proj-mobile-height: 39vw;
    --proj-mobile-width: 48.75vw;
}

html, body{
    height: 100%;
}

body
{
    color: black;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
}

body::-webkit-scrollbar{
    width: 0.1rem;
}

body::-webkit-scrollbar-track{
}

body::-webkit-scrollbar-thumb {
}

a {
    text-decoration: none;
}


/* START OF NAVBAR SECTION */

.navbar {
    width: 100vw;
    height: 3rem;
    max-width: 100%;
    background-color: var(--main-one);
    transition: width 400ms ease;

    position: fixed;

    z-index: 4;

    font-size: 12px;

    filter: drop-shadow(0px 2px 4px #c2c2c2);

}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin:0;

    height: 3rem;


    display: flex;
    flex-direction: row;
    justify-content: start;
    
}

.navbar-left {
    display: flex;

    padding-left: 10rem;
}

.navbar-right {
    display: flex;
    flex-direction: row;

    margin-left: auto;
    padding-right: 13rem;
}

.logo img{
    width: 3rem;
    height: 3rem;
}

.nav-item {
    width: 10rem;
    display: flex;
    justify-content: center;
    padding: 0 3rem 0 3rem;
}

@media screen and (min-width: 700px) {
    .navbar {
        font-size: 16px;
    }

    .navbar-left {
        margin-left: 0rem;
    }

    .navbar-right {
        margin-right: 0rem;
    }

    .logo img {
        width: 4rem;
        height: 4rem;
    }

    .nav-item {
        width: 7rem;
    }
}

.nav-link{
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--text-primary);
    text-decoration: none;

    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition-speed);
}

.nav-link:hover{
    filter: grayscale(0) opacity(1);
    /*background: var(--bg-secondary);*/
    color: var(--text-secondary);
    
}

.nav-link .fas{
    font-size: 30px;
    color: pink;
    margin-left: 1.5rem;
}



/* END OF NAVBAR SECTION */
main{
    flex: 1 0 auto;
}

h1{
    margin: 0;
    padding: 0;
}

#intro{
    display: flex;
    justify-content: center;

    background-color: var(--bg-primary);

    /*height: 70vh;*/
    width: 100vw;
    max-width: 100%;

    color: var(--text-primary);
}

.intro-content {
    display: flex;
    flex-direction: column;
    margin-top: 6rem;
}

.portrait{
    height: 50vw;
    object-fit: cover;
    max-height: 25rem;

    border: solid 0.5rem;
    border-color: var(--text-primary);
}

.intro-description{
    width: 70vw;
    margin-bottom: 6rem;
}

@media screen and (min-width: 700px) {
    .intro-content{
        flex-direction: row;
        margin-top: 11rem;
    }

    .portrait {
        height: 40vw;
        margin-bottom: 6rem;
    }

    .intro-description {
        margin-top: 3rem;
        margin-left: 2rem;
        width: 35vw;
    }


}

.section-header{
    /*text-align: center;*/
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#education {
    display: flex;
    justify-content: center;

    width: 100vw;
    max-width: 100%;

    background-color: var(--bg-secondary);
    background-image: url("resumeImages/background_education.png");
    background-size: 100vw;
    background-position: center bottom;
    background-repeat: no-repeat;

    color: var(--text-primary);
}

.experience-row{
    display: block;
    margin-bottom: 1.5rem;
}

.experience-row p{
    margin: 0.1rem;
    padding: 0;
}

.experience-role{
}

.experience-role p{
    margin-bottom: 0.5rem;
}

.experience-description {
    width: 70vw;
    margin-left: 0;
    color: #135353;
}

.experience-description p{
    margin-bottom: 0.3rem;

}

.content {
    width: 50vw;
    margin-bottom: 10rem;
}

@media screen and (min-width: 700px) {
    .experience-row {
        display: flex;
        margin-bottom: 1.5rem;
    }

    .experience-role {
        width: 30rem;
    }

    .experience-description {
        margin-left: 4rem;
        width: 50rem;
    }
}


#experience {
    display: flex;
    justify-content: center;

    width: 100vw;
    max-width: 100%;

    background-color: var(--bg-primary);
    background-image: url("resumeImages/background_work.png");
    background-size: 100vw;
    background-position: center bottom;
    background-repeat: no-repeat;

    color: var(--text-primary);
}

/*.experience-content{
    margin-bottom: 10rem;
}*/

#projects {
    display: flex;
    justify-content: center;

    width: 100vw;
    max-width: 100%;

    background-color: var(--bg-secondary);
    background-image: url("resumeImages/background_project.png");
    background-size: 100vw;
    background-position: center bottom;
    background-repeat: no-repeat;

    /*height: 60rem;*/

    color: var(--text-primary);
}

.project-content{
    margin-bottom: 0;
}

.carousel{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.carousel figcaption{
    background-color: green;

    /*display: none;*/
    background: rgba(5, 102, 118, 0.7);

    margin-top: -1.2rem;
    /*position: absolute;*/
    /*top: 0%;*/
    width: var(--proj-mobile-width);

    color: white;
}

.carousel figcaption h2{
    margin-left: 0.3rem;
}

.carousel figcaption p{
    margin-left: 0.5rem;
}

.carousel-content {
    width: var(--proj-mobile-width);
}

.carousel-content img{
}

.carousel-1 {
    margin: 0;

    position: relative;

    /*width: var(--proj-mobile-width);
    height: var(--proj-mobile-height);*/
    /*opacity: 0.5;


    position:absolute;
    left: 20%;
    margin-left: calc(var(--proj-side-width)/2 * -1);
    margin-top: calc(var(--proj-side-height) / 2);

    background-color: gray;

    z-index: 0;*/
}

.carousel-1 img{
    width: var(--proj-mobile-width);
    height: var(--proj-mobile-height);
/*    object-fit: cover;
*/}

.carousel-2 {
    margin: 0;

    position: relative;
    /*width: var(--proj-mobile-width);
    height: var(--proj-mobile-height);*/
    /*opacity: 1.0;
 
    position:absolute;

    left: 50%;
    margin-left: calc(var(--proj-main-width) / 2 * -1);
    margin-top: calc(var(--proj-main-height) / 4);
    background-color: gray;

    z-index: 2;*/
}

.carousel-2 img {
    width: var(--proj-mobile-width);
    height: var(--proj-mobile-height);
    /*object-fit: cover;*/
}

.carousel-3 {
    margin: 0;

    position: relative;
    /*width: var(--proj-mobile-width);
    height: var(--proj-mobile-height);*/
    /*opacity: 0.5;

    position:absolute;

    background-color: gray;

    left: 80%;
    margin-left: calc(var(--proj-side-width) / 2 * -1);
    margin-top: calc(var(--proj-side-height) / 2);

    z-index: 1;*/
}

.carousel-3 img {
    width: var(--proj-mobile-width);
    height: var(--proj-mobile-height);
/*    object-fit: cover;
*/}

#left_arrow {
    display: none;
    position: absolute;
    left: 5%;
    z-index: 3;
    margin-top: 35%;
    margin-left: -1.5rem;
}

#left_arrow img{
    width: 3rem;
}

#left_arrow:hover {
    cursor: pointer;
}

#right_arrow {
    display: none;
    position: absolute;
    left: 95%;
    z-index: 3;
    margin-top: 35%;
    margin-left: -1.5rem;
}

#right_arrow:hover{
    cursor: pointer;
}

#right_arrow img{
    width: 3rem;
}

@media screen and (min-width: 700px) {
    #projects {
        height: 60rem;
    }

    .carousel-content {
        margin-bottom: 1rem;
    }

    .carousel {
        flex-direction: row;
    }

    .carousel figcaption {
        position: absolute;
        top: 0%;
        width: var(--proj-main-width);
        height: var(--proj-main-height);
        margin-top: 0;
    }

    .carousel figcaption h2{
    margin-left: 0.8rem;
    }

    .carousel figcaption p{
        margin-left: 1rem;
    }

    .carousel-1 {
        opacity: 0.5;
        position: absolute;
        left: 20%;
        width: var(--proj-side-width);
        height: var(--proj-side-height);
        margin-left: calc(var(--proj-side-width)/2 * -1);
        margin-top: calc(var(--proj-side-height) / 2);
        z-index: 0;
    }

    .carousel-1 img{
        width: var(--proj-side-width);
        height: var(--proj-side-height);
    }

    .carousel-2 {
        opacity: 1.0;
        position: absolute;
        left: 50%;
        width: var(--proj-main-width);
        height: var(--proj-main-height);
        margin-left: calc(var(--proj-main-width) / 2 * -1);
        margin-top: calc(var(--proj-main-height) / 4);
        z-index: 2;
    }

    .carousel-2 img {
        width: var(--proj-main-width);
        height: var(--proj-main-height);
    }

    .carousel-3 {
        opacity: 0.5;
        position: absolute;
        left: 80%;
        width: var(--proj-side-width);
        height: var(--proj-side-height);
        margin-left: calc(var(--proj-side-width) / 2 * -1);
        margin-top: calc(var(--proj-side-height) / 2);
        z-index: 1;
    }

    .carousel-3 img {
        width: var(--proj-side-width);
        height: var(--proj-side-height);
    }

    .carousel figcaption {
        display: none;
        
    }

    #left_arrow{
        display: block;
    }

    #right_arrow {
        display: block;
    }
}


.left-carousel:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.active-carousel:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.right-carousel:hover {
    transform: scale(1.1);
    cursor: pointer;
}


#skills {
    display: flex;
    justify-content: center;

    width: 100vw;
    max-width: 100%;

    background-color: var(--bg-primary);
    background-image: url("resumeImages/background_skill.png");
    background-size: 100vw;
    background-position: center bottom;
    background-repeat: no-repeat;
    

    color: var(--text-primary);
}

.skill-row{
    display: flex;
    justify-content: center;
}

.skill-row p {
    margin: 0;
    padding: 0;
}

.skill-content{
    text-align: center;
}

.skill-image {
    width: 10vw;
    height: 10vw;
    transition: 0.3s ease-in-out;
}

.skill-image:hover{
    transform: scale(1.1);
}

.skill-entry {
    text-align: center;
    margin: 0.5rem;
}

@media screen and (min-width: 700px) {
    .skill-image {
        width: 3.5rem;
        height: 3.5rem;
    }
}

#end {
    display: flex;
    justify-content: center;

    width: 100vw;
    max-width: 100%;

    height: 2rem;

    position: fixed;


    bottom: 0;

    background-color: var(--main-two);
    color: var(--text-primary);

    flex-shrink: 0;
    
}

.end-content{
   display: flex;
   align-items: center;
   color: black;
}



/*General class*/
.flex{
    display: flex;
}

.flex-space-between{
    display: flex;
    justify-content: space-between;
}

.center{
    text-align: center;
}

.white{
    color: white;
}