html, body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", "Inter", "Saira", sans-serif;
    background-color: #f4f4f4;
}

.sc-container {
    position: relative;
    width: 100%;
}

#map {
    width: 100%;
}

@media (max-width: 800px) {
    .satellite-control {
        top: -590px;
        left: 10px;
    }
    .pollution-container {
        top: -585px;
        left: 10px;
    }

    .sc-container,
    #map {
        height: 550px;
    }
}

@media (min-width: 800px) {
    .satellite-control {
        top: -840px;
        left: 5px;
    }
    .pollution-container {
        top: -880px;
        left: 180px;
    }

    .sc-container,
    #map {
        height: 800px;
    }
}

.sc-container div {
    font-weight: 400;
    font-family: "Saira", sans-serif;
    font-size: 16px;
}

.map-buttons {
    width: 0;
}

.satellite-control {
    position: relative;
    width: 170px;
}

.satellite-control #satellite-toggle {
    width: 100px;
}
.satellite-control #map-toggle {
    width: 66px;
}

.pollution-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 170px;
}

.pollution-container * {
    font-family: Arial, Helvetica, sans-serif;
}

.pollution-container .pollution-control {
    background-color: #177bad !important;
    color: white !important;
}
.pollution-container .legend-control {
    background-color: #fff;
    border: 0;
    width: 170px;
    text-align: left;
    color: #777;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 5px;
}

.pollution-container #legend-container {
    display: flex;
    border: 2px solid white;
    align-items: center;
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    width: 170px;
}

.pollution-container #legend {
    width: 100%;
    border: 0;
    text-align: center;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pollution-container #legend * {
    height: 30px;
    line-height: 30px;
}

.controls-element {
    flex: 1;
}

.googly-button {
    position: relative;
    height: 40px;
    background-color: #fff;
    border: 0;
    color: black;
    padding: 0 15px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    transition: background-color 0.3s;
    z-index: 10;
}

.controls-container {
    margin-left: 4rem;
    margin-right: 4rem;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    top: -70px;
    color: white;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
}

.controls-container .date-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
}

.controls-container .date-arrow {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    color: #00a0e3;
}

.controls-container .date-toggle-date {
    margin: 0 3px;
}

/* Promo / marketing block */
.promo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f4f4f4;
}

.promo-container .promo-subcontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1700px;
}

.promo-container .texts {
    justify-items: center;
    margin: auto;
    padding: 20px;
    background-color: #f4f4f4;
}

.promo-container .divider {
    width: 80%;
    margin: 20px 0;
    border: 1px solid #989898;
    border-bottom: 0;
}

.promo-container .promo-img {
    width: 150px;
    height: auto;
    padding: 10px;
    padding-bottom: 0;
}

.promo-container .gradient-text {
    background: linear-gradient(to right, #00a0e3 0%, #2e5a9b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font: 400 20px "Poppins", sans-serif;
    text-align: center;
    margin: 10px;
    margin-top: 0;
}

.promo-container .promo-p {
    text-align: center;
    font: 300 16px "Inter", sans-serif;
    color: #666;
    margin: 10px;
    padding: 0 20px;
}

.promo-container .bottom-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

.promo-container .bottom-section p {
    font: 300 14px "Inter", sans-serif;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.promo-container .learn-more {
    width: 70px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 500px;
    padding: 0.5rem 1rem;
    font: 400 0.6rem "Saira", sans-serif;
    text-decoration: none;
    border: 1px solid #00a0e3;
    color: white;
    background-color: #00a0e3;
}

@media (min-width: 900px) {
    .promo-container .texts-short {
        display: none;
    }

    .promo-container .texts-wide {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .promo-container .texts-wide {
        display: none;
    }
    .promo-container .texts-short {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Footer */
.footer {
    display: flex;
}

.footer .footer-subcontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-left: 100px;
    margin-right: 100px;
}

.footer .footer-section {
    display: flex;
    align-items: center;
}

.footer .rights {
    font: 500 14px "Poppins", sans-serif;
}

.footer .logo-section img {
    width: 50px;
}

.footer .social-section a img {
    width: 30px;
    margin: 0 10px;
}

@media (min-width: 800px) {
    .footer {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }

    .footer .footer-subcontainer {
        display: flex;
        flex-direction: row;
        text-align: center;
        width: 100%;
        max-width: 1700px;
    }

    .footer-section {
        margin-bottom: 20px;
    }
}

@media (max-width: 800px) {
    .footer,
    .footer-subcontainer,
    .footer-section {
        flex-direction: column;
        text-align: center;
    }

    .footer * {
        margin-bottom: 20px;
    }
}
