/*==================================================
                NE WEATHER LIVE
                STYLE.CSS
                VERSION 3.0
==================================================*/

/*=========================================
                RESET
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    margin:0;
    width:100%;
    height:100%;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    font-family:"Segoe UI",Arial,sans-serif;
    background:#000;
}

/*=========================================
            MAIN APP CANVAS
=========================================*/

#app{
    position:relative;
    width:1080px;
    height:1920px;
    overflow:hidden;
    background:transparent;
    transform-origin:top left;
    transform:none;
}

/*=========================================
            ANIMATED BACKGROUND
=========================================*/

#background{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
    z-index:0;
}

.bg-layer{

    position:absolute;

    inset:-15%;

    animation:floatBackground 25s linear infinite;

    opacity:.18;

}

.bg1{

    background:
    radial-gradient(circle,#00bfff 0%,transparent 65%);

}

.bg2{

    background:
    radial-gradient(circle,#3ea6ff 0%,transparent 70%);

    animation-duration:35s;

    animation-direction:reverse;

}

.bg3{

    background:
    radial-gradient(circle,#00ffff 0%,transparent 75%);

    animation-duration:45s;

}

@keyframes floatBackground{

    from{

        transform:
        translateY(0)
        rotate(0deg)
        scale(1);

    }

    50%{

        transform:
        translateY(-40px)
        rotate(180deg)
        scale(1.08);

    }

    to{

        transform:
        translateY(0)
        rotate(360deg)
        scale(1);

    }

}

/*=========================================
                HEADER
=========================================*/

#header{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:190px;

  display:flex;

flex-direction:column;

justify-content:flex-start;

align-items:stretch;

    padding:25px 40px;

    background:rgba(8,20,40,.55);

    backdrop-filter:blur(8px);

    border-bottom:2px solid rgba(255,255,255,.08);

    z-index:20;

}

#header-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    width:100%;

}

#brand{
    display:flex;
    align-items:center;
    gap:25px;
    flex:1;
    min-width:0;
}

#brand-text{
    flex:1;
    min-width:0;
}

#logo{

    width:72px;

    height:72px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:38px;

    background:rgba(255,255,255,.15);

    box-shadow:0 0 30px rgba(0,191,255,.45);

}

#title{

    color:#fff;

    font-size:42px;

    font-weight:800;

    letter-spacing:1px;

    white-space:normal;

      max-width:none;
overflow:visible;
text-overflow:clip;

}

#subtitle{

    margin-top:8px;

    color:#d7e9ff;

    font-size:20px;

}

/*=========================================
            HEADER RIGHT
=========================================*/

#header-right{
    display:flex;
    align-items:center;
    gap:12px;
    margin-left:auto;
    margin-right:20px;
    flex-shrink:0;
}

#live-box{

    flex-shrink:0;

    display:flex;

    align-items:center;

    gap:12px;

    padding:12px 24px;

    border-radius:50px;

    background:#d50000;

    color:#fff;

    font-weight:700;

    font-size:24px;

}

#live-dot{

    width:16px;

    height:16px;

    border-radius:50%;

    background:#fff;

    animation:blink 1s infinite;

}

@keyframes blink{

    50%{

        opacity:.25;

    }

}

#clock-section{
    display:flex;
    align-items:center;
    gap:15px;
    margin-left:10px;
}

#clock{

    font-size:26px;

    color:#fff;

    font-weight:700;

}

#date{

    width:90px;

    margin-top:8px;

    font-size:18px;

    line-height:1.4;

    color:#d9e7ff;

}
/*=========================================
            HEADER INFORMATION BAR
=========================================*/

#header-info{
    position:absolute;
    left:40px;
    right:40px;
    bottom:15px;
    z-index:30;

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;

    padding:10px 22px;
height:58px;

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(8px);

    border-radius:18px;
    border:1px solid rgba(255,255,255,.10);
}

.header-item{
    display:flex;
    align-items:center;
    gap:8px;

    color:#fff;
    font-size:18px;
    font-weight:600;
}
/*=========================================
            ANALOG CLOCK
=========================================*/

#analog-clock{
    position:static;
    width:48px;
    height:48px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(6px);
    border:2px solid rgba(255,255,255,.15);
    box-shadow:0 5px 15px rgba(0,0,0,.25);
    flex-shrink:0;
}

