/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
li{list-style:none}


/* =============================================================================
   My CSS
   ========================================================================== */

/* ---- base ---- */

html,body{
	width:100%;
	height:100%;
	background:#111;
}

html{
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{
  font:normal 75% Arial, Helvetica, sans-serif;
}

canvas{
  display:block;
  vertical-align:bottom;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}


/* ---- particles.js container ---- */

#particles-js{
  width: 100%;
  height: 100vh;
  background-color: #b61924;
  background-image: url('');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  position: relative;
}


/* login-box */

.login-box{
  position: absolute;
  height: 100vh;
  width: 90%;
  margin: auto;
  /* background-color: white; */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;

}

.login-box1{
  width: 100%;

}
.login-box1 img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.login-box2{


  padding: 30px;
  background-color: white;
  /* text-align: center; */

}
.login-box2 h2{
  font-size: 24px;
  color: #BF2222;
  padding: 10px 0;
}
.login-box2 h3{
  font-size: 14px;
  color: grey;
  padding: 5px 0;
}
.login-box2 .email, .login-box2 .password{
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: start;
}
.login-box2 .email input, .login-box2 .password input{
  padding: 10px;
}
.login-box2 .email label, .login-box2 .password label, .login-box2 .checkbox label{
color:#BF2222 ;
font-size: 14px;
font-weight: bold;
}
.login-box2 .checkbox{
  margin: 20px 0;

}
.login-box2 .button button{
  margin: 20px 0;
  padding: 10px;
  background-color: #BF2222;
  color: white;
  font-size: 16px;
  border-radius: 10px;
  width: 100%;
  border: 1px solid white;
cursor: pointer;
transition: .3s all ease-in-out;
}
.login-box2 .button button:hover{
  transform: translateY(-10px);
  box-shadow: 0 5px 10px #BF2222;
}
input[type="checkbox"]:checked {
  background-color: #BF2222; /* green when checked */
  border-color: #fff;
}
input[type="text"]:focus {
  border: 2px solid #BF2222 ; /* blue border on focus */
}
  input[type="text"] {
    padding: 8px;
    border: 2px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border 0.3s ease;
  }
input[type="checkbox"]:checked::after {
  content: '✔';
  color: white;
  font-size: 14px;
  position: absolute;
  top: 1px;
  left: 4px;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #333;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
@media (max-width:768px) {

  .login-box1{
    /* height: 30%; */
    width: 100%;
  display: flex;

  }
  .login-box2{
    margin-top: -60px;
    position: relative;
    z-index: 10;
    /* height: 80%; */
  }
  .login-box1 .hide{
    display: block;
    width: 50%;
    margin: auto;
    height: 260px;
    object-fit: cover;

  }
  .login-box1 .show{
    display: none;
  }

}

@media (min-width:768px) {

  .login-box{
    width: 60%;
  display: flex;
  height: 450px;
  justify-content: center;
  align-items: center;

  }
  .login-box1, .login-box2{
    width: 50%;

  }
  .login-box1 .show{
    display: block;
  }
  .login-box1 .hide{
    display: none;
  }

}
.text{
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%);
}
.text h2{
  font-size: 14px;
  color: rgb(214, 210, 210);
}
