h1 {
  color: black;
  font-size: 50px
}

h2 {
  font-size: 30px
}

body {
  background-color: lightgrey;
  font-family: courier;
}

/*makes the Flexbox text under the iamge*/
h2 {
  clear: both;
}
/* this makes it so the image is at the same place no matter the screen size */
.floatfix {
  width: 400px
}


/* makes the float text have a smaller space so it goes on multiple lines */
.floattext {
  width: auto;
  margin-top: 40px;
}
/* makes the image go to the right */

.imagefloat {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  border: solid black 5px

}

.flexboxmain {
  display: flex;
  gap: 40px;
  margin-top: 10px;
  clear: both
}
/* what the flex boxes will look like */
.flexbox {
  background-color: lightblue;
  padding: 30px;
  border: solid darkblue 5px;
  border-radius: 20px;
  width: 150px;
  height: 100px;
  text-align: center
    
}