@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: 'goodtimes';
    src: url('../font/good_times_rg.otf') format('opentype');
    /* Weitere Format-Optionen hier hinzuf�gen, falls notwendig */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lazymonday';
    src: url('../font/Lazy_Monday.otf') format('opentype');
    /* Weitere Format-Optionen hier hinzuf�gen, falls notwendig */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lettersforlearners';
    src: url('../font/Letters_for_Learners.ttf') format('truetype');
    /* Weitere Format-Optionen hier hinzuf�gen, falls notwendig */
    font-weight: normal;
    font-style: normal;
}

.earth {
    /*width: 200%;*/
    width: 75%;
    /*background: linear-gradient(rgba(33, 37, 41, .3) 0%, rgba(33,37,41,.5) 60%, rgba(33,37,41, 1)), url(../images/earth-140672.webp);*/
    background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 47%, rgba(0,0,0,.5) 80%), url(../images/planets/earth-140672-2.webp);
    background-size: cover;
    background-repeat: repeat;
    position: fixed;
    bottom: 0;
    /*transform: translateY(85%) !important;*/
    /*transform: translateY(50%) !important; original */
    transform: translateY(50%);
    /*left: -75%;*/
    left: -10%;
    z-index: 2;
    filter: blur(1px);
    -webkit-filter: blur(1px);
    -moz-filter: blur(1px);
    -o-filter: blur(1px);
    -ms-filter: blur(1px);
    box-shadow: inset 0 0 100px 50px rgb(33,37,41);
    transition: all .5s;
}

.moon {
    width: 15%;
    /*background: linear-gradient(rgba(33, 37, 41, .5) 0%, rgba(33,37,41,.75) 60%, rgba(33,37,41, 1)), url(../images/8k_moon.webp);*/
    background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 47%, rgba(0,0,0,1) 80%), url(../images/planets/8k_moon.webp);
    background-size: cover;
    background-repeat: repeat;
    position: fixed;
    bottom: 50%;
    right: 10%;
    z-index: 1;
    filter: blur(1px);
    -webkit-filter: blur(1px);
    -moz-filter: blur(1px);
    -o-filter: blur(1px);
    -ms-filter: blur(1px);
    box-shadow: inset 0 0 100px 50px rgb(33,37,41);
    transition: all .5s;
}

/*@media (min-width: 768px) {*/
    .earth {
        animation: rotate-earth 350s linear infinite;
        /*animation-delay: 5s;*/
    }
    .earth::after {
        animation: rotate-earth 230s linear infinite;
        /*animation-delay: 5s;*/
    }
    .moon {
        animation: rotate-earth 300s linear infinite;
        /*animation-delay: 5s;*/
    }
/*}*/

@media (max-width: 768px) {
    /*.earth, .moon {
        display: none;
    }*/
    .earth {
        width: 100%;
        transform: translateY(-10%) !important;
    }
    .moon {
        box-shadow: inset 0 0 15px 10px rgb(33,37,41);
    }
}

/*@media (min-width: 550px) and (max-width: 768px) and (min-height: 580px) {
    .earth {
        width: 100%;
        transform: translateY(30%) !important;
    }
}*/

/*@media (max-width: 768px) and (max-height: 580px) {
    .earth {
        width: 100%;
        transform: translateY(20%) !important;
    }
}

@media (max-width: 768px) and (max-height: 450px) {
    .earth {
        width: 100%;
        transform: translateY(30%) !important;
    }
}*/

@media (max-width: 768px) {
    .earth {
        top: 30%;
        bottom: auto;
        left: -40%;
        width: 100%;
        transform: translateY(20%) !important;
        background: linear-gradient(rgba(33, 37, 41, .3) 0%, rgba(33,37,41,.5) 60%, rgba(33,37,41, 1)), url(../images/planets/earth-140672-2.webp);
    }
        .earth::after {
            background: linear-gradient(rgba(33, 37, 41, .3) 0%, rgba(33,37,41,.5) 60%, rgba(33,37,41, 1)), url(../images/planets/8k_earth_clouds-2.webp);
        }
    .moon {
        background: linear-gradient(rgba(33, 37, 41, .5) 0%, rgba(33,37,41,.75) 60%, rgba(33,37,41, 1)), url(../images/planets/8k_moon.webp);
    }

    .earth {
        animation: rotate-earth 220s linear infinite;
        /*animation-delay: 5s;*/
    }
    .earth::after {
        animation: rotate-earth 100s linear infinite;
        /*animation-delay: 5s;*/
    }
    .moon {
        animation: rotate-earth 170s linear infinite;
        /*animation-delay: 5s;*/
    }
}

