/* #region Root */

html { 
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
  }
  
body { 
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;

    font-family: OpenSans, Helvetica, sans-serif;
    color: #BFBFBF;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

#overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
}

#window { 
  border-radius: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 800px;
  height: 630px;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  background: #323232;
  box-shadow: 0px 0px 5px #1d1d1dea;
  animation: fadein 2s;
}

#logo { 
  position: absolute;
  top: 250px;
  animation: logoanim 3s forwards;
}

#content { 
  width: 100%;
  margin-top: 50px;
  display: block;
  opacity: 0;
  animation: fadein 2s 3s forwards;
}

#content h1 { 
  position: relative;
  top: 0%;
  font-size: 22pt;
  font-weight: 50;
  text-align: center;
}

@keyframes gradient {

  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }

}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@font-face {
    font-family: 'OpenSans';
    src: url('opensans.ttf') format('truetype');
}

@keyframes logoanim { 
  0% {  opacity: 0; top: 250px }
  33% {  opacity: 1; top: 250px }
  66% {  opacity: 1; top: 250px }
  100% {  opacity: 1; top: 15px }
}

/* #endregion */

/* #region Helpers */

.hidden { 
  display: none;
}

/* #endregion */

/* #region Button Change */

#button-change {
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 15px;
  align-items: center;
  background-color: #0A66C2;
  border: 0;
  border-radius: 100px;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  font-family: 'OpenSans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 20px;
  max-width: 480px;
  min-height: 40px;
  min-width: 0px;
  overflow: hidden;
  padding: 0px;
  padding-left: 30px;
  padding-right: 30px;
  text-align: center;
  touch-action: manipulation;
  transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
  user-select: none;
  -webkit-user-select: none;
}

#button-change:hover,
#button-change:focus { 
  background-color: #16437E;
  color: #ffffff;
}

#button-change:active {
  background: #09223b;
  color: rgb(255, 255, 255, .7);
}

#button-change:disabled { 
  cursor: not-allowed;
  background: rgba(0, 0, 0, .08);
  color: rgba(0, 0, 0, .3);
}

/* #endregion */

/* #region Button Refresh */

#button-refresh {
  margin-top: 5px;
  align-items: center;
  background-color: transparent;
  border: 0;
  border-radius: 10px;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-family: -apple-system, system-ui, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 20px;
  max-width: 480px;
  min-height: 40px;
  min-width: 0px;
  overflow: hidden;
  padding: 0px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  touch-action: manipulation;
  transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
}

#button-refresh:hover,
#button-refresh:focus { 
  background-color: #575656;
  color: #ffffff;
}

#button-refresh:active {
  background: #09223b;
  color: rgb(255, 255, 255, .7);
}

/* #endregion */


#error-message { 
  text-align: center; 
  margin-top: 10px; 
  color: rgb(248, 74, 74);
}

/* #region Form */

.fgroup {
  position: relative;
  padding: 15px 0 0;
  margin: auto;
  margin-top: 10px;
  width: 50%;
}

.ffield {
  font-family: inherit;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #9b9b9b;
  outline: 0;
  font-size: 1.3rem;
  color: #fff;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;

  &::placeholder {
    color: transparent;
  }

  &:placeholder-shown ~ .flabel {
    font-size: 1.3rem;
    cursor: text;
    top: 20px;
  }
}

.flabel {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  color: #9b9b9b;
  pointer-events: none
}

.ffield:focus {
  ~ .form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: #11998e;
    font-weight:700;    
  }
  padding-bottom: 6px;  
  font-weight: 700;
  border-width: 3px;
  border-image: linear-gradient(to right, #11998e,#38ef7d);
  border-image-slice: 1;
}
/* reset input */
.ffield{
  &:required,&:invalid { box-shadow:none; }
}
  
/* #endregion */

/* #region Container */

.container {
  overflow: auto;
}

.container-left { 
  width: 200px; 
  float: left;
  margin-top: auto;
  margin-bottom: auto;
}

.container-middle { 
  float: left;
  margin-top: auto;
  margin-bottom: auto;
}

.container-right {
  width: 150px; 
  float: left;
  margin-top: auto;
  margin-bottom: auto;
}


/* #endregion */