/* Temporarily Remove variables due to no IE support */
/* :root {
  --main-bg-color: #ffffff;
  --login-bg-color: #fcfcfc;
  --border-color: #e6e6e6;
  --text-color: #333333;
  --orange-accent: #000;
} */

body {
  /* background: var(--main-bg-color); */
  background: #ffffff;
  font-family: proxima-nova, sans-serif;
  margin: 0;
}

#page {
  height: 100VH;
  justify-content: space-between;
  padding: 30px;
  box-sizing: border-box;
}

#content {
  width: 100%;
  height: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-block {
  /* background: var(--login-bg-color); */
  background: #fcfcfc;
  width: 450px;
  max-width: 450px;
  /* border: 1px solid var(--border-color); */
  border: 1px solid #e6e6e6;
  /* border-top: 6px solid var(--orange-accent); */
  border-top: 6px solid #000;
  border-radius: 6px;
  margin-bottom: 42px;
  box-sizing: border-box;
  overflow: hidden;
}

#logo-container {
  /* background: var(--main-bg-color); */
  background: #ffffff;
  width: 100%;
  padding: 30px 0;
  /* border-bottom: 1px solid var(--border-color); */
  border-bottom: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
}

#logo-container div:nth-child(1) {
  padding-right: 36px;
  margin-right: 30px;
  /* border-right: 1px solid var(--border-color); */
  border-right: 1px solid #e6e6e6;
}

#logo-container img {
  object-fit: contain;
}

.btn-container {
  width: 100%;
  padding: 42px;
  box-sizing: border-box;
}

button{
  width: 100%;
  height: 100%;
  background: transparent;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  /* color: var(--text-color); */
  color: #333333;
  padding: 0;
  border: none;
  outline: none;
  cursor: pointer;
}

.button {
  width: 100%;
  height: 60px;
  background: transparent;
  border-radius: 6px;
  outline: none;
}

.primary {
  /* background: var(--orange-accent); */
  background: #000;
  border: none;
}

.primary:hover {
  background: #7f7f7f;
  transition: background .3s;
}

.primary button {
  color: #ffffff;
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-container img {
  margin-right: 12px;
}

.icon {
  background: #FFFFFF;
  /* border: 1px solid var(--border-color); */
  border: 1px solid #e6e6e6;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.06);
  border-radius: 6px;
}

.icon:hover {
  border: 1px solid #bbbaba;
  box-shadow: 0 2px 9px 0 rgba(0,0,0,0.09);
}

#mark {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
}

.icon:hover #mark {
  animation-name: bounce;
  -moz-animation-name: bounce;
}

.divider {
  width: 100%;
  margin: 42px 0 0 0;
  height: 1px;
  /* background: var(--border-color) */
  background: #e6e6e6;
}

.btn-container:nth-child(2) {
  padding-bottom: 0;
}

#extra-links ul{
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

#extra-links li {
  display: inline;
  margin-right: 42px;
}

#extra-links li:last-child {
  margin-right: 0;
}

#extra-links a {
  white-space: nowrap;
}

#extra-links a:hover {
  text-decoration: none;
}

/* Typography */
p {
  font-family: proxima-nova, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  font-style: normal;
  margin: 0 0 18px 0;
  /* color: var(--text-color); */
  color: #333333;
}

a {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  /* color: var(--orange-accent); */
  color: #000;
}

/* Mobile Styles */
@media screen and (max-width: 486px) {
  #page {
    height: auto;
    padding: 0;
  }
  #content {
    padding: 42px 18px;
  }
  #meca-logo {
    width: 100px;
  }
  #canvas-logo {
    width: 132px;
  }
  #logo-container div:nth-child(1) {
    padding-right: 24px;
    margin-right: 21px;
  }
  .login-block {
    width: 100%;
    margin: 0 18px;
    margin-bottom: 0px;
  }
  .btn-container {
    padding: 30px;
  }
  button {
    font-size: 16px;
    line-height: 24px;
  }
  .divider {
    margin: 36px 0 0 0;
  }
  #extra-links li {
    display: block;
    margin-right: 0px;
    margin-bottom: 12px;
    text-align: center;
  }
}

@media screen and (max-width: 400px) {
  .btn-container {
    padding: 30px 18px;
  }

  .icon-container img {
    margin-right: 9px;
  }
}

/* Bounce Animation */
@keyframes bounce {
  0% {
    -webkit-transform: translateY(0);
    -ms-transform:     translateY(0);
    transform:         translateY(0)
  }
  25% {
    -webkit-transform: translateY(-5px);
    -ms-transform:     translateY(-5px);
    transform:         translateY(-5px)
  }
  50% {
    -webkit-transform: translateY(0px);
    -ms-transform:     translateY(0px);
    transform:         translateY(0px)
  }
  75% {
    -webkit-transform: translateY(-5px);
    -ms-transform:     translateY(-5px);
    transform:         translateY(-5px)
  }
  100% {
    -webkit-transform: translateY(0px);
    -ms-transform:     translateY(0px);
    transform:         translateY(0px)
  }
}
