/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
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%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
* {
  box-sizing: border-box;
  font-size: 62.5%;
}
body {
  background-image: url(/assets/journey.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1%;
  background: rgba(29, 53, 87, 0.3);
}
@media (max-width: 500px) {
  header {
    flex-direction: column;
    padding: 0;
  }
}
header #logo {
  width: 50px;
  height: 58px;
}
@media (max-width: 500px) {
  header #logo {
    width: 15%;
    height: auto;
    margin-top: 2%;
  }
}
header nav {
  width: 20%;
  display: flex;
  justify-content: space-evenly;
}
@media (max-width: 500px) {
  header nav {
    flex-direction: column;
    justify-content: center;
    width: 80%;
    margin: 1% auto;
  }
}
header nav a {
  text-decoration: none;
  color: #f1faee;
  font-size: 2rem;
}
@media (max-width: 500px) {
  header nav a {
    background-color: #1d3557;
    margin: 4% auto;
    width: 70%;
    text-align: center;
    padding: 2%;
    font-size: 2.4rem;
    border-radius: 50px;
  }
}
.titleSection {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 30vh;
  padding: 0;
}
@media (max-width: 500px) {
  .titleSection {
    margin: 0 auto;
  }
}
.titleSection h1 {
  display: flex;
  justify-content: center;
  font-size: 12rem;
  margin-bottom: 1%;
  background-color: #f1faee;
  color: #e63946;
  width: 100%;
  border: 5px solid #a8dadc;
}
@media (max-width: 500px) {
  .titleSection h1 {
    font-size: 6rem;
    margin: 10% auto;
    text-align: center;
  }
}
.titleSection .buttons {
  display: flex;
  width: 30%;
  margin-top: 1%;
  justify-content: space-between;
  flex-direction: row;
  background-color: transparent;
  border: none;
}
@media (max-width: 500px) {
  .titleSection .buttons {
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }
}
.titleSection .buttons #button-link {
  font-size: 2rem;
  padding: 10% auto;
  border-radius: 20px;
  width: 40%;
  border: 2px dotted #e63946;
  background-color: #a8dadc;
  color: #1d3557;
  text-decoration: none;
}
@media (max-width: 500px) {
  .titleSection .buttons #button-link {
    width: 50%;
    height: auto;
    margin: 2% auto;
    border-radius: 10px;
    font-size: 2rem;
  }
}
#title-header {
  font-size: 10rem;
  text-align: center;
  width: 100%;
  background-color: #f1faee;
  color: #e63946;
  border: 5px solid #a8dadc;
  margin: 5% auto;
}
@media (max-width: 500px) {
  #title-header {
    font-size: 5.5rem;
  }
}
section {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin: 5% auto;
  padding: 2%;
}
@media (max-width: 500px) {
  section {
    flex-direction: column;
  }
}
@media (max-width: 500px) {
  section.middleSection {
    flex-direction: column-reverse;
  }
}
section div {
  text-align: center;
  width: 40%;
  background-color: #f1faee;
  border: 5px solid #a8dadc;
  padding: 1%;
  border-radius: 25%;
}
@media (max-width: 500px) {
  section div {
    width: 85%;
    border-radius: 15%;
    margin-bottom: 5%;
  }
}
section div h2 {
  font-size: 8rem;
  margin-bottom: 5%;
  color: #e63946;
  text-decoration: underline;
}
@media (max-width: 500px) {
  section div h2 {
    font-size: 4.2rem;
    margin-bottom: 2%;
  }
}
section div p {
  font-size: 2rem;
  color: #457b9d;
}
@media (max-width: 500px) {
  section div p {
    font-size: 1.6rem;
    padding: 3%;
  }
}
section img {
  width: 40%;
}
@media (max-width: 500px) {
  section img {
    width: 90%;
  }
}
