*:not(input) {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: auto;
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Russo One', helvetica, arial !important;
  color: #ffffff;
  background-color: #000;
}
body.bg {
  background-color: #010821;
  background-image: url('../images/background-2k.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

* {
  box-sizing: border-box;
}

a, a:hover, a:visited, a:focus {
  color: #17d4f0;
}

button, input {
  font-family: 'Russo One', helvetica, arial !important;
  font-size: 14px;
  border: none;
  outline: none;
  border-radius: 2px;
}
button {
  padding: 5px 10px;
}
input, input:focus, input:active {
  border: none;
  outline: none;
}

header {
  position: fixed;
  width: 100%;
  height: 80px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
  padding: 20px;
  box-sizing: border-box;
  background-color: #190c46;
  border-bottom: 1px solid #542370;
  z-index: 9;
}

.sg-logo {
  width: 50%;
  max-width: 161px;
  background-image: url('../images/sgs-logo-white.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center left;
}

#login-btn {
  background-color: #2e86c2;
  border-radius: 2px;
  color: #ffffff;
  border: none;
  padding: 0 20px;
}

#uheader {
  display: none;
  line-height: 39px;
}
#uheader a {
  text-decoration: none;
}

.login-dialog {
  position: fixed;
  display: none;
  top: 70px;
  right: 20px;
  padding: 20px;
  font-size: 14px;
  border-radius: 5px;
  border: 3px solid #000000;
  color: #323232;
  background-color: #2e86c2;
  border-radius: 2px;
  z-index: 9;
}
.form {
  display: flex;
  flex-direction: row;
  justify-items: flex-start;
  align-items: center;
}
.login-dialog input {
  height: 30px;
  border: none;
  border-radius: 2px;
  line-height: 30px;
  padding: 2px 8px 0;
  margin-right: 10px;
  width: 100%;
}
.login-dialog button {
  color: #323232;
  background-color: #dadada;
  border-radius: 2px;
  border: none;
  padding: 5px 10px;
  white-space: nowrap;
}
.login-dialog button.cta{
  color: #ffffff;
  background-color: #672ec2;
  height: 32px;
  padding: 0 10px;
}
.login-dialog ul {
  list-style-type: decimal;
  margin: 5px 0 0 0;
  padding: 0 0 0 20px;
  color: #484069;
}
.login-dialog ul li {
  margin: 5px 0;
}
.d-footer {
  padding: 20px 0 0 0;
  text-align: right;
}
#timer, #resend {
  display: none;
  font-size: 10px;
  padding: 10px 5px 0 0;
}
#resend {
  background: none;
  background-color: transparent;
  text-decoration: underline;
  color: #ffffff;
  font-size: 12px;
}

.content {
  position: relative;
  padding-top: 80px;
  width: 100%;
  max-width: 2048px;
  z-index: 8;
}

.is-logo {
  display: block;
  margin: 50px auto 0;
  width: 600px;
  height: auto;
}

video {
  display: block;
  margin: 0 auto;
  width: 513px;
  max-width: 95%;
  min-height: 896px;
  background-color: #000000;
  background-image: url('../images/sshot1.png');
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  clip-path: polygon(0 2%, 3% 0, 97% 0%, 100% 2%, 100% 61%, 97% 63%, 3% 63%, 0 61%);
}
.vid {
  position: relative;
  padding-top:28px;
}
.vid-frame {
  position: absolute;
  top: -8px;
  left: 50%;
  margin-left: -270px;
  width: 540px;
  height: 640px;
  background-image: url(../images/vid-frame-n.png);
  background-position: top center;
  background-size: 540px 640px;
  background-repeat: no-repeat;
}
.vid-exp {
  position: absolute;
  width: 700px;
  height: 32%;
  bottom: 0;
  left: 50%;
  margin-left: -350px;

  display: flex;
  flex-direction: column;
}
.vid-exp .text {
  font-size: 16px;
  padding: 10px;
  padding-right: 300px;
  text-shadow:
    -1px -1px 0 #000, /* Top left shadow */
    1px -1px 0 #000,  /* Top right shadow */
    -1px 1px 0 #000,  /* Bottom left shadow */
    1px 1px 0 #000;   /* Bottom right shadow */
}
.char {
  background-position: bottom right;
  background-size: 190px;
  background-repeat: no-repeat;
}
.char.val {
  background-image: url('../images/valeria.png');
}

.links {
  display: flex;
  flex-direction: row;
  padding-top: 30px;
}
.links a {
  margin: 0;
  margin-right: 20px;
}
.links a img {
  display: block;
  margin: 0;
  height: 40px;
}

footer {
  width: 100%;
  padding: 50px 20px 20px;
  background: #000000;
  font-size: 12px;
  text-align: center;
}

.link-sep {
  padding: 6px 0 1px;
}

@media screen and (max-width: 1024px) {
  body {
    background-size: 150%;
  }

  .is-logo {
    width: auto;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .vid-exp {
    width: 100%;
    left: 0;
    margin-left: 0;
  }
}

@media screen and (max-width: 534px) {
  .vid-frame {
    display: none;
  }
  video {
    width: 100%;
    max-width: 100%;
    min-height: 600px;
    clip-path: polygon(0 2%, 3% 0, 97% 0%, 100% 2%, 100% 61%, 97% 63%, 3% 63%, 0 61%);
  }
  .vid-exp {
    padding: 5px;
  }
  .vid-exp .text {
    font-size: 12px;
    padding-right: 200px;
  }
  .links {
    flex-direction: column;
  }
  .links a {
    margin: 0
  }
  .links a img {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 360px) {
  video {
    min-height: 400px;
  }
  .char.val {
    background-image: none;
  }
  .links {
    flex-direction: row;
    justify-content: space-around;
  }
  .vid-exp .text {
    padding: 10px;
  }
  .login-dialog {
    font-size: 12px;
    padding: 10px;
    border-radius: 2px;
  }
}

@media screen and (max-width: 200px) {
  video {
    min-height: 200px;
  }
}