:root {
  --logo-blue: #5994cd;
  --logo-light-blue: #7cafe1;
}

body,
html {
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* FONTS */
h1 {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 64px;
}

h2 {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: calc(3rem + 0.390625vw);
}

p,
a {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: calc(0.8rem + 0.390625vw);
}

/* BUTTON SWEEP ANIMATION */
.website-link {
  margin-bottom: 3em;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 5px;
  border-color: #5994cd;
  border-style: solid;
  color: #5994cd;
  position: relative;
  overflow: hidden;
  z-index: 1;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.website-link::before {
  background-image: linear-gradient(
    45deg,
    var(--logo-light-blue),
    var(--logo-blue)
  );
  color: white;
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.website-link:hover,
.website-link:focus,
.website-link:active {
  color: white;
}

.website-link:hover:before,
.website-link:focus:before,
.website-link:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/*Page background and content styling*/
.bgimg {
  background-image: url("../images/clouds-hero.jpg");
  height: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
  color: #676767;
}

/* Position and size logo at top left */
.logo {
  position: absolute;
  height: 8%;
  width: auto;
  top: 10px;
  left: 5%;
}

.bottomleft {
  position: absolute;
  bottom: 0;
  left: 16px;
}

/* Center the main text */
.main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.info {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 5rem;
  border-radius: 5px;
  text-align: center;
}

hr {
  margin: 1rem 0 3rem 0;
}

.info h2 {
  text-align: center;
  margin: 0;
}
.location {
  grid-area: Location;
}

.contact {
  grid-area: Contact;
  justify-self: end;
}

.registration {
  grid-area: Registration;
  justify-self: center;
}

.info-links-grid {
  text-align: left;
  display: grid;
  grid-template-areas:
    "Contact Location"
    "Registration Registration";
  column-gap: 2rem;
}

.info-links-grid a {
  text-decoration: none;
  color: var(--logo-blue);
  transition: 300ms linear;
}

.info-links-grid a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 756px) {
  .info-links-grid {
    grid-template-areas:
      "Location"
      "Contact"
      "Registration";
  }
}

/* Color blocks span the whole page */
.color_ftr {
  width: 100%;
  position: absolute;
  bottom: 0;
}

/* Three equal color blocks */
.color_block {
  width: 33.33%;
  float: left;
  height: 20px;
}

.b-green {
  background-color: #9ece9a;
}

.b-blue {
  background-color: #5994cd;
}

.b-purple {
  background-color: #be84c2;
}
