html{
    background-color: black;
    overflow-x: hidden;
    margin-right: 100%;
}
footer{
    background-color: rgb(4, 4, 4);
    text-align: center;
    padding: 10px;
    width: 100vw;
}
p{
    color: #ffffff;
    font-weight: 100;
}
@media screen and (max-width: 1280px) {
    .b{
        width: 50vw !important;
        overflow: hidden;
    }
    .weathercontainer{
        gap:2% !important;
        height: 100% !important;
    }
    .stocks{
        width: 50vw !important;
    }
    .box{
        display: block;
        max-height:30%;
        margin-right: 20%;
        max-width: 40% !important;
    }
    #weather{
        display: block;
    }
}
@media screen and (max-width: 600px) {
    .weathercontainer{
        display:block !important;
        gap:4% !important;
        height: 100% !important;
    }
    .box{
        display: block;
        max-height:30%;
        max-width: 80% !important;
    }
    #weather{
        display: block;
    }
}
.body{
    background-color: #030303;
    overflow:hidden;
    max-width: 100vw;
    margin-left: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    h1{
        font-weight:100;
    }
}
#weather{
    padding: 10px;
    border-radius: 4px;
    background-color:rgba(128, 128, 128, 0.195);
    max-width:100vw;
    align-items: center;
    scroll-behavior: smooth;
    scrollbar-width: none;
    justify-content:center;
    overflow-Y:auto;
    margin-right: 10%;
}
#city-input {
    padding: 5px;
    margin: 5px;
    width:auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
 
#city-input:focus {
    outline: none;
    border-color: #2196F3;
}
 
#city-input::placeholder {
    color: #aaa;
}
 
#city-input-btn {
    padding: 10px;
    background-color: #2196F3;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
#get-location-btn {
    padding: 10px;
    background-color: #2196F3;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
#city-input-btn:hover {
    background-color: #1565C0;
}
#get-location-btn:hover {
    background-color: #1565C0;
}
#weather-info {
    display: none;
}
 
#weather-icon {
    width: 100px;
    height: 100px;
}
 
.temperature {
    font-size:xx-large;
    color: rgb(7, 7, 7);
    display: flex;
    gap: 5%;
    span{
        font-size: xx-large;
        font-weight: bolder;
    }
    h1{
        font-size:large;
    }
    p{
        font-size: medium;
    }
}
 
#description {
    font-size: 18px;
    margin-bottom: 10px;
}
 
.wind-speed {
    font-size:xx-large;
    color: rgb(7, 7, 7);
    display: flex;
    gap: 5%;
    span{
        font-size: xx-large;
        font-weight: bolder;
    }
    h1{
        font-size:large;
    }
    p{
        font-size: medium;
    }
}
.temp{
    display: flex;
    align-items: center;
    gap: 30%;
}
 
#date {
    font-size: 14px;
    color: rgb(255, 0, 0);
}
.stocks{
    padding: 5%;
    border-radius: 5%;
    background-color: inherit;
    width:auto;
    left:0;
    align-items: center;
}
.stock{
    padding: 5%;
    border-radius: 5px;
    width:auto;
    position: relative;
    margin-left:-1%;
    margin-top: 10px;
    background:linear-gradient(to left,rgba(64, 64, 64, 0.661),rgb(202, 201, 201),rgb(37, 46, 56)) !important;   
}
.date{
    margin-bottom: 10%;
}
.weather-icon {
    font-size: 9em;
    margin: 10px 0;
}
#icon-sun {
    color: #FFD700; /* Gold */
}

.icon-moon {
    color: #B0C4DE; /* LightSteelBlue */
}

.icon-cloud-sun {
    color: #87CEEB; /* SkyBlue */
}

.icon-cloud-moon {
    color: #4682B4; /* SteelBlue */
}

.icon-cloud {
    color: #B0C4DE; /* LightSteelBlue */
}

.icon-cloud-showers-heavy {
    color: #00BFFF; /* DeepSkyBlue */
}

.icon-cloud-sun-rain {
    color: #1E90FF; /* DodgerBlue */
}

.icon-cloud-moon-rain {
    color: #6495ED; /* CornflowerBlue */
}

.icon-bolt {
    color: #FFD700; /* Gold */
}

.icon-snowflake {
    color: #00FFFF; /* Aqua */
}

.icon-smog {
    color: #A9A9A9; /* DarkGray */
}
div.scroll-container {
    overflow:auto;
    white-space: nowrap;
    padding: 10px;
    margin-top: 2%;
}
div.scroll-container img {
    padding: 10px;
}
.weathercontainer{
    display: flex;
    gap: 2%;
    left: 0%;
    background-size: cover;
    padding: 10px;
    object-fit: cover;
    backdrop-filter: blur(0);
    image-rendering: optimizeQuality;
    background-position: center;
    overflow-y: scroll;
    scrollbar-width: none;
    height:100vh;
}
.box{
    border-radius: 4px;
    padding: 10px;
    width: auto;
    max-width: 30vw;
    height: auto;
    max-height: 100vh;
    gap:3%;
    background:linear-gradient(to right,rgba(93, 108, 134, 0.424),rgb(95, 129, 196));
    color: black;
    overflow: scroll;
    a{
        color: black;
    }
}
.box1{
    border-radius: 4px;
    padding: 10px;
    width: auto;
    height: auto;
    max-height: 100vh;
    gap:5%;
    background:linear-gradient(to right,rgba(93, 108, 134, 0.239),rgba(95, 129, 196, 0.194));
    color: black;
    scrollbar-width: none;
    cursor:grabbing;
    overflow: scroll;
    a{
        color: black;
    }
}
.box h2{
    margin-top:0;
    color: #A9A9A9;
}
ul{
    list-style-type: none;
    padding: 5%;
    text-align:left;
    max-width:100vw;
    gap:10%;
    justify-content: space-around;
    border-radius: 5%;
}
li{
    border-radius: 4%;
    padding: 10%;
    color: black;
    justify-content: space-around;
    text-align: left;
}
#b{
    padding: 10px;
    border-radius: 4px;
    background-color:rgba(128, 128, 128, 0.195);
    width: 100vw;
    height:auto;
    align-items: center;
    justify-content: center;
    overflow:hidden;
    background-size: cover;
    background-repeat: no-repeat;
}
#newslists{
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10%;
    background-color:rgba(128, 128, 128, 0.195);
    gap: 10%;
}
.stock-card{
    display: grid;
    grid-template-rows: auto 50px 3fr;
    padding: 5px;
    border-radius: 5px;
    border-color: #A9A9A9;
    border-style: solid;
}
#stockdatar{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2%;
    overflow-y: scroll;
}
#future-weather{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}
