/* Utama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #3f3b37;
    background-color: #f1efe9;
    font-size: 14px;
    line-height: 2em;
}

/* e2e2e2 = warna border nanti */


/* Navbar */
nav {
    height: 8vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 15px;
    border-bottom: 1px solid #b1afa9;
    z-index: 10;
    background-color: #f1efe9;
}

.brand {
    display: flex;
}

.brand-text {
    margin-left: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: #3f3b37;
    font-weight: bold;
    font-size: 1.25em;
}

.gambar-nav {
    height: 55px;
    width: 55px;
    overflow: hidden;
    border-radius: 50%;
}

.gambar-nav img {
    width: 100%;
}

.navs { 
    position: absolute; 
    display: flex;
    flex-direction: column;
    background-color: #f1efe9;
    top: 6vh;
    width: 100%;
    right: 0;
    height: 94vh;
    font-size: 1.25em;
    transform: translateX(100%);
    transition: transform .3s ease-out;
    padding-bottom: 7vh;
}

.nav {
    height: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100px);
    transition: .7s;
}

.navs a {
    text-decoration: none;
    color: #3f3b37;
    font-weight: bold;
}

.navs a:hover{
    color: #007070;
}

.active .nav-link {
    color: #007070;
}

.active .nav-link:hover {
    color: #007070;

}

.burger {
    display: block;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #3f3b37;
    transition: .3s ease-in;
    border-radius: 7px;
}

.navs-active{
    transform: translateX(0%);
}
.navs-active .nav {
    opacity: 1;
    transform: translateX(0px);
}

.ex .line1{
    transform: rotate(-45deg) translate(-5px,6px);
}
.ex .line2{
    opacity: 0;

}.ex .line3{
    transform: rotate(45deg) translate(-5px,-6px);
    width: 25px;
}


.not-found {
    display: flex;
    height: 50vh;
    width: 100%;
    justify-content: center;
    align-items: center;
}
/* Home */

.home {
    padding: 0 5vw;
    padding-top: 7vh;
}

.jumbotron {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 93vh;
}
    
.jumbotron h2 {
    font-size: 3.25em;
    display: flex;
    line-height: 1.30em;
    font-weight: normal;
    margin: 7vh 0;
}

.jumbotron-img {
    display: flex;
    justify-content: center;
    width: 100%;
}

.jumbotron-img img {
    width: 100%;
    height: 100%;
}


.home-works {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding: 5vh 0;
}

.home-works h2 {
    padding: 5vh 0;
    font-size: 2.30em;
    text-align: center;
}

.home-work {
    text-decoration: none;
    color: #3f3b37;
    padding-bottom: 5vh;
}

.home-work-img{
    width: 100%;
    overflow: hidden;
}
.home-work-img img{
    filter: brightness(80%); 
    width: 100%;
    object-fit: cover;
    transition: ease-out 0.5s;
}

.home-work ul li:hover .blogs-img img {
    filter: brightness(100%);
}

.home-work-text{
    text-align: center;
    margin-bottom: 1vh;
}
.home-work-text h3{
    font-size: 1.75em;
    margin: 1vh;
}
.home-work-text p {
    color: #008080;
    font-size: 1em;
}
.home-work-desc {
    color: #3f3b37;
    margin: 0;
    text-align: center;
    font-style: italic;
}

.more-wb {
    padding: 5px;
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 20px;
    background-color: #3f3b37;
    font-weight: bold;
    transition: .3s;
    color: #f1efe9;
    text-decoration: none;
}

.more-bg:hover {
    background-color: #007070;
    color: 	#3f3b37;
}

.wb-bg-background {
    padding: 7vh 0;
}


/* ------- Works and Blogs -------- */

.wb-background {
    padding: 0 5vw;
    padding-top: 7vh;
}

.wb {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wb h2 {
    padding: 5vh 0;
    font-size: 2.30em;
    text-align: center;
}

.wb form{
    width: 100%;
    padding: 0 10vw;
}

.search-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 5vh;
}

.search-bar input {
    width: 75%;
    height: 5vh;
    background-color: #f1efe9;
    color: #3f3b37;
    border: 2px solid #3f3b37;
    padding: 1vh;
}

