/*======================WHERE WE ARE===========================*/


/*Hero*/

.hero-markets {
    width: 100%;
    height: 350px;
    background-image: url("../img/hero-markets.jpg"); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*Markets*/

.markets {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px;
    background: var(--gray-lt);
}

.markets .grid-wrapper {
    width: 100%;
    row-gap: 100px;
}

.markets .img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    box-shadow: var(--shadow);
}

.markets .img a {
    display: block;
    height: 100%;
    width: 100%;
}

.markets .content {
    height: 350px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    box-shadow: var(--shadow);
}

.markets .content a, .markets .content a:active, .markets .content a:visited {
    text-decoration: none;
}

.markets .content a h2, .markets .content a:active h2, .markets .content a:visited h2 {
    text-decoration: none;
}

.markets .content a:hover h2 {
    color: var(--blue-md);
    text-decoration: none;
}

.content p {
    margin: 20px 0 30px 0;
}



.slc-img {
    grid-column: col-start / span 8;
    grid-row: 1;
    background-image: url('../img/slc.jpg');
}

.slc-content {
    grid-column: col-start 6 / span 7;
    grid-row: 1;
    padding: 50px 70px;
}



.seattle-img {
    grid-column: col-start / span 8;
    grid-row: 5;
    background-image: url('../img/seattle.jpg');
}

.seattle-content {
    grid-column: col-start 6 / span 7;
    grid-row: 5;
    padding: 70px 70px;
}



.phoenix-img {
    grid-column: col-start / span 8;
    grid-row: 3;
    background-image: url('../img/phoenix.jpg');
}

.phoenix-content {
    grid-column: col-start 6 / span 7;
    grid-row: 3;
    padding: 50px 70px;
}



.denver-img {
    grid-column: col-start 5 / span 8;
    grid-row: 4;
    background-image: url('../img/denver.jpg');
}

.denver-content {
    grid-column: col-start / span 7;
    grid-row: 4;
    padding: 55px 70px;
}



.sac-img {
    grid-column: col-start 5 / span 8;
    grid-row: 2;
    background-image: url('../img/sacramento.jpg');
}

.sac-content {
    grid-column: col-start / span 7;
    grid-row: 2;
    padding: 60px 70px;
}



.sf-img {
    grid-column: col-start 5 / span 8;
    grid-row: 6;
    background-image: url('../img/sf.jpg');
}

.sf-content {
    grid-column: col-start / span 7;
    grid-row: 6;
    padding: 70px 70px;
}

.podcasts-img {
    grid-column: col-start / span 8;
    grid-row: 7;
    background-image: url('../img/podcast.jpg');
}

.podcasts-content {
    grid-column: col-start 6 / span 7;
    grid-row: 7;
    padding: 70px 70px;
}









/*Media Queries*/

@media (max-width: 1100px) {

    .markets .grid-wrapper {
        row-gap: 0;
    }

    .markets .content {
        grid-column: col-start / span 12;
        width: 90%;
        height: auto;
        margin: 0 auto;
        position: relative;
        top: -5px;
        margin-bottom: -50px;
    }

    .slc-img {
        grid-column: col-start / span 12;
        grid-row: 1;
    }
    
    .slc-content {
        grid-row: 2;
    }
    
    .seattle-img {
        grid-column: col-start / span 12;
        grid-row: 9;
    }
    
    .seattle-content {
        grid-row: 10;
    }

    .phoenix-img {
        grid-column: col-start / span 12;
        grid-row: 5;
    }
    
    .phoenix-content {
        grid-row: 6;
    }

    .denver-img {
        grid-column: col-start / span 12;
        grid-row: 7;
    }
    
    .denver-content {
        grid-row: 8;
    }

    .sac-img {
        grid-column: col-start / span 12;
        grid-row: 3;
    }
    
    .sac-content {
        grid-row: 4;
    }

    .sf-img {
        grid-column: col-start / span 12;
        grid-row: 11;
    }
    
    .markets .sf-content {
        grid-row: 12;
        margin-bottom: -150px;
    }

    .podcasts-img {
        grid-column: col-start / span 12;
        grid-row: 13;
    }
    
    .podcasts-content {
        grid-row: 14;
    }
    
}



