/*-- Website by: JamPre --*/

* {
    margin: 0;
    padding: 0;

    font-family: 'Lato', arial;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    --header-height: 100px;
}



button {
    width: 200px;
    padding: 15px 0;
    margin-left: 40px;
    margin-right: 40px;
    border-radius: 10px;

    z-index: 2;

    transition: 0.2s;

    border: 2px solid  #06d038;

    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: transparent;
    text-align: center;

    color: #fff;
    background-color: #0000005f;
}

button:hover {
    border: 2px solid #ffffff00;
}

span {
    height: 0;
    width: 100%;

    left: 0;
    bottom: 0;
    transition: 0.3s;

    border-radius: 8px;

    z-index: -1;

    position: absolute;

    background: #06d038;
}

button:hover span{
    height: 100%;
}

.seperator {
    width: 100%;
    height: 1px;

    background-color: #000;
}


/* header */

#header {
    width: 100%;
    height: var(--header-height);

    top: 0;
    left: 0;

    z-index: 100;

    transition: 0.2s;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;

    box-shadow: 0 5px 15px #0000006d;

    background-color: #0000007c;
}

.header-hidden {
    transform: translateY(calc(-1 * var(--header-height)));
}

.logo {
    width: 120px;
    cursor: pointer;
    margin-left: 50px;
    margin-top: -20;
    margin-bottom: -20;
    filter: invert(100%);
}

#navbar {
    width: 100%;
    margin: auto;
    padding: 35px 0;

    display: flex;
    align-items: center;
    justify-content: space-evenly;

    background-color: #00000000;
}

#navbar li {
    margin: 10px 20px;

    list-style: none;
    display: inline-block;
    position: relative;
}

#navbar li::after {
    content: '';
    height: 1px;
    width: 0;
    
    background: #06d038;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.3s;
}

#navbar li:hover::after {
    width: 100%;
}

#navbar li a {
    font-size: 15px;

    transition: 0.3s;

    text-decoration: none;
    text-transform: uppercase;

    color: #fff;
}

#navbar li a:hover {
    color: #06d038;
}

#navbar li .active {
    color: #06d038;
}


/* mobile header */


#mobile-header {
    height: 0px;
}

#mobile-header #menu .buttons {
    opacity: 0;
}


/* banner */

#banner {
    width: 100%;
    height: 100vh;

    background-size: cover;
    background-position: center;
}

#banner .background {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: brightness(0.45);
}

#banner .logo {
    width: 0;

    filter: invert();
}

#banner .content {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
}

#banner .content h1 {
    margin-top: 60px;

    font-size: 50px;
    font-weight: 300;
}

#banner .content p {
    width: 500px;
    
    margin: 20px auto;

    font-weight: 400;
    line-height: 25px;
}

#banner .bottom-segment {
    width: 100%;

    position: absolute;
    text-align: center;

    bottom: 5vh;
}

#banner .sub-text {
    width: 100%;

    bottom: 20px;

    position: absolute;

    text-align: center;

    color: #fff;
}


/* projects */

#projects {
    width: 100%;

    padding-top: 80px;

    background-color: #ffffff;
}

#projects .project-gallery {
    padding: 40px 60px;

    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: space-evenly;
}

#projects .gallery {
    width: 300px;
    height: 200px;

    padding: 5px 0;
    margin: 5px 10px;

    cursor: pointer;

    overflow-x: hidden;
    
    text-align: center;
}

#projects .gallery:hover img {
    width: 110%;

    transform: translateX(-15px);
}

#projects .gallery img {
    width: 100%;
    height: 160px;

    transition: 0.3s;

    object-fit: cover;
}

#projects .gallery h3 {
    font-size: 14px;
    font-weight: 500;
}


/* project showcase */

#showcase {
    height: auto;
    width: auto;

    padding-bottom: 40px;

    text-align: center;

    background-color: #fff;
}

#showcase .text {
    width: 100%;

    padding: 40px 0;

    display: grid;
    grid-template-columns: 50% 50%;
}

#showcase .text p {
    padding: 0 40px;
    
    font-size: 18px;

    text-align: justify;

    color: #000;
}

#showcase .image-scroller {
    width: calc(100% - 8px);
    height: 500px;

    margin-top: 20px;
    padding: 4px 0;;

    display: flex;
    align-items: center;

    overflow-x: scroll;

    background-color: #fff;
}

#showcase .image-scroller::-webkit-scrollbar {
    height: 3px;
}

#showcase .image-scroller::-webkit-scrollbar-track {
    background-color: #fff;
}

