*{
  margin: 0;
  padding: 0;
}

body{
  background-color: #1f2428;
  font-family: sans-serif;
  color: #b3b3b3;
  font-size: 14px;
}


h3{
  color: #ffffff;
  font-size: 22px;
  font-weight: normal;
}
p{
  margin: 9px 0;
}
a{
  text-decoration: none;
  color: #ffffff;
}
a:hover{
  text-decoration: none;
  color: #66c0f4;
}
input{
  background: #32353C;
  color: #E9E9E9;
  border-radius: 3px;
  width: 100%;
  padding: 8px 6px;
  display: block;
  border: none;
}
#i_agree_check{
  width: auto;
  display: inline;
}
select{
  width: 100%;
  background: #32353C;
  border-radius: 3px;
  color: #E9E9E9;
  padding: 8px 6px;
  display: block;
  box-shadow: none;
  border: none;
  transition: border ease-in-out .5s;
}
li{
  color: #ffffff;
}


/* header divs */
#header{
  background: #171d25;
  font-size: 14px;
  
  width: 100vw;
  height: 104px; /* steam number, don't ask*/
}
#centered_header{
  height: 104px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
}
#logo{
  width: 176px;
  height: 44px;
}
#supernav_container a{
  color: #C6D4DF;
  margin: 0 3px;
}
#header_login_button{
  color: #c9c9c9;
  background-color: transparent;
  
  border: 1px solid #253644;
  margin-left: 100px;
  height: 30px;
  font-size: 14px;
  border: none;
}
#header_login_button:hover{
  color: #ffffff;
  cursor: pointer;
}

/* login divs are down here */
#login_main{
  width: 100%;
  height: calc(100vh - 329px);
  position: relative; 
  background-color: #171a21;
  overflow: hidden; 
}

/* background on a pseudo-element to mask only bg not the whole page */
#login_main::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/other/login_bg.jpg");
  background-position: center;
  background-size: 85%;
  background-repeat: no-repeat; /* to be sure (menacing) */
}

/* i love vignette */
#login_main::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* vignette */
  background: radial-gradient(circle at center, rgba(0,0,0,0) 35%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.75) 100%);
}

#login_content input{
  margin-top: 4px;
}

/* register divs */
#register_main{
  width: 100%;
  height: calc(100vh - 200px);

  background-image: url("../images/other/acct_creation_bg.jpg");
  background-position: -5vw 0;
  background-size: 40%;
  background-repeat: no-repeat;
}
#centered{
  display: flex;
  align-items: center;
  justify-content: center;

  max-width: 855px;
  height: 100%;
  margin: 0 auto;
}
.show_pointer{
  cursor: pointer;
}
.passwd_n_toggle{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}