.search-button {
    width: 25%;
    background-color: #3f3b37;
    color: #b1afa9;
    border: unset;
}

.wb-link {
    text-decoration: none;
    color:#3f3b37;
}

.wb ul {
    width: 100%;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(100vw);
    justify-items: center;
    justify-content: center;
    margin-bottom: 50px;
    gap: 5vh;
}

.wb ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}   

.wb-img{
    width: 100%;
    overflow: hidden;
}
.wb-img img{
    filter: brightness(80%); 
    width: 100%;
    object-fit: cover;
    transition: ease-out 0.5s;
}

.wb ul li:hover .blogs-img img {
    filter: brightness(100%);
}

.wb-text{
    text-align: center;
}
.wb-text h3{
    font-size: 1.75em;
    margin: 1vh;
}
.wb-text p {
    color: #008080;
}


.halaman {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: center;
}

.halaman-link {
    color: black;
    float: left;
    padding: 5px 20px;
    text-decoration: none;
    transition: background-color .3s;
  }

.halaman-item-active{
    color: black;
    background-color: #008080;
    border-radius: 3px;
}

.halaman-item-disabled {
    display: none;
}

.single-wb-background {
    min-height: 100vh;
    padding: 0 6vw;
    padding-top: 7vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Sub Work */

.work-head h2{
    padding: 5vh 0;
    font-size: 2.30em;
    text-align: center;
}

.work-desc{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.work-desc h4 {
    font-size: 1.1em;
}

.work-desc p {
    padding-bottom: 1vh;
}

.work-partial-desc{
    width: 100%;
}

.work-about{
    width: 100%;
    text-align: justify;
}

.work-desc a{
    text-decoration: none;
    font-weight: normal;
    color: #3f3b37;
}

.work-img{
    margin-top: 2%;
    width: 100%;
}
.work-img img{
    width: 100%;
    margin: 1vh 0;
}


/* Sub blogs */

.blog-head {
    width: 100%;
}

.blog-desc{
    display: flex;
    padding-top: 3vh;
    justify-content: space-between;
    font-size: 0.9em;
}

.blog-desc a{
    text-decoration: none;
    color: #3f3b37;
}

.blog-head h2{
    padding: 5vh 0;
    font-size: 2.30em;
    text-align: center;
    font-weight:900;
}

.blog-body{
    padding-top: 3vh;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content:center; 
    flex-direction: column;
    /* overflow: hidden; */
}

.blog-body p {
    display: block;
    text-align: justify;
    margin-bottom: 3vh;
}

.blog-body img {
    display:flex;
    width: 100%;
    height: 100%;
}




/* #jumbo {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    
}

.jumbo-img{
    width: 100%;
    margin-top: 30vh;
    height: 70vh;
    display: flex;
    z-index: 4;
    justify-content: flex-end;
}

.jumbo-img img {
    height: 100%;
    margin-right: -35vw;
}

.jumbo-layer3{
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    z-index: 2;
    justify-content: flex-start;
    overflow: hidden;
}

.jumbo-layer3 img {
    opacity: 50%;
    height: 100%;
    margin-left: -50vw;
    filter: grayscale(100%);
}

.jumbo-layer1 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 5;
    justify-content:flex-end;
    width: 100%;
    align-items: flex-end;
    position: absolute;
    filter: drop-shadow(0px 0px 5px #000);
    overflow: hidden;
}

.jumbo-layer1 .jumbo-subtitle{
    padding: 10px 10vw;
    color: #eee;
    background-color: #007070;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: skew(25deg) translateX(20px);
}
.jumbo-subtitle h3{
    font-size: 24px;
    transform: skew(-25deg);
}

.jumbo-layer1 .jumbo-title{
    padding: 20px 10vw;
    margin-bottom: 75px;
    color: #eee;
    background-color: #3f3b37;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: skew(25deg) translateX(20px);
    
}

.jumbo-title h3 {
    font-size: 28px;
    transform: skew(-25deg);
}


.jumbo-layer2{
    height: 100vh;
    display: flex;
    z-index: 3;
    justify-content:center;
    width: 100%;
    align-items: center;
    position: absolute;
    overflow: hidden;
}

.jumbo-layer2 h1{
    font-size: 250px;
    color: #007070;
    opacity: 30%;
    white-space:nowrap;
} */



/* jumbotron */

/* -------- About -------- */

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 7vw;
    padding-top: 7vh;
}

.about h2{    
    font-size: 2.30em;
    margin : 5vh;
}

.profile {
    display: flex;
    flex-direction: column;
    text-align: justify;
    gap: 2.5vh;
}

.little-profile h4 {
    font-size: 1.75em;
    margin-bottom: 5vh;
}

.about-banner {
    max-width: 1200px;
    margin: 5vh 0;
}

.about-banner img {
    width: 100%;
    height: 100%;
}

.more-profile {
    display: flex;
    flex-direction: column;
    text-align: justify;
    gap: 2.5vh;
    margin-bottom: 5vh;
}

.skills-tools {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.skills-tools h3 {
    text-align: center;
    font-size: 2.30em;
    margin: 5vh 0;
}

.skills-tools ul {
    list-style: none;
    margin-bottom: 5vh;
}

.skills-tools li {
    font-size: 1.3em;
    line-height: 2em;
}

/* End About */



/* ------- Location -------- */
/* #tools {
    align-items: center;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: #3f3b37;
    min-height: 90vh;
}

#tools h2{    
    font-size: 36px;
    margin : 50px 0
}

#tools ul {
    width: 100%;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 450px));
    justify-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
}

#tools ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    width: 100%;
    background-color: #ddd;
    padding: 25px 15px;
    border-radius: 10px;
    color: #3f3b37;
}    */


/* ------- End Location -------- */



/* Footer */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    height: 93vh;
    text-align: center;
}
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact h2{    
    font-size: 2.30em;
    line-height: 1.3em;
    margin : 5vh 0;
    padding-top: 2vh;
}
.contact ul {
    margin-top: 3vh;
    list-style:none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.contact ul li {
    display: flex;
    justify-content: space-between;
}
.contact ul li a {
    text-decoration: none;
    color: #3f3b37;
    font-size: 1.15em;
    line-height: 2em;
}
.copyright {
    text-align: center;
    font-size: .9em;
    margin-bottom: 25px;
}

.copyright a {
    text-decoration: none;
    color: #3f3b37;
}


/* Login */

.bg-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20vh 5vw;
}

.bg-register {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20vh 5vw;
}

.registerAlert {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: flex;
    background-color: #0070702d;
    box-sizing: border-box;
    align-items: center;
    margin-bottom: 5vh;
}

.registerAlertFail {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: flex;
    background-color: #fa5a4e73;
    box-sizing: border-box;
    align-items: center;
    margin-bottom: 5vh;
}

.btn-close {
    padding: 0 8px;
}




/* Full-width inputs */
.username, .password, .name, .email, .title, .slug, .thumbnail, .thumb-preview, .cat, .desc, .img{
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.img-preview, .thumb-preview  {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


.display {
    display: block;
}

.choose-btn {
    padding: 5px 10px;
    background-color: silver;
    
}

.choose-btn:hover {
    cursor: pointer;
    padding: 5px 10px;
    background-color: grey;
}

.is-invalid {
    border: 2px solid #f44336;
}

.invalid-feedback {
    color: #f44336;
    font-size: 11px;
}
/* Set a style for all buttons */
.login {
    background-color: #007070;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

/* Add a hover effect for buttons */
.login:hover {
    opacity: 0.8;
}

/* Extra style for the cancel button (red) */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

/* Center the avatar image inside this container */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

/* Avatar image */
img.avatar {
    width: 40%;
    border-radius: 50%;
}

/* Add padding to containers */
.kotak {
    padding: 16px;
}

/* The "Forgot password" text */
span.psw {
    float: right;
}

/* Dashboard */

.dashpost-background{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10vh;
}

table, td, th {
    border: 1px solid;
}

td {
    padding: 5px;
}

.table-post{
    margin-top: 3vh;
    width: 80%;
    border-collapse: collapse;
}
.bg-create {
    padding: 20vh 5vw;

}

.delete-btn{
    display: inline;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
      display: block;
      float: none;
    }
    .cancelbtn {
      width: 100%;
    }
}

@media screen and (min-width:768px) {
    body {
        font-size: 16px;
        line-height: 2em;
    }

    /* Home */

    .jumbotron h2 {
        /* font-size: 52px;
        line-height: 60px; */
        align-items: center;
        line-height: 1.50em;
    }

    .jumbotron-img {
        width: 70%;
    }

    /* Sub Work*/

    .work-desc{
        display: flex;
        justify-content: space-between;
        flex-direction: row;
    }


    /* -------- About -------- */

    .skills-tools {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: start;
    }

    .skills-tools h3 {
        text-align: center;
        font-size: 32px;
        margin: 5vh 0;
    }

    .skills-tools div{
        width: 45%;
    }

    .skills-tools ul {
        list-style: none;
        margin-bottom: 5vh;
    }

    .skills-tools li {
        font-size: 1.5em;
    }

    /* End About */
  
}


@media screen and (min-width:889px){
    nav {
        padding: 0px 5vw;
    }
    .burger {
        display: none;
    }
    .navs {
        position: relative;
        flex-direction: row;
        top: 0;
        transform: unset;
        width: 50vw;
        right:initial;
        align-items: center;
        justify-content: space-around;
        background-color: unset;
        font-size: 1.1em;
        height: 0;
        padding-bottom: 0;
    }
    .navs .nav{
        opacity: 1;
        transform: unset;
    }
    
    /* Home */

    .jumbotron {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        min-height: 0;
        padding: 11vh 3vw;
    }
        
    .jumbotron h2 {
        width: 60%;
        padding: 0;
    }
        
    .jumbotron-img {
        width: 35%;
    }

    .jumbotron-img img {
        width: 100%;
        height: 100%;
    }

    .home-work {
        padding:  0 10vw 5vh 10vw;
    }

    /* wb */

    .wb ul {
        grid-template-columns: repeat(2, 47vw);
        gap: 2vw;
        margin-bottom: 50px;
    }   
    

    /* single wb */

    .single-wb-background {
        padding: 0 10vw;
        padding-top: 7vh;
    }

    .single-wb-background h2 {
        padding: 7vh 0;
    }

    /* About */

    .about {
    padding: 0 10vw;
    padding-top: 7vh;
    }

    .profile{
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        width: 100%;
        padding-top: 2vh;
    }

    .little-profile {
        width: 35%;
    }
    
    .little-profile h4 {
        margin-bottom: 3vh;
    }   
    
    .citcat-profile{
        width: 55%;
    }

    .skills-tools{
        flex-direction: row;
        justify-content: space-around;
    }

    .skills-tools div{
        width: 40%;
    }

 

    /* login dan regist */
    
    .bg-login {
        padding: 30vh 30vw;
    }
    .bg-register {
        padding: 25vh 30vw;
    }
    .bg-create {
        padding: 10vh 10vw;
    }
}

@media screen and (min-width:1200px){
    nav {
        padding: 0px 5vw;
    }
    .navs {
        width: 30vw;
    }
    .jumbotron{
        padding: 12vh 5vw;
    }
    .jumbotron-img {
        width: 25%;
    }
    /* jumbo */

    /* .text-wrap {
        width: 50vw;
        padding-right: 20vh;
    }

    .text-wrap-line {
        width: 52vw;
    } */

    /* .jumbo-img img{
        margin-right: 30vw;
    }

    .jumbo-layer3 img {
        margin-left: 30vw;
    }
     */


    .home-work {
        padding: 0 20vw 5vh 20vw;
    }

       /* wb */
   .wb ul {
        grid-template-columns: repeat(3, 31vw);
        gap : 1vw;
    }

    .bg-create {
        padding: 10vh 30vw;
    }
  
    .single-wb-background {
        padding: 0 15vw;
        padding-top: 7vh;
    }

    .about {
        padding: 0 15vw;
        padding-top: 7vh;
    }
}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       