

html{
    padding: 0px;
    margin: 0px;
    overflow-x: hidden;
}


body{
    padding: 0px;
    margin: 0px;
}


a, a:hover, a:focus, a:active, a:visited {
  color: #212121 !important;
  text-decoration: none !important; 
  outline: none;                    
}

.tcolor-primary{
    color: var(--lpc-primary);
}


.top-bar-menu{
    color: #212121 !important;
    text-decoration: none !important; 
    outline: none; 
    font-weight: bold;  
}




#top-bar{
    width: 100vw;
}


#menu-collapse{
    border: none;
}


#header-app-name {
    margin: 0;
    font-weight: bold;
    font-size: 1.4rem;
    background: var(--lpc-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

#header-app-name-mobile{
    display: none;;
}

#header-logo {
    height: 60px;         
    width: auto;          
    margin-right: 12px;  
    display: block;     
}


.main-color{
    color: var(--lpc-primary);
}


#forecast-card {
  position: relative;
  background: var(--lpc-gradient);
  box-shadow: 0px 12px 30px -4px var(--lpc-primary);
  border: none;
  padding: 4rem 2rem 2rem 2rem;
  border-radius: 20px;
  width: 95%;
  overflow: hidden;
}

#forecast-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('/static/img/cover_image.png');
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25; 
  border-radius: inherit;
  z-index: 0;
}

#forecast-card > * {
  position: relative;
  z-index: 1;
}


.transparent-container{
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 10px;
}

#forecast-weather-icon{
    width: 4rem;
}


#forecast-temp-current{
    font-size: 5rem;
    color: white;
    padding-top: 1rem;;
    line-height: 2.8rem;
}


#current-date-time{
    color: white;
    font-size: 1.4rem;
}


.h-forecast-card{
    font-size: 0.8rem;
}


#daily-hourly-forecast-container{
    border: 2px solid var(--lpc-primary);
    border-radius: 20px;
    margin: 0px 40px;
}


.daily-foreacast-cards{
    font-size: 0.8rem;
}


::-webkit-scrollbar {
    width: 8px;
    height: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--lpc-h-gradient);
  border-radius: 6px;
}

::-webkit-scrollbar-track {
  background-color: #dadada;
}



@media (max-width: 576px) {
    .mobile-xs-text{
        font-size: 0.8rem;
    }
    
    #forecast-temp-current{
        font-size: 3rem;
    }
    
    #d-heat-index{
        font-size: 0.8rem;
    }

    #d-wind-index{
        font-size: 0.8rem;
    }

    #current-date-time{
        font-size: 1rem;
    }

    #forecast-card {
        padding: 2rem 2rem 2rem 2rem;
        width: 100%;
    }

    #header-app-name{
        display: none;
    }

    #header-app-name-mobile{
        display: block;
        margin: 0;
        font-weight: bold;
        font-size: 1.4rem;
        background: var(--lpc-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }

    .card-col-mobile{
        width: 110% !important;
    }

    #daily-forecast-container{
        max-width: 110% !important;
        font-size: 0.3rem !important;
    }

    .daily-foreacast-cards{
        font-size: 0.8rem;
    }


    #daily-hourly-forecast-container{
        border: 2px solid #014165;
        border-radius: 20px;
        margin: 0px 10px;
    }

}

@media (max-width: 576px) {
  #daily-hourly-forecast-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border: 2px solid #c8f5db;
    border-radius: 20px;
    margin: 0 10px;
    padding: 1rem 0;
  }

  #daily-hourly-forecast-container > div {
    flex: 0 0 auto;
    min-width: 120px; /* or any width that fits your content */
  }
}