/* login divs */
#login_centered{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
  width: 700px;
  height: 100%;
  position: relative; /* anchor for the absolute-positioned heading */
  z-index: 2; /* ensure content sits above the vignette overlay */
}
#login_div{
  color: #b8b6b4;
  background-color: #171a21;
  border-radius: 4px;

  width: 100%;
  height: 335px;

  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  font-weight: normal;
  padding: 12px 0px 12px 30px;
}
#login_title h3{
  font-size: 32px;
  font-weight: bolder;
}
#login_content{
  width: 60%;
  height: 100%;
  float: left;
}
#usr_label{
  color: #1999ff;
  font-weight: bold;
}
#remember_me{
  /* we render the box via the label using ::before/ ::after. */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative; /* keeps focus order but we'll hide the visual */
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  opacity: 0; /* visually hidden but still focusable and keyboard usable */
  vertical-align: middle;
  cursor: pointer;
}
/* label becomes the visible control */
label[for="remember_me"]{
  position: relative;
  cursor: pointer;
  color: #b3b3b3;
  display: inline-block;
  padding-left: 26px; /* room for the custom box */
  line-height: 16px;
}
/* the box */
label[for="remember_me"]::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #32353c;
  border: 1px solid #253644;
  border-radius: 3px;
  box-sizing: border-box;
  /* no transition so selection is immediate */
  transition: none;
}
/* the checkmark (hidden by default) */
label[for="remember_me"]::after{
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  
  opacity: 0;
  transition: none;
  transform-origin: center;
}
input[type="checkbox"]#remember_me:checked + label[for="remember_me"]::after{
  opacity: 1;
}
/* hover */
label[for="remember_me"]:hover::before{
  filter: brightness(1.3);
}
#rememberme_label{
  color: #b3b3b3;
  margin-left: 0;
}
#username{
  width: 95%;
}
#username:hover{
  background-color: #42454c;
}
#passwordr{
  width: 95%;
}
#passwordl{
  width: 95%;
}
<<<<<<< HEAD
=======
#passwordl:hover{
  background-color: #42454c;
}
>>>>>>> 5e0e25f3d9beb1dcc8207116b34484995c2aff13
#password{
  width: 100%;
}
#password:hover{
  background-color: #42454c;
}
#login_button{
  color: #d6ebfb;
  background: linear-gradient( to right, #47bfff 5%, #1a44c2 100%);
    
  width: 70%;
  height: 40px;
  text-shadow: 1px 1px 0px rgba( 0, 0, 0, 0.3 );
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 2px;
}
#login_button:hover{
  cursor: pointer;
  background: linear-gradient( to right, #47bfff 5%, #1a44c2 60%);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
  background-size: 330% 100%;
  color: #ffffff;
}
#qr_content{
  width: 40%;
  height: 100%;
  float: right;
}
#qr_p{
  text-align: center;
  color: #1999ff;
  margin: 0;
  font-weight: bold;
}
.login_a{
  text-decoration: underline;
  color: #b8b6b4;
}
.login_a:hover{
  text-decoration: underline;
  color: #c9c9c9;
}
#qr_code{
  background-color: #ffffff;

  width: 200px;
  height: 200px;

/* place the small heading visually above the login box */
.login_heading{
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none; /* heading shouldn't intercept clicks */
}
.login_heading h3{
  margin: 0;
  padding: 6px 12px;
  background: #171a21;
  color: #ffffff;
  border-radius: 4px;
  font-weight: 400;
  pointer-events: auto; /* allow selection if needed */
}
/* give the login box a little extra top padding so its content isn't covered */
#login_div{ padding-top: 12px; }

  border-radius: 8px;

  display: flex;
  justify-content: center;
  align-items: center;
}


/* go to create account footer */
#ca_footer{
  background: #171d25;
  font-size: 14px;
  width: 100vw;
  height: 130px;
}
#centered_ca_footer{
  display: flex;
  align-items: center;
  height: 100%;
  width: 600px;
  margin: 0 auto;
}
#first{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding-right: 10px;
}
#first p{
  font-size: 20px;
  font-weight: bolder;
  color: white;
}
#second{
  padding-left: 10px;
  text-align: center;
}
#second a{
  text-decoration: underline;
  color: #b8b6b4;
}
#second a:hover{
  text-decoration: underline;
  color: #c9c9c9;
}
#go_to_create_account_button{
  color: #c3e1f8;
  background: linear-gradient( to right, #47bfff 5%, #1a44c2 100%);
    
  width: 200px;
  height: 35px;
  text-shadow: 1px 1px 0px rgba( 0, 0, 0, 0.3 );
  font-size: 15px;
  border: none;
  border-radius: 2px;
}
#go_to_create_account_button:hover{
  cursor: pointer;
  background: linear-gradient( to right, #47bfff 5%, #1a44c2 60%);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
  background-size: 330% 100%;
  color: #ffffff;
}

/* form divs */
#form_div{
  padding: 20px;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  color: #b8b6b4;
  font-weight: normal;
}
#form_title{
  margin-bottom: 30px;
}
#form_title h1{
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-weight: 100;
  font-size: 34px;
  letter-spacing: 2px;
  color: #ffffff;
}
.form_area{
  width: 90%;
  margin: 0 auto;
}
.form_area_justified{
  display: flex;
  justify-content: center;
  width: 90%;
  margin: 0 auto;
}
.form_area_centered{
  display: flex;
  align-items: center;
  width: 90%;
  margin: 0 auto;
}
.form_row_flex{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 25px 0;
}


