/* Hero Background */

#houston-blue-hero-bg {
    overflow: visible;
    position: relative;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 6.72%, rgba(0, 0, 0, 0) 72.6%), url(https://www.uh.edu/houston-blue/_img/hero-bg-v3.jpg);
}

#houston-blue-hero-bg h1 {
    color: #000000;
}


@media (min-width: 992px) {
    #houston-blue-hero-bg h1 {
        font-size: 100px;
        max-width: 500px;
    }

    #houston-blue-hero-bg {
        height: 700px;
        margin: 40px;
    }

    .houston-blue-hero-text {
        position: absolute;
        top: 63%;
        left: 16%;
    }

    #houston-blue-hero-bg h1 {
        color: #FFFFFF;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .houston-blue-hero-text {
        position: absolute;
        top: 63%;
        left: 5%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #houston-blue-hero-bg h1 {
        font-size: 100px;
        max-width: 500px;
    }

    #houston-blue-hero-bg {
        height: 700px;
        margin: 40px;
    }

    #houston-blue-hero-bg h1 {
        color: #FFFFFF;
    }
}

@media (max-width: 767px) {
    #houston-blue-hero-bg {
        background: none;
    }

    #houston-blue-hero-bg,
    #houston-blue-hero-bg .container {
        padding: 0;
    }

    .visible-xs img {
        width: 100%;
    }

    .houston-blue-hero-bg {
        padding: 0 2.5rem;
    }

    .houston-blue-hero-text {
        padding: 0 1.25rem;
    }
}

/* Nav Bar - Hero Background */

#houston-blue-hero-bg .navbar-nav {
    left: 0;
    width: 100%;
    text-align: center;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}


#houston-blue-hero-bg .navbar-nav li a {
    color: #000000;
}

#houston-blue-hero-bg .navbar-nav li {
    background-color: #76A2DB;
    height: 60px;
}


@media (min-width: 1200px) {
    #houston-blue-hero-bg .navbar-nav {
        padding-left: 16% !important;
        gap: 40px;
        bottom: -67px;
    }
}

/* The navigation bar doesn’t have enough space to fit all four 
options when the screen width is below 804px.*/


@media (min-width: 805px) and (max-width: 1199px) {
    #houston-blue-hero-bg .navbar-nav {
        bottom: -67px !important;
        gap: 20px;
        padding-left: 5px !important;
    }
}

@media (min-width: 768px) and (max-width: 804px) {
    #houston-blue-hero-bg .navbar-nav {
        bottom: -95px;
        padding-left: 0;
        gap: 20px;
    }
}

@media (min-width: 768px) {
    #houston-blue-hero-bg .navbar-nav {
        position: absolute;
        background-color: #76A2DB;
        flex-direction: row;
        padding: 15px 5px;
    }

    #houston-blue-hero-bg .navbar-nav li {
        height: auto;
    }
}

@media (max-width: 767px) {
    #houston-blue-hero-bg .navbar-nav li {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #intro-tablet {
        display: none;
    }
}

/* Intro - Tablet and larger */

.intro-tablet {
    max-width: 740px;
    margin-top: 80px;
    position: relative;
    left: 9%;
    margin-top: 0px;
}

@media (max-width: 1200px) {
    .intro-tablet {
        max-width: 740px;
        position: relative;
        left: 0% !important;
    }
}


/* Houston Blue Merchandise */

#houston-blue-merchandise img {
    width: 100%;
}

#houston-blue-merchandise a {
    text-decoration: underline;
    color: #000000;
}

#houston-blue-merchandise .houston-blue-svg {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#houston-blue-merchandise h2 {
    margin: 0;
    display: flex;
    text-align: center;
}

/* image grid section - mobile */

.image-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;

}

.image-grid img {
    width: 440px;
    height: 440px !important;
    object-fit: cover;
}

@media (min-width: 1200px) {
    .image-grid {
        grid-column-gap: 40px;
        grid-row-gap: 40px;
        margin-top: 40px;
    }

    .grid-image-1 {
        grid-area: 1 / 1 / 2 / 2;
    }

    .grid-image-2 {
        grid-area: 1 / 2 / 2 / 3;
    }

    .grid-image-3 {
        grid-area: 2 / 1 / 3 / 3;
    }

    .grid-image-4 {
        grid-area: 1 / 3 / 3 / 4;
    }
    
        .grid-image-3-mobile,
    .grid-image-4-mobile {
        display: none;
    }
}

@media (max-width: 1199px) {
    .grid-image-3,
    .grid-image-4 {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);  
        grid-template-rows: auto;               
        justify-content: center;
        margin-top: 40px;
    }

    .image-grid img {
        max-height: 450px !important; 
        width: 100%;                   
        height: auto;                  
    }
}



