:root {
    --primary-bg: #282C33;
    --primary-color: #2335C6;
    --grey-color: #ABB2BF;
}

html, body {
    font-family: 'Fira Code';
    background-color: var(--primary-bg);
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.logo {
    height: 16px;
    width: 16px;
}

.toggler-logo {
    height: 24px;
    width: 24px;
}

.side-logo {
    height: 32px;
    width: 32px;
}

@media (max-width: 991.98px) { /* Bootstrap's lg breakpoint */
    nav {
        background-color: var(--primary-bg);
    }

    #skills-container {
        position: relative;
        display: block;
    }

    .skills-acc, .skills-item {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    .skills-acc {
        z-index: 1;
    }

    .skills-item {
        z-index: 2;
    }
    
    .navbar .d-flex.ms-auto {
        flex-direction: column !important;
        gap: 0.5rem;
    }

     .side-logo-big {
        display: none;
    }

    main {
        overflow: hidden;
    }

    .quote-content {
        padding: 10px;
        color: white;
        border: 1px solid white;
    }

    .rectangle-grey, .rectangle-grey-projects, .rectangle-grey-aboutmedetail, .rectangle-grey-aboutmedetail-3, .rectangle-grey-about-me, .rectangle-grey-contactdetail, .dots-projects, .dots-aboutmedetail, .dots-contactdetail, .dots-aboutmedetail-2, .dots-aboutmedetail-3, .dots-about-me, .dots-contacts, #about-me-detail-items {
        display: none;
    }

    #quotes, #skills, #contacts {
        margin-top: 80px;
        overflow: hidden;
        position: relative;
    }

    #works, #about-me-detail, #contact-detail, #tools, #convert-image {
        overflow-x: hidden;
        position: relative;
    }

    #projects {
        margin-top: 80px;
        /* overflow-x: auto;
        overflow-y: hidden; */
        position: relative;
    }

    .skill-item {
        margin-bottom: 20px;
    }


    .skills-acc {
        min-height: 590px;
        position: relative;
    }

    .footer-media {
        margin-top: 20px;
        text-align: center;
    }

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

    .img-carousel {
        height: 177px;
    }

    #about-me {
        margin-top: 20px;
        overflow: hidden;
        position: relative;
    }
}

@media (min-width: 992px) {
    .navbar .d-flex.ms-auto {
        flex-direction: row !important;
        gap: 0.5rem;
    }

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

    .side-logo-small {
        display: none;
    }

    .vertical-line {
    width: 1px;
    height: 191px;
    background-color: #fff;
    border-radius: 1px;
    }

    .quote-content {
        padding: 25px;
        color: white;
        border: 1px solid var(--grey-color);
    }

    #quotes, #projects, #skills, #contacts {
        margin-top: 112px;
        overflow: hidden;
        position: relative;
    }

    #works, #about-me-detail, #contact-detail, #tools, #convert-image {
        overflow: hidden;
        position: relative;
    }

    .skills-acc {
        min-height: 350px;
        position: relative;
    }

    .container {
        max-width: 87vw;
    }

    .quote-container {
        width: 75%;
    }

    .img-carousel {
        height: 211px;
    }

    #about-me {
        margin-top: 100px;
        overflow: hidden;
        position: relative;
    }
}

.logo-home {
    height: 155px;
    width: 155px;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 20px;
}

.profile-home {
    max-height: 386px;
}

.profile-about-me {
    z-index: 1;
}

.container-profile-home {
    z-index: 2;
    position: absolute;
    left: 0;
}

.dots-home {
    height: 84px;
    width: 84px;
    position: absolute;
    z-index: 3;
    top: 230px;
    right: 120px;
}

.dots-projects {
    height: 84px;
    width: 84px;
    background-size: cover;
    background-image: url('/images/dots.png');
    position: absolute;
    left: -55px;
}