/* ssa divs */
#eu_ssa_box{
  height: 337px;
  border: 1px #364c59 solid;

  padding: 10px;
  margin-bottom: 40px;
  display: none;
}
#ssa_body{
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 12px;
}
#ssa_button_div{
  text-align: center;
  margin: 50px 0 10px;
}
#label_agree{
  display: block;
  width: 90%;
  margin: 0 auto;
  text-align: center;
}


/* footer divs */
#footer{
  background: #171d25;
  font-size: 14px;
  
  width: 100vw;
  height: 95px;
}
#centered_footer{
  display: flex;
  align-items: center;
  height: 100%;
  width: 900px;
  margin: 0 auto;
}
#centered_footer a{
  color: #C6D4DF;
}
#centered_footer a:hover{
  color: #ffffff;
}
#valve_logo{
  width: 15%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#footer_container{
  width: 85%;
  font-size: 12px;
  line-height: 14px;
  padding: 2px 0;
  color: #8F98A0;
}
#footer_links a{
  padding: 10px;
}


/* sweetalerts <3 */
/* this holds the ssa and is scrollable */
.swal2-html-container{
  text-align: center;
  max-height: 70vh;
  overflow-y: auto;
  text-align: left;
}
/* use swal customClass to use this :D (yummy customClass)*/
.site-swal-title{
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
}
/* fixes success icon (i don't know why it was broken in the first place) */
.swal2-success-circular-line-left, .swal2-success-circular-line-right, .swal2-success-fix {
  background-color: #171d25 !important;
}
.swal2-popup.swal2-modal.site-swal-popup.swal2-show {
<<<<<<< HEAD
  display: grid;

  font-family: sans-serif;
  font-size: 14px;
  background: #171d25;
=======
  font-family: sans-serif;
  font-size: 14px;
  background-color: #171d25 !important;
>>>>>>> 5e0e25f3d9beb1dcc8207116b34484995c2aff13
  color: #E9E9E9;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.swal2-popup.swal2-modal.site-swal-popup.swal2-show h3 {
  font-size: 30px;
}

.swal2-popup.swal2-modal.site-swal-ssa-popup.swal2-show {
  width: 80% !important;
  display: grid;
}
.swal2-popup.swal2-modal.site-swal-ssa-popup.swal2-show h3 {
  font-size: 30px;
}

