:root {
    --bg-color: #fff;
    --text-color: #000;
    --highlight: #1793ff;
    --border-color: #eee;
    --outline-color: #ccc;
    --button-color: #08f;
    --hover-color: rgba(240, 240, 240, .8);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --text-color: #e0e0e0;
        --highlight: #4a90e2;
        --outline-color: #444;
        --border-color: #222;
        --hover-color: rgba(40, 40, 40, .8);
    }
}

body {
  display: flex;
  justify-content: center;
  height: 100vh;
  font-family: Inter;
  box-sizing: border-box;
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

h1 {
  font-size: 48px;
  margin-bottom: 5px;
  width: 100%;
}

h1.giant-title {
	font-size: 104px;
}

h3 {
  text-align: left;
  width: 100%;
}

a {
	color: var(--button-color);
}

p {
  font-size: 16px;
}

p.company-info {
	font-size: 16px;
}

p span {
	margin: 0px 16px;
}

button.frontpage-btn {
	border-radius: 20px;
	border: 1px solid var(--outline-color);
	margin: 8px 16px;
	width: 150px;
	font-size: 18px;
	color: var(--text-color);
}

button.frontpage-btn.try {
	background-color: var(--button-color);
	color: #fff;
}

button.frontpage-btn.login {
	background-color: var(--bg-color);
}

div.frontpage-button-list {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

td {
  border-left: 0;
  border-right: 0;
  padding: 0px 0px;
  box-sizing: border-box;
  margin: 0;
  width: 50%;
}
td:nth-child(1) {  
  color: #666;
  text-align: right;
  padding-right: 52px;
  border-right: 1px solid #eee;
}
td:nth-child(2) {  
  padding-left: 52px;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: end;
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
}

label {
  color: #888;
  font-size: 14px;
  padding-left: 7px;
}

input[type=text],
input[type=password] {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 24px;
  outline: none;
	border:none;
  font-size: 20px;
  background-color: var(--hover-color);
	color: var(--text-color);
}

button {
  box-sizing: border-box;
  border-radius: 7px;
  padding: 10px;
  font-size: 16px;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  border: none;
}

button:disabled {
  background-color: #666;
  cursor: not-allowed;
}

.container {
  width: 400px;
  min-height: 280px;
  display: flex;
  align-items: left;
  box-sizing: border-box;
  flex-direction: column;
  flex-wrap: wrap;
  overflow: wrap;
  margin-top: 200px;
}

.email-container {
  display: flex;
  padding: 0;
	border: 1px solid var(--outline-color);
	border-radius: 20px;
	box-sizing: border-box;
	overflow: hidden;
}

.submit-btn {
  max-width: 50px;
  width: 50px;
	background-color: var(--hover-color);
  border-radius: 0;
	color: var(--text-color);
}
.checkbox {
  display: flex;
  justify-content: center;
}

.verification-container {
  display: none;
  margin-top: 50px;
}

.verification-container.show {
  display: block;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 10px;
  display: none;
}

.error-message.show {
  display: block;
}

.globalnav {
  display: flex;
  position: fixed;
  justify-content: left;
  width: 100vw;
  height: 35px;
  top: 0;
  left: 0;
  backdrop-filter: blur(7px);
}

.link-container {
  display: flex;
  justify-content: left;
  padding-left: 10px;
  align-items: center;
  height: 100%;
}
.link {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

.scroll-container {
  width: 100vw;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.scroll-panel {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  flex-direction: column;
}

a.welcome-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee;
  padding: 0px 20px;
  height: 40px;
  border-radius: 10px;
  user-select: none;
  color: black;
  text-decoration: none;
}

svg.shrink-svg {
  display: none;
}

a.welcome-btn:hover {
  background-color: #08f;
  color: #fff;
}

.iframe-container.fullscreen {
  position: fixed;
  inset: 0;                   /* top:0; right:0; bottom:0; left:0; */
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  z-index: 9999;
  background-color: #000;     /* gives a clean edge on small iframes */
}

.iframe-container.fullscreen iframe {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.iframe-container.fullscreen svg.enlarge-svg {
  display: none;
}

.iframe-container.fullscreen svg.shrink-svg {
  display: block;
}

@media (max-width: 600px) {
  .container {
    height: 100%;
    width: 100%;
    padding: 20px;
    border: none;
  }
  .globalnav {
    height: 45px;
    font-size: 24px;
  }
  form {
    width: 100%;
  }
  .iframe-container {
    width: 90%;
  }
  button {
    padding: 14px;
  }
	div.frontpage-button-list {
		flex-direction: column;
		width: 100%;
	}
	button.frontpage-btn {
		width: 300px;
	}
	div.company-page {
		padding: 50px;
	}
  input[type=text], input[type=password] {
    padding: 9px 18px;
  }

  input[type=text]:focus, input[type=password]:focus {
    padding: 8px 17px;
  }
}