.dots-aboutmedetail {
    height: 49px;
    width: 49px;
    background-size: cover;
    background-image: url('/images/dots.png');
    position: absolute;
    left: -20px;
    top: 300px;
}

.dots-aboutmedetail-2 {
    height: 103px;
    width: 103px;
    background-size: cover;
    background-image: url('/images/dots.png');
    position: absolute;
    right: -30px;
    top: 600px;
}

.dots-about-me {
    height: 103px;
    width: 103px;
    background-size: cover;
    background-image: url('/images/dots.png');
    position: absolute;
    right: -30px;
    top: 300px;
}

.dots-contacts {
    height: 103px;
    width: 103px;
    background-size: cover;
    background-image: url('/images/dots.png');
    position: absolute;
    left: -50px;
    top: 94px;
    /* margin-left: -80px;
    margin-top: 94px; */
}

.dots-skills-1 {
    height: 63px;
    width: 63px;
    background-size: cover;
    background-image: url('/images/dots.png');
    position: absolute;
    top: 50px;
    left: 32px;
}

.dots-skills-2 {
    height: 63px;
    width: 63px;
    background-size: cover;
    background-image: url('/images/dots.png');
    position: absolute;
    top: 155px;
    left: 209px;
}

.dots-about-me-pp {
    height: 84px;
    width: 84px;
    position: absolute;
    background-size: cover;
    background-image: url('/images/dots.png');
    z-index: 3;
    top: 59px;
    left: 120px;
}

.dots-about-me-pp-rectangle {
    height: 56px;
    width: 104px;
    position: absolute;
    background-size: cover;
    background-image: url('/images/dots_rectangle.png');
    z-index: 3;
    top: 250px;
    right: 180px;
}

.rectangle-skills-1 {
    height: 86px;
    width: 86px;
    border: 1px solid var(--grey-color);
    position: absolute;
    top: 12px;
    right: 46px;
}

.rectangle-skills-2 {
    height: 52px;
    width: 52px;
    border: 1px solid var(--grey-color);
    position: absolute;
    top: 205px;
    right: 10px;
}

.logo-skills {
    height: 113px;
    width: 113px;
    background-size: cover;
    background-image: url('/images/logo.png');
    position: absolute;
    top: 181px;
    left: 47px;
}

.container-home {
    min-height: 386px;
}

.currently-working {
    border: 1px solid var(--grey-color);
    padding: 7px 5px;
}

.blue-box {
    height: 16px;
    width: 16px;
    background-color: #2335C6;
}

.color-grey {
    color:  var(--grey-color);
}

.color-primary {
    color: var(--primary-color);
}

.primary-bg {
    background-color: var(--primary-bg);
}

.text-1-home {
    font-size: 32px;
}

.btn-contact-me {
    border: 1px solid var(--primary-color);
    padding: 10px;
    color: white;
    text-decoration: none;
}

.btn-live {
    border: 1px solid var(--primary-color);
    padding: 7px 10px;
    color: white;
    text-decoration: none;
}

.rectangle-grey {
    height: 91px;
    width: 91px;
    border: 1px solid var(--grey-color);
    position: absolute;
    right: -20px;
}

.rectangle-grey-projects {
    height: 155px;
    width: 155px;
    border: 1px solid var(--grey-color);
    position: absolute;
    right: -90px;
}

.rectangle-grey-aboutmedetail {
    height: 155px;
    width: 155px;
    border: 1px solid var(--grey-color);
    position: absolute;
    right: -90px;
    top: 210px;
}

.rectangle-grey-aboutmedetail-3 {
    height: 155px;
    width: 155px;
    border: 1px solid var(--grey-color);
    position: absolute;
    left: -90px;
    top: 1010px;
}

.rectangle-grey-about-me {
    height: 155px;
    width: 155px;
    border: 1px solid var(--grey-color);
    position: absolute;
    left: -110px;
    top: 200px;
}

.quotation {
    width: 25.47px;
    height: 20.7px;
    position: absolute;
    top: -10px;
    background-color: var(--primary-bg);
}