.swal2-popup.swal2-modal.site-swal-ssa-popup.swal2-show {
  background: #171d25;
  color: #E9E9E9;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* forces swal animations */
.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{
  animation: swal2-animate-success-line-tip .75s;
}
.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{
  animation: swal2-animate-success-line-long .75s;
}
.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{
  animation: swal2-rotate-success-circular-line 4.25s ease-in;
}
.swal2-icon.swal2-error.swal2-icon-show{
  animation: swal2-animate-error-icon .5s;
}
.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{
  animation: swal2-animate-error-x-mark .5s;
}
.swal2-icon.swal2-warning.swal2-icon-show{
  animation: swal2-animate-error-icon .5s;
}
.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{
  animation: swal2-animate-i-mark .5s;
}
.swal2-icon.swal2-info.swal2-icon-show{
  animation: swal2-animate-error-icon .5s;
}
.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{
  animation: swal2-animate-i-mark .8s;
}
.swal2-icon.swal2-question.swal2-icon-show{
  animation: swal2-animate-error-icon .5s;
}
.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{
  animation: swal2-animate-question-mark .8s;
}
.site-swal-center{
  text-align: center;
}
.site-swal-center{
  text-align: center;
}

/* force centering */
.swal2-html-container.site-swal-center,
.site-swal-center.swal2-html-container,
.site-swal-content.site-swal-center,
.swal2-html-container.site-swal-content.site-swal-center {
  text-align: center !important;
}
.site-swal-actions{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.site-swal-confirm{
  color: #c3e1f8 !important;
  background: linear-gradient( to right, #47bfff 5%, #1a44c2 100%) !important;
  border: none !important;
  padding: 8px 14px !important;
  border-radius: 3px !important;
  font-weight: normal !important;
  text-shadow: 1px 1px 0px rgba( 0, 0, 0, 0.3 );
  box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
}
.site-swal-confirm:hover{
  background: linear-gradient( to right, #47bfff 40%, #1a44c2 100%) !important;
  background-size: 330% 100%;
}
.site-swal-close{
  color: #c3e1f8 !important;
}


/* lists */
#numbered_list li{
  color: #b3b3b3;
  margin-left: 13px;
}
.lettered_list{
  list-style-type: upper-alpha;
}
.white_list li{
  color: #ffffff !important;
}


/* buttons */
#create_account_div{
  width: auto;
  margin: 0 auto;
  width: 50%;
  margin-top: 35px;
}
#viewAgreementButton{
  color: #E9E9E9;
  background-color: #3a434a;
  border: 2px solid #253644;
  border-radius: 3px;
  width: 33%;
  font-size: 13px;
  padding: 6px 10px;
  margin-bottom: 12px;
}
#viewAgreementButton:hover{
  cursor: pointer;
  background-color: #505a62;
}
.createAccountButton{
  color: #c3e1f8;
  background: linear-gradient( to right, #47bfff 5%, #1a44c2 100%);
    
  width: 100%;
  height: 35px;
  text-shadow: 1px 1px 0px rgba( 0, 0, 0, 0.3 );
  font-size: 15px;
  border: none;
  border-radius: 2px;
}
.createAccountButton:hover{
  cursor: pointer;
  background: linear-gradient( to right, #47bfff 5%, #1a44c2 60%);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
  background-position: 0%;
  background-size: 330% 100%;
  color: #ffffff;

  padding: 3px;
  border-radius: 2px;
}



/* HANDLES RESPONSIVENESS */
@media (max-width: 1500px) {
  #login_main{
    height: calc(100vh - 234px);
  }
  #register_main{
    height: calc(100vh - 234px); /* TODO: include footer here too! */
  }
  #centered{
    max-width: 855px;
    padding: 50px;
    margin: 0 auto;
  }

  #footer{
    display: none;
  }
}

@media (max-width: 1300px) {
  #register_main{
    background-position: -6969420px 0; /*yummy arbitrary number :)*/
    height: 600px;
  }

  select{
    width: 100%;
  }

  .form_area{
    width: 100%;
  }

  #centered{
    padding: 30px 15px;
  }

  #form_div{
    padding: 20px 16px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: #b8b6b4;
    vertical-align: top;
    font-weight: normal;
  }

  #viewAgreementButton{
    width: 70%;
  }

  /* SSA wide popup on small screens */
  .swal2-popup.swal2-modal.site-swal-ssa-popup.swal2-show {
    width: 95% !important;
  }

  .swal2-html-container{
    text-align: center;
    max-height: 70vh;
    overflow-y: auto;
    text-align: left;
  }

  .createAccountButton{
    width: 100%;
  }

  #create_account_div{
    width: 100%;
    margin-top: 35px;
  }

  #form_title h1{
    font-size: 29px;
  }

  #supernav_container{
    display: none;
  }

  #login_main{
    width: 100%;
    height: 850px;
    /* keep layout/background-size controlled on the pseudo-element */
  }

  /* mobile: change the pseudo-element's background-size and tighten the mask */
  #login_main::before{
    background-size: 230vh;
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 35%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 35%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%);
  }
  #login_div{
    background-color: transparent;
    width: 100%;
    height: 724px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0;
  }
  #login_centered{
    width: 100%;
    height: 100%;
    gap: 30px;
  }
  #login_content{
    width: 100%;
    height: 80%;
  }
  #login_form{
    width: 100%;
    height: 52%;
    margin-bottom: 20px;
  }
  #username{
    width: 75%;
  }
  #passwordl{
    width: 75%;
  }
  .form_area_centered{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .form_area{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #qr_content{
    width: 100%;
    height: 48%;
  }

  #ca_footer{
    height: 250px;
    width: 100%;
  }
  #centered_ca_footer{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }
  #first{
    padding: 0 10px;
  }
  #second{
    padding: 0 10px;
  }

  #footer{
    display: none;
  }
}