.clock-face{
    position:relative;
    width:100%;
    height:100%;
    border-radius:50%;
}

.marker{
    position:absolute;
    left:50%;
    top:50%;
    width:2px;
    height:6px;
    margin-left:-1px;
    margin-top:-23px;
    background:#ffffff;
    border-radius:2px;
    transform-origin:50% 23px;
}

.m1{transform:rotate(30deg);}
.m2{transform:rotate(60deg);}
.m3{transform:rotate(90deg);}
.m4{transform:rotate(120deg);}
.m5{transform:rotate(150deg);}
.m6{transform:rotate(180deg);}
.m7{transform:rotate(210deg);}
.m8{transform:rotate(240deg);}
.m9{transform:rotate(270deg);}
.m10{transform:rotate(300deg);}
.m11{transform:rotate(330deg);}
.m12{transform:rotate(0deg);}

.clock-number{
    position:absolute;
    width:10px;
    height:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:7px;
    font-weight:700;
    line-height:1;
    z-index:15;
}

.n12{
    top:1px;
    left:50%;
    margin-left:-5px;
}

.n3{
    top:50%;
    right:0px;
    margin-top:-5px;
}

.n6{
    bottom:1px;
    left:50%;
    margin-left:-5px;
}

.n9{
    top:50%;
    left:0px;
    margin-top:-5px;
}

.hand{

    position:absolute;

    left:50%;

    top:50%;

    transform-origin:50% 100%;

    border-radius:20px;

}

.hour-hand{
    width:3px;
    height:12px;
    background:#fff;
    margin-left:-1.5px;
    margin-top:-12px;
}

.minute-hand{
    width:2px;
    height:17px;
    background:#8fd3ff;
    margin-left:-1px;
    margin-top:-17px;
}

.second-hand{
    position:absolute;
    left:50%;
    top:50%;
    width:1px;
    height:20px;
    background:#ff3b30;
    margin-left:-0.5px;
    margin-top:-20px;
    transform-origin:50% 100%;
    border-radius:2px;
    z-index:5;
    box-shadow:0 0 6px rgba(255,59,48,.6);
}

.clock-center{

    position:absolute;

    left:50%;

    top:50%;

    width:8px;

    height:8px;

    margin-left:-4px;

    margin-top:-4px;

    border-radius:50%;

    background:#ffffff;

}

/*=========================================
                MAIN AREA
=========================================*/

#main{

    position:absolute;

    top:190px;

    left:0;

    width:100%;

    height:1610px;

    overflow:visible;

    z-index:5;

}

/*=========================================
                FRAMES
=========================================*/

.frame{

    position:absolute;

    inset:0;

    padding:25px 35px 170px;

    opacity:0;

    visibility:hidden;

    transition:opacity .8s ease;

}

.frame.active{

    opacity:1;

    visibility:visible;

}

/*=========================================
            FRAME TITLE
=========================================*/

.frame-title{

    text-align:center;

    margin-top:-10px;

    margin-bottom:25px;

}

.frame-title h2{

    color:#ffffff;

    font-size:54px;

    font-weight:800;

    letter-spacing:1px;

}

.frame-title p{

    margin-top:10px;

    color:#c7dcff;

    font-size:24px;

}

/*=========================================
        CURRENT WEATHER LAYOUT
=========================================*/

#current-weather{

    display:grid;

    grid-template-columns:1.35fr 1fr .95fr;

    gap:20px;

    margin-top:0;

}

/*=========================================
            GLASS PANEL
=========================================*/

.current-left,
.current-center,
.current-right{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.12);

    border-radius:30px;

    padding:35px;



    box-shadow:0 20px 40px rgba(0,0,0,.25);

min-height:760px;
}


/*=========================================
            FEATURED CITY
=========================================*/

.city-tag{

    display:inline-block;

    padding:8px 18px;

    border-radius:30px;

    background:#0ea5e9;

    color:#fff;

    font-size:18px;

    font-weight:700;

    margin-bottom:18px;

}

#featured-city{

    color:#ffffff;

    font-size:48px;
line-height:1.1;

    font-weight:800;

}

#featured-state{

    margin-top:10px;

    color:#c7dcff;

    font-size:24px;

}

/*=========================================
            WEATHER ICON
=========================================*/

#weather-icon{

    margin-top:0px;

    text-align:center;

    font-size:185px;

}

