@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* * {border:1px solid red} */

html, body {
    overscroll-behavior: none;
    background-color: white;
    min-height: -webkit-fill-available;
    height: -webkit-fill-available;
  }

body{
    width: 100%;
    height: 100%;
    margin: auto;
    font-family: 'Open Sans', sans-serif;
  }

/* Style Mobile*/

body{
    margin: 0;
    font-weight: 400;
}

/*navbar*/

#navbar-desktop{
    position: fixed;
    z-index: 1;
    top: 0%;
    width: 100%;
    /*mix-blend-mode: difference;*/
}

.navbar-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1%;
    padding-top: 1%;
    padding-bottom: 1%;
    background-color: white;
    /*filter: drop-shadow(white 0rem 1rem 0.5rem);*/
    /* filter: drop-shadow(#1b1b1b 0rem 0rem 0.05rem); */
}

.logo{
    font-size: 1rem;
    font-weight: bold;
    margin: 1%;
    color: #1b1b1b;
    text-decoration: none;

}

.navbar-link{
    display: none;
    align-items: center;
}

.burger-menu{
    display: block;
    width: 2rem;
    height: 2rem;
    color: #1b1b1b;
    background: transparent;
    background-color: white;
    border-radius: 100%;
    border: 0px solid transparent;
}

.link{
    font-size: 1.25rem;
    padding: 1.25rem;
    color: #1b1b1b;
    transition: 0.25s;
    text-decoration: none;
}

.link-active{
    font-size: 1.25rem;
    font-weight: bold;
    padding: 1rem;
    color: #1b1b1b;
    text-decoration: none;
}

.link:hover{
    opacity: 50%;
    text-decoration: underline;
}

/*section*/

.section-1{
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    margin: 1%;
    margin-top: 20%;
}

.text-hero{
    margin: 1%;
    font-size: 1.25rem;
    color: #1b1b1b;
    /*mix-blend-mode: difference;*/
}

.body-text{ 
    font-size: 1rem;
    color: #1b1b1b;
    /*mix-blend-mode: difference;*/
}

.socmed{
    display: flex;
    gap: 1.5rem;
}

.socmed-link{
    display: flex;
    align-items: center;
    gap:0.25rem;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: #1b1b1b;
    transition: color 250ms linear;
}

.socmed-link:hover{
    color: #757575;
}

.section-2{
    margin: 1%;
    margin-top: 10%;
    padding-bottom: 50px;
}

.work-list{
    grid-template-columns: 1fr 1fr;
    display: grid;
    grid-column-gap:0.5rem;
    grid-row-gap: 2rem;
    margin-top: 1%;
    margin: 1%;
}

/* .project-thumbnail-container{
    position: relative;
    .overlay{
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 2;
        background-color: #1b1b1b;
        opacity: 0%;
        transition: opacity 250ms linear;
    }

    .overlay:hover{
        opacity: 75%;
    }
} */

.work-thumbnail{
    position: relative;
    max-width: 100%;
    height: auto;
    border-radius: 1.5%;
    bottom: 0rem; 
    /* filter:grayscale(0); */
    transition:all 0.25s linear;
}

.work-thumbnail:hover{
    /* opacity: 50%; */
    /* bottom: 1rem; */
    /* filter:grayscale(1); */
}

.project-description{
    margin-top: 2.5%;
}

.project-title{
    color: #1b1b1b;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 2%;
    text-decoration: none;
    transition: 0.25s;
}

.project-title:hover{
    opacity: 50%;
}

.project-type-green{
    width: fit-content;
    margin:1%;
    color: #0e6027;
    font-size: 0.6rem;
    /* outline: 1px solid #757575; */
    background-color: #74e792;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.project-type-red{
    width: fit-content;
    margin:1%;
    color: #a2191f;
    font-size: 0.6rem;
    /* outline: 1px solid #757575; */
    background-color: #ffc2c5;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.project-type-yellow{
    width: fit-content;
    margin:1%;
    color: #9e791b;
    font-size: 0.6rem;
    /* outline: 1px solid #757575; */
    background-color: #fff5ca;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.project-type-blue{
    width: fit-content;
    margin:1%;
    color: #0043ce;
    font-size: 0.6rem;
    /* outline: 1px solid #757575; */
    background-color: #b8d3ff;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.project-type-purple{
    width: fit-content;
    margin:1%;
    color: #6929c4;
    font-size: 0.6rem;
    /* outline: 1px solid #757575; */
    background-color: #dcc7ff;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.menu-wrapper{
    display: none;
    position: fixed;
    z-index: 30;
    width: 100%;
    height: 100%;
    z-index: 30;
    left: 0;
    top: 0;

    .close-button1{
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        z-index: 31;
        color: #1b1b1b;
        width: 2rem;
        height: 2rem;
        background: transparent;
        background-color: white;
        border-radius: 100%;
        border: 0px solid transparent;
    }

    .menu-content-wrapper{
        position: relative;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: space-around;
        align-items: center;

        .menu-content{
            opacity: 0%;
            transition: opacity 500ms linear;
    
        }
        .menu-content-active{
            font-size: 4rem;
            font-weight: bold;
            color: #1b1b1b;
            text-decoration: none;
        }

        .menu-content-notactive{
            font-size: 4rem;
            color: #1b1b1b;
            text-decoration: none;
        }

        .menu-content-notactive:hover{
            color: #757575;
            font-size: 4rem;
            text-decoration: underline;
        }
    }
}