.earth::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    /*background: linear-gradient(rgba(33, 37, 41, .3) 0%, rgba(33,37,41,.5) 60%, rgba(33,37,41, 1)), url(../images/8k_earth_clouds-2.webp);*/
    background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,0.0) 47%, rgba(0,0,0,.7) 80%), url(../images/planets/8k_earth_clouds-2.png);
    background-size: cover;
    background-repeat: repeat;
    filter: blur(1px);
    box-shadow: inset 0 0 100px 50px rgb(33,37,41);
    transition: all .5s;
}

@keyframes rotate-earth {
    from {
        background-position: 100% 0;
    }
    to {
        background-position: -100% 0;
    }
}

.text-eath-behind {
    color: white;
    text-shadow: 0 0 10px white;
    text-align: center;
}

:root {
    --bs-dark-rgb: 5, 5, 6;
}

html {
    background-color: rgb(5, 5, 6) !important;
    background-image: url(../images/planets/8k_stars_milky_way__and__8k_stars.webp);
    /*background-size: cover;*/
    background-repeat: repeat;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    z-index: 3;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.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;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.future-font {
    font-family: 'goodtimes', sans-serif !important;
}

.futuristic-nav .nav-link,
.futuristic-nav .navbar-brand {
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.futuristic-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    box-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.futuristic-nav .nav-link:hover::before {
    width: 100%;
}

.futuristic-modal {
    background: rgba(5, 5, 6, 0.9) !important;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.futuristic-modal .modal-header {
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.futuristic-modal .modal-title {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.futuristic-modal .nav-link {
    transition: all 0.3s ease;
}

.futuristic-modal .nav-link:hover {
    color: #00d4ff !important;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

/* Masonry Grid */
.masonry-grid {
    column-count: 2;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* Futuristic Cards */
.futuristic-card {
    background: rgba(5, 5, 6, 0.8) !important;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.futuristic-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

/* Futuristic Buttons */
.futuristic-btn {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    transition: all 0.3s ease;
}

.futuristic-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* Futuristic Badges */
.futuristic-badge {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: #00d4ff;
}

/* Projects Page */
.projects-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: 5rem;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-pill {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'goodtimes', sans-serif;
    position: relative;
    letter-spacing: 0.1em;
}

.filter-pill::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.filter-pill:hover {
    color: rgba(255, 255, 255, 0.7);
}

.filter-pill:hover::before {
    transform: scaleX(1);
}

.filter-pill.active {
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.filter-pill.active::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    box-shadow: 0 0 10px #00d4ff;
}

.projects-grid {
    column-count: 2;
    column-gap: 2rem;
}

@media (max-width: 900px) {
    .projects-grid {
        column-count: 1;
    }
}

@media (max-width: 600px) {
    .projects-wrapper {
        padding: 1rem 0.5rem;
        padding-bottom: 5rem;
    }

    .filter-bar-desktop {
        display: none;
    }

    .filter-bar-mobile {
        display: flex;
    }
}

@media (min-width: 601px) {
    .filter-bar-mobile {
        display: none;
    }
}

.filter-dropdown {
    width: 100%;
    max-width: 200px;
    padding: 0.75rem 1.5rem;
    background: rgba(5, 5, 8, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    font-family: 'goodtimes', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300d4ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.filter-dropdown option {
    background: rgba(5, 5, 8, 0.98);
    color: #00d4ff;
}

/* HUD-Style Project Cards */
.project-card {
    text-decoration: none;
    display: block;
    break-inside: avoid;
    margin-bottom: 2rem;
}

.project-card-inner {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, transparent 50%, rgba(0, 212, 255, 0.02) 100%);
    padding: 2px;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    transition: all 0.4s ease;
}

.project-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), transparent 30%, transparent 70%, rgba(0, 212, 255, 0.1));
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-card-inner::before {
    opacity: 1;
}

.project-card-content {
    background: rgba(5, 5, 8, 0.95);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    position: relative;
    overflow: hidden;
}

/* Corner accents */
.project-card-content::before,
.project-card-content::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.4s ease;
}

.project-card-content::before {
    top: 5px;
    left: 5px;
    border-right: none;
    border-bottom: none;
}

.project-card-content::after {
    bottom: 5px;
    right: 5px;
    border-left: none;
    border-top: none;
}

.project-card:hover .project-card-content::before,
.project-card:hover .project-card-content::after {
    border-color: #00d4ff;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.8));
}

.project-banner {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.project-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(5, 5, 8, 1), transparent);
    pointer-events: none;
}

.project-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: saturate(0.8);
}

.project-card:hover .project-banner img {
    transform: scale(1.1);
    filter: saturate(1);
}

.project-content {
    padding: 1.5rem 2rem 2rem;
    position: relative;
}

/* Scan line effect */
.project-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-content::before {
    opacity: 1;
    animation: scanline 2s ease-in-out infinite;
}

@keyframes scanline {
    0%, 100% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-icon {
    width: 36px;
    height: 36px;
    padding: 6px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.project-title {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    font-family: 'goodtimes', sans-serif;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tag {
    font-size: 0.65rem;
    padding: 0.3rem 0.75rem;
    background: transparent;
    border-left: 2px solid #00d4ff;
    color: #00d4ff;
    letter-spacing: 0.15em;
    font-family: 'goodtimes', sans-serif;
    text-transform: uppercase;
}

.project-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(0, 212, 255, 0.6);
    font-size: 0.75rem;
    font-family: 'goodtimes', sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.project-link::before {
    content: '';
    position: absolute;
    left: 0;
    width: 12px;
    height: 1px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.project-card:hover .project-link {
    color: #00d4ff;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

.project-card:hover .project-link::before {
    width: 20px;
    box-shadow: 0 0 10px #00d4ff;
}

/* About Page */
.about-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: auto 1fr;
    gap: 3rem;
    grid-template-areas:
        "profile bio"
        "skills skills";
}

@media (max-width: 900px) {
    .about-page {
        grid-template-columns: 1fr;
        grid-template-areas:
            "profile"
            "bio"
            "skills";
    }
}

@media (max-width: 600px) {
    .about-page {
        padding: 1.5rem 0.5rem 5rem;
        gap: 2rem;
    }
}

.about-profile {
    grid-area: profile;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.profile-image-container {
    position: relative;
    width: 220px;
    height: 220px;
}

.profile-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: saturate(0.8) contrast(1.1);
    transform: scale(1.15);
    transition: all 0.5s ease;
}

.profile-image-container:hover img {
    filter: saturate(1) contrast(1);
    transform: scale(1.2);
}

.profile-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image-container:hover .profile-scanline {
    opacity: 1;
    animation: scanDown 2s ease-in-out infinite;
}

@keyframes scanDown {
    0% { top: 0; }
    100% { top: 100%; }
}

.profile-corners .corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(0, 212, 255, 0.5);
    border-style: solid;
    border-width: 0;
    transition: all 0.3s ease;
}

.profile-corners .tl { top: -5px; left: -5px; border-top-width: 2px; border-left-width: 2px; }
.profile-corners .tr { top: -5px; right: -5px; border-top-width: 2px; border-right-width: 2px; }
.profile-corners .bl { bottom: -5px; left: -5px; border-bottom-width: 2px; border-left-width: 2px; }
.profile-corners .br { bottom: -5px; right: -5px; border-bottom-width: 2px; border-right-width: 2px; }

.profile-image-container:hover .corner {
    border-color: #00d4ff;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.8));
}

.profile-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-status {
    font-size: 0.7rem;
    color: #00d4ff;
    letter-spacing: 0.1em;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.profile-name {
    font-size: 1.5rem;
    color: #fff;
    margin: 0.5rem 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.profile-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.profile-exp {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.about-bio {
    grid-area: bio;
}

.about-skills {
    grid-area: skills;
}

.bio-panel,
.skills-panel {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    background: rgba(0, 212, 255, 0.02);
}

.panel-indicator {
    width: 8px;
    height: 8px;
    background: #00d4ff;
    box-shadow: 0 0 10px #00d4ff;
    animation: blink 1.5s ease-in-out infinite;
}

.panel-title {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(0, 212, 255, 0.8);
}

.panel-content {
    padding: 2rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.8;
}

.panel-content p {
    margin-bottom: 1.25rem;
}

.panel-content .highlight {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.bio-signature {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.signature-end {
    font-style: normal;
    font-size: 0.8rem;
    color: rgba(0, 212, 255, 0.5);
    font-family: 'goodtimes', sans-serif;
}

.skills-container {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.about-skill {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-family: 'goodtimes', sans-serif;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    cursor: default;
}

.about-skill:hover {
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

/* URL Shortener Page */
.shortener-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 98;
}

.shortener-panel {
    width: 100%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.shortener-content {
    padding: 2rem;
}

.shortener-input-group {
    margin-bottom: 1.5rem;
}

.shortener-label {
    display: block;
    font-family: 'goodtimes', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(0, 212, 255, 0.7);
    margin-bottom: 0.75rem;
}

.shortener-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.shortener-input:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.shortener-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.shortener-error {
    display: block;
    margin-top: 0.75rem;
    font-family: 'goodtimes', sans-serif;
    font-size: 0.75rem;
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.shortener-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    font-family: 'goodtimes', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shortener-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
}

.shortener-btn .btn-icon {
    transition: transform 0.3s ease;
}

.shortener-btn:hover .btn-icon {
    transform: translateX(5px);
}

.shortener-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.shortener-footer a {
    color: rgba(0, 212, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.shortener-footer a:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.shortener-redirect {
    text-align: center;
    padding: 2rem 0;
}

.redirect-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.redirect-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-top-color: #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.redirect-text {
    font-family: 'goodtimes', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #00d4ff;
    animation: blink 1s ease-in-out infinite;
}

.redirect-fallback {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.redirect-fallback a {
    color: #00d4ff;
    text-decoration: none;
}

/* External Links Page */
.external-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: 5rem;
}

.external-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.external-card {
    text-decoration: none;
    display: block;
}

.external-card-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.external-card:hover .external-card-inner {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.external-icon {
    font-size: 1.5rem;
    color: rgba(0, 212, 255, 0.6);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.external-card:hover .external-icon {
    border-color: rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.external-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.external-label {
    font-family: 'goodtimes', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: rgba(0, 212, 255, 0.5);
}

.external-title {
    font-family: 'goodtimes', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    transition: all 0.3s ease;
}

.external-card:hover .external-title {
    color: #00d4ff;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.external-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.external-arrow {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.external-card:hover .external-arrow {
    color: #00d4ff;
    transform: translateX(5px);
}

/* Language Tabs */
.lang-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.lang-tab {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-family: 'goodtimes', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lang-tab:hover {
    border-color: rgba(0, 212, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.lang-tab.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

/* Futuristic Alert */
.futuristic-alert {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 180, 0, 0.05);
    border-left: 3px solid rgba(255, 180, 0, 0.6);
    color: rgba(255, 200, 100, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.futuristic-alert .alert-icon {
    color: rgba(255, 180, 0, 0.8);
    font-size: 1.1rem;
}

.futuristic-nav .nav-link:hover {
    color: #00d4ff !important;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

.cursive-font {
    font-family: 'lazymonday', 'goodtimes', sans-serif !important;
}

.hand-font {
    font-family: 'lettersforlearners', 'goodtimes', sans-serif !important;
}

.about-me-selfi {
    box-shadow: 0 0 20px 6px rgb(211, 212, 207);
    transform: rotate(5deg) rotateX(27deg) rotateY(7deg);
    animation: flickering-light 6s infinite, hovering-picture 6s infinite ease-in-out;
    transition: all .1s;
}

.animated-glow {
    box-shadow: 0 0 20px 6px rgb(211, 212, 207);
    animation: flickering-light 6s infinite;
    transition: all .1s;
}

@keyframes flickering-light {
    0% {
        box-shadow: 0 0 20px 6px rgb(211, 212, 207);
    }
    35% {
        box-shadow: 0 0 15px 4px rgb(211, 212, 207);
        filter: brightness(.9);
    }
    40% {
        box-shadow: 0 0 16px 5px rgb(211, 212, 207);
        filter: brightness(1.2);
    }
    45% {
        box-shadow: 0 0 15px 4px rgb(211, 212, 207);
        filter: brightness(.9);
    }
    50% {
        box-shadow: 0 0 15px 4px rgb(211, 212, 207);
        filter: brightness(.9);
    }
    55% {
        box-shadow: 0 0 16px 5px rgb(211, 212, 207);
        filter: brightness(1.2);
    }
    60% {
        box-shadow: 0 0 15px 4px rgb(211, 212, 207);
        filter: brightness(.9);
    }
    100% {
        box-shadow: 0 0 20px 6px rgb(211, 212, 207);
    }
}

@keyframes hovering-picture {
    0% {
        transform: rotate(5deg) rotateX(27deg) rotateY(7deg);
    }
    50% {
        transform: rotate(4deg) rotateX(26deg) rotateY(6deg) translate(-2px, -10px);
    }
    100% {
        transform: rotate(5deg) rotateX(27deg) rotateY(7deg);
    }
}

@media (min-width: 576px) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
    }
}

#english, #deutsch {
    display: none;
}

#components-reconnect-modal {
    z-index: 10000 !important;
    background-color: rgb(33, 37, 41) !important;
    color: white !important;
    opacity: 1 !important;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.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."
}