#weather-condition{

    margin-top:20px;

    text-align:center;

    color:#ffffff;

    font-size:34px;

    font-weight:700;

}

/*=========================================
            TEMPERATURE
=========================================*/

#temperature{

    text-align:center;

    font-size:180px;

    font-weight:800;

    color:#ffffff;

    line-height:1;

}

#feels-like{

    margin-top:10px;

    text-align:center;

    color:#c7dcff;

    font-size:32px;

}

#feels-like-value{

    display:block;

    margin-top:8px;

    color:#ffffff;

    font-size:52px;

    font-weight:700;

}

/*=========================================
            HIGH / LOW
=========================================*/

#high-low{

    display:flex;

    justify-content:space-between;

    gap:20px;

    margin-top:45px;

}

.temp-box{

    flex:1;

    padding:20px;

    text-align:center;

    border-radius:18px;

    background:rgba(255,255,255,.08);

}

.temp-box .label{

    display:block;

    color:#c7dcff;

    font-size:20px;

}

.temp-box span:last-child{

    display:block;

    margin-top:10px;

    color:#ffffff;

    font-size:38px;

    font-weight:700;

}
/*=========================================
            WEATHER SUMMARY
=========================================*/

.summary-card{

    display:flex;

    flex-direction:column;

    justify-content:center;

    height:100%;

}

.summary-title{

    font-size:28px;

    font-weight:700;

    color:#8fd3ff;

    margin-bottom:20px;

    text-transform:uppercase;

    letter-spacing:2px;

}

#weather-summary{

    font-size:34px;

    line-height:1.5;

    color:#ffffff;

}

/*=========================================
            DETAILS GRID
=========================================*/

#details-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin-top:40px;

}

.detail-card{

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(8px);

    border-radius:24px;

    padding:28px;

    text-align:center;

    transition:.3s;

}

.detail-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 35px rgba(0,191,255,.25);

}

.detail-icon{

    font-size:52px;

    margin-bottom:15px;

}

.detail-title{

    color:#c7dcff;

    font-size:22px;

}

.detail-card div:last-child{

    margin-top:12px;

    color:#ffffff;

    font-size:34px;

    font-weight:700;

}

/*=========================================
            STATE GRID
=========================================*/

#state-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:28px;

    margin-top:35px;

}

.state-card{

    background:rgba(255,255,255,.08);

    border-radius:28px;

    backdrop-filter:blur(8px);

    border:1px solid rgba(255,255,255,.12);

    padding:20px;

    text-align:center;

    transition:.35s;

}

.state-card:hover{

    transform:scale(1.03);

    box-shadow:0 20px 45px rgba(0,191,255,.25);

}

.state-name{

    color:#ffffff;

    font-size:34px;

    font-weight:700;

}

.state-icon{

    font-size:64px;

    margin:18px 0;

}

.state-temp{

    color:#ffffff;

    font-size:48px;

    font-weight:800;

}

.state-condition{

    margin-top:10px;

    color:#c7dcff;

    font-size:22px;

}

/*=========================================
        OVERVIEW FOOTER
=========================================*/

#overview-footer{

    display:flex;

    justify-content:space-between;

    gap:20px;

    margin-top:20px;

}

.overview-box{

    flex:1;

    padding:16px;

    border-radius:22px;

    background:rgba(255,255,255,.08);

    text-align:center;

}

.overview-label{

    display:block;

    color:#8fd3ff;

    font-size:20px;

}

.overview-box span:last-child{

    display:block;

    margin-top:10px;

    color:#ffffff;

    font-size:30px;

    font-weight:700;

}

/*=========================================
            CITY GRID
=========================================*/

.cities-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-top:30px;

}

.city-card{

    display:flex;
    flex-direction:column;
    align-items:center;

    padding:16px;

    border-radius:22px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(8px);

    transition:.3s;
}

.city-card:hover{
    transform:scale(1.02);
}

.city-icon{
    font-size:56px;
    margin-bottom:8px;
}

.city-name{
    color:#fff;
    font-size:28px;
    font-weight:700;
}

.city-temp{
    font-size:52px;
    font-weight:800;
    margin:6px 0;
}

.city-condition{
    color:#c7dcff;
    font-size:20px;
    text-align:center;
}