/* Style Laptop*/

@media (min-width: 1024px) {
    body{
        margin: 0;
        font-weight: 400;
    }

    /*navbar*/

    #navbar-desktop{
        position: fixed;
        z-index: 1;
        top: 0%;
        width: 100%;
        /*mix-blend-mode: difference;*/
    }

    .navbar-container{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.15%;
        background-color: white;
        /*filter: drop-shadow(white 0rem 1rem 0.5rem);*/
        /* filter: drop-shadow(#1b1b1b 0rem 0rem 0.05rem); */
    }

    .logo{
        font-size: 1rem;
        font-weight: bold;
        margin: 1%;

    }

    .navbar-link{
        display: flex;
        align-items: center;
    }

    .burger-menu{
        display: none;
    }

    .link{
        font-size: 0.9rem;
        padding: 1rem;
        color: #1b1b1b;
        transition: 0.25s;

    }

    .link-active{
        font-size: 0.9rem;
        font-weight: bold;
        padding: 1rem;
        color: #1b1b1b;
        /* text-decoration: underline; */
    }

    .link:hover{
        opacity: 50%;
        text-decoration: underline;
    }

    /*section*/

    .section-1{
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 1%;
    }

    .text-hero{
        margin-top: 10%;
        font-size: 2rem;
        color: #1b1b1b;
        /*mix-blend-mode: difference;*/
    }

    .body-text{
        font-size: 1.05rem;
        color: #1b1b1b;
        /*mix-blend-mode: difference;*/
    }

    .socmed{
        display: flex;
        gap: 1.5rem;
    }

    .socmed-link{
        display: flex;
        align-items: center;
        gap:0.25rem;
        font-size: 1.25rem;
        font-weight: bold;
        text-decoration: none;
        color: #1b1b1b;
        transition: color 250ms linear;
    }

    .socmed-link:hover{
        color: #757575;
    }

    .section-2{
        margin: 0%;
        margin-top: 5%;
        padding-bottom: 75px;
    }

    .work-list{
        grid-template-columns: 1fr 1fr 1fr 1fr;
        display: grid;
        grid-column-gap:1rem;
        grid-row-gap: 3rem;
        margin-top: 1%;
    }

    /* .project-thumbnail-container{
        position: relative;
        .overlay{
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 2;
            background-color: #1b1b1b;
            opacity: 0%;
            transition: opacity 250ms linear;
        }

        .overlay:hover{
            opacity: 75%;
        }
    } */

    .work-thumbnail{
        position: relative;
        max-width: 100%;
        height: auto;
        border-radius: 1%;
        bottom: 0rem; 
        /* filter:grayscale(0); */
        transition:all 0.25s linear;
    }

    .work-thumbnail:hover{
        opacity: 50%;
        bottom: 1rem;
        /* filter:grayscale(1); */
    }

    .project-description{
        margin-top: 2.5%;
    }

    .project-title{
        color: #1b1b1b;
        font-size: 1.25rem;
        font-weight: bold;
        margin-bottom: 2%;
        text-decoration: none;
        transition: 0.25s;
    }

    .project-title:hover{
        opacity: 50%;
    }

    .project-type-green{
        margin:1%;
        color: #0e6027;
        font-size: 0.7rem;
        /* outline: 1px solid #757575; */
        background-color: #74e792;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
    }
    
    .project-type-red{
        margin:1%;
        color: #a2191f;
        font-size: 0.7rem;
        /* outline: 1px solid #757575; */
        background-color: #ffc2c5;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
    }
    
    .project-type-yellow{
        margin:1%;
        color: #9e791b;
        font-size: 0.7rem;
        /* outline: 1px solid #757575; */
        background-color: #fff5ca;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
    }
    
    .project-type-blue{
        margin:1%;
        color: #0043ce;
        font-size: 0.7rem;
        /* outline: 1px solid #757575; */
        background-color: #b8d3ff;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
    }
    
    .project-type-purple{
        margin:1%;
        color: #6929c4;
        font-size: 0.7rem;
        /* outline: 1px solid #757575; */
        background-color: #dcc7ff;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
    }


    .menu-wrapper{
        display: none;
    }
}

