/**
 * @author Thomas S. Butler
 * @abstract This is CSS (style sheet) for the comin soon page.
 * @copyright 2018-2019 Thomas S. Butler
 */

/* Import app CSS */
@import url("app.css");

/* Splash Settings */

body.splash::selection {
  color: #FFFFFF;
  background: #2a2b39;
}

body.splash::-moz-selection {
  color: #FFFFFF;
  background: #2a2b39;
}

body.splash {
  background: linear-gradient(#1ad6fd, #1d62f0);
  background-image: linear-gradient(-45deg, #1ad6fd, #1d62f0, #4567b2 20%, #2e0234 80%);
  background-size: 600%;
  background-position: 0 0;
  animation-duration: 28s;
  animation-iteration-count: infinite;
  animation-name: gradients;
  overflow: hidden;
}

body.splash .modal {
  margin-top: -80px;
}

body.splash .modal-content {
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
  -moz-box-shadow: 0 16px 28px 0 rgba(0,0,0,.35),0 25px 55px 0 rgba(0,0,0,0.20);
  -webkit-box-shadow: 0 16px 28px 0 rgba(0,0,0,.35),0 25px 55px 0 rgba(0,0,0,0.20);
  box-shadow: 0 16px 28px 0 rgba(0,0,0,.35),0 25px 55px 0 rgba(0,0,0,0.20);
}

body.splash .modal-inner {
  position: relative;
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
  padding: 0px !important;
}

body.splash .close-modal {
  display: none;
}

.splash-inner {
  position: relative;
  text-align: center;
}

.card-container {
  position: relative;
  cursor: pointer;
}

.splash h1 {
  font-size: 65px;
  font-family: 'SourceSansPro', sans-serif;
  margin-bottom: 0;
  -webkit-font-smoothing: antialiased;
}

.splash img {
  width: 100%;
  max-width: 250px;
  margin: 0px auto;
}

.splash span.coming-soon {
  font-size: 16px;
  font-family: 'RobotoLight', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.splash p.intro-text {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  font-size: 24px;
  font-family: 'RobotoLight', sans-serif;
  margin-bottom: 0;
  padding: 28px;
  top: 155px;
  -webkit-font-smoothing: antialiased;
  -webkit-transition: opacity 800ms cubic-bezier(0.91, 0.01, 0.6, 0.99), visibility 300ms ease-out;
  -moz-transition: opacity 800ms cubic-bezier(0.91, 0.01, 0.6, 0.99), visibility 300ms ease-out;
  -ms-transition: opacity 800ms cubic-bezier(0.91, 0.01, 0.6, 0.99), visibility 300ms ease-out;
  -o-transition: opacity 800ms cubic-bezier(0.91, 0.01, 0.6, 0.99), visibility 300ms ease-out;
  transition: opacity 800ms cubic-bezier(0.91, 0.01, 0.6, 0.99), visibility 300ms ease-out;
  z-index: 1;
}

.splash .logo-container {
  text-align: center;
  height: 250px;
  background: #2a2b39;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: transform 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  -moz-transition: transform 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  -ms-transition: transform 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  -o-transition: transform 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  transition: transform 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
}

.splash .logo-container:after {
  position: absolute;
  content: '';
  pointer-events: none;
  top: 228px;
  left: 50%;
  width: 2em;
  height: 2em;
  -moz-transform: translateX(-50%) rotate(45deg);
  -ms-transform: translateX(-50%) rotate(45deg);
  -webkit-transform: translateX(-50%) rotate(45deg);
  transform: translateX(-50%) rotate(45deg);
  z-index: 10;
  background: inherit;
}

.splash .logo-container img {
  position: absolute;
  display: inline-block;
  max-width: 250px;
  pointer-events: none;
  margin: 0 auto;
  padding: 28px;
  bottom: 0px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%)
  -webkit-transition: all 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  -moz-transition: all 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  -ms-transition: all 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  -o-transition: all 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  transition: all 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  z-index: 100;
}

.splash .intro-container {
  text-align: center;
  padding-bottom: 80px;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: transform 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  -moz-transition: transform 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  -ms-transition: transform 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  -o-transition: transform 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
  transition: transform 500ms cubic-bezier(0.91, 0.01, 0.6, 0.99);
}

.splash .line {
  width: 95px;
  background: #555555;
  margin: 0px auto;
  margin-top: 28px;
  margin-bottom: 18px;
  height: 1px;
}

.splash .card-container:hover .intro-container {
  -webkit-transform: translateY(300px);
  -moz-transform: translateY(300px);
  -ms-transform: translateY(300px);
  -o-transform: translateY(300px);
  transform: translateY(300px);
}

.splash .card-container:hover .logo-container {
  -webkit-transform: translateY(-155px);
  -moz-transform: translateY(-155px);
  -ms-transform: translateY(-155px);
  -o-transform: translateY(-155px);
  transform: translateY(-155px);
}

.splash .card-container:hover p.intro-text {
  opacity: 1;
  visibility: visible;
}

.splash .card-container:hover img {
  max-width: 120px;
  margin-bottom: -12px;
}

.splash .copyright-inner {
  max-width: 360px;
}

/* Responsive Conditionals */

@media screen and (max-width: 640px) {
  body.splash .modal {
    margin-top: -50px;
    width: 90%;
  }
  .splash .logo-container img {
    max-width: 220px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 480px) {
  .splash h1 {
    font-size: 58px;
  }
  .splash p.intro-text {
    font-size: 20px;
    padding: 36px;
    top: 125px;
  }
}

@media screen and (max-width: 385px) {
  .splash h1 {
    font-size: 55px;
  }
  .splash p.intro-text {
    font-size: 18px;
    padding: 28px;
    top: 115px;
  }
}
