:root {
    --background-color-: rgba(194, 196, 199, 0.5);
}

html { 
    background-image: url("../images/background.jpeg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body {
    background-color: initial;
    color:rgba(3, 10, 19, 0.7);
}

.jumbotron {
    font-family: 'Dancing Script', cursive;
    font-family: 'Lato', sans-serif;
    font-family: 'Open Sans', sans-serif;
    font-family: 'Permanent Marker', cursive;
    font-family: 'Roboto', sans-serif;
    color: rgba(27, 28, 29, 0.9);
    text-align: center;
    background-color: initial;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 0px;
}

.display-4 {
    text-shadow: 2px 2px var(--background-color-);
}

.container, .row {
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.search-container {
    background-color: var(--background-color-);
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

.search-history-box {
    max-height: 420px;
    overflow: hidden;
}

.search-history-box:hover {
    overflow: auto;
}

#search-input {
    background-color: rgba(243, 245, 247, 0.9);
}

#search-button {
    background-color: rgba(3, 10, 19, 0.7);
}

.search-history-text {
    flex: 1;
}

.delete-button {
    flex: 0 0 25px;
    height: 25px;
    padding: 0;
}

.weather-info-box, .weather-info-box .col-12 {
    padding-right: 0px;
}

.weather-current {
    padding: 10px;
    background-color: var(--background-color-);
}

h3 {
    margin: 15px 0px 5px 0px;
    padding-left: 10px;
    padding-right: 10px;
}

.uvindex-num {
    display: inline-block;
    height: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

.weather-forecast-group {
    display: flex;
    flex-wrap: wrap;
}

.weather-forecast-box {
    width: 20%;
    padding: 1px;
}

.weather-forecast-card {
    background-color: var(--background-color-);
    padding: 10px;
}

.weather-forecast-card div, 
.weather-current div, 
.search-history {
    margin-top: 10px;
    margin-bottom: 10px;
}

.search-history:hover {
    background-color: rgba(90, 131, 192, 0.7);
}

.search-history-text {
    padding-left: 10px;
}

/* for tablet screen size */
@media screen and (max-width: 991px) {
    .search-container {
        height: auto;
    }

    .search-history-box {
        display: none;
    }

    .weather-info-box {
        margin-top: 15px;
        padding: 0px;
    }
    
    .col-12 {
        padding: 0px;
    }
}

/* for mobile screen size */
@media screen and (max-width: 767px) {
    body {
        margin-left: auto;
        margin-right: auto;
        background-size: cover;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1rem;
    }

    .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .weather-forecast-box {
        width: 50%;
        padding: 1px;
    }

    p {
        margin-bottom: 0px;
    }
}

