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: 8em;
    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;
}

/* responsive */
@media screen and (max-width: 820px) {
    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);
    }
}
