body {
    background-color: #F1F5FB;
    scroll-behavior: smooth;
}

/* navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
}

.navbar ~ .container {
    margin-top: 90px;
}

.navbar img.navbar-logo {
    width: 140px;
    height: auto;
}

.navbar-floating  {
    position: relative;
    top: 10px;
}

.navbar-floating .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-floating .container > div:first-child,
.navbar-floating .container > div:last-child {
    flex: 0 0 160px;
}

.navbar-floating .container > div:last-child {
    text-align: right;
}

.navbar-floating .navbar-logo {
    width: 140px;
    height: auto;
}

.navbar-floating .navbar-nav {
    background: var(--light);
    border: solid 1px #EEE;
    flex-direction: row;
    padding: 5px;
    border-radius: 30px;
    box-shadow: 0 2px 5px #88888810;
}

.navbar-floating .nav-link {
    font-size: 1.1em;
    padding: .6rem 1.5rem;
    border-radius: 25px;
    transition: all .2s ease-in-out;
}

.navbar-floating .nav-link:hover,
.navbar-floating .nav-link.active {
    background-color: var(--primary);
    color: var(--light);
}

.navbar-floating .nav-link:hover {
    background-color: #4664E6CC;
}

/* home */
#home .card img {
    width: 100%;
    height: auto;
}

#home .card {
    padding: 10px;
}

.jenis span {
    padding: .50rem 1rem;
    background-color: #fff;
    border-radius: 15px;
    color: #6c757d;
    font-size: .9em;
    font-weight: 500;
    border: 1.2px solid transparent;
    transition: all .2s linear;
    cursor: pointer;
}

.jenis span:hover,
.jenis span.active {
    border: 1.2px solid #4664E6;
    color: #4664E6;
}

/* portofolio-detail */
#portofolio-detail .description h2 {
    font-weight: 700 !important;
}

#portofolio-detail .description p {
    color: #6c757d;
    text-align: start;
    text-space: -20px;
}

/* footer */
footer {
    margin-top: 0;
    background-color: #111A3F;
    color: var(--light);
}

footer > .info {
    text-align: center;
    height: 60px;
    line-height: 60px;
    font-size: 14px;
    color: #FFFFFF80;
    background-color: #0b1336;
}

footer h4,
footer .logo-full {
    height: 50px;
    margin-bottom: 40px;
}

footer p {
    opacity: .8;
}

footer .social {
    display: flex;
    align-items: center;
}

footer .social a {
    display: inline-block;
    background-color: var(--light);
    height: 40px;
    width: 40px;
    line-height: 45px;
    margin-right: 10px;
    text-align: center;
    border-radius: 50%;
    color: #0b1336;
    transition: all .3s ease-in-out;
}

footer .social a:hover {
    transform: translateY(-6px);
    background-color: #4564E5;
    color: var(--light);
}

footer .social a > i {
    font-size: 22px;
}

footer .wrap-subcribe {
    position: relative;
}

footer .wrap-subcribe .form-control {
    border-radius: 12px;
    padding: .8rem .9rem;
    border: 0;
}

footer .wrap-subcribe .btn {
    position: absolute;
    top: 4px;
    right: 4px;
    border: 0;
    background-color: #4564E5;
    color: var(--light);
    outline: 0;
    font-size: .9rem;
    padding: .5rem 1.1rem .6rem;
}

footer .wrap-subcribe .btn:hover {
    background-color: #111A3F;
}

/* style */
.btn-light-custom {
    background-color: var(--light);
    border-color: var(--light);
    font-size: 1em !important;
    padding: .7rem 2rem;
    border-radius: 8px;
    margin: 0 4px;
    transition: all .3s ease-in-out;
}

.btn-light-custom:hover,
.btn-light-custom.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

.card-link {
    transition: all .3s ease-in-out;
}

.card-link:hover {
    transform: translateY(-6px);
}

.wrap-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: start;
}

.wrap-tools div {
    background-color: rgba(255, 255, 255, 0.35);
    flex: 0 0 165px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    cursor: pointer;
}

.wrap-tools div:hover {
    background-color: #FFF;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 0px 0px 1px;
}

.wrap-tools img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    object-position: center;
}


