body { 
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    background:url(back.jpg);
    background-size: cover;
    color: white;
}

#container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: left;
    overflow-x: auto;
}

#container button {
    margin: 10px;
    padding: 20px;
    font-size: 20px;
    background-color: #27b5d0;
    color: white;
    border: 0;
    border-radius: 0.5em;
    min-width: 6em;
}

#container button:active, #container button.selected { 
    background-color: #197c90;
}

.selected {
    background-color: #197c90;
}

#container button > p {
    margin: 0;
    font-size: 0.7em;
}

#container button > img {
    aspect-ratio: 1;
    width: 3em;
}

#boards-wrapper {
    overflow-y:auto;
}

.data-board {
    min-width: 700px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    flex-direction: row;
    align-items: stretch;
    font-weight: bold;
}

.data-board>div {
    flex: 1;
}

.data-board>div>p {
    padding: 0;
    margin: 0;
    text-align: center;
}

.data-board>div:nth-child(odd){
    background-color: #ededed;
}

.data-board>div:nth-child(even){
    background-color: #dfdfdf;
}

.data-board>img {
    aspect-ratio: 1;
    width: 2em;
}

.board-p {
    min-width: 700px;
    background-color: rgb(181, 243, 255);
    margin-top: 1em;
    width: 100%;
}

.board-p>p{
    margin: 0;
    text-align: center;
}

main{
    width: 1000px;
    margin: auto;
    white-space: nowrap;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
}


#main-view {
    /* background: rgba(74, 74, 74, 0.5); */
    white-space: nowrap;
    text-align: center;
    order: 1;
    min-width: 500px;
    max-height: 500px;
    margin-bottom: 50px;
    cursor:default;
}

.weather-icon { 
    aspect-ratio: 1;
}

#main-view .weather-icon {
    width: 200px;
}

#main-view .prec-prob,
#main-view .tempMax,
#main-view .tempMin,
#main-view .wind,
#main-view .uv {

}

#main-view .day-week{
    padding: 1em;
    font-weight: 200;
    font-size: 20px;
}

#main-view .weather-wrapper, #main-view .temp-wrapper {
    display: inline-block;
    white-space: normal;
    position: relative;
}

#main-view .top-row, #main-view .bottom-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content:space-evenly;
    align-items: center;
}

#main-view .weather-text{
    font-weight: 100;
}

#main-view .tempMax{
    font-size: 100px;
}

#main-view .bottom-row > * {
    padding-top: 50px;
    padding-bottom: 50px;
}

#main-view .bottom-row > div > div {
    margin-bottom: 20px;
}


#sec-view {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 10px;
    order: 2;
    max-height: 500px;
    overflow-x: auto;
    min-width: 400px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0));
    font-size: 15px;
}

.sec-view-wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-around;
    box-shadow: none !important;
    border-radius:10px !important;
    margin-right: 10px;
}

#sec-view .weather-icon { 
    width: 50px;
}

#hour-view {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    order: 3;
    overflow-y: auto;
    text-align: center;
    font-size: 15px;
    padding-bottom: 10px;
}

#hour-view .hour-view-wrapper {
    box-shadow: none !important;
    border-radius: 10px !important;
    min-width: 100px;
    margin-top: 50px;
}

#hour-view p{
    margin: 0;
}

#hour-view .hour-view-wrapper .tempMed {
    font-size: 30px;
    margin-top: 50px;

}

#hour-view .weather-icon { 
    width: 100px;
    position: absolute;
    transform: translate(-50%,-50%);
    z-index: 2;
}

#location-wrapper {
    order: 0;
    width: 100%;
    text-align: center;
}

h2 {margin: 0;padding: 0;}

.glassmorphism{
    position: relative;
    box-shadow: 20px 20px 50px rgba(104, 104, 104, 0.5);
    border-radius: 40px;
    background: linear-gradient(140deg, rgba(181,181,181,.15) 0%, rgba(255,255,255,.15) 100%);
    border-top: 2px solid rgba(255,255,255,.25);
    border-left: 2px solid rgba(255,255,255,.25);
    backdrop-filter: blur(3px);
    cursor: pointer;
    /* transition: background-color 1s ease; */
}

.sec-view-wrapper:hover,
.hour-view-wrapper:hover {
    background: linear-gradient(140deg, rgba(136, 136, 136, 0.15) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
}

  


.masked-overflow {
    --scrollbar-width: 8px;
    --mask-height: 32px;
    overflow-y: auto;
    padding-bottom: var(--mask-height);
    padding-right: 20px;
    --mask-image-content: linear-gradient(
        to bottom,
        transparent,
        black var(--mask-height),
        black calc(100% - var(--mask-height)),
        transparent
    );
    --mask-size-content: calc(100% - var(--scrollbar-width)) 100%;
    --mask-image-scrollbar: linear-gradient(black, black);
    --mask-size-scrollbar: var(--scrollbar-width) 100%;
    -webkit-mask-image: var(--mask-image-content), var(--mask-image-scrollbar);
    -webkit-mask-size: var(--mask-size-content), var(--mask-size-scrollbar);
    -webkit-mask-position: 0 0, 100% 0;
    -webkit-mask-repeat: no-repeat, no-repeat;
}



/* SCROLL BAR */

/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(128, 128, 128, 0.267); 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgb(1, 16, 6); 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: rgb(0, 9, 2); 
  }