#showcase .image-scroller::-webkit-scrollbar-thumb {
    background-color: #06d038;
}

#showcase .image-scroller a {
    height: 100%;
}

#showcase .image-scroller a img {
    height: 100%;

    padding: 0 4px;

    border-radius: 10px;

    cursor: pointer;

    object-fit: cover;
}


/* Switch project */

#next-project {
    width: 100%;
    height: 300px;

    display: grid;
    grid-template-columns: 50% 50%;
}

#next-project .change-project {
    width: 100%;
    height: 300px;

    overflow: hidden;

    position: relative;
}

#next-project .change-project h1 {
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 2;

    font-weight: 300;

    text-align: center;
    text-transform: uppercase;

    position: absolute;

    cursor: pointer;
    pointer-events: none;

    color: #fff;
}

#next-project .change-project img {
    width: 100%;
    height: 100%;

    z-index: -1;

    transition: 0.3s;

    object-fit: cover;

    filter: brightness(0.5);
}

#next-project .change-project:hover img {
    width: calc(100% + 50px);

    transform: translateX(-25px);

    filter: brightness(0.2);
}










/* Info */

#info {
    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;
}

#info .content {
    width: 70%;
}

#info .content .top {
    margin-top: 5rem;
}

#info .content .segment {
    width: 100%;
}

#info .content .segment .top-padded {
    padding-top: 3rem;
}



#info .content .segment .text-element {
    width: 100%;
    height: auto;

    display: grid;
    grid-template-columns: 50% 50%;

    padding-bottom: 3rem;

    position: relative;
}

#info .content .segment .text-element p {
    width: 98%;
    
    text-align: justify;
}

#info .content .segment .text-element .right {
    padding-left: 2%;
}




#info .content .segment .video-element {
    width: 100%;

    display: flex;
    justify-content: center;
}

#info .content .segment .video-element video {
    width: 100%;
}


#info .content .segment .video-title {
    padding-bottom: 2rem;
    
    font-size: 21px;
    font-weight: 300;

    text-transform: capitalize;
}




#info .content .segment .collumn-element {
    width: 100%;
    height: auto;

    padding-bottom: 3rem;
    
    display: grid;
    grid-template-columns: 49% 2% 49%;
    align-items: start;
}

#info .content .segment .collumn-element .text-element {
    display: block;

    padding: 0;
    margin: 0;
}

#info .content .segment .collumn-element .text-element p {
    font-size: 18px;
}




#info .content .segment .slider-element {
    width: 100%;
    height: auto;

    overflow-x: scroll;

    display: flex;

    margin-bottom: 3rem;
    padding-bottom: 10px;
}

#info .content .segment .slider-element img {
    height: 15rem;
}

#info .content .segment .slider-element .start {
    padding-right: 0.2rem;
}

#info .content .segment .slider-element .end {
    padding-left: 0.2rem;
}

#info .content .segment .slider-element .mid {
    padding: 0 0.2rem;
}









/* old info

#info {
    width: 100%;

    padding-top: 120px;
    padding-bottom: 30px;

    font-size: 25px;

    background-color: #fff;
}

#info .wall-title {
    width: calc(100% - 200px);

    font-size: 25px;
    font-weight: 300;

    text-align: right;
}

#info .info-segment {
    width: calc(80% - 88px);
    height: auto;

    left: 50%;

    transform: translateX(-50%);

    position: relative;
}

#info .info-content {
    width: 100%;

    padding: 40px 0;

    display: grid;
    grid-template-columns: 50% 50%;
}

#info .info-content p {
    width: 90%;

    font-size: 20px;

    text-align: justify;
}

#info .info-content img {
    width: calc(100% - 80px);

    padding: 0 40px;
}

#info .info-content video {
    width: calc(100% - 80px);

    margin: 0 40px;
}

#info .image-slider {
    width: calc(100% - 80px);
    height: 300px;

    margin: 0 40px;
    padding-top: 40px;
    padding-bottom: 5px;

    transform: translateY(-4px);

    display: flex;
    align-items: center;

    overflow-x: scroll;

    background-color: #fff;
}

#info .image-slider img {
    height: 100%;
    width: auto;

    padding: 0 4px;

    object-fit: cover;

    cursor: grab;
}

#info .image-slider::-webkit-scrollbar {
    height: 3px;
}

#info .image-slider::-webkit-scrollbar-track {
    background-color: #fff;
}

#info .image-slider::-webkit-scrollbar-thumb {
    background-color: #06d038;
} */













/* about us */

