footer {
    bottom: 0;
    width: 100%;
}

/* Soft light-blue shadow under the main navbar */
.navbar.bg-primary {
    box-shadow: 0 6px 12px -10px rgba(0, 180, 255, 0.45);
}

.project-container {
    width: 60% !important;
}

@media (max-width: 991px) {
    .project-container {
        width: 80% !important;
    }
}

@media (max-width: 500px) {
    .project-container {
        width: 90% !important;
    }
    .row-project {
        padding: 0px !important;
    }
}

.col-left {
    margin-top: 2%;
    margin-left: 2%;
    margin-bottom: 2%;
}

.text-justify {
    text-align: justify;
}

.keterangan-project {
    text-align: justify;
    animation: typing 3s steps(40) forwards;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.img-projects {
    width: 100%;
    margin-top: 6px;
    margin-bottom: 6px;
    border-radius: 5px;
    box-shadow: 0 0 0 0.15rem #460074;
    opacity: 0;
    margin-left: 5%;
    margin-top: 5%;
    margin-bottom: 5%;
    animation: slideInFromRight 0.8s ease-in-out forwards;
}

@media (max-width: 1113px) {
    .img-projects {
        margin-left: 0%;
    }
    .col-left {
        width: 100%;
        margin: 0;
        margin-top: 30px;
    }
    .img-projects {
        margin-bottom: 30px;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#github-link {
    width: 45%;
    margin-right: 4%;
}

#livedemo-link {
    width: 45%;
    margin-left: 4%;
    justify-content: right;
}

.btn-gradient-orange-to-secondary {
    background: rgb(83, 0, 128);
    background: linear-gradient(135deg, #800060 10%, rgb(83, 0, 128) 90%);
}

.btn-gradient-pink-to-red {
    background: #d63a4e;
    background: linear-gradient(135deg, #d63a4e 10%, #800060 90%);
}

.btn-gradient-orange-to-red {
    background: #d63a4e;
    background: linear-gradient(135deg, #c95d14 10%, #d63a4e 90%);
}

.btn-gradient-red-to-yellow {
    background: yellowgreen;
    background: linear-gradient(135deg, #c95d14 10%, rgb(184, 205, 50) 90%);
}

.btn-gradient-yellow-to-green {
    background: aqua;
    background: linear-gradient(135deg, aqua 10%, green 90%);
}

.btn-gradient-blue-to-ungu {
    background: rgb(83, 0, 128);
    background: linear-gradient(135deg, #9505f5 10%, #6d05f5 90%);
}
.btn-gradient-yellow-to-green {
    background: yellowgreen;
    background: linear-gradient(135deg, green 10%, rgb(184, 205, 50) 90%);
}

.btn-gradient-orange-to-secondary:hover {
    background-image: linear-gradient(
        to right,
        #800060,
        rgb(83, 0, 128),
        #800060
    );
    background-size: 200% auto;
    transition: background-position 0.3s;
    animation: gradientAnimation 1s linear infinite;
    /* Mengatur animasi */
    transform: scale(1.05) translateY(-5px);
}

.btn-gradient-pink-to-red:hover {
    background-image: linear-gradient(to right, #d63a4e, #800060, #d63a4e);
    background-size: 200% auto;
    transition: background-position 0.3s;
    animation: gradientAnimation 1s linear infinite;
    /* Mengatur animasi */
    transform: scale(1.05) translateY(-5px);
}

.btn-gradient-blue-to-ungu:hover {
    background-image: linear-gradient(to right, #9505f5, #6d05f5, #9505f5);
    background-size: 200% auto;
    transition: background-position 0.3s;
    animation: gradientAnimation 1s linear infinite;
    /* Mengatur animasi */
    transform: scale(1.05) translateY(-5px);
}
.btn-gradient-yellow-to-green:hover {
    background-image: linear-gradient(to right, green, rgb(184, 205, 50), green);
    background-size: 200% auto;
    transition: background-position 0.3s;
    animation: gradientAnimation 1s linear infinite;
    /* Mengatur animasi */
    transform: scale(1.05) translateY(-5px);
}

.btn-gradient-orange-to-red:hover {
    background-image: linear-gradient(to right, #c95d14, #d63a4e, #c95d14);
    background-size: 200% auto;
    transition: background-position 0.3s;
    animation: gradientAnimation 1s linear infinite;
    /* Mengatur animasi */
    transform: scale(1.05) translateY(-5px);
}

.btn-gradient-red-to-yellow:hover {
    background-image: linear-gradient(to right, yellowgreen, #c95d14, yellowgreen);
    background-size: 200% auto;
    transition: background-position 0.3s;
    animation: gradientAnimation 1s linear infinite;
    /* Mengatur animasi */
    transform: scale(1.05) translateY(-5px);
}

.btn-gradient-yellow-to-green:hover {
    background-image: linear-gradient(to right, aqua, green, aqua);
    background-size: 200% auto;
    transition: background-position 0.3s;
    animation: gradientAnimation 1s linear infinite;
    /* Mengatur animasi */
    transform: scale(1.05) translateY(-5px);
}

.photo-detail {
    max-width: 300px;
}

.detail-row {
    padding-left: 50px;
    padding-right: 50px;
}

.img-detail {
    flex: 0 0 auto;
    width: 9%;
}

.date-detail {
    flex: 0 0 auto;
    width: 80%;
}

@media (max-width: 1200px) {
    .detail-row {
        padding-left: 20px;
        padding-right: 20px;
    }
    .img-detail {
        flex: 0 0 auto;
        width: 10%;
    }
}

@media (max-width: 992px) {
    .detail-row {
        padding-left: 0px;
        padding-right: 0px;
    }
    .img-detail {
        flex: 0 0 auto;
        width: 12%;
    }
}

@media (max-width: 768px) {
    .img-detail {
        flex: 0 0 auto;
        width: 18%;
    }
}

@media (max-width: 500px) {
    .img-detail {
        flex: 0 0 auto;
        width: 25%;
    }
    .date-detail {
        flex: 0 0 auto;
        width: 75%;
    }
}

@media (max-width: 400px) {
    .img-detail {
        display: none;
    }
    .date-detail {
        flex: 0 0 auto;
        width: 95%;
    }
    .photo-detail {
        max-width: 100%;
    }
}


.icon-lang {
    margin-left: 100px;
    margin-right: 100px;
    font-size: 100px;
    color: steelblue;
}

.icon-lang:hover {
    color: yellowgreen;
}


@media (max-width: 992px) {
    .icon-lang {
        margin-left: 80px;
        margin-right: 80px;
        font-size: 90px;
    }
}

@media (max-width: 768px) {
    .icon-lang {
        margin-left: 70px;
        margin-right: 70px;
        font-size: 80px;
    }
}

@media (max-width: 484px) {
    .icon-lang {
        margin-left: 50px;
        margin-right: 50px;
        font-size: 70px;
    }
}

@media (max-width: 382px) {
    .icon-lang {
        margin-left: 35px;
        margin-right: 35px;
        font-size: 70px;
    }
}

@media (max-width: 322px) {
    .icon-lang {
        margin-left: 35px;
        margin-right: 35px;
        font-size: 50px;
    }
}


.lang-icon {
    display: inline-block;
    position: relative;
}

.lang-icon .icon-lang {
    margin-right: 10px; /* Jarak antara ikon dan teks */
}
.lang-text {
    display: none;
    position: absolute;
    bottom: calc(100% + -20px); /* Mengubah top menjadi bottom */
    left: 50%; /* Tetap di tengah */
    transform: translateX(-20%); /* Menyelaraskan di tengah */
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 999;
    font-size: 14px;
}

.lang-icon:hover .lang-text {
    display: block;
}