@media (max-width: 992px){

    .hero-markets {
        height: 200px;
        padding: 20px;
    }
}




@media (max-width: 768px) {
    section.markets {
        padding: 50px 10%;
    }

    .markets .content {
        grid-column: col-start / span 12;
        width: 100%;
        height: auto;
        margin: 0 auto;
        position: relative;
        top: 50%;
        margin-bottom: 0;
        padding: 50px;
    }
    
    .markets .img {
        margin-top: 50px;
    }

    .markets .slc-img {
        margin-top: 0;
    }
}



@media (max-width: 450px) {
    .markets .content {
        background: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
        margin-bottom: 50px;
    }

    .content p {
        margin: 10px 0 20px 0;
    }
}













/*==========================CITY===============================*/


section.city-bg {
    width: 100%;
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
    z-index: -1;
}

section.slc-bg {
    background-image: url("../img/slc.jpg"); 
    background-position: center 75%;
}
section.seattle-bg {
    background-image: url("../img/seattle.jpg"); 
    background-position: 25%;
}
section.phoenix-bg {
    background-image: url("../img/phoenix.jpg"); 
    background-position: 80%;
}
section.denver-bg {
    background-image: url("../img/denver.jpg"); 
    background-position: center 75%;
}
section.sacramento-bg {
    background-image: url("../img/sacramento.jpg");
    background-position: center;
}
section.sf-bg {
    background-image: url("../img/sf.jpg");
    background-position: center;
}
section.podcasts-bg {
    background-image: url("../img/podcast-banner.jpg");
    background-position: right;
}

section.city, section.brands {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px;
}

.city-container {
    width: 100%;
    max-width: 1140px;
    position: relative;
    top: -300px;
    margin-bottom: -300px;
    z-index: 5;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 80px;
}

.city-container h2 {
    margin-bottom: 50px;
}

.city-content p {
    margin-bottom: 20px;
}

.city-content {
    grid-column: col-start / span 8;
    border-right: 1px solid #b2b2b2;
    padding-right: 35px;
}

.city-contact {
    grid-column: col-start 9 / span 5;
    padding-left: 15px;
}

.city-contact h3 {
    margin-bottom: 10px;
}

.city-contact a.job-openings {
    padding: 16px 47px;
}

.city-contact a.btn {
    margin-top: 20px;
}

.city-contact a.job-openings:hover {
    padding-left: 37px;
    padding-right: 57px;
  }

.logos-container {
    width: 100%;
    max-width: 1140px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.brands h2 {
    margin-bottom: 30px;
    margin-left: 40%;
    margin-right: 40%;
}

.brand {
    box-shadow: var(--shadow);
    margin: 30px;
}

.brand img {
    width: 250px;

}







/*Media Queries*/

@media (max-width: 1100px) {
    .city-content {
        grid-column: col-start / span 12;
        border-right: none;
        padding-right: 0;
    }

    .city-contact {
        grid-column: col-start / span 12;
        padding-left: 0;
        text-align: center;
        margin-top: 20px;
    }

    .city-contact a.btn {
        margin-top: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }
}



@media (max-width: 768px) {
    section.city, section.brands {
        padding: 50px 5%;
    }

    section.city-bg {
        width: 100%;
        height: 200px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: bottom;
        position: relative;
        z-index: 1;
    }
    section.podcasts-bg {
        background-position: right;
    }

    .city-container {
        width: 100%;
        top: 0;
        margin-bottom: 0;
        padding: 0;
        box-shadow: none;
        background: none;
    }

    .city-container h2 {
        font-size: 2.25em;
        margin-bottom: 40px;
        text-align: center;
    }
}