.city-meta{

    width:100%;

    display:flex;
    justify-content:space-between;

    margin-top:10px;

    padding-top:12px;

    border-top:1px solid rgba(255,255,255,.15);

    color:#ffffff;
    font-size:18px;
}

/*=========================================
        PAGE INDICATOR
=========================================*/

.page-indicator{

    display:flex;

    justify-content:center;

    gap:16px;

    margin-top:35px;

}

.page-dot{

    width:16px;

    height:16px;

    border-radius:50%;

    background:rgba(255,255,255,.35);

}

.page-dot.active{

    width:50px;

    border-radius:20px;

    background:#00bfff;

}


/*==================================================
                AQI SECTION
==================================================*/

/*=========================================
            AQI GRID
=========================================*/

#aqi-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    grid-template-rows:repeat(4,1fr);
    gap:0;
    width:100%;
    height:100%;
}

.aqi-card{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;

    padding:20px;
    min-height:300px;

    background:transparent;
    border-radius:0;

    border-right:1px solid rgba(255,255,255,.18);
    border-bottom:1px solid rgba(255,255,255,.18);
}

/* Remove right border from right column */
.aqi-card:nth-child(even){
    border-right:none;
}

/* Remove bottom border from last row */
.aqi-card:nth-child(7),
.aqi-card:nth-child(8){
    border-bottom:none;
}

.aqi-state{
    color:#fff;
    font-size:30px;
    font-weight:700;
}

.aqi-circle{
    width:110px;
    height:110px;
    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#fff;
    font-size:42px;
    font-weight:800;
}

.aqi-status{
    color:#fff;
    font-size:24px;
    font-weight:700;
}

.aqi-extra{
    color:#d7e9ff;
    font-size:18px;
    line-height:1.6;
}

.aqi-good{
    background:#2ecc71;
}

.aqi-moderate{
    background:#f1c40f;
}

.aqi-poor{
    background:#e67e22;
}

.aqi-unhealthy{
    background:#e74c3c;
}

.aqi-very-unhealthy{
    background:#8e44ad;
}

.aqi-hazardous{
    background:#7f0000;
}

/*==================================================
            WEATHER ALERTS
==================================================*/

#alerts-container{

    display:flex;

    justify-content:center;

    margin-top:80px;

}

#alert-card{

    width:90%;

    padding:50px;

    border-radius:35px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.18);

    text-align:center;

}

#alert-icon{

    font-size:120px;

}

#alert-title{

    margin-top:25px;

    font-size:52px;

    color:#ffffff;

    font-weight:800;

}

#alert-message{

    margin-top:25px;

    font-size:30px;

    line-height:1.8;

    color:#d7e9ff;

}

/*==================================================
                FOOTER
==================================================*/

#footer{

    position:absolute;

    bottom:0;

    left:0;

    width:100%;

    height:90px;

    display:flex;

    align-items:center;

    background:#001b36;

    border-top:2px solid rgba(255,255,255,.08);

    z-index:100;

}

#ticker-label{

    width:240px;

    height:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#008cff;

    color:#ffffff;

    font-size:28px;

    font-weight:700;

}

#ticker-container{

    flex:1;

    overflow:hidden;

    white-space:nowrap;

}
#ticker{
    width:100%;
    height:90px;
    overflow:hidden;
    position:relative;
    color:#ffffff;
    font-size:30px;
    line-height:90px;
}

#ticker span{
    position:absolute;
    left:100%;
    top:50%;
    transform:translateY(-50%);
    white-space:nowrap;
    animation:tickerMove 9s linear infinite;
}

@keyframes tickerMove {
    from {
        transform: translateX(0) translateY(-50%);
    }

    to {
        transform: translateX(-100%) translateY(-50%);
    }
}

/*==================================================
            CONNECTION STATUS
==================================================*/

#connection-status{
    position:absolute;
    top:20px;
    right:300px;
    left:auto;
    z-index:200;

    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 20px;
    border-radius:50px;
    background:rgba(0,180,0,.25);
    color:#ffffff;
    font-size:22px;
    font-weight:700;
    backdrop-filter:blur(8px);
}

#connection-dot{

    width:14px;

    height:14px;

    border-radius:50%;

    background:#00ff55;

}

/*==================================================
            REFRESH TIMER
==================================================*/
#refresh-box{
    position:absolute;
    top:20px;
    right:40px;
    left:auto;
    z-index:200;

    padding:15px 25px;
    border-radius:22px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(8px);
}

