/* FONT DECLARATIONS */
@font-face {
	src: url(../fonts/GT-America-Mono-Bold.otf);
	font-family: 'GT America Bold';
	font-weight: 700;
}

@font-face {
	src: url(../fonts/GT-America-Standard-Medium.otf);
	font-family: 'GT America Medium';
	font-weight: 500;
}

@font-face {
	src: url(../fonts/GT-America-Standard-Regular.otf);
	font-family: 'GT America Regular';
	font-weight: 400;
}

/* DEFINING SBB COLOR VALUES */
:root {
  --fjord1-red:   #d0383f;
  --fjord1-blue:  #003d6e;
  --fjord1-white: #ffffff;
  
  --ff-medium:    "GT America Medium",  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-regular:   "GT America Regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* MAIN CSS */
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: var(--ff-regular);
  line-height: 1.2;
  font-weight: 100;
  letter-spacing: 1px;
  text-transform: none;
  color: var(--fjord1-white);
  text-align: center;
  background-color: var(--fjord1-red);
}
h1 {
  display: inline-block;
  font-family: var(--ff-regular);
  font-size: 2em;
  color: var(--fjord1-white);
  margin-top: 0;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
  letter-spacing: 2px;
}
button {
  padding: 0;
  border-radius: 1px;
}
.hidden {
  opacity: 0;
  pointer-events: none; /* deactivate clicks on hidden elements */
}
.fade-in-out {
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}
.logo-container {
  position: absolute;
  top: 3vw;
  left: 3vw;
  /*
  top: 20px;
  right: 20px;
  */
}
.logo-img {
  width: 200px;
}
.splash-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: url('../images/bg_light.jpg') center/cover no-repeat;
}
.splash-section {
  height: 16.66%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-section {
  display: flex;
  flex-direction: column;
}
.button {
  width: 150px;
  height: 50px;
  font-family: var(--ff-medium);
  background-color: var(--fjord1-red);
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  cursor: pointer;
  padding-top: 3px;
}
/*
.button:hover {
  background-color: var(--fjord1-blue);
}
*/
#installbtn {
  position: absolute;
  bottom: 3vw;
  width: 300px;
  font-size: 15px;
  transform: translate(-50%, -50%);
  padding: 0;
  z-index: 1000;
}
/*
#installbtn:hover {
  background-color: var(--fjord1-blue);
}
*/
/* Growl Notice */
#growl-notice {
  text-align: center;
  font-size: 15px;
  font-family: var(--ff-regular);
  z-index: 100;
  width: 94vw;
  height: 170px;
  color: #fff;
  position: absolute;
  left: 3vw;
  bottom: 3vw;
  line-height: 21px;
}
#growl-notice-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 95%;
  transform: translate(-50%,-50%);
}
#growl-notice-inner strong {
  font-family: var(--ff-medium);
}
#growl-notice-inner small {
  font-size: 12px;
}

/* COLOR SCHEME DEPENDENT SETTINGS */

/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
  .splash-container {
    background: url('../images/bg_dark.jpg') center/cover no-repeat;
  }
  #installbtn {
    background-color: #444;
  }
  #growl-notice {
    background-color: rgba(255, 255, 255, 0.15);
  }
}

/* Light Mode Styles */
@media (prefers-color-scheme: light) {
  .splash-container {
    background: url('../images/bg_light.jpg') center/cover no-repeat;
  }
  #installbtn {
    background-color: #aaa;
  }
  #growl-notice {
    background-color: rgba(0, 0, 0, 0.3);
  }
}