/* rewatch the class to fix large display view issue */

* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body {
    background-color: #3655bb;
    
}

h1 {
    position: absolute;
    top: 160px;
    right: 40px;
    font-size: 14pt;
    font-weight: normal;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;
}
 
section {
    min-height: 500px;
    background-color: #222;
    margin: 8px;
}

section h2, section h2 + p {
    text-align: center;
    color: pink;
}

.contentframe {
    min-height: 400px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    padding: 12px;
    gap: 10px;
}

.contentframe div {
    border: 2px solid black;
    flex: 0 0 45%;
}

.text {
    background-color: #183697;
}

/* styling odd and even children */
section:nth-child(odd) {
    


}

section:nth-child(even) {
    
    

}

section:nth-child(odd) .hero{
    background-image: url(/images/background.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    border: 0;
    position: relative;
    right: -10%;
    


}

section:nth-child(even) .hero{
    background-image: url(/images/background.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    border: 0;
    position: relative;
    left: -10%;
    order: 2; /* puts on opposite side/order */
    


}


@media screen and (max-width: 750px) {
    .contentframe div {
        border: 0;
        flex: 0 0 96%;
        order: 1;
    }

    section:nth-child(odd) .hero{
        right: 0;
        left: 0;
        margin-bottom: 20px;
    
    
    }

    section:nth-child(even) .hero{
        right: 0;
        left: 0;
        margin-bottom: 20px;
    
    }


}