body {
  background: radial-gradient(green, yellow);
}

h1 {
  color:green;
  font-family: "Helvetica", sans-serif;
  font-size: 50px;
  text-align: center;
}

.title {
  color:white;
  font-family: "Helvetica", sans-serif;
  font-size: 25px;
  text-align: center;
}

/* I've centered all text, changed the font to helvetica and change the colors for text */

/* Put my paragraphs in a grid that responds to screen size */

main {
	display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
	font-family: "Helvetica", sans-serif;
  font-size: 25px;
  color: white;
  margin-left: auto;
  margin-right: auto;
  width: 52%;
  padding: 20px;
  line-height: 1.5;
}


/* Centered images and made them smaller */

img {
		width: 40%;
  	height: auto;
  	position: center;
  	object-fit: cover;
}

.whole {
  	display: flex;
}

.frog1 {
    display: block;
  	margin-left: auto;
  	margin-right: auto;
  	width: 50%;
  	float: left;
 		border: 3px solid white;
  	transition-timing-function: ease-in-out;
		transition-property: all;
 		transition-duration: 0.5s;
  	animation-timing-function: linear;
}

  /* added hover animations to my image */

.frog1:hover {
    display: block;
  	margin-left: auto;
  	margin-right: auto;
  	width: 55%;
 		transform: rotate(1deg);
}

  /* Created containers so I can center certain items in my site */
  /* Applied 20px padding to all four sides */

  /* media queries affect background color, header color, & layout of P's */


  @media (max-width: 768px) {
  .main {
    grid-template-columns: 1fr;
  }
    
@media (max-width: 768px) {
  body {
	background: radial-gradient(blue, white);  
}
  
@media (max-width: 768px) {
  h1 {
	color:darkblue;  
}
  
body {
  	padding: 20px;
}