:root{
    --black: #000;
    --green: #B7D0B2;
    
    --gutter: 0.75rem;
}

html{
    height: 100%;
    margin: 0;
    
    font-size: 22px;
    line-height: 1.25;
    
    scroll-behavior: smooth;
    overflow-scrolling: touch;
    -webkit-overflow-scrolling: touch;

    min-width: 300px;
    max-width: 100%;
}
body{
    margin:0;
    height: 100%;
    width: 100%;
    background: var(--black);
    overflow-x: clip;
    font-family: 'Raleway', sans-serif;	
    font-weight: 500;
}

a{
    color: inherit;
    text-decoration: none;
}


h1, h2, h3, h4, h5{
    font-weight: 900;
    
    line-height: 1;
    margin: 0 0 1.25em;
    text-transform: uppercase;
}
p{
    margin: 0 0 1.25em;
}


.button{
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--green);
    color: #fff;
    box-shadow: 0 0 0 2px  #fff;
}
.button:hover{
    color: #000;
    transition-duration: .2s;
}

#logoContainer{ 
    display: block;
    margin: 7.5% 5%;
}
#logoContainer > img{
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#moodImage {
    position: relative;
    width: 100%;
}
#moodImage picture > * {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: bottom center;
}
#moodText {
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
#moodText h1{
    margin: 0;
}
#mainContent{
    padding: 10vh 0;
    background: var(--green);
    color: var(--black);
}
#mainContent p{
    font-size: .8rem;
}

#projects{
    padding: 10vh 0;
    background: #fff;
    color: var(--black);
}

.project{
    overflow: hidden;
    width: 100%;
    padding: .5rem;
}

.projectThumb{
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}
.projectThumb img{
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition-duration: .2s;
}

.projectDetails{
    margin-top: .5rem;
    opacity: 0;
    transition-duration: 0s;
    padding: 0;
    font-size: .8rem;
    line-height: 1.4;
}

.projectDetails h4{
    margin: .2rem 0 ;
    font-size: 1rem;
}

#projectSplide{
    position: relative;
}
#projectSplide .is-active .projectDetails{
    opacity: 1;
    transition-duration: .3s;
}
#projectSplide .is-active .project{
    box-shadow: inset 0 0 0 2px var(--green);
    /*background: var(--green);*/
}

#projectSplide .is-active img{
    transform: scale(1.1);
    transform-origin: center;
    transition-duration: 4s;
}



#projectSplide.movin .projectDetails{
    opacity: 0 !important;
    transition-duration: 0.1s !important;
}
/*
#projectSplide.movin img{
    transform: scale(1) !important;
    transition-duration: 0.1s !important;
}
*/
#projectSplide.movin .project{
    box-shadow: none !important;
}


#projectSplide .splide__arrow{
    top: auto;
    bottom: 0;
    
    background: none;
    opacity: 1;
}
#projectSplide .splide__arrow--prev{
    left: 2.5rem;
}
#projectSplide .splide__arrow--next{
    right: 2.5rem;
}





#projectSplide .splide__arrow svg {
    height: 2.5em;
    width: 2.5em;
}


#footer{
    color: #fff;
    padding-top: 10vh;
}

#footer h3{
    margin: 0; 
    text-align: center;
}

#contactList{
    margin: 0;
    padding: 2rem 0;
}
#contactList li{
    margin: 1rem 0;
    padding: 0;
    list-style: none;
    
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    line-height: 2rem;
    
}

#contactList .icon{
    display: block;
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}

#contactList li:hover svg path{
    fill: var(--green);
}

#footer a:hover{
    color: var(--green);
}

#footerBottom{
    font-weight: 900;
    font-size: 80%;
    margin-bottom: 1rem;
}


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

    html{
        font-size: calc( 15px + 0.5vw );
    }

    #mainContent,
    #projects,
    #footer{
        padding: 5vh 0;
    }
    #footer{
        padding-bottom: 0;
    }
   
  
}


@media screen and (max-width: 800px) {
    #projectSplide{
        padding: 0 13px;
    }
    #projectSplide .is-active .project{
        box-shadow: none;
    }
    #projectSplide .projectThumb{
        aspect-ratio: 4/3;
    }
    #projectSplide .splide__arrow{
        top: -50px;
    }
    #projectSplide .splide__arrow--prev{
        left: .5rem;
    }
    #projectSplide .splide__arrow--next{
        right: .5rem;
    }
}