#about {
    width: 100%;
    height: 100vh;

    padding-top: 40px;
}

#about .content {
    padding-top: 80px;
}

#about .content h1 {
    padding-bottom: 10px;

    font-size: 50px;
    font-weight: 300;

    text-align: center;
}

#about .content .text {
    width: 100%;

    display: flex;
    justify-content: space-around;
}

#about .content .text p {
    width: 55%;

    font-size: 20px;
    font-weight: 300;

    text-align: justify;
}

#about .content .sub-title {
    width: 55%;

    padding: 30px 0;

    left: calc(50% - 27.5%);

    display: flex;
    justify-content: space-between;

    position: relative;
}

#about .content .sub-title img {
    width: 130px;
    height: 170px;

    padding-top: 10px;

    object-fit: cover;

    overflow: hidden;
}

#about .content .sub-title .label h2 {
    font-size: 18px;
    font-weight: 300;

    text-align: center;
}

#about .content #sub-title {
    width: 55%;

    padding: 30px 0;

    left: calc(50% - 27.5%);

    display: flex;
    justify-content: space-between;

    position: relative;
}

#about .content #sub-title .label h2 {
    padding: 5px 5px;

    font-size: 18px;
    font-weight: 600;

    text-align: center;
}


/* contact */

#footer {
    width: 100%;
    height: 100vh;
    
    z-index: -2;

    background-color: #fff;
}

#footer .content {
    width: 100%;
    height: 100%;

    grid-template-columns: 33% 33% 33%;

    display: grid;
    place-items: center;

    text-align: center;
}

#footer .content .contact-info {
    padding-top: 20px 0;

    display: grid;
}

#footer .content .contact-info a {
    padding: 2px 0;

    font-size: 17px;
    font-weight: 100;

    transition: 0.3s;
    
    text-decoration: none;
    text-align: left;
    
    color: #000;
}

#footer .content a:hover {
    color: #06d038;
}

#footer .content .social-icons {
    width: 200px;

    display: flex;
    justify-content: space-evenly;

    position: relative;
}

#footer .content .social-icons a div {
    width: 40px;
    height: 40px;
    
    border-radius: 100%;

    transition: 0.2s;

    border: 2px solid #000;

    position: relative;
}

#footer .content .social-icons a div:hover {
    border: 2px solid #06d038;
}

#footer .content .social-icons a div img {
    width: 65%;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    position: absolute;

    /* filter: invert(); */
}

#footer .content .g-m-s {
    width: 150px;

    /* filter: invert(); */
}

#footer .sub-text {
    bottom: 40px;

    text-align: center;

    position: relative;

    color: #000;
}


/*-- JamPre Link --*/

.jampre-link {
    left: 2%;
    bottom: -130px;

    margin-bottom: 20px;

    font-weight: 300;
    font-size: 15px;

    transition: 0.1s;

    position: absolute;

    text-decoration: none;

    color: #555;
}

.jampre-link:hover {
    text-decoration: underline;

    color: #111;
}


@media(prefer-reduced-motion) {
    .hidden {
        transition: none;
    }
}

/*--mobile scaling--*/
@media only screen and (min-width: 520px) and (max-width: 750px) {
    
    /*---Header---*/
    .logo {
        width: 80px;
    }

    #navbar li a {
        font-size: 10px;
    }


    /*---Banner---*/
    #banner .content h1 {
        font-size: 30px;
    }


    /*---Projects---*/

    #projects .gallery {
        width: 75%;
        height: 200px;
    }


    /*---Porject showcase---*/

    #showcase .text p {
        font-size: 15px;
    }


    #next-project .change-project h1 {
        font-size: 20px;
    }


    /*---Info page---*/


    #info .info-content .image-slider {
        height: 200px;
    }

    #info .wall-title {
        width: 100%;

        font-size: 18px;

        text-align: center;
    }


    /*---About Us---*/

    #about .content h1 {
        padding-bottom: 10px;

        font-size: 30px;
    }

    #about .content .text {
        width: 80%;

        padding: 5px 10%;
    }

    #about .content .text p {
        width: 100%;

        font-size: 15px;
    }

    #about .content .sub-title {
        width: 80%;

        left: 10%;
    }

    #about .content .sub-title img {
        width: 90px;
        height: 150px;

        padding: 0 calc((100% - 90px) / 2);
    }

    #about .content .sub-title .label h2 {
        font-size: 15px;
    }

    #about .content #sub-title {
        width: 90%;

        left: 5%;
    }
    
    #about .content #sub-title .label h2 {
        width: auto;

        padding: 0 5px;

        font-size: 17px;
        font-weight: 300;
    
        text-align: center;
    }


    /*---Footer---*/

    #footer {
        height: 100vh;
    }

    #footer .content .g-m-s {
        width: 100px;
    }

    #footer .content .contact-info a {
        font-size: 12px;
    }

    #footer .content .social-icons a div {
        width: 35px;
        height: 35px;
    }
}