.refresh-title{

    color:#c7dcff;

    font-size:18px;

}

#refresh-countdown{

    margin-top:5px;

    color:#ffffff;

    font-size:34px;

    font-weight:700;

}

/*==================================================
                WEATHER ANIMATIONS
==================================================*/

.fade-in{

    animation:fadeIn .8s ease;

}

.fade-out{

    animation:fadeOut .8s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes fadeOut{

    from{

        opacity:1;

    }

    to{

        opacity:0;

    }

}

.slide-left{

    animation:slideLeft .8s ease;

}

@keyframes slideLeft{

    from{

        opacity:0;

        transform:translateX(40px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

.zoom-in{

    animation:zoomIn .5s ease;

}

@keyframes zoomIn{

    from{

        transform:scale(.9);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

/*==================================================
                WEATHER ICON EFFECTS
==================================================*/

#weather-icon,
.city-icon,
.state-icon,
.forecast-icon{

    animation:weatherFloat 8s ease-in-out infinite;

}

@keyframes weatherFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0);

    }

}

/*==================================================
                GLASS GLOW
==================================================*/

.current-left,
.current-center,
.current-right,
.detail-card,
.city-card,
.state-card,
.forecast-card,
#alert-card{

    box-shadow:
        0 8px 25px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.08);

}

/*==================================================
                SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#001a33;

}

::-webkit-scrollbar-thumb{

    background:#00bfff;

    border-radius:20px;

}

/*==================================================
                TEXT SELECTION
==================================================*/

::selection{

    background:#00bfff;

    color:#ffffff;

}

/*==================================================
            PERFORMANCE SETTINGS
==================================================*/

.frame,
.city-card,
.state-card,
.detail-card,
.forecast-card,
#weather-icon{

    will-change:transform,opacity;

}

/*==================================================
            OBS SAFE AREA
==================================================*/

#app::after{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    border:4px solid rgba(255,255,255,.04);

}

/*==================================================
                UTILITY CLASSES
==================================================*/

.hidden{

    display:none !important;

}

.visible{

    display:block !important;

}

.text-center{

    text-align:center;

}

.flex{

    display:flex;

}

.flex-center{

    display:flex;

    justify-content:center;

    align-items:center;

}

.glass{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(8px);

    border:1px solid rgba(255,255,255,.10);

}

.round{

    border-radius:24px;

}

.shadow{

    box-shadow:0 15px 35px rgba(0,0,0,.25);

}

/*==================================================
                END OF FILE
==================================================*/
/*==================================================
            PREMIUM WEATHER EFFECTS
==================================================*/

/* Rain Overlay */

.rain{

    position:absolute;

    inset:0;

    pointer-events:none;

    opacity:.15;

    background-image:
    linear-gradient(
        transparent 0%,
        rgba(255,255,255,.8) 100%
    );

    background-size:3px 40px;

    animation:rainFall .35s linear infinite;

}

@keyframes rainFall{

    from{

        background-position:0 -40px;

    }

    to{

        background-position:0 40px;

    }

}

/* Cloud Drift */

.cloud{

    position:absolute;

    opacity:.12;

    filter:blur(2px);

    animation:cloudMove 90s linear infinite;

}

@keyframes cloudMove{

    from{

        transform:translateX(-350px);

    }

    to{

        transform:translateX(1450px);

    }

}

/*==================================================
                LIVE BADGE
==================================================*/

#live-box{

    animation:livePulse 4s infinite;

}

@keyframes livePulse{

    0%{

        box-shadow:0 0 0 0 rgba(255,0,0,.6);

    }

    70%{

        box-shadow:0 0 0 20px rgba(255,0,0,0);

    }

    100%{

        box-shadow:0 0 0 0 rgba(255,0,0,0);

    }

}

/*==================================================
            TEMPERATURE COLOURS
==================================================*/

.temp-cold{

    color:#6ec6ff !important;

}

.temp-cool{

    color:#8fffd9 !important;

}

.temp-warm{

    color:#ffd54f !important;

}

.temp-hot{

    color:#ff7043 !important;

}

.temp-extreme{

    color:#ff1744 !important;

}

/*==================================================
            AQI COLOURS
==================================================*/

.aqi-good{

    border-color:#2ecc71 !important;

}

