/*==================================*\
    #style.css
\*==================================*/

/**
 * copyright 2024 @denisetiawanpratama
 */

/*==================================*\
    #CUSTOM PROPERTY
\*==================================*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
    --c-body-: #fafafa;
    --c-border-1: #ececec;
    --c-border-2: #ececec;
    --c-bg-blue-btn: #017bfe;
    --c-bg-orange-btn: #f45c23;
    --c-line: #ececec;
    --c-gray: #abaaaa;
    --c-black: #090908;
    --c-view-all: #7a7a7b;
    --c-latest: #212121;
    --c-available: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    /* scroll-padding: 2rem; */
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

img,
remix-icon,
a,
button,
time,
span {
    display: block;
}

img {
    max-width: 100%;
    object-fit: cover;
}

button {
    font: inherit;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

input,
textarea {
    display: block;
    width: 100%;
    background: none;
    font: inherit;
}

::selection {
    background: #222;
    color: #f7f7f7;
}

:focus {
    outline-color: var(--orange-yellow-crayola);
}

html {
    font-family: var(--ff-poppins);
}

body {
    background: var(--c-body-);
}


/*==================================*\
    #REUSED STYLE HTML
\*==================================*/


/* GLOBAL CSS */

.px-6 {
    padding-left: 7.5em;
    padding-right: 7.5em;
}

.fs-6 {
    font-size: 12px !important;
}

.fs-7 {
    font-size: 13px;
}

.rounded {
    border-radius: 15px !important;
}

.border-secondary {
    border-color: var(--c-border-1) !important;
}

.text-secondary {
    color: var(--c-gray) !important;
}

.btn-secondary {
    background: var(--c-gray) !important;
}


/* ANIMATE */

@keyframes wave-animation {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(10deg) scale(1);
    }

    35% {
        transform: rotate(15deg) scale(1);
    }

    50% {
        transform: rotate(0deg) scale(1);
    }

    75% {
        transform: rotate(-5deg) scale(1);
    }

    85% {
        transform: rotate(5deg) scale(1);
    }

    95% {
        transform: rotate(-5deg) scale(1);
    }

    100% {
        transform: rotate(0deg) scale(1.05);
    }
}

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes fade-down {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes zoom-out {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}

@keyframes fade-out {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}


/* NAVBAR */

header {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    border: 1px solid #eeeeef;
    background: #fefffe;
    box-shadow: 0px 8px 10px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 14px;
    padding: 10px 6px;
    z-index: 999;
}

nav .nav-links {
    /* animation: fade-up 0.5s 0.4s backwards; */
    display: flex;
    gap: 8px;
}

nav .nav-links a {
    font-size: 25px;
    color: #afafae;
    transition: all 0.3s ease;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    padding: 3px 11px;
    z-index: 9999;
}

nav .nav-links a:hover {
    color: #000;
    border-color: #535353;
}

nav .nav-links a.active {
    background: var(--c-bg-blue-btn);
    color: #fff;
    border-color: var(--c-bg-blue-btn);
}


/* ALL TOOLTIP CSS */

.tooltip-stack,
.tooltip-store,
.tooltip-projects,
.tooltip-about,
.tooltip-contact,
.tooltip-stack {
    --bs-tooltip-bg: #000;
    --bs-tooltip-color: #fff;
}


/* ALL ABOUT */

#brawlhalla {
    padding-top: 50px;
    padding-bottom: 80px;
}

#brawlhalla .border {
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 30px 40px;
}


/* ALL PROFILE */

.profile {
    border: 1px solid var(--c-border-2);
    border-radius: 60px;
    padding: 8px 8px;
}

.profile .front {
    font-size: 12px;
    color: var(--c-gray);
}

.profile .text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile .text i {
    font-size: 10px !important;
    color: #00b33c;
    animation: blink 1.3s infinite;
}

.profile .text h6 {
    font-size: 14px;
    color: var(--c-available);
    margin-right: 20px;
    font-weight: 600;
    letter-spacing: 0;
}

