@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Josefin Sans", sans-serif;
}

.main_div {
  width: 100%;
  height: 100vh;
  position: relative;
}

.main_box {
  width: 800px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 10px 10px 8px #888888;
}

.box_left {
  position: relative;
  height: 350px;
  width: 50%;
  float: left;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 10px 0 0 10px;
  vertical-align: middle;
}

.img_disp {
  content: url("../images/logo.png");
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

.box {
  position: relative;
  float: right;
  width: 50%;
  height: 350px;
  padding: 50px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 0 10px 10px 0;
}

.box h1 {
  margin-bottom: 30px;
  color: #fff;
  text-align: center;
  text-transform: capitalize;
}

.box .inputBox {
  position: relative;
}

.box .inputBox input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #fff;
  background: transparent;
  outline: none;
}

.box .inputBox label {
  position: absolute;
  top: 0;
  right: 0;
  letter-spacing: 1px;
  padding: 10px 10px;
  font-size: 16px;
  color: #fff;
  transition: 0.5s;
}

.box input[type="submit"] {
  margin: 20px 0 0 0;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  background: #03a9f4;
  padding: 16px;
  border-radius: 5px;
  cursor:pointer;
}

.box .inputBox input:focus ~ label,
.box .inputBox input:valid ~ label {
  top: -20px;
  right: 0;
  color: #03a9f4;
  font-size: 12px;
}

@media screen and (max-width: 800px) {
  .main_box {
    width: 100%;
    position: absolute;
    height: 500px;
    top: 50px;
    left: 0;
    transform: none;
    background: #fff;
    border-radius: none;
    box-shadow: none;
  }

  .box_left {
    position: none;
    height: 100px;
    float: none;
    margin-top: 10px;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: none;
    vertical-align: middle;
  }

  .box {
    float: none;
    margin-top: 60px;
    width: 90%;
    height: auto;
    padding: 50px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px 10px 10px 10px;
    left: 5%;
    box-shadow: 10px 10px 8px #888888;
  }

  .img_disp {
    content: url("../images/logo.png");
  }

  .spacer {
    height: 50px;
  }
}

.site_box {
  position: absolute;
  width: 800px;
  text-align: center;
  top: -70px;
  padding: 20px;
  font-weight: bold;
  font-size: 150%;
  color: #03a9f4;
}

.login_comment {
  position: absolute;
  width: 800px;
  text-align: center;
  bottom: -70px;
  text-align: center;
  padding: 20px;
  font-weight: bold;
  color: #f41f03;
}