.aqi-moderate{

    border-color:#f1c40f !important;

}

.aqi-sensitive{

    border-color:#e67e22 !important;

}

.aqi-poor{

    border-color:#e74c3c !important;

}

.aqi-hazardous{

    border-color:#8e44ad !important;

}

/*==================================================
            FRAME TRANSITIONS
==================================================*/

.frame{

    animation-duration:.8s;

    animation-fill-mode:both;

}

.frame.active{

    animation-name:frameFade;

}

@keyframes frameFade{

    from{

        opacity:0;

        transform:scale(.98);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

/*==================================================
            DIGITAL CLOCK
==================================================*/

#clock{

    text-shadow:
        0 0 8px rgba(0,191,255,.5),
        0 0 20px rgba(0,191,255,.35);

}

/*==================================================
                TV SAFE AREA
==================================================*/

.safe-area{

    padding:40px;

}

/*==================================================
            PRINT / SCREEN
==================================================*/

@media print{

    body{

        display:none;

    }

}

/*==================================================
            OBS OPTIMIZATION
==================================================*/

body{

    image-rendering:auto;

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

}

img{

    user-select:none;

    -webkit-user-drag:none;

}

button{

    font-family:inherit;

}

/*==================================================
                VERSION
==================================================*/

/*

NE WEATHER LIVE
Version : 3.0
Canvas  : 1080 × 1920
Target  : OBS Studio / YouTube Live
Author  : Surojeet Das

/*==================================================
            LOADING SCREEN
==================================================*/

#loading-screen{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;

    background:
    linear-gradient(
        180deg,
        #021428,
        #06345d,
        #021428
    );

    z-index:99999;

    display:flex;

    justify-content:center;

    align-items:center;

}

.loading-content{

    width:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;
    
    overflow:hidden;

}

.loading-logo{

    font-size:180px;

    margin-bottom:35px;

    animation:logoFloat 2s ease-in-out infinite;

}

.loading-title{

    color:#fff;

    font-size:74px;

    font-weight:800;

    letter-spacing:2px;

}

.loading-subtitle{

    margin-top:15px;

    font-size:32px;

    color:#b9dcff;

}

.loading-status{

    margin-top:80px;

    color:#ffffff;

    font-size:28px;

}

.loading-progress{

    width:500px;

    height:12px;

    margin-top:35px;

    background:rgba(255,255,255,.12);

    border-radius:30px;

    overflow:hidden;

}

.loading-progress-fill{

    width:100%;

    height:100%;

    background:
    linear-gradient(
        90deg,
        #00bfff,
        #3ea6ff
    );

    animation:loadingBar 5s linear forwards;

}

@keyframes loadingBar{

    from{
        width:0%;
    }

    to{
        width:100%;
    }

}

@keyframes logoFloat{

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

    50%{
        transform:translateY(-15px);
    }

}

/*=============================
        CITY FRAME
=============================*/

.city-weather{

    display:flex;
    flex-direction:column;
    align-items:center;

    height:100%;

}

#city-name{

    margin-top:80px;

    color:#ffffff;

    font-size:78px;

    font-weight:800;

}

#city-state{

    margin-top:10px;

    color:#9fd7ff;

    font-size:34px;

    font-weight:500;

}

#city-icon{

    margin-top:30px;

    font-size:220px;

}

#city-temperature{

    margin-top:20px;

    color:white;

    font-size:190px;

    font-weight:800;

}

#city-condition{

    margin-top:10px;

    color:white;

    font-size:42px;

}

#city-extra{

    margin-top:40px;

    width:100%;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

.city-info{

    background:rgba(255,255,255,.08);

    border-radius:25px;

    padding:28px;

    color:white;

    font-size:30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/*==================================================
            V4 DYNAMIC BACKGROUND
==================================================*/

#sky-gradient{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:0;
    transition:background 2.5s ease-in-out;
    background:linear-gradient(
        180deg,
        #0b2b53 0%,
        #144b8b 45%,
        #1b6db8 100%
    );
}

/*======================
        SUN
======================*/

#sun{
    position:absolute;
    width:140px;
    height:140px;
    border-radius:50%;
    background:radial-gradient(circle,#fff7b2 0%,#ffd84d 45%,#ffb300 100%);
    top:140px;
    right:140px;
    box-shadow:0 0 120px rgba(255,220,80,.9);
    opacity:1;
    transition:opacity 2s;
    z-index:2;
}

