body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(rgb(142, 100, 214), purple);
  font-family: "Open Sans", sans-serif;
  color: #2b3e51;
  display: flex;
  background-repeat: no-repeat;
  justify-content: center;
  min-height: 760px;
  margin-top:20px;
  overflow-y: hidden;
}

h2 {
  font-weight: 300;
  text-align: center;
}

p {
  position: relative;
}

a,
a:link,
a:visited,
a:active {
  color: #3ca9e2;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
a:focus, a:hover,
a:link:focus,
a:link:hover,
a:visited:focus,
a:visited:hover,
a:active:focus,
a:active:hover {
  color: #329dd5;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.container{
  background-color: #fff;
  width: 500px;
  text-align: center;
  padding: 20px 0 0 0;
  border-radius: 4px;
  box-shadow: 0px 30px 50px 0px rgba(0, 0, 0, 0.2);
}
.logo-box{
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img{
  height: 70px;
}
#create-room{
  background-color: #fff;
  width: 750px;
  margin: 30px auto;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0px 30px 50px 0px rgba(0, 0, 0, 0.2);
}
#create-room p{
font-size: 2.5vmin;
}
.room{
  font-weight: bolder;
  font-size: 16px;
  text-decoration: underline;
}
#personal-room{
  font-size: 16px;
}
#create-room>.greeting>p{
  font-size: 4vmin;
}
#login-form {
  padding: 0px 15px;
}

.radio-button{
  text-align: left;
  font-size: 18px;
}
.radio-button .validation{
  margin-top: -25px;
}
input[type="text"],input[type="password"],input[type="submit"]{
  box-sizing: border-box;
  width: 100%;
  outline: none;
  height: 60px;
  line-height: 60px;
  border-radius: 4px;
}
input[type="password"] {
    width: 100%;
    padding: 0 0 0 10px;
}
input[type="text"]{
  width: 100%;
  padding: 0 0 0 10px;
  margin: 0;
  color: #8a8b8e;
  border: 1px solid #c2c0ca;
  font-style: normal;
  font-size: 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
  display: inline-block;
  background: none;
}
input[type="radio"]{
 /* width: 10%; */
 margin-right: 10px;
}
input[type="text"]:focus,
input[type="radio"]:focus {
  border-color: #3ca9e2;
}
input[type="text"]:focus:invalid,
input[type="radio"]:focus:invalid,
input[type="password"]:focus:invalid {
  color: #cc1e2b;
  border-color: #cc1e2b;
}
input[type="text"]:valid ~ .validation,
input[type="radio"]:valid ~ .validation,
input[type="password"]:valid ~ .passvalidation {
  display: block;
  border-color: #0C0;
}
input[type="text"]:valid ~ .validation span,
input[type="radio"]:valid ~ .validation span,
input[type="password"]:valid ~ .passvalidation span {
  background: #0C0;
  position: absolute;
  border-radius: 6px;
}
input[type="text"]:valid ~ .validation span:first-child,
input[type="radio"]:valid ~ .validation span:first-child {
  top: 30px;
  left: 14px;
  width: 20px;
  height: 3px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
input[type="text"]:valid ~ .validation span:last-child,
input[type="radio"]:valid ~ .validation span:last-child {
  top: 35px;
  left: 8px;
  width: 11px;
  height: 3px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.validation {
  display: none;
  position: absolute;
  content: " ";
  height: 60px;
  width: 30px;
  right: 15px;
  top: 0px;
}
.passvalidation {
  display: none;
  position: absolute;
  content: " ";
  height: 60px;
  width: 30px;
  right: 25px;
  top: 0px;
}
.errorBox{
  color: #cc1e2b;
}
.failed-img{
  width: 25px;
  height: 25px;
  margin-top: 15px;
}
input[type="submit"] {
  border: none;
  display: block;
  background-color: #3ca9e2;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  font-size: 18px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  text-align: center;
}
input[type="submit"]:hover {
  background-color: #329dd5;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.create-account-wrap {
  background-color: #eeedf1;
  color: #8a8b8e;
  font-size: 16px;
  width: 100%;
   margin: 10px auto;
  padding: 5px 0;
  border-radius: 0 0 4px 4px;
}

.mt-20{
  margin-top: -20px;
}

.mrb{
    margin-top: -20px;
}

input {
  font-size: 16px;
}

.text-modify{
    font-size:16px;
}

#roomLink{
    margin: 10px auto;
}

@media only screen and (max-width: 850px) {
  body {
      overflow-y: hidden;
  }
  .container{
    width: 600px;
    overflow-y: hidden;
  }
  .radio-button{
    font-size: 16px;
  }
  .create-account-wrap {
    font-size: 14px;
  }
  .logo-img{
    height: 40px;
  }
  #navbar.keyboard {
    margin-top: -30px; /* add padding for keyboard */
  }
  #logo-heading{
    font-size: 3vmin;
  }
    #create-room p{
    font-size: 4vmin;
    }
    #create-room>.greeting>p{
        font-size: 4vmin;
    }
}

@media only screen and (min-width: 550px) and (max-width: 849px) {
  body {
      align-items: flex-start;
  }
  .container{
    width: 600px;
    overflow-y: hidden;
  }
  .radio-button{
    font-size: 16px;
  }
  .create-account-wrap {
    font-size: 14px;
  }
  .logo-img{
    height: 45px;
  }
  #navbar.keyboard {
    margin-top: -30px; /* add padding for keyboard */
  }
  #logo-heading{
    font-size: 3vmin;
  }
  .radio-button{
    font-size: 14px;
  }
    #create-room p{
    font-size: 5vmin;
    }
    #create-room>.greeting>p{
        font-size: 5vmin;
    }
}

@media only screen and (min-width: 450px) and (max-width: 549px) {
    body {
     align-items: flex-start;
    }
    .container{
      width: 500px;
      overflow-y: hidden;
    }
    .radio-button{
      font-size: 16px;
    }
    .create-account-wrap {
      font-size: 14px;
    }
    .logo-img{
      height: 45px;
    }
    #navbar.keyboard {
      margin-top: -30px; /* add padding for keyboard */
    }
    #logo-heading{
      font-size: 3vmin;
    }
    .radio-button{
      font-size: 12px;
    }
      #create-room p{
    font-size: 5vmin;
    }
    #create-room>.greeting>p{
        font-size: 5vmin;
    }
    .mrb{
        margin-top: -38px;
    }
}


@media only screen and (min-width: 300px) and (max-width: 449px) {
  body {
    align-items: flex-start;
   }
  .container{
    width: 350px;
    overflow-y: hidden;
  }
  .radio-button{
    font-size: 16px;
  }
  .create-account-wrap {
    font-size: 14px;
  }
  .logo-img{
    height: 45px;
  }
  #navbar.keyboard {
    margin-top: -30px; /* add padding for keyboard */
  }
  #logo-heading{
    font-size: 3vmin;
  }
  .radio-button{
    font-size: 12px;
  }
  #create-room p{
    font-size: 5vmin;
    }
    #create-room>.greeting>p{
        font-size: 5vmin;
    }
    .mrb{
        margin-top: -38px;
    }
}