@import 'theme/main.css';
@import 'theme/footer.css';
@import 'theme/navbar.css';


main {
    background: #ececec;
    /* background: rgb(0, 178, 255); */
    /* background: linear-gradient(286deg, rgba(0, 178, 255, 1) 0%, rgba(0, 71, 255, 1) 100%); */
}


.main {
    height: 100%;
    padding-bottom: 3rem;
}


.description {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 7px;
    background-color: #f0f0f0;
    margin-bottom: 1rem;
}

.data-box {
    padding: 1rem;
    border: 1px solid #000;
    border-radius: 7px;
    background-color: #d8d8d8;
}


/* slide show css */
/* .carousel,
.carousel-item,
.silde-show-img {
    height: 400px;
} */


/*

Weather box css


*/

.weather-box {
    background-color: #ffffff;
    padding: 3rem;
    margin-bottom: 2rem;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: #00000025 0px 4px 4px 0px;
}

.weather-card {
    border-radius: 25px;
}


.weather-card .card-body {
    padding: 2rem 2rem;
}

.weather-status h1 {
    font-size: 45px;
    margin-bottom: 0rem;
}

.weather-status p {
    font-size: 10px;
    margin-bottom: 0rem;
}

.weather-status {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    box-shadow: #0000002e 0px 0px 7px 0px;
}

/*

weather box color

*/

.weather-status.green {

    background: #54ff0542;
}

.weather-status.orange {

    background: #ffa50042;
}

.weather-status.red {

    background: #ff000042;
}

.weather-status.light-blue {

    background: lightblue;
}


/*

Tip box

*/

.tip-weather {
    margin-top: 4rem;
}

/*

news box

*/

.news-box {
    padding: 3rem;
    margin-top: 2rem;
    background: #fff;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.news .card-img-top {
    height: 300px;
    object-fit: cover;
}

.news .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news .card-footer p {
    margin-bottom: 0;
}

.btn-more-news {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    border: 1px solid #000;
}

.btn-more-news:hover {
    background-color: #252525;
    color: #fff;
}


/*

Weather box css

*/

.weather-map {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
}

.weather-card {
    padding-bottom: 2rem;
    border: 1px solid #c9c9c9;

}

.weather-status-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0rem;
    height: 100%;

}

.weather-status-pm {
    background-color: #EEEEEE;
    border-top-left-radius: 25px;
}

.weather-status-temp {
    background-color: #00ADB5;
    border-top-right-radius: 25px;
}

.weather-status-moisture {
    color: #d3d3d3;
    background-color: #393E46;
    /* border-bottom-left-radius: 25px; */
}

.weather-status-rain {
    color: white;
    background-color: #222831;
    /* border-bottom-right-radius: 25px; */
}

.weather-status-box h3 {
    margin-bottom: 0.1rem;
}

.weather-status-box p {
    font-size: 13px;
    margin-bottom: 0.5rem;
}


.new-weather-card {
    background-color: white;
    border: 1px solid #c9c9c9;
}

.new-title-name {
    background-color: #EEEEEE;
    text-align: center;
    padding: 1rem;
}

.new-all-data {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
}

.new-once-data {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #c9c9c9;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.new-once-data:last-child {
    border-right: none;
}

.title-link {
    color: black;
}

.title-link:hover {
    color: #4b4b4b;
}

.new-pm25-card {
    display: flex;
}

.new-pm25-info {

    width: 100%;
    display: flex;
    justify-content: center;

}

.new-pm25-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
}

.new-once-data {
    text-align: center;
}

.new-once-data span {
    font-size: 20px;
}

.new-once-data h1 {
    font-size: 30px;
}

.new-once-data h1,
p {
    margin-bottom: 0;
}

/* map */
hr.map {
    margin: 0rem 0rem;
}


@media (max-width: 767px) {
    .new-pm25-card {
        flex-direction: column;
    }

    .gauge-container {
        width: 100%;
    }
}