/* generic styles */
html {
    background: #fff;
    color: #000;
    font-family: -apple-system, Helvetica, sans;
    text-align: center;
}

h1 {
    font-size: 4.0rem;
    font-weight: 600;
}

h2 {
    font-size: 7.2rem;
    font-weight: 600;
}

h3 {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 36px;
}

h5 {
    font-size: 16px;
    font-weight: bold;
}

p {
    font-size: 1.5rem;
    line-height: 1.6em;
    color: #353535;
}

a:link {
    color: blue;
    text-decoration: none;
}

a:visited {
    color: blue;
}

a:hover {
    text-decoration: underline;
}


/* class styles */

.platter {
    background-color: #F2F2F7;
    border-radius: 32px;
    padding: 32px;
    font-size: 1.7rem;
    font-weight: 600;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    margin-bottom: 48px;
    position: relative;
}

.platter img {
    position: relative;
    max-width: 100%;
    max-height: 100%;
}

.platter span.desc {
    position: absolute;
    text-indent: -999em;
}

.platter:hover {
}

.platter.large {
    /* min-height: 700px; */
}

.platter.medium {
    /* min-height: 368px; */
}

.platter.small {
    min-height: 232px;
}

span.pill {
    background-color: #fff;
    padding: 6px 16px;
    border-radius: 16px;
}

.platter.aqi {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.platter.aqi a {
    color: inherit;
    text-decoration: underline;
}

.platter .aqi {
    margin-top: 24px;
    display: table;
    min-height: 176px;
    width: calc(100% - 64px);
    border-radius: 0 0 32px 32px;
    padding: 32px 32px;
}

.platter .aqi span {
    display: table-cell;
    vertical-align: middle;
}

/* agi specific */
.aqi.Not.Reporting {
    background-color: #d8d8d8;
    color: #aaa;
}
.aqi.Good {
    background-color: #6cdc74;
}
.aqi.Moderate {
    background-color: #faeb64;
}
.aqi.Sensitive {
    background-color: #f5a13b;
}
.aqi.Unhealthy {
    background-color: #f25d49;
    color: #fff;
}
.aqi.Very.Unhealthy {
    background-color: #c07bbf;
    color: #fff;
}
.aqi.Hazardous {
    background-color: #ad3e63;
    color: #fff;
}


/* specific elements */

#download-app-store {
    position: fixed;
    right: 24px;
    top: 24px;
    display: block;
    background-image: url(/static/marketing/img/app-store-badge.svg);
    background-repeat: no-repeat;
    background-position: center center;
    width: 120px;
    height: 40px;
    text-indent: -999em;
    z-index: 100;
}

#intro h1 {
    margin-top: 168px;
    margin-bottom: 8px;
}

#intro h2 {
    margin-top: 4px;
}

#hero-phone {
    margin-top: 48px;
    max-width: 100%;
}

#week {
    position: relative;
    min-height: 368px;
    background-image: url(/static/marketing/img/week@2x.png);
    background-size: contain;
    background-position: center center;
}

#map {
    background-image: url(/static/marketing/img/map-raw@2x.png);
    background-size: cover;
    min-height: 368px;
}

#widgets-large-medium {
}

#widgets-small {
}

#on-the-go {
}

#detailed-information {
    overflow: hidden;
    padding-bottom: 0;
}

#detailed-information img {
    margin-bottom: -8px;
}

#historical-measurements {
    overflow: hidden;
    padding-bottom: 0;
}

#historical-measurements img {
    margin-bottom: -8px;
}

#app-icon {
    background-image: url(/static/marketing/img/app-icon@2x.png);
    background-size: 100px 100px;
    background-position: center center;
}

#app-store-text-link {
    display: block;
    text-align: center;
    font-size: 72px;
    margin-top: 2px;
}

#footer {
    text-align: center;
}

#privacy, #privacy-intro {
    text-align: left;
}


/* breakpoints */

@media (min-width: 750px) and (max-width: 1000px) {

    .platter.aqi {
        font-size: 1.4rem;
    }

}

@media (max-width: 750px) {

    h1 {
        font-size: 3.0rem;
        font-weight: 600;
    }

    h2 {
        font-size: 4.2rem;
        font-weight: 600;
    }

    #intro h1 {
        margin-top: 116px;
        margin-bottom: 8px;
    }

    #intro h2 {
        margin-top: 4px;
    }

    #hero-phone {
        margin-top: 16px;
    }

    .platter {
        padding: 16px 8px 8px 8px;
    }

    .platter .aqi {
        margin-top: 8px;
        width: calc(100% - 16px);
        padding: 8px;
    }
}

@media (max-width: 1000px) {

}

@media (max-width: 1140px) {

}


