html,
body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    font-family: "Roboto", sans-serif !important;
    font-size: 16px;
    background-color: #ffffff;
    color: black;
    /* background: linear-gradient(180deg, #00ffd5 0%, #bea8f0 100%); */
    /* text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); */
}

/* inputs validations start */

input:hover {
    background-color: #eeeeee;
}

input:user-valid {
    border: 2px solid green;
}

input:user-valid+span::before {
    content: "✓";
    color: green;
}

input:user-invalid {
    border: 2px solid red;
}

input:user-invalid+span::before {
    content: "✖";
    color: red;
}

/* inputs validations end */

/* From Uiverse.io by omar-alghaish */
.loader-1 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid rgb(218, 203, 4);
    border-left-color: transparent;
    animation: animate_681 3s linear infinite;
    position: relative;
}

.loader-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid rgb(0, 119, 255);
    border-top-color: transparent;
    animation: animate_6810 0.9s linear infinite;
    position: absolute;
    margin: 5px;
}

.loader-3 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 5px solid rgb(30, 255, 0);
    border-right-color: transparent;
    animation: animate_681 2s linear infinite;
    position: absolute;
    margin: 15px;
}

.loader-4 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 5px solid rgb(194, 3, 92);
    border-bottom-color: transparent;
    animation: animate_6810 0.7s linear infinite;
    position: absolute;
    margin: 25px;
}

@keyframes animate_6810 {
    0% {
        transform: rotate(360deg);
    }
}

@keyframes animate_681 {
    0% {
        transform: rotate(-360deg);
    }
}

/* Light Theme Styles (default) */

.bg-primary {
    background-color: #007bff !important;
    color: #fff;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.skill-card {
    background-color: #ffffff;
    color: black;
}

.accordion-button:hover {
    background-color: #007bff;
    color: #fff;
}

.project-item {
    transition: box-shadow 0.3s, transform 0.3s;
    padding: 10px;
    border-radius: 8px;
}

.project-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    background-color: #f8f9fa;
    /* optional: light background on hover */
}


/* Dark Theme Styles */
.dark-theme {
    background-color: #121212;
    color: #e0e0e0;

    .accordion-button:not(.collapsed) {
        background-color: #007bff;
        color: #fff;
    }

    .accordion-button {
        background-color: #121212;
        color: #e0e0e0;
    }

    .accordion-button:hover {
        /* background-color: #007bff; */
        background: linear-gradient(270deg, rgba(2, 29, 78, 0.681) 0%, rgba(31, 215, 232, 0.873) 60%);

        color: #fff;
    }

    .project-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
        background: linear-gradient(270deg, rgba(2, 29, 78, 0.681) 0%, rgba(31, 215, 232, 0.873) 60%);
        color: #e0e0e0;
    }

    .accordion-body {
        background-color: #121212;
        color: #e0e0e0;
    }

    .skillDivImg:hover {
        background: linear-gradient(270deg, rgba(2, 29, 78, 0.681) 0%, rgba(31, 215, 232, 0.873) 60%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }
}

.skillDivImg {
    transition: box-shadow 0.3s, transform 0.3s;
}

}

.dark-theme .bg-primary {
    background-color: black !important;
}

.dark-theme .card,
.dark-theme .skill-card {
    background-color: black;
    color: #e0e0e0;
}

.dark-theme .btn-primary {
    background-color: #4e4e4e;
    color: #e0e0e0;
}

.dark-theme .btn-light {
    background-color: #e0e0e0;
    color: black;
}


/* Adjust skill-card styling to look cohesive in dark mode */
.dark-theme .skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(255, 255, 255, 0.1);
}

.top_page {
    background: url(./../images/topPage.jpg) center center/cover no-repeat !important;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.paraTop {
    color: #ffffff !important;
    font-size: 1rem !important;
    text-align: justify !important;
    justify-self: center !important;
    max-width: 900px !important;
}

.darkModeBtn {
    position: absolute !important;
    top: 0% !important;
    left: 0% !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease-in-out !important;
}

.darkModeBtn:hover {
    transform: scale(1.05) !important;
}

.col-md-4 {
    min-width: 333px !important;
}

.bi-linkedin:hover {
    color: #0077b5 !important;
}

.bi-github:hover {
    color: #333 !important;
}

.bi-facebook:hover {
    color: #1957dd !important;
}

/* btn mirror  */
.btnMirror {
    cursor: pointer;
    -webkit-box-reflect: below 10px linear-gradient(to bottom, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.4));
}

.btnMirror:hover {
    background: linear-gradient(270deg, rgba(2, 29, 78, 0.681) 0%, rgba(31, 215, 232, 0.873) 60%);
}

.skillDivImg:hover {
    /* background: linear-gradient(270deg, rgba(2, 29, 78, 0.681) 0%, rgba(31, 215, 232, 0.873) 60%); */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.skillDivImg {
    transition: box-shadow 0.3s, transform 0.3s;
}