* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h2 {
    color: white;
    font-size: 1.6rem;
}
h3 {
    color: #888;
    font-size: 1.4rem;
}

/* Html ad Body Style */
.app {
    max-width: 100vw;
    background: white;
    font-family: 'Ubuntu', sans-serif;
    display: flex;
    flex-direction: column;
}
.body {
    min-height: 100vh;
    background: white;
    font-family: 'Ubuntu', sans-serif;
    display: flex;
    flex-direction: column;
}

/* Header Style */
.header {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-height: 12vh;
    padding: 0.2rem;
    background: rgb(15, 168, 227);
    align-items: center;
    justify-content: center;
}
.header-img {
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-img img {
    min-height: 3;
    max-height: 3.5rem;
}
.header-img1 {
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-img1 img {
    min-height: 4;
    max-height: 5rem;
}
.header a {
    text-decoration: none;
}
.header-title {
    color: white;
    padding: 0.5rem;
    text-align: center;
    flex: 1 1 2rem;
    display: flex;
    min-width: 70%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.header h1 {
    font-size: 2.6rem;
}
#language-dropdown {
    min-width: 10rem;
    font-size: 1.3rem;
    align-items: center;
    justify-content: left;
    color: rgb(15, 168, 227);
    border: none;
}

/* Body App*/
.body-app {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    min-height: 88vh;
    justify-content: center;
}

/* Map Section Style */
.map-div {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-width: 46vw;
    max-width: 47vw;
    justify-content: center;
}
.map-tools {
    background: rgb(15, 168, 227);
    padding: 0.5rem 0.3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}
#map-var {
    min-width: 60%;
    padding: 0 20px;
    display: inline-block;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 1.2rem;
}
#map-var:hover {
    color: #333;
    border-color: #888;
    outline: 0;
}
#map {
    min-height: 80%;
}
.map-opacity {
    padding: 0.2rem;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: top;
}
#map-opacity-slider {
    width: 70%;
}
#map {
    padding: 0.5rem;
}

/* Time Series Section Styles*/
.series-div {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-width: 46vw;
    max-width: 47vw;
    justify-content: center;
}
.series-tools-period{
    padding: 0.2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#series-period {
    width: 30%;
    cursor: pointer;
    font-size: 1.2rem;
}
#series-mode {
    width: 30%;
    cursor: pointer;
    font-size: 1.2rem;
}
#series-var {
    cursor: pointer;
    font-size: 1.2rem;
}
#series {
    min-width: 90%;
    height: 100%;
}
.series-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    max-height: 2.8rem;
}
.series-buttons button {
    min-width: 40%;
    padding: 0.2rem;
    border-radius: 4px;
    background: rgb(15, 168, 227);
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    max-height: 2.2rem;
}
#series {
    min-height: 60%;
}

/* Footer div */
.footer-div {
    width: 100%;
    min-height: 5vh;
    font-size: 0.8rem;
    color: #888;
    background: rgb(229, 236, 246);
    font-family: 'Ubuntu', sans-serif;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.footer-div a {
    color: rgb(15, 168, 227);
    text-decoration: none;
}

/* Sizes for large screen */
@media screen and (max-width: 1200px) {
    .header h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    #language-dropdown {
        min-width: 8rem;
        font-size: 1.2rem;
    }
    #map-var {
        font-size: 1.0rem;
    }
    #series-period {
        font-size: 1.0rem;
    }
    #series-mode {
        font-size: 1.0rem;
    }
    #series-var {
        font-size: 1.0rem;
    }
}

/* Sizes for tablet screen */
@media screen and (max-width: 930px) {
    .header h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    h3 {
        font-size: 1.0rem;
    }
    #language-dropdown {
        min-width: 6rem;
        font-size: 1rem;
    }
    .map-div {
        min-width: 90vw;
    }
    #map-var {
        font-size: 0.9rem;
    }
    .series-div {
        min-width: 90vw;
    }
    #series-period {
        font-size: 0.9rem;
    }
    #series-mode {
        font-size: 0.9rem;
    }
    #series-var {
        font-size: 0.9rem;
    }
}

/* Sizes for smartfone screen */
@media screen and (max-width: 700px) {
    .header h1 {
        font-size: 1.4rem;
        padding: 0.1rem;
    }
    h2 {
        font-size: 1.0rem;
    }
    h3 {
        font-size: 1.0rem;
    }
    .header-img {
        display: none;
    }
    .header-img1 {
        display: none;
    }
    #language-dropdown {
        min-width: 4rem;
        font-size: 1rem;
    }
    .map-div {
        min-width: 90vw;
    }
    #map-var {
        font-size: 1.0rem;
    }
    .series-div {
        min-width: 90vw;
        min-height: 100vh;
    }
    #series-period {
        font-size: 1.0rem;
    }
    #series-mode {
        font-size: 1.0rem;
    }
    #series-var {
        font-size: 1.0rem;
    }
}
