body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: scroll;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f0f0f0;
}

:root {
    --blob-opacity-1: 0.4;
    --blob-opacity-2: 0.1;
    --gradient-speed: 60s;
    --float-duration: 20s;
    --deform-duration: 8s;
    --menu-opacity: 0.4;
}

.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff, #5f27cd, #ff6b6b, #48dbfb, #ff9ff3, #54a0ff);
    background-size: 1000% 1000%;
    animation: gradientShift var(--gradient-speed) ease infinite;
    will-change: background-position;
}

@keyframes gradientShift {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: float var(--float-duration) ease-in-out infinite, deform var(--deform-duration) ease-in-out infinite alternate;
    will-change: transform, opacity, border-radius;
    pointer-events: none;
}

.gradient-blob {
    background: radial-gradient(circle at center, rgba(255, 255, 255, var(--blob-opacity-1)), rgba(255, 255, 255, var(--blob-opacity-2)));
}

.normal-blob {
    background-color: rgba(255, 255, 255, var(--blob-opacity-1));
}

body.dark-mode .normal-blob {
    background-color: rgba(255, 255, 255, 0.2);
    /* Adjust opacity as needed for dark mode */
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

@keyframes deform {

    0%,
    100% {
        border-radius: 50%;
    }

    25% {
        border-radius: 55% 45% 60% 40% / 55% 45% 60% 40%;
    }

    50% {
        border-radius: 45% 55% 40% 60% / 45% 55% 40% 60%;
    }

    75% {
        border-radius: 60% 40% 55% 45% / 60% 40% 55% 45%;
    }
}

.content {
    position: relative;
    z-index: 1;
    /* padding: 20px; */
    min-height: 100vh;
    color: black;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    /* justify-content: space-between; */
    /* height: 100vh; */
    line-height: 1.8;
    padding: 0rem 6rem;
    margin-top: 1.5em;
}

.secondary-content {
    margin-top: 30px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(214, 208, 208, 0.2);
}

#languageSelect {
    outline: none;
    border: 1px solid rgba(214, 208, 208, 0.2);
    padding: 8px 20px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(214, 208, 208, 0.2);
}

.product-link {
    color: blue;
}

.logo-container {
    display: flex;
    justify-items: center;
    align-items: center;
    gap: 1px;
    font-size: 1.3em;
}

.logo {
    height: 60px;
    /* Adjust size as needed */
    vertical-align: middle;
    margin-left: 5px;
    margin-bottom: 8px;
}

.logoPara {
    height: 35px;
    /* Adjust size as needed */
    vertical-align: middle;
    /* margin-left: 5px; */
    margin-top: -20px;
}



h1 {
    font-size: 1.5em;
    margin-bottom: .5em;
    /* text-align: center; */
}

.footer {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 1em;
    padding: 10px 0;
    height: 18vh;
    display: flex;
    justify-content: center;
    align-items: end;
}

.header {
    font-size: 1.3em;

}


@media (max-width: 830px) {
    .content {
        margin-top: 30px;
        padding: 0rem 2rem;
    }

    .logo {
        height: 70px;
        margin-left: 0px;
        margin-top: -0.1em;
        margin-bottom: -0.1em;
    }

    .logo-container {
        flex-direction: column;
        font-size: 1.1em;
        align-items: flex-start;
        width: 100%;
        font-weight: 100;
    }

    .header-1 {
        margin-bottom: 0px
    }

    .header {
        font-size: 1em;

    }

    h1 {
        font-size: 1.4em;
        margin-bottom: .5em;
        /* text-align: center; */
    }

    .logoPara {
        height: 30px;
        /* Adjust size as needed */
        vertical-align: middle;
        /* margin-left: 5px; */
        margin-top: -20px;
    }

    .footer {
        text-align: center;
        font-size: 0.9em;
        padding: 10px 0;
        height: 10vh;

    }

    .secondary-content {
        margin-top: 20px;
    }

}



.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    z-index: 1000;
}

.controls {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 60px;
    right: 20px;
    width: 250px;
    background-color: rgba(255, 255, 255, var(--menu-opacity));
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    z-index: 999;
}

.controls.show {
    display: flex;
}

.slider-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 10px 0;
}

input[type=range] {
    width: 150px;
    margin: 0 10px;
}

label {
    width: 100px;
    text-align: right;
    margin-right: 10px;
}

span {
    width: 50px;
    text-align: left;
    margin-left: 10px;
}

#fullscreen-btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, .2);
    border: 2px solid #fff;
    color: #fff;
    cursor: pointer;
    transition: opacity 1s ease, background-color .3s ease, transform .2s ease;
    border-radius: 20px;
    width: 200px;
}

#fullscreen-btn:hover {
    background-color: rgba(255, 255, 255, .3);
    transform: scale(1.05);
}

:fullscreen #fullscreen-btn {
    opacity: 0;
    pointer-events: none;
}

:fullscreen #fullscreen-btn:hover {
    opacity: 1;
    pointer-events: auto;
}

:fullscreen .header {
    display: none;

}

#fullscreen-btn,
#menu-toggle {
    transition: opacity 1s ease;
}

body {
    transition: cursor 1s ease;
}

body.cursor-hidden {
    cursor: none;
}

.toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 10px 0;
}

#blob-toggle {
    width: 40px;
    height: 20px;
    appearance: none;
    background: #ddd;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background .3s;
}

#blob-toggle:checked {
    background: #4caf50;
}

#blob-toggle::after {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 1px;
    left: 1px;
    transition: left .3s;
}

#blob-toggle:checked::after {
    left: 21px;
}

.dark-mode-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transition: opacity .3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .2);
}

.dark-mode-toggle:hover {
    background-color: rgba(255, 255, 255, .3);
}

:fullscreen .dark-mode-toggle {
    opacity: 1;
}

.dark-mode-toggle svg {
    width: 24px;
    height: 24px;
    color: #333;
    transition: transform .3s ease;
}

body.dark-mode .dark-mode-toggle svg {
    transform: rotate(40deg);
    color: #f0f0f0;
}

body.dark-mode .dark-mode-toggle {
    background-color: rgba(0, 0, 0, .2);
}

body.dark-mode .dark-mode-toggle:hover {
    background-color: rgba(0, 0, 0, .3);
}

body.dark-mode {
    background: #111;
}

body.dark-mode .gradient-background {
    background: linear-gradient(125deg, #1a1a2e, #16213e, #0f3460, #252525, #1f1f1f, #292929, #1a1a2e, #16213e, #0f3460, #252525);
}

body.dark-mode .content {
    color: #f0f0f0;
}

body.dark-mode .hamburger {
    color: #f0f0f0;
}

body.dark-mode .controls {
    background-color: rgba(40, 40, 40, var(--menu-opacity));
    color: #f0f0f0;
}

body.dark-mode #fullscreen-btn {
    background-color: rgba(60, 60, 60, .2);
    border-color: #f0f0f0;
    color: #f0f0f0;
}

body.dark-mode #fullscreen-btn:hover {
    background-color: rgba(80, 80, 80, .3);
}