* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body {
    background-color: #456;
    color: #eee;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1 {
    text-align: center;
    text-decoration: underline;
    font-size: 14pt;
    font-weight: normal;
    color: #89a;
    margin-top: 20px;
}

nav {
    display: flex;
    list-style-type: none;
    justify-content: space-evenly;
    margin-top: 20px;
    gap: 12px;
    flex-flow: row wrap;
    margin-left: 20px;
    margin-right: 20px;
}

nav > a {
    background-color: yellow;
    padding: 12px 16px; 
    flex: 0 0 auto;  
    text-align: center;
    text-decoration: none;
    color: #222;
    font-weight: bold;
}

section {
    min-height: 500px;
    background-color: #222;
    margin: 16px;
}

section h2, section h2 + p {
    text-align: center;
    color: pink;
}

.content_frame {
    border: 4px solid yellow;
    min-height: 400px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    padding: 12px;
    margin: 12px;
}

.content_frame > div {
    border: 4px solid purple;
    flex: 0 0 45%;
}

section:nth-child(odd) .hero {
    background-image: url(../images/climber4.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    border: 0;
    position: relative;
    right: -10%;
}

section:nth-child(odd) .text {
    border: 0px solid red;
    background-color: orange;
}

section:nth-child(even) .hero {
    background-image: url(../images/climber4.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    border: 0;
    position: relative;
    left: -10%;
    order: 2;
}

section:nth-child(even) .text {
    border: 0px solid red;
    background-color: orangered;
}

/* mobile styles */

@media screen and (max-width: 750px) {

    .content_frame > div {
        flex: 0 0 96%;
        order: 2; /*fixes all of them*/

    }

  section:nth-child(odd) .hero {
    right: 0;
    margin-bottom: 20px;
  }

  section:nth-child(even) .hero {
    left: 0;
    margin-bottom: 20px;
  }


}
/* end mobile styles */