/*======================
        MOON
======================*/

#moon{
    position:absolute;
    width:90px;
    height:90px;
    border-radius:50%;
    background:#f5f5f5;
    top:150px;
    right:150px;
    box-shadow:0 0 60px rgba(255,255,255,.8);
    opacity:0;
    transition:opacity 2s;
    z-index:2;
}

/*======================
        CLOUDS
======================*/
#cloud-layer-1{
    position:absolute;
    inset:0;
    overflow:hidden;
    z-index:1;
}

#cloud-layer-2{
    position:absolute;
    inset:0;
    overflow:hidden;
    z-index:1;
}

#cloud-layer-1::before{
    content:"";
    position:absolute;
    top:180px;
    left:-900px;
    width:900px;
    height:180px;

    background:
        radial-gradient(circle at 18% 60%, rgba(255,255,255,.18) 0 65px, transparent 66px),
        radial-gradient(circle at 35% 40%, rgba(255,255,255,.20) 0 95px, transparent 96px),
        radial-gradient(circle at 58% 55%, rgba(255,255,255,.18) 0 80px, transparent 81px),
        radial-gradient(circle at 80% 45%, rgba(255,255,255,.15) 0 70px, transparent 71px);

    filter:blur(12px);
    animation:cloudMove1 90s linear infinite;
}

#cloud-layer-2::before{
    content:"";
    position:absolute;
    top:520px;
    left:-700px;
    width:700px;
    height:150px;

    background:
        radial-gradient(circle at 20% 55%, rgba(255,255,255,.12) 0 55px, transparent 56px),
        radial-gradient(circle at 45% 40%, rgba(255,255,255,.15) 0 80px, transparent 81px),
        radial-gradient(circle at 70% 55%, rgba(255,255,255,.12) 0 60px, transparent 61px);

    filter:blur(16px);
    animation:cloudMove2 130s linear infinite;
}

/*======================
      CLOUD ANIMATION
======================*/

@keyframes cloudMove1{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(1900px);
    }

}

@keyframes cloudMove2{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(1800px);
    }

}


/*==================================================
                WEATHER EFFECTS
==================================================*/

/* ---------- RAIN ---------- */

#rain{
    position:absolute;
    inset:0;
    overflow:hidden;
    pointer-events:none;
    opacity:0;
    z-index:1;
}

#rain::before{
    content:"";
    position:absolute;
    inset:-20%;
    background-image:
        repeating-linear-gradient(
            -20deg,
            transparent 0px,
            transparent 18px,
            rgba(255,255,255,.15) 19px,
            rgba(255,255,255,.15) 21px
        );
    background-size:40px 40px;
    animation:rainFall .45s linear infinite;
}

@keyframes rainFall{
    from{
        transform:translateY(-60px);
    }
    to{
        transform:translateY(60px);
    }
}


/* ---------- SNOW ---------- */

#snow{
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:0;
    z-index:5;
}


/* ---------- FOG ---------- */

#fog{
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:0;
    z-index:4;
}


/* ---------- LIGHTNING ---------- */

#lightning{
    position:absolute;
    inset:0;
    background:white;
    opacity:0;
    z-index:20;
    pointer-events:none;
}


/* ---------- STARS ---------- */

#stars{
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:0;
    z-index:2;
}

/*==================================================
            WEATHER CANVAS
==================================================*/

#weather-canvas{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    z-index:1;

    pointer-events:none;

}

/*=============================
    STATE FORECAST CARDS
==============================*/

#forecast-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    padding:20px;
}

.forecast-card{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    border-radius:22px;
    backdrop-filter:blur(8px);

    min-height:340px;
    padding:24px 18px;

    display:flex;
    flex-direction:column;
    justify-content:space-evenly;
    align-items:center;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.forecast-state{
    color:#ffffff;
    font-size:32px;
    font-weight:700;
    line-height:1.2;
}

.forecast-day{
    color:#ffffff;
    font-size:18px;
    font-weight:600;
}

.forecast-icon{
    font-size:72px;
    margin: 12px 0;
}

.forecast-condition{
    color:#ffffff;
    font-size:20px;
    min-height:50px;
    line-height:1.3;
}

.forecast-temp{
    color:#ffffff;
    font-size:50px;
    font-weight:800;
}

