header {
  padding: 1rem;
  border: 4px  solid rgb(166, 0, 0);
    margin-top: 5rem;
    border-radius: 2rem;
    background-color: white;
  }

img#jac-logo {
    width: 20rem;
    display: block;
    margin: 0 auto;
}

main {
  padding: 1rem;
  
}
body {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
  background-image: url(bgimg/newspaper.jpg);
}

h1 {  
  font-family: "Caveat Brush", cursive;
  font-weight: 400;
  font-style: normal;
   font-optical-sizing: auto;
   text-align: center;
 
}



h2,h3,h4,h5,h6,label,legend {
 font-family: "Special Elite", system-ui;
  font-weight: 400;
  font-style: normal;
  margin: .5rem 0 1rem 0;
  
}

    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: bold;
        line-height: 1.1;
        
    }

header h2 {
font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.2rem;
}

h2{
  text-align: center;
}
.works {
   font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: italic; 
  font-size: 1.2rem;
  text-align: center;
 
}

.account {
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: italic; 
  font-size: 1.2rem;
  
}


footer {
  font-family:"DM Serif Text", serif ;
  text-align: center;
}

h1 { 
  font-size: 5.1em;
 }

h2 { 
  font-size: 1.8104em;
 }

h3 { 
  font-size: 1.5607em;
 }

h4 { 
  font-size: 1.2em; 
}

h5 { 
  font-size: 1.16em;
 }

p {
   font-size: 1em;
   }

small {
   font-size: .8621em; 
  }

  picture {
    margin: 0 0 1rem 0;
    display: block;
  }

  .logos {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }
  
  .android img {
    width: 160px; ;
    position:relative ;
    top: 19px;;
  }

  .apple img {
    position: relative;
    top: 6px;
  }


  .download {
    position: relative;
  }

  .download::after {
        content: " ";  /* the pseudo-element cannot be empty for this trick to work */
        display: block;
        height: 2rem; /* use any size you need */
        width: 9%; /* use any size you need */
        background-image: url(bgimg/iNaturalistAU-Logomark-green.svg);  /* place image in the css/bgimg folder as they are decorative only */
        background-size: cover;
        background-repeat: no-repeat;
        top: -1rem;
        right: -3%;
        position: absolute;
    }

    .who {
      position: relative;
    }

    .who ::after {
       content: " ";  /* the pseudo-element cannot be empty for this trick to work */
        display: block;
        height: 24rem; /* use any size you need */
        width: 27%; /* use any size you need */
        background-image: url(bgimg/face.png);  /* place image in the css/bgimg folder as they are decorative only */
        background-size: cover;
        background-repeat: no-repeat;
        top: -11rem;
        right: 84%;
        position: absolute;
    }

    .when {
      position: relative;
    }

    .when ::after {
       content: " ";  /* the pseudo-element cannot be empty for this trick to work */
        display: block;
        height: 56rem; /* use any size you need */
        width: 51%; /* use any size you need */
        background-image: url(bgimg/pocket-watch.png);  /* place image in the css/bgimg folder as they are decorative only */
        background-size: cover;
        background-repeat: no-repeat;
        top: 6rem;
        right: 40%;
        position: absolute;
    }

    .where {
      position: relative;
    }

    .where ::after {
      content: " ";  /* the pseudo-element cannot be empty for this trick to work */
        display: block;
        height: 20rem; /* use any size you need */
        width: 35%; /* use any size you need */
        background-image: url(bgimg/person.png);  /* place image in the css/bgimg folder as they are decorative only */
        background-size: cover;
        background-repeat: no-repeat;
        top: 8rem;
        right: 21%;
        position: absolute;
    }

    .why {
      position: relative;
    }

    .why ::after {
       content: " ";  /* the pseudo-element cannot be empty for this trick to work */
        display: block;
        height: 16rem; /* use any size you need */
        width: 26%; /* use any size you need */
        background-image: url(bgimg/head.png);  /* place image in the css/bgimg folder as they are decorative only */
        background-size: cover;
        background-repeat: no-repeat;
        top: 11rem;
        right: -5%;
        position: absolute;
    }

    .wrapper header {
      background-color: white;
    }

    footer {
      background-color: white;
    
    }

    section
    { border: 4px  solid rgb(166, 0, 0);
    margin-top: 5rem;
    border-radius: 2rem;
    background-color: white;
  }

    .when picture {
      margin: 1rem;
      width: 20rem;
     
    }

    .who p {
	font-size: 2em;
	padding: 1rem;
	padding-top: 4rem;
}

  .what p {
	font-size: 2em;
	padding: .5rem;
	padding-left: 26rem;
	padding-top: 2rem;
}

.when p {
	font-size: 2.5rem;
	padding-top: 6rem;
}

  .where p {
	font-size: 2.5em;
	padding: 6rem;
}

.content {
	padding: 1rem;
}

.why p {
	font-size: 1.5em;
	padding-top: 3rem;
}



        /* mobile styles here */

    @media screen and (min-width: 60rem) {

        /* desktop styles only go here */

        .wrapper {
            max-width: 60rem;
            margin: 0 auto;
        }

        .who picture {
          width: 50%;
          float: right;
        }

        .who .flex-container {
          display: flow-root;
      }

        .what picture {
          width: 50%;
          float: left;
          margin: 1rem;
        }

        .what .flex-container {
          display: flow-root;
        }

        .when .flex-container{
          display: flex;
          flex-direction: row-reverse;
        }

        .where picture {
          width: 35%;
          float: left;
          margin: 1rem;
        }

        .where .flex-container {
          display: flow-root;
        }

        .iNaturalist .flex-container {
          display: flex;
          flex-direction: row-reverse;
        }

        .iNaturalist picture {
	        margin: 1rem;
        }

        .why .flex-container {
          display: flex;
        }

        .why picture {
          width: 130rem;
          margin: 1rem;
        }

        .when picture {
    width: 30rem;
    }

    .what picture {
    width: 25rem;
}
        

    } /* always comment closing media query bracket */

    