@media only screen and (min-width: 100px) and (max-width: 520px) {

    /*---Header---*/

    #header {
        transform: translateX(-200%);

        opacity: 0;
    }


    /*---Mobile header---*/

    #mobile-header {
        width: 0%;
        height: 0%;

        z-index: 999;
    }

    .menu-closed {
        opacity: 0;

        transform: translateX(-100%);
    }

    .menu-open {
        opacity: 100;
    }

    #menu {
        width: 100%;
        height: 100vh;

        transition: 0.3s;

        z-index: 999;

        position: fixed;

        background-color: #000000a4;
    }

    #mobile-header #menu .buttons {
        top: 50%;
        left: 20%;

        transform: translateY(-50%);

        opacity: 100;

        z-index: 999;

        display: grid;

        position: fixed;
    }

    #menu .buttons a {

        margin: 10px 0;
        padding: 10px 20px;

        font-size: 20px;

        transition: 0.3s;

        text-decoration: none;
        text-transform: uppercase;

        color: #fff;
    }

    #menu .buttons a:hover {
        color: #06d038;
    }

    #menu-button {
        width: 70px;
        height: 70px;
        
        top: 2%;
        left: 2%;

        z-index: 999;

        position: fixed;

        cursor: pointer;
    }

    #menu-button .foreground {
        z-index: 100;
    }

    #menu-button .foreground span {
        width: 40px;
        height: 2px;

        z-index: 100;

        margin: 13px 0;

        left: 50%;

        transform: translateX(-50%);

        position: relative;

        display: block;

        background-color: #fff;
    }

    #menu-button .background {
        height: 100%;
        width: 100%;

        border-radius: 50%;

        position: absolute;

        transform: translateY(-65px);

        background-color: #00000060;
    }


    /*---Banner---*/

/*
    #banner {
        background-position: right;
    }
*/
    #banner .logo {
        width: auto;
        height: 70px;

        top: 20px;
        right: 30px;

        position: absolute;
    }
    
    #banner .content h1 {
        font-size: 30px;
    }

    #banner .content p {
        width: 80%;

        padding: 0 10%;

        font-size: 12px;
    }

    
    /*---Projects---*/

    #projects {
        padding-top: 20px;
    }


    /*---Project---*/

    #showcase .text {
        padding: 20px 0;

        display: grid;
        grid-template-columns: 100%;

        z-index: -1;
    }

    #showcase .text p {
        padding: 1rem 20px;

        font-size: 15px;
    }

    #showcase .image-scroller {
        height: 300px;
    }

    #next-project .change-project h1 {
        font-size: 15px;
    }


    /*---Info---*/

    #info .content .top {
        margin-top: 2rem;
    }

    #info .content {
        width: 95%;
    }

    #info .content .segment .collumn-element {
        margin-top: 2rem;
        grid-template-columns: 100%;
    }

    #info .content .segment .collumn-element .text-element {
        margin-top: 2rem
    }


    /*---About Us---*/

    #about .content h1 {
        padding-bottom: 10px;

        font-size: 25px;
    }

    #about .content .text {
        width: 80%;

        padding: 5px 10%;
    }

    #about .content .text p {
        width: 100%;

        font-size: 15px;
    }

    #about .content .sub-title {
        width: 80%;

        left: 10%;
    }

    #about .content .sub-title img {
        width: 80px;
        height: 120px;

        padding: 0 calc((100% - 90px) / 2);
    }

    #about .content .sub-title .label h2 {
        font-size: 10px;
    }

    #about .content #sub-title {
        width: 55%;
    
        padding: 30px 0;
    
        left: calc(50% - 27.5%);
    
        display: grid;
    
        position: relative;
    }
    
    #about .content #sub-title .label h2 {
        font-size: 18px;
        font-weight: 300;
    
        text-align: center;
    }


    /*---Footer---*/

    #footer .content {
        display: grid;
        grid-template-columns: 100%;
    }

    #footer .content .g-m-s {
        width: 120px;
    }

    #footer .content .contact-info a {
        font-size: 14px;
    }

    #footer .content .social-icons a div {
        width: 40px;
        height: 40px;
    }

}
