/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00e0d0;
    --primary-dim: rgba(0, 224, 208, 0.1);
    --secondary: #5a6a7a;
    --accent: #00bcd4;
    --bg-dark: #0a0f14;
    --bg-darker: #060a0e;
    --text-light: #e8ecf0;
    --text-dim: #8a9bae;

    --glass-bg: rgba(20, 30, 40, 0.4);
    --glass-border: rgba(100, 120, 140, 0.12);
    --glass-highlight: rgba(200, 220, 240, 0.08);

    --hero-glow: rgba(0, 224, 208, 0.15);
    --pointer-x: 50vw;
    --pointer-y: 30vh;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-strong: 0 30px 70px rgba(0, 0, 0, 0.6);
    --reveal-duration: 0.8s;
    --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);

    --gunmetal: #2a3439;
    --gunmetal-light: #3d4a52;
    --gunmetal-dark: #1a2228;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.7;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 224, 208, 0.06), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(90, 106, 122, 0.08), transparent 25%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image:
        linear-gradient(rgba(100, 120, 140, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 120, 140, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
    pointer-events: none;
}

#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.is-loading {
    overflow: hidden;
}

body.is-loading .hero-content,
body.is-loading .scroll-indicator,
body.is-loading .section-title,
body.is-loading .skills-category-title,
body.is-loading .skill-card,
body.is-loading .project-card,
body.is-loading .about-text p,
body.is-loading .education-card,
body.is-loading .contact-item {
    opacity: 0 !important;
}

/* Animated CSS Background Layers */
.bg-effects {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient {
    position: absolute;
    inset: -30% -30%;
    background:
        radial-gradient(900px 520px at var(--pointer-x) var(--pointer-y), rgba(0, 224, 208, 0.12), transparent 58%),
        radial-gradient(720px 520px at 90% 10%, rgba(90, 106, 122, 0.1), transparent 58%),
        radial-gradient(700px 460px at 10% 90%, rgba(42, 52, 57, 0.15), transparent 62%),
        linear-gradient(180deg, rgba(10, 15, 20, 0.98), rgba(6, 10, 14, 0.85));
    filter: saturate(1.03);
    animation: bg-shift 22s ease-in-out infinite alternate;
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    animation: noise-shift 6s steps(6) infinite;
}

@keyframes bg-shift {
    0% {
        transform: translate3d(-2%, -1%, 0) scale(1.02);
    }

    100% {
        transform: translate3d(2%, 1%, 0) scale(1.06);
    }
}


@keyframes noise-shift {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-2%, 1%, 0);
    }
}

.load-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 224, 208, 0.08);
    z-index: 2000;
    overflow: hidden;
    pointer-events: none;
}

.load-progress-bar {
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    animation: progress-shimmer 1.2s ease-in-out infinite;
}

@keyframes progress-shimmer {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(60%);
    }

    100% {
        transform: translateX(200%);
    }
}

.skeleton-screen {
    position: fixed;
    inset: 0;
    z-index: 1500;
    padding: 8rem 10%;
    background: linear-gradient(180deg, rgba(10, 15, 20, 0.95), rgba(6, 10, 14, 0.98));
    display: grid;
    gap: 4rem;
    pointer-events: none;
}

.skeleton-line,
.skeleton-pill,
.skeleton-card {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border-radius: 999px;
    animation: skeleton-pulse 1.6s ease-in-out infinite;
}

.skeleton-screen * {
    transform: none;
    opacity: 1;
}

.skeleton-line {
    height: 18px;
    width: 60%;
    margin: 0 auto 1rem;
}

.skeleton-title {
    height: 48px;
    width: 70%;
}

.skeleton-subtitle {
    width: 45%;
}

