@charset "UTF-8";

/* Global Styles */
* {
  box-sizing: border-box;
}

article, aside, footer, header, main, nav, section {
  display: block;
}

/* Body Structure */
body {
  height: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', Helvetica, 'Helvetica Neue', Arial, sans-serif;
}

/* Header */
header {
  background-color: black;
  color: white;
  padding: 50px;
}

/* Navigation */
.header-nav {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0;
}

.header-nav a {
  flex: 1;
  background-color: #333;
  color: #fff;
  border: 1px solid;
  padding: 0.5rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.5s ease-out;
}

.header-nav a:hover,
.header-nav a:focus {
  background-color: #2196F3;
  color: #333;
}

/* Side Navigation */
.sidenav {
  width: 175px;
  position: fixed;
  z-index: 1;
  top: 230px;
  left: 10px;
  background: lightgray;
  overflow-x: hidden;
  padding: 8px 0;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 25px;
  color: #2196F3;
  display: block;
}

.sidenav a:hover {
  color: #064579;
}

/* Page Structure */
div {
  margin: auto;
}

/* Example 1 */
.example1 {
  font-size: 12px;
  transition-property: font-size;
  transition-duration: 3s;
  transition-delay: 1s;
}

.example1:hover {
  font-size: 40px;
  color: blue;
}

/* Example 2 */
.example2 {
  border-style: dashed;
  border-width: 3px;
  display: block;
  width: 200px;
  height: 200px;
  background-color: goldenrod;
  transition: width 2s, height 2s, background-color 2s, transform 2s;
}

.example2:hover {
  background-color: yellow;
  width: 400px;
  height: 400px;
  transform: rotate(90deg);
}


/* Example 3 */
.example3 {
  margin-bottom: 30px;
  width: 300px;
  height: 300px;
  background: maroon;
  transition-property: opacity, height;
  transition-duration: 3s, 5s;
}

.example3:hover {
  opacity: 0.5;
  width: 200px;
  height: 200px;
}

/* Footer */
footer {
  background-color: black;
  color: white;
  height: 80px;
  padding: 10px;
}