/* reset browser styles */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.2;
}
ol { 
  padding-left: 1.4em;
  list-style: decimal;
}
ul {
  padding-left: 1.4em;
  list-style: square;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
} 
/* end reset browser styles */

html {
  background-color: rgb(253,248,171);
}

img {padding-right: 30px;}

body {
  background: url("https://cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png");
  border: 3px solid rgb(75,75,75);
  box-shadow: 0 0 15px 5px rgba(44,82,100,.75);
  max-width: 760px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  padding: 15px;
    margin-top:100px;
}

/* The amazing world of CSS */
h1 {font-size: 2.75em;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: normal;
    text-align: center;
    letter-spacing: 1px;
    color: rgb(235, 75, 7);
    text-transform: uppercase;
    background-color: rgb(73, 199, 252);
    padding: 5px 15px 2px 15px;
    /* top right bottom left */
    margin: 0 -15px 20px -15px;
    /* uses negative margin to make bg color to go full length */
}

h1 {
  animation-duration: 3s;
  animation-name: slidein;
}

@keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%; 
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
  75% {
  font-size: 300%;
  margin-left: 25%;
  width: 150%;
}
}

h2 {
  font-size: 1.5em;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  color: rgb(235, 75, 7);
  border-top: 2px dotted rgb(40, 185, 247);
  border-bottom: 2px dotted rgb(40, 185, 247);
  padding-top: 5px;
  padding-bottom: 5px;
  margin: 15px 0 5px 0;
  overflow: hidden;
  /* gets rid of the border behind the sidebar box */
}

.sidebar {
  width: 30%;
  float: right;
  margin: 10px;
  background-color: rgb(73, 199, 252);
  padding: 10px 20px;
  border: 1px dotted rgb(252,101,18);
  border-top: 20px solid rgb(235, 75, 7);
  border-radius: 10px;
  /* creates rounded edges */
  box-shadow: 5px 5px 10px rgba(0,0,0,.5);
}

.sidebar h2 {
  border: none;
  margin-top: 0;
  padding: 0;
}
/* erases border from h2 tag and top margin/padding, h2 font still applied */

.copyright {font-size: 12px;
           text-align: center;
           border: 1px solid rgb(40, 185, 247);
           text-transform: uppercase;
           margin-top: 10px;
           margin-bottom: 10px;
}

.copyright p {
             color: rgb(235, 75, 7);
}

p {
   margin-top: 5px;
   font-family: 'Dosis', sans-serif;
   color: rgb(150, 64, 27);
}

 p {
  animation-duration: 3s;
  animation-name: slidein;
}

@keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%; 
  }

  to {
    margin-left: 0%;
    width: 100%;
  } 