header {
    position: relative;
    height: auto;
    z-index: 2;
    /* position: fixed; */
    width: 100%;
}
header nav {
    border-bottom: .1px solid #ffffff1f;
    /* padding: 0 90px; */
    display: flex;
    height: 60px;
    justify-content: space-between;
    align-items: center;
}
header nav.container{
    /* max-width: 90vw!important; */
    padding-inline: 30px;
}
header nav .logo a {
    margin: 0;
    text-decoration: none;
    transition: 0.3s;
    text-align: center;
}
header nav .logo a img {
    width: 110px;
    height: auto;
}
header nav ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    margin: 0;
    align-items: center;
}
header nav ul li {
    list-style: none;
    margin-right: 10px;
}
header nav ul li a {
    text-decoration: none;
    font-weight: 400;
    font-size: .9rem;
    transition: .2s ease-in-out;
}
header nav.dark ul li a {
    color: #2c2ca9;
}
header nav.dark .menu-toggle span,
header nav.dark .menu-toggle input:checked ~ span:nth-child(2),
header nav.dark .menu-toggle input:checked ~ span:nth-child(4){
    background-color: #2c2ca9;
}

header nav ul li a.btdanger{
    border-radius: 50px;
    padding: 6px 16px;
    background-color: #4564E5;
}
header nav ul li a:hover,
header nav ul li a.active{
    color: #4564E5;
}

header .menu-toggle {
    display: none;
    flex-direction: column;
    height: 17px;
    justify-content: space-between;
    position: relative;
}
header .menu-toggle input {
    position: absolute;
    width: 41px;
    height: 31px;
    opacity: 0;
    left: -7px;
    top: -4px;
    cursor: pointer;
    z-index: 1;
}
header .menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #4564E5;
    border-radius: 3px;
    transition: all 0.5s;
}
header .menu-toggle span:nth-child(2) {
    transform-origin: 0 0;
}
header .menu-toggle span:nth-child(4) {
    transform-origin: 0 100%;
}
header .menu-toggle input:checked ~ span:nth-child(2) {
    background-color: #4564E5;
    transform: rotate(45deg) translate(-3px, -1px);
}
header .menu-toggle input:checked ~ span:nth-child(4) {
    background-color: #4564E5;
    transform: rotate(-45deg) translate(-3px, -0.5px);
}
header .menu-toggle input:checked ~ span:nth-child(3) {
    opacity: 0;
    transform: scale(0);
}
@media screen and (min-width: 820px) {
    header{
        display: none;
    }
}


/* responsive */
@media screen and (max-width: 820px) {
    .navbar{
        display: none;
    }

    header nav{
        padding: 20px;
    }

    header .menu-toggle {
        display: flex;
    }

    header {
    }
    header nav {
        flex-wrap: wrap;
        height: fit-content;
        transition: all 0.3s;
    }
    header nav.container{
         /* max-width: 90vw!important; */
         padding-inline: 15px!important;
        padding-block: 0;
    }
    header nav ul {
        padding-left: 0;
        width: 100%;
        flex-direction: column;
        justify-content: start;
        transition: none;
        z-index: -4;
        opacity: 0;
        height: 0;
        align-items: center;
        gap: 10px;
        transition: all 0.3s;
        /* overflow: hidden; */
    }
    header nav ul li a {
        display: none;
        border-radius: 4px;
        color: #222222;
        padding: 5px 10px;
        /* background: #fff; */
    }
    header nav ul li a:hover {
        color: #4564E5;
        /* background: #01026f; */
    }
    header nav ul.slide {
        opacity: 1;
        height: auto;
        transition: all 0.1s;
        padding-block: 20px;
        border-radius: 6px;
    }
    header nav ul.slide li a {
        display: inline-block;
    }
    header nav .logo a img {
        width: 110px;
    }
    header nav ul li {
        margin-right: 0;
    }

    footer h4,
    footer .logo-full,
    footer p {
        height: auto;
        margin-bottom: 0;
    }

    footer .mb-mobile {
        margin-bottom: 40px;
    }

    footer h4, footer p {
        margin-bottom: 10px;
    }

    footer .logo-full {
        width: 170px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding-inline: 15px;
    }

    .navbar-floating .container {
        flex-wrap: wrap;
    }

    .navbar-floating .container > div:first-child,
    .navbar-floating .container > div:last-child {
        flex: 0 0 50%;
    }

    .navbar-floating .container > div:nth-child(2) {
        flex: 0 0 100%;
        order: 3;
        overflow: auto;
    }

    .navbar-floating .navbar-nav {
        display: block;
        border-radius: 12px;
    }

    .navbar-floating .nav-link {
        border-radius: 12px;
        padding: .7rem 1rem .6rem;
    }

    footer .container {
        padding-inline: 25px;
    }

    footer .logo-full {
        width: 150px;
        margin-bottom: 15px;
    }

    .wrap-tools div {
        flex: 0 0 calc(50% - 8px);
    }
}
