h1 {
  color:blue;
  font-size: 40px;
  text-align: center;
}

/* nav style */
nav {
  background-color: #333;
  padding: 15px;
  text-align: center;
}

/* nav unlist style */
nav ul {
  list-style: none;
  padding-left: 40px;
  margin-top: 30px;
  margin-bottom: 30px;
}

nav a {
 color: white;
  text-decoration: underline;
  margin: 0 20px;
  font-size: 40px;
  font-family: Arial, sans-serif;  
}

nav a:hover {
  color: gold;
}

/* spacing between <li> items */
ul li {
  margin-bottom: 10px;
}
.h2-styled {
 color: navy;
  font-family: Arial, sans-serif;
  font-size: 32px;
  border-bottom: 3px solid navy;
  padding-bottom: 8px;
}

.h3-styled {
 color: darkgreen;
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
  margin-top: 20px;
}

/* Serif font */
.quote1 {
	font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  font-weight: bold;
  color: darkblue;
}

/* quote 2 - San-serif font */
.quote2 {
 font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight:600;
  color: darkgreen;
  background-color: #e8f5e9;
}

/* quote 3 - Decorative font */
.quote3 {
 font-family: "Courier New", monospace;
  font-size: 14px;
  letter-spacing: 2px;
  color: purple;
  text-shadow: 2px 2px 2px 4px gray;
}

.img-styled {
 width: 300px;
  height: auto;
}

/* Initially, the box is light blue.
When you move your mouse over it, it changes to orange.
The transition property makes the color change smoothly. */
.hover-box {
  width: 500px;
  height: 30px;
  background-color: lightblue;
  border: 2px solid navy;
  transition: backgground-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: Arial, san-serif;
}

/* hover color */
.hover-box:hover {
  background-color: orange;
}

/* move box style */
.move-box {
  width: 500px;
  height: 30px;
  background-color: steelblue;
  border: 2px solid navy;
  transition: transform 0.5s ease;
    display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Move to the right */
.move-box:hover {
  transform: translateX(50px);
}

/* Change color and size */
.animated-box {
  width: 500px;
  height: 30px;
  background-color: blue;
  pistion: relative;
  
  animation: changeBox 4s infinite;
}

/* Starts as a blue box
Grows larger and turns red
Shrinks back and turns green */
@keyframes changeBox {
  0% {
    background-color: blue;
    transform: scale(1);
  }
  
  50% {
    background-color: red;
    transform: scale(1.5);    
  }
  
  100% {
    background-color: green;
    transform: scale(1);
    
  }
  
}