#contacts {
    min-height: 300px;
}

.quotation-2 {
    width: 25.47px;
    height: 20.7px;
    position: absolute;
    bottom: -10px;
    right: 10px;
    background-color: var(--primary-bg);
}

.horizontal-line {
    width: 100vw;
    height: 1px;
    background-color: var(--primary-color);
    border-radius: 1px;
}

.img-project {
    height: 201px;
    width: 100%;
    
}

.project-card {
    /* max-width: 330.58px; */
    border: 1px solid var(--grey-color);
}

.border-grey-custom {
    border: 1px solid var(--grey-color);
}

.box-contacts {
    height: 141px;
    /* width: 280px; */
}

.projects-container {
    overflow-x: scroll;
    /* white-space: nowrap; */
    gap: 1.5rem; /* Optional: adds space between cards */
    padding-bottom: 1rem; /* Optional: for scrollbar clearance */
    overflow-y: hidden;
}

.projects-container > .col-4 {
    flex: 0 0 330.58px; /* Fixed width for each card */
    width: 330.58px;
}

.logo-contacts {
    height: 35px;
    width: 35px;
}

.logo-footer {
    height: 16px;
    width: 16px;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.scroll-animate > * {
  /* REMOVE opacity: 0 here! */
  transform: translateY(20px); /* keep this if you want */
}

.scroll-animate[data-anim="typewriter"]  {
  opacity: 1 !important;
  transform: none;
}


.scroll-animate[data-anim="typewriter"]::after {
  content: '|';
  animation: blink 1s step-end infinite;
  display: inline-block;
  margin-left: 4px;
}

.scroll-animate[data-anim="flip-full-x"],
.scroll-animate[data-anim="flip-full-y"] {
  opacity: 1 !important;
  transform-style: preserve-3d;
  backface-visibility: visible;
}


@keyframes blink {
  50% { opacity: 0; }
}

.active {
    color: white !important;
}

 /* Add your custom splash screen styles */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background-color: #282C33;
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

#splash-screen .logo-img {
    width: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

#splash-screen .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top: 4px solid #2335C6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.2rem;
}

#splash-screen .loading-text {
    font-size: 0.95rem;
    color: #ccc;
    letter-spacing: 0.5px;
    opacity: 0.85;
    position: relative;
}

#splash-screen .loading-text::after {
    content: "";
    animation: dots 1.5s infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes dots {
    0%, 20% { content: "."; }
    40% { content: ".."; }
    60%, 100% { content: "..."; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Content fade-in animation */
body.content-ready {
    animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card-component {
    background-color: #1E2024; color: #F1F1F1;
}

.card-custom {
    background-color: #1E2024;
    color: #F1F1F1;
    max-width: 100%;
    overflow: hidden;
}
.carousel-col {
    position: relative;
    overflow: hidden;
}
.carousel-img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

.carousel-img-2 {
    object-fit: cover;
    height: auto;
}

#about-me-detail-item {
    min-height: 170px;
}

.about-me-detail-dots {
    height: 64px;
    width: 64px;
    position: absolute;
    top: 0;
    left: 0;
}

.about-me-detail-logo {
    height: 103px;
    width: 103px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.about-me-detail-item-box {
    height: 170px;
    width: 170px;
}

.dots-aboutmedetail-3 {
    height: 103px;
    width: 103px;
    background-size: cover;
    background-image: url('/images/dots.png');
    position: absolute;
    right: -70px;
    top: 1200px;
}

.aboutmedetail-container {
    margin-bottom: 150px;
}

.dots-contactdetail {
    height: 49px;
    width: 49px;
    background-size: cover;
    background-image: url('/images/dots.png');
    position: absolute;
    left: -20px;
    top: 300px;
}

.rectangle-grey-contactdetail {
    height: 155px;
    width: 155px;
    border: 1px solid var(--grey-color);
    position: absolute;
    right: -90px;
    top: 200px;
}