

* {
  box-sizing: border-box;
  
}

body {
  background-color: rgba(242,241,241,1);
  font-family: Arial, Helvetica, sans-serif;
}

h2 {
  color: black;
}


/*Header styles*/
.header {
  position: relative;
  color: red;
}

.background {
  opacity: .30;
  width: 100%;
  height: 450px;
}

.title1 {
  position: absolute;
  left: 0;
  top: 40%;
  width: 100%;
  text-align: center;
  font-size: 40px;
}

.title2 {
  position: absolute;
  left: 0;
  top: 60%;
  width: 100%;
  text-align: center;
  font-weight: bold;
}

/*Nav Bar*/

.navbar {
  overflow: hidden;
  background-color: rgba(0, 0, 0, .85);
}

.navbar a {
  float: left;
  display: block;
  color: red;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: bold;
}

@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
}

.navbar a.about {
  float: right;
}

.navbar a:hover {
  background-color: red;
  color: white;
  font-weight: bold;
}

/*Timeline*/

#entire-timeline {
  margin: 10px;
}

p.census {
  font-weight: bold;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/*This is the line through*/
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: red;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 15%;
}

.container {
  padding: 10px 40px;
  position: relative;
  background-color: transparent;
  width: 50%;
}

/*This affects the "bullets*/
.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: red;
  border: 4px solid red;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}
.left {
  left: 0;
}

.right {
  left: 50%;
}

/*These are the arrows*/
.left::before {
  content: '';
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid red;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent red;
}

.right::before {
  content: '';
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid red;
  border-width: 10px 10px 10px 0;
  border-color: transparent red transparent transparent;
}


.right::after {
  left: -16px;
}

.content {
  padding: 20px 30px;
  background-color: whitesmoke;
  position: relative;
  border-radius: 6px;
  border: 1px solid red;
  color: red;
}

.right-shadow:hover {
  box-shadow: 5px 10px 18px red;
}

.left-shadow:hover {
  box-shadow: -5px 10px 18px red;
}
@media screen and (max-width: 600px) {

  .timeline::after {
    left: 31px;
  }

  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    margin: 5px;
  }

  .container::before {
    left: 60px;
    border: medium solid red;
    border-width: 10px 10px 10px 0;
    border-color: red;
  }

  .left::after, .right::after {
    left: 15px;
  }

  .right {
    left: 0%;
  }

}


/*Footer*/

.footer {
  padding: 20px;
  text-align: center;
  background: inherit;
}

/*Pages*/

/*acerca-de*/

article {
  margin: 80px;
  border: 4px solid red;
  border-radius: 8px;
  padding: 10px;
}