.contents {
    position: relative;
    display: grid;
    top: -40px;
    width: 100%;
}

.hero-banner {
    width: 100%;
    height: 348px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: -1;
}

.overlay-pic-1 {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.pic-1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 -100px;
}

.hero-banner span {
    width: 70%;
    position: absolute;
    top: 170px;
    font-family: var(--heading);
    font-size: 12px;
    text-align: center;
    z-index: 2;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.yellow-button {
    pointer-events: auto;
    position: absolute;
    top: 280px;
    z-index: 3;
}

.matters h1 {
    width: 100%;
    font-family: var(--flashy-heading);
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.state-logo {
    height: 50px;
    width: 50px;
}

.state p {
    font-family: var(--heading);
    font-size: 12px;
    padding-top: 10px;
}

.four-states {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

.state {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info {
    display: flex;
    overflow: hidden;
    justify-content: space-between;
}

.pic {
    cursor: pointer;
    overflow: hidden;
    padding: 20px;
}

.container {
    display: flex;
    margin-top: 20px;
    overflow: hidden;
}

.img {
    width: 100%;
    height: 100%;
}

.pic {
    transition: transform 0.5s ease;
}

.pic:hover {
    transform: scale(1.1);
}

.explore-matter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: auto;
}

.matter-states {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#explore-matters {
    position: relative;
    z-index: 6;
    top: 50%;
    padding: 4px 6px;
    background-color: #1E1E1E;
    overflow: hidden;
}


@media (min-width: 834px) {
    .pic-1 {
        object-position: 0 -200px;
    }
    .hero-banner span {
        font-size: 16px;
    }
}

@media (min-width: 834px) {
    .hero-banner span {
        font-size: 16px;
    }

    .pic-1 {
        object-position: 0 -150px;
    }
}

@media (min-width: 1200px) {
    .pic-1 {
        object-position: 0 -310px;
    }
}