* {
    margin: 0; padding: 0; box-sizing: border-box;
}

/*====== Mobile/portrait tablets styles and bigger =========*/

body  {
   background-color: #e8f083;
  font-family: "Black Ops One", system-ui;
}

.container {
    margin: 4px 8px;
}

.header-primary {
    background-color: blue;
    color: white;
    min-height: 80px;
    text-align: center;
}

.page-body {
    display: flex;
    flex-flow: row wrap;
  }

.nav-primary {
    background-color: rgb(228, 129, 0);
    min-height:70px;
    flex-grow: 1;
    flex-basis: 300px;
    display:flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    gap:10px;
    padding: 10px 0px;
}

.nav-primary a {
   border: 2px solid black;
   padding: 8px 12px;
   background-color: orange;
   color: darkblue;
   text-decoration:none ;
}

.nav-primary .desktop {
    border: 4px solid rgb(54, 54, 54);
    display:none;
}


.nav-primary .phone {
    border: 4px solid rgb(0, 0, 0);
    display:block;
}

article {
    background-color:#f5f5f5;
    flex-basis:340px;
    flex-grow:1;
}

article > header {
    background-color: green;
    min-height: 60px;
    margin: 8px;
}

header + figure.hero {
    background-color: yellow;
    min-height: 200px;
    margin:8px;
    background-image: url(../images/u7524129917_kjjjjj_--ar_169_--v_7_a70399a1-f31a-43c0-ab49-c9aa17bd3b55_3.png);
    background-size: cover;
    background-position: center;
}

article p {
    font-size: 1.2em;
    line-height: 1.4;
    margin: .2em 8px 1em 8px;
}

article footer {
    background-color: black;
    color: white;
    min-height: 60px;
}

/*====== Landscape tablet and bigger =========*/
@media screen and (min-width: 1020px) {

  .nav-primary {
    flex-grow:0;
  }

  .header-primary{
    text-align:left;
  }

  article > header {
    margin:0px;
  }

  header + figure.hero {
    margin: 16px;
    width: 260px; aspect-ratio:1;
    float: left;
  }

  article p:nth-of-type(1) {
    margin-top: 16px;
  }

  article > p:nth-of-type(1)::first-letter {
    display:block;
    color:darkred;
    font-size: 2em;
    float:left;
    padding-right: 8px;
  }

 .nav-primary .desktop {
    display:inline;
  }

} /*====== end of wide-screen styles =========*/