/* Style Desktop*/

@media (min-width: 1536px) {
    body{
        margin: 0;
        font-weight: 400;
    }

    /*navbar*/

    #navbar-desktop{
        position: fixed;
        z-index: 1;
        top: 0%;
        width: 100%;
        /*mix-blend-mode: difference;*/
    }

    .navbar-container{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.15%;
        background-color: white;
        /*filter: drop-shadow(white 0rem 1rem 0.5rem);*/
        /* filter: drop-shadow(#1b1b1b 0rem 0rem 0.05rem); */
    }

    .logo{
        font-size: 1.25rem;
        font-weight: bold;
        margin: 1%;

    }

    .navbar-link{
        display: flex;
        align-items: center;
    }

    .burger-menu{
        display: none;
    }

    .link{
        font-size: 1.1rem;
        padding: 1rem;
        color: #1b1b1b;
        transition: 0.25s;

    }

    .link-active{
        font-size: 1.1rem;
        font-weight: bold;
        padding: 1rem;
        color: #1b1b1b;
        /* text-decoration: underline; */
    }

    .link:hover{
        opacity: 50%;
        text-decoration: underline;
    }

    /*section*/

    .section-1{
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 1%;
    }

    .text-hero{
        margin-top: 10%;
        font-size: 2.3rem;
        color: #1b1b1b;
        /*mix-blend-mode: difference;*/
    }

    .body-text{
        font-size: 1.25rem;
        color: #1b1b1b;
        /*mix-blend-mode: difference;*/
    }

    .socmed{
        display: flex;
        gap: 1.5rem;
    }

    .socmed-link{
        display: flex;
        align-items: center;
        gap:0.25rem;
        font-size: 1.5rem;
        font-weight: bold;
        text-decoration: none;
        color: #1b1b1b;
        transition: color 250ms linear;
    }

    .socmed-link:hover{
        color: #757575;
    }

    .section-2{
        margin: 0%;
        margin-top: 5%;
        padding-bottom: 100px;
    }

    .work-list{
        grid-template-columns: 1fr 1fr 1fr 1fr;
        display: grid;
        grid-column-gap:1rem;
        grid-row-gap: 3rem;
        margin-top: 1%;
    }

    /* .project-thumbnail-container{
        position: relative;
        .overlay{
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 2;
            background-color: #1b1b1b;
            opacity: 0%;
            transition: opacity 250ms linear;
        }

        .overlay:hover{
            opacity: 75%;
        }
    } */

    .work-thumbnail{
        position: relative;
        max-width: 100%;
        height: auto;
        border-radius: 1%;
        bottom: 0rem; 
        /* filter:grayscale(0); */
        transition:all 0.25s linear;
    }

    .work-thumbnail:hover{
        opacity: 50%;
        bottom: 1rem;
        /* filter:grayscale(1); */
    }

    .project-description{
        margin-top: 2.5%;
    }

    .project-title{
        color: #1b1b1b;
        font-size: 1.65rem;
        font-weight: bold;
        margin-bottom: 2%;
        text-decoration: none;
        transition: 0.25s;
    }

    .project-title:hover{
        opacity: 50%;
    }

    .project-type-green{
        margin:1%;
        color: #0e6027;
        font-size: 0.8rem;
        /* outline: 1px solid #757575; */
        background-color: #74e792;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
    }
    
    .project-type-red{
        margin:1%;
        color: #a2191f;
        font-size: 0.8rem;
        /* outline: 1px solid #757575; */
        background-color: #ffc2c5;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
    }
    
    .project-type-yellow{
        margin:1%;
        color: #9e791b;
        font-size: 0.8rem;
        /* outline: 1px solid #757575; */
        background-color: #fff5ca;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
    }
    
    .project-type-blue{
        margin:1%;
        color: #0043ce;
        font-size: 0.8rem;
        /* outline: 1px solid #757575; */
        background-color: #b8d3ff;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
    }
    
    .project-type-purple{
        margin:1%;
        color: #6929c4;
        font-size: 0.8rem;
        /* outline: 1px solid #757575; */
        background-color: #dcc7ff;
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
    }


    .menu-wrapper{
        display: none;
    }
}