@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sunflower:wght@300&display=swap');

/* Default light theme */
:root {
    --background-color: #666;
    --text-color: #999;
    --primary-color: #666;
    --secondary-color: #ccc;
    --hero-background: #000;
}

* {

}

body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
    background-color: #333;
}

section {
    padding: 80px 0;
    background-color: #333;
}



.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

.typing {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 500;
    white-space: wrap;
    overflow: wrap;
    word-wrap: break-word;
    width: auto;
}

@keyframes typing {
    to {
        width: auto;
    }
}

.skill-bar {
    background: #222;
    border-radius: 30px;
    overflow: hidden;
    height: 25px;
    margin-bottom: 15px;
}

.skill-fill {
    height: 100%;
    line-height: 25px;
    color: white;
    padding-left: 10px;
    width: 0;
    background: linear-gradient(135deg, rgba(21,48,69,1) 0%, rgba(127,50,198,1) 52%, rgba(95,67,121,1) 100%);
    transition: width 2s ease;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

/* Dark mode toggle button */
#darkModeToggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

.gradient-animation {
    margin: 0;
    background: linear-gradient(90deg, rgba(21,48,69,1) 0%, rgba(127,50,198,1) 52%, rgba(95,67,121,1) 100%);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
}

.sliderm__slide {
    height: auto;
    display: block;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

* {
    font-family: "Sunflower", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.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;
}

html {
  position: relative;
  min-height: 100%;
}

.glass-background {
    background-color: #25263699;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    opacity: 0.8;
}

.arrow {
    margin-top: 5px;
    width: 24px;
    height: 24px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

.scroll-container {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: 200px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(-45deg);
    }

    40% {
        transform: translateY(6px) rotate(-45deg);
    }

    60% {
        transform: translateY(3px) rotate(-45deg);
    }
}