.profile h5 {
    font-size: 18px;
    color: var(--c-black);
}

.profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: transform .3s ease-out;
}

.profile img:hover {
    transform: scale(1.1);
}


/* ALL LINE */

.line {
    border: 1px solid var(--c-line);
}


/* ALL BRAWLHALLA */

.link-back-project .arrow-long {
    margin-right: 0.4em;
    position: relative;
    transition: all 0.3s ease;
}

.link-back-project:hover .arrow-long {
    translate: -30%;
}


/* MORE PROJECTS */

.card {
    background-color: var(--c-body-);
    padding: 10px 10px 0px 10px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #aaaaaa;
}

.card .card-body {
    padding: 8px 8px 0px 8px;
}

.card .card-body .card-title {
    color: var(--c-black);
    font-weight: 700;
    transition: color 0.3s ease;
}

.card .card-body .card-title:hover {
    color: var(--c-gray);
}

.card .card-body .desk-card {
    color: #a7a7a7;
    font-weight: 400;
}

/* ALL SOCIAL-MEDIA */

.social-media a {
    color: var(--c-gray) !important;
    transition: all 0.3s ease;
}

.social-media a:hover {
    color: var(--c-latest) !important;
    transform: scale(1.1);
}

.social-media-footer {
    display: none !important;
}

.social-media-footer a {
    color: var(--c-gray) !important;
    transition: all 0.3s ease;
}

.social-media-footer a:hover {
    color: var(--c-latest) !important;
    transform: scale(1.1);
}


/* ALL FOOTER */

#footer .admin-footer {
    color: var(--c-bg-orange-btn) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: underline !important;
}

#footer .admin-footer:hover {
    text-decoration: underline;
    color: var(--c-latest) !important;
}


/*==================================*\
    #RESPONSIVE
\*==================================*/

/* @media (max-width: 1200px) {} */

@media (max-width: 992px) {
    #brawlhalla {
        padding-top: 25px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 75px;
    }

    .px-6 {
        padding-left: 2em;
        padding-right: 2em;
    }

    .profile .text i,
    .profile .text h6 {
        display: none;
    }

    .profile h5 {
        font-size: 14px;
    }

    .profile .front {
        font-size: 12px;
    }

    #backButton i,
    #backButton span {
        font-size: 13px !important;
    }

    .image-title {
       max-height: 350px !important;
    }

    .title-project h1 {
        font-size: 25px !important;
    }

    .title-project p {
        font-size: 13px !important;
    }

    .button-brawlhalla .btn {
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
    }
}

@media (max-width: 768px) {
    #brawlhalla {
        padding-top: 25px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 75px;
    }

    #brawlhalla .border {
        padding: 16px 16px;
    }

    .px-6 {
        padding: 0px 0px;
    }

    .link-back-project {
        width: 35% !important;
    }

    #footer .posisi-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }

    .image-title {
        height: 300px !important;
    }
}

@media (max-width: 576px) {
    nav .nav-links a {
        font-size: 20px;
        padding: 1px 9px;
    }

    #brawlhalla {
        padding-top: 25px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 65px;
    }

    .px-6 {
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

    .border {
        padding: 20px 20px;
    }

    .image-title {
        height: 250px !important;
    }
}

@media (max-width: 450px) {
    #brawlhalla {
        padding-bottom: 65px;
    }

    .social-media {
        display: none !important;
        margin: 0;
        padding: 0;
    }

    .social-media-footer {
        display: flex !important;
        margin: 0;
        padding: 0;
    }

    .link-back-project {
        width: 45% !important;
    }

    .image-title {
        height: 200px !important;
    }
}

@media (max-width: 360px) {
    .my-name {
        font-size: 12px !important;
    }

    .front {
        font-size: 10px !important;
    }

    .profile img {
        width: 35px !important;
        height: 35px !important;
    }

    .link-back-project {
        width: 100% !important;
    }

    .image-title {
        height: 150px !important;
    }
}