/*
* Stylesheets
*/

:root {
  --primary: #1F396A;
  --secondary: #003290;
  --tertier: #373737;
  --white: #ffffff;
}

* {
  font-family: sans-serif;
  color: var(--tertier);
}

html, body {
  margin: 0;
  padding: 0;
}

nav,
section {
  width: 100%;
  display: flex;
  justify-content: center;
  background: var(--white);
}
nav .wrapper,
section .wrapper  {
  width: 1280px;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer {
  background: #3971C2;
  width: 100%;
  display: flex;
  justify-content: center;
}
footer .wrapper {
  width: 1280px;
  padding: 2rem 0;
  text-align: center;
}
footer .wrapper a {
  color: var(--white);
  font-weight: bold;
  font-size: 23px;
  text-decoration: none;
}
footer .wrapper a:hover {
  text-decoration: underline;
}
h1 {
  font-weight: bold;
  font-size: 58px;
  color: var(--primary);
}
.subtext {
  font-weight: bold;
  font-size: 21px;
  color: var(--secondary);
}
p {
  font-weight: normal;
  font-size: 18px;
  line-height: 1.3;
  color: var(--tertier);
}
p.bold {
  font-weight: bold;
  font-size: 21px;
}
*.white {
  color: var(--white);
}
.hero {
  flex-wrap: wrap;
}
.hero .text {
  width: 40%;
}
.hero .image {
    width: 43%;
}
.hero .image img {
  width: 100%;
}
.events {
  background: url(../images/background-blue.png);
  background-size:100%;
  background-clip: content-box;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 1000px;
}
.events .text {
  width: 50%;
}
.events .image {
    width: 45%;
}
.events .image img {
  width: 100%;
}
.more {
  background: url(../images/Cirlcles.png);
  background-size: 30%;
  background-repeat: no-repeat;
  background-position: right bottom;
}
.more .wrapper {
  align-items: flex-start;
  display: flex;
}
.more .text {
  width: 60%;
}
.more .text  p {
  margin-top: 0;
}
.more .highlight {
  width: 30%;
}
.more .highlight p {
  font-size: 32px;
  margin-top: 0;
  line-height: 1.5;
}
.more .highlight p b {
  font-size: 42px;
}

@media (max-width: 768px) {
    nav .wrapper,
    section .wrapper  {
      width: 100%;
      padding: 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }
    h1 {
      font-weight: bold;
      font-size: 42px;
      color: var(--primary);
    }
    .hero .text {
      width: 100%;
      order: 2;
    }
    .hero .text * {
      text-align: center;
    }
    .hero .image {
        width: 100%;
        order: 1;
    }
    .events {
      background: url(../images/background-blue-mobile.png);
      background-size:100%;
      background-clip: content-box;
      background-repeat: no-repeat;
      background-position: top center;
      min-height: 800px;
    }
    .events .text {
      width: 100%;
      order: 1;
      margin: 5rem 0 3rem 0;
    }
    .events .text * {
      text-align: center;
    }
    .events .image {
      width: 100%;
      order: 2;
    }
    .more {
      background: url(../images/Cirlcles.png);
      background-size: 100%;
      background-repeat: no-repeat;
      background-position: right bottom;
    }
    .more .text {
      width: 100%;
      order: 2;
    }
    .more .highlight {
      width: 100%;
      order: 1;
    }
    .more .highlight p {
      font-size: 32px;
      margin-top: 0;
      line-height: 1.5;
    }
    .more .highlight p b {
      font-size: 42px;
    }
}