.skeleton-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.skeleton-pill {
    height: 44px;
    width: 160px;
    border-radius: 999px;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.skeleton-card {
    border-radius: 18px;
    height: 160px;
}

@keyframes skeleton-pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

body.loaded .skeleton-screen,
body.loaded .load-progress {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

body.loaded {
    overflow: auto;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    background: rgba(10, 15, 20, 0.6);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(10, 15, 20, 0.9);
    border-bottom: 1px solid rgba(0, 224, 208, 0.1);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 224, 208, 0.4);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.nav-toggle-bar {
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 999px;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 5%;
        left: 5%;
        margin-top: 0.75rem;
        padding: 1rem;
        border-radius: 18px;
        border: 1px solid var(--glass-border);
        background: rgba(10, 15, 20, 0.92);
        backdrop-filter: blur(18px);
        box-shadow: var(--shadow-strong);
        display: grid;
        gap: 0.75rem;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    body.nav-open .nav-links {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a::after {
        bottom: -2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .bg-effects *,
    body::before,
    body::after {
        animation: none !important;
    }

}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo img {
    width: 170px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-decoration-skip-ink: auto;
}

.nav-links a.is-active {
    color: var(--primary);
}

.nav-links a.is-active::after {
    width: 100%;
}

/* Scroll reveal (smoother than JS-driven transforms) */
.reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(8px);
    transition:
        opacity var(--reveal-duration) var(--reveal-ease),
        transform var(--reveal-duration) var(--reveal-ease),
        filter var(--reveal-duration) var(--reveal-ease);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.1;
    letter-spacing: -0.02em;
    position: relative;
    background: linear-gradient(to right, #e8ecf0, #00e0d0, #e8ecf0, #8a9bae);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-name {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hero-role {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button,
.cta-button-outline {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
}

.cta-button {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.cta-button:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
}

.cta-button-outline:hover {
    border-color: var(--text-light);
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 1;
}

.scroll-indicator span {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, var(--primary), transparent);
    animation: scroll-pulse 1.8s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

@keyframes scroll-pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(12px);
    }
}

/* Sections */
.section {
    padding: 8rem 5%;
    position: relative;
}

.glass-section {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 30px 80px rgba(3, 6, 15, 0.4);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-light);
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '.';
    color: var(--primary);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dim);
    opacity: 1;
    transform: translateX(0);
}

.education-card {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    opacity: 1;
    transform: translateX(0);
}

.education-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.education-card p {
    margin-bottom: 0.5rem;
}

.edu-year {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.skill-card {
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    transform: translateY(0);
}

.skill-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(0, 224, 208, 0.25);
    transform: translateY(-5px);
    background: rgba(20, 30, 40, 0.5);
}

.skill-icon {
    height: 56px;
    width: 56px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    color: var(--primary);
}

.skill-card h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Skills Categories */
.skills-category {
    margin-bottom: 3rem;
}

.skills-category:last-child {
    margin-bottom: 0;
}

.skills-category-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
    letter-spacing: 0.03em;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    padding: 2rem;
    background: rgba(20, 28, 35, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--primary-dim);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
    transform: translateY(-5px);
    background: rgba(26, 34, 40, 0.7);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}

.project-card::before {
    display: none;
}

.project-card:hover::before {
    display: none;
}

/* Cleanup duplicate header */

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 224, 208, 0.12);
    border: 1px solid var(--primary);
    border-radius: 20px;
    color: var(--primary);
}

.project-desc {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 224, 208, 0.08);
    border: 1px solid rgba(0, 224, 208, 0.2);
    border-radius: 15px;
    color: var(--text-dim);
}

.project-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-link.secondary {
    color: var(--text-dim);
    border-bottom: 1px solid transparent;
}

.project-link.secondary:hover {
    border-bottom-color: var(--text-dim);
}

.project-link:hover {
    transform: translateX(5px);
}

.project-card.featured {
    grid-column: span 2;
}

.project-image {
    margin: 2rem -2rem -2rem -2rem;
    width: calc(100% + 4rem);
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    filter: grayscale(0.4);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    filter: grayscale(0);
}

/* Contact Section */
.contact-grid {
    max-width: 700px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dim);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-light);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    opacity: 1;
    transform: translateX(0);
}

.contact-item:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 224, 208, 0.15);
    background: rgba(0, 224, 208, 0.06);
}

.contact-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
}

.footer p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-column: span 1;
    }

    .section {
        padding: 4rem 5%;
    }
}

@media (max-width: 480px) {
    .glass-nav {
        padding: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .cta-button,
    .cta-button-outline {
        width: 100%;
        text-align: center;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ambient-flow {
    0% {
        transform: translate3d(-3%, -4%, 0) scale(1);
    }

    100% {
        transform: translate3d(3%, 4%, 0) scale(1.08);
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scale-in {
    animation: scaleIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Professional Hero Title Shimmer */
.hero-title {
    position: relative;
    background-size: 200% auto;
    animation: title-shimmer 4s ease-in-out infinite;
}

@keyframes title-shimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.typed-cursor {
    opacity: 1;
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}