@import url(variables.css);

html {
  min-height: 100%;
  max-height: 100%;
}


body {
  font-variant-numeric: lining-nums;
}


a {
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
}
a, a:focus, button:focus, input:focus, textarea:focus, a:active, button:active {
  outline: none;
}


p:last-child,
p:last-of-type {
  margin-bottom: 0;
}
p:last-child + ul,
p:last-of-type + ul {
  margin-top: 1rem;
}
p:last-child + a.button,
p:last-of-type + a.button {
  margin-top: 2rem;
}


input::placeholder,
textarea::placeholder {
  color: var(--color-text);
  opacity: 1;
}


.landing-page {
  position: relative;
  display: flex;
}
.landing-page-logo {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--global-radius);
}
.landing-page-logo img {
  width: auto;
  height: 140px;
  object-fit: contain;
}
.landing-page-left,
.landing-page-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 4000px rgba(46, 87, 42, 0.75);
  -webkit-box-shadow: inset 0 0 0 4000px rgba(46, 87, 42, 0.75);
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
}
.landing-page-left {
  border-right: 1px solid var(--color-white);
}
.landing-page-right {
  border-left: 1px solid var(--color-white);
}
.landing-page-content {
  position: relative;
  width: 60%;
  padding: 50px 0;
  border-radius: var(--global-radius);
  text-align: center;
}
.landing-page-content-border::before,
.landing-page-content-border::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  opacity: 0;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  z-index: 2;
}
.landing-page-content-border::before {
  border-top: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  border-radius: var(--global-radius);
  transform: scale(0,1);
}
.landing-page-content-border::after {
  border-left: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  border-radius: var(--global-radius);
  transform: scale(1,0);
}
.landing-page-left:hover .landing-page-content-border::before,
.landing-page-left:hover .landing-page-content-border::after,
.landing-page-right:hover .landing-page-content-border::before,
.landing-page-right:hover .landing-page-content-border::after {
  opacity: 1;
  transform: scale(1);
}
.landing-page-icon img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: invert(100%);
}
.landing-page-title {
  padding-top: 20px;
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: var(--global-weight-semi-bold);
  color: var(--color-white);
  line-height: 1;
}
.landing-page-title span {
  display: block;
  padding-top: 10px;
  font-size: 3rem;
  font-weight: var(--global-weight-extra-bold);
  text-transform: uppercase;
}


.landing-page-left:hover,
.landing-page-right:hover {
  box-shadow: inset 0 0 0 4000px rgba(46, 87, 42, 0);
  -webkit-box-shadow: inset 0 0 0 4000px rgba(46, 87, 42, 0);
}
.landing-page-left:hover .landing-page-content,
.landing-page-right:hover .landing-page-content {
  box-shadow: inset 0 0 0 4000px rgba(46, 87, 42, 0.85);
  -webkit-box-shadow: inset 0 0 0 4000px rgba(46, 87, 42, 0.85);
}



@media screen and (max-width: 47.9375em) {
  .landing-page {
    flex-direction: column;
  }
  .landing-page-logo {
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 15px;
  }
  .landing-page-logo img {
    height: 100px;
  }
  .landing-page-left,
  .landing-page-right {
    width: 100%;
    height: 50vh;
  }
  .landing-page-left {
    border-right: 0px;
    border-bottom: 1px solid var(--color-white);
  }
  .landing-page-right {
    border-left: 0px;
    border-top: 1px solid var(--color-white);
  }
  .landing-page-content {
    width: 85%;
    padding: 15px 0 25px 0;
  }
  .landing-page-icon img {
    width: 64px;
    height: 64px;
  }
  .landing-page-title {
    padding-top: 10px;
    font-size: 1.125rem;
  }
  .landing-page-title span {
    padding-top: 5px;
    font-size: 2rem;
  }
  .landing-page-left .landing-page-content {
    margin-bottom: 65px;
  }
  .landing-page-right .landing-page-content {
    margin-top: 65px;
  }
}



@media screen and (min-width: 48em) and (max-width: 63.9375em) {
  .landing-page {
    flex-direction: column;
  }
  .landing-page-logo {
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .landing-page-left,
  .landing-page-right {
    width: 100%;
    height: 50vh;
  }
  .landing-page-left {
    border-right: 0px;
    border-bottom: 1px solid var(--color-white);
  }
  .landing-page-right {
    border-left: 0px;
    border-top: 1px solid var(--color-white);
  }
  .landing-page-content {
    width: 80%;
    padding: 35px 0 45px 0;
  }
  .landing-page-left .landing-page-content {
    margin-bottom: 90px;
  }
  .landing-page-right .landing-page-content {
    margin-top: 90px;
  }
}