@media (min-width:768px) {
    #houston-blue-merchandise .intro {
        text-align: center;
        max-width: 857px;
        margin-left: auto;
        margin-right: auto;
        font-size: 30px;
        font-weight: 300;
        line-height: 37.5px;
        text-align: center;
    }


    #houston-blue-merchandise .houston-blue-svg {
        margin-bottom: 30px !important;
    }

    .image-grid {
        display: grid !important;
    }

    .image-grid img {
        height: 100% !important;
        width: 100% !important;
    }
    
    #houston-blue-merchandise h2 {
    justify-content: center;
}
}


/* Retail Locations */
#retail-locations ul {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

#retail-locations ul li {
    background-color: #F5F5F5;
    border-radius: 50px;
    border: 1px solid #E9E9E9;
    text-align: start;
    font-size: 18px;
    padding: 15px 20px 15px 30px;
    position: relative;
}

#retail-locations ul li::after {
    background-image: url(https://www.uh.edu/houston-blue/_img/external-icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    cursor: pointer;
    position: absolute;
    left: 90%;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
}

#retail-locations .houston-blue-svg {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

#retail-locations .houston-blue-svg svg {
    width: 42px;
}

#retail-locations h2 {
    display: flex;
    justify-content: center;
    margin-bottom: -20px;
}

#retail-locations ul li:hover {
    cursor: pointer;
}

@media (min-width: 1200px)  {
    #retail-locations ul {
        max-width: 1000px;
    }

    #retail-locations ul li {
        width: 480px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #retail-locations ul {
        column-gap: 20px;
    }

    #retail-locations ul li {
        width: 400px;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    #retail-locations ul {
        column-gap: 20px;
    }

    #retail-locations ul li {
        width: 320px;
        padding: 15px 0 15px 20px !important;
    }

}


@media (min-width:768px) {
    #retail-locations ul {
        list-style: none;
        /* padding: 0; */
        /* margin: 40px auto 0 auto; */
        display: flex;
        flex-direction: row;
        row-gap: 20px;
        column-gap: 40px;
        flex-wrap: wrap;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    #retail-locations ul li {
        padding: 15px 0 15px 50px;
    }

    .retail-locations-p {
        display: flex !important;
        justify-content: center;
        font-size: 16px;
        font-style: italic;
        font-weight: 400;
        line-height: 20px;
    }

    #retail-locations h2 {
        margin-bottom: 20px;
    }

    #retail-locations .houston-blue-svg svg {
        width: 90px;
    }
}

@media (max-width: 767px) {
    .retail-locations-p {
        display: none !important;
    }

    #retail-locations,
    #houston-identity,
    #promotional-video {
        margin-top: -70px;
    }

    #houston-identity .image-container {
        margin-top: -30px;
    }

    #retail-locations h2 {
        margin: -15px 0 -20px 0 !important;
        text-align: center;
    }
}


/* Houston’s identity */

#houston-identity .houston-blue-svg {
    margin-bottom: 40px;
}

.houston-identity-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
}

#houston-identity .image-container {
    display: flex;
    flex-direction: column;
    margin-left: auto !important;
    margin-right: auto !important;
}

#houston-identity .text-content {
    text-align: center;
}


@media (min-width: 1200px) {
    .houston-identity-container {
        flex-direction: row;
        gap: 40px;
        justify-content: center;
    }

    #houston-identity .text-content {
        max-width: 478px;
        text-align: left;
    }

    #houston-identity .image-container {
        display: flex;
        flex-direction: row;
        gap: 40px;
        margin: 0 !important;
    }

    /* #houston-identity .image-wrapper {
        width: 348px;
        text-align: center;
    } */

    #houston-identity .image-wrapper img {
        width: 348px;
        height: 480px;
        object-fit: cover;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #houston-identity .houston-identity-container {
        flex-direction: column;
        align-items: center;
        display: flex;
    }

    #houston-identity .text-content {
        max-width: 616px;
        text-align: center;
    }

    #houston-identity .image-container {
        display: flex;
        flex-direction: row;
        gap: 40px;
    }
}

/* Promotional video */

#promotional-video h2 {
    display: flex;
    justify-content: center;
}

#promotional-video .houston-blue-svg {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

#promotional-video .houston-blue-svg svg {
    width: 56px;
}

#promotional-video h2,
#houston-identity h2,
#retail-locations h2 {
    margin: 0;
 }

@media (min-width: 1200px) {
    #promotional-video .houston-blue-svg svg {
        width: 90px;
    }
}


#promotional-video .video-section {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1520px;
    max-height: 855px;
    width: 100%;
    /* height: 100%; */
    margin: 40px auto;
}

#promotional-video .video-section iframe {
    width: 100%;
    height: 100%;
    max-width: 1520px;
    max-height: 855px;
    aspect-ratio: 16 / 9;
}