@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 2;
  color: #666;
  background: #f9f9f9;
  text-shadow: 1px 1px 0px white;
}

h1 {
  font-weight: 300;
  line-height: 1.2;
  font-size: 1.8em;
}

h1 small {
  color: #c9c9c9;
  font-size: 0.75em;
}


article {
  width: 600px;
  margin: 80px auto;
  position: relative;
  padding: 0; 
}

/* Responsive styles */
@media (max-width: 768px) {
  article {
    width: 90%;
    margin: 40px auto;
    padding: 0 10px; 
  }
}

@media (max-width: 480px) {
  article {
    width: 95%;
    margin: 20px auto;
    padding: 0 15px; 
  }
}


hr {
  width: 0%;
  min-width: 20%;
  max-width: 100%;
  margin: 0 auto;
  border: none;
  border-bottom: 1px solid #666;
  position: relative;
  transition: box-shadow 200ms ease-in-out;
  box-shadow: 0px 0px 0px 0px #f9f9f9;
}

hr.activated {
  box-shadow: 0px 4px 0px 0px #666;
}

label {
  position: absolute;
  opacity: 0;
  right: 100%;
  margin-right: 4px;
  padding: 4px;
  height: 12px;
  font-size: 14px;
  margin-top: -12px;
  border-radius: 2px 4px;
  transition: opacity 200ms ease-in-out;
  color: #666;
  width: 100px;
  text-align: right;
  line-height: 1.2;
}

hr.activated + label {
  opacity: 1;
}

a {
  text-decoration: none;
  color: #111;
}

p {
  text-align: justify;
  padding: 0 10px; 
}

.footer{
  display: flex;
  flex-direction: row;
  align-items:flex-start;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    justify-content: space-evenly;
  }
}

h4 {
  font-size: 1.4em;
  margin-top: 20px;
  color: #333;
  font-weight: bold;
}

p.big {
  font-size: 1.2em;
  color: #444;
}

section {
  margin-bottom: 30px;
  margin-left: 10px;
  margin-right: 10px;
}

section p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}

article p {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
}

footer {
  margin-top: 50px;
  text-align: center;
  font-size: 0.9em;
  color: #888;
}