* {
  	box-sizing: border-box;
  	font:  "helvetica";
  	font-size: 12px;
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}
body {
  	background-color: #000000;
}


.login {
  	width: 300px;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin:50px auto;
}
.login h1 {
  	text-align: center;
  	color: #000000;
  	font-size: 18px;
  	padding: 0 0 10px 0;
  	border-bottom: 2px solid #F8CDCD;
}
.login h2 {
  	text-align: center;
  	color: #000000;
  	font-size: 12px;
}
.login h3 {
  	text-align: center;
  	color: #ffffff;
  	font-size: 12px;
  	border-bottom: 1px solid #F8CDCD;
}
.login p {
  	text-align: right;
  	color: #000000;
  	font-size: 12px;
  	padding: 0 20px;
}

.login p1 {
  	text-align: left;
  	color: #000000;
  	font-size: 12px;
  	  font-style: italic;
  	font-weight: 500;
  margin-bottom: 10px;
}
.login p2 {
  	text-align: left;
  	color: #000000;
  	font-size: 12px;
  	font-weight: 700;
}

.login p3{
  	text-align: left;
  	color: #ffffff;
  	font-size: 12px;
}

.login ul{
  	padding: 0 12px;
}
.login li{
  	text-align: left;
  	color: #ffffff;
  	font-size: 12px;
}

.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}

.login th{
  	text-align: left;

}
.login form input[type="text"], .login form input[type="email"] {
  	width: 200px;
  	height: 30px;
  	border: 1px solid #F8CDCD;
  	padding: 0 20px;
  	margin-bottom: 10px;

}

.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
  	margin-top: 20px;
  	background-color: #F8CDCD;
  	font-size: 18px;
 	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #ff9999;
  	transition: background-color 0.2s;
  	
} 
.forum-logo {
  width: 65px;
  height: 65px;
  margin-right: 1em;
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 32px;
  margin-left: 12px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #F8CDCD;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #ff9999;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

           
/* Popup container - can be anything you want */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 300px;
  background-color: #ff9999;
  color: #fff;
  border-radius: 6px;
  padding: 8px 15px 15px 20px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: -15%;
  margin-left: -20px;
}
/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #ff9999 transparent transparent transparent;
}


/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}


/* Small devices (portrait tablets and large phones, 400px and up) */
@media only screen and (min-width: 400px) {
  .login{width: 350px; margin:100px auto;}
  .login h1{font-size: 18px;}
  .login h2{font-size: 14px;}
  .login h3{font-size: 12px;}
  .login p{font-size: 12px;}
  .login p1{font-size: 12px;}
  .login p2{font-size: 12px;}
  .login p3{font-size: 12px;}
  .login li{font-size: 12px;}
  .login form input[type="text"], .login form input[type="email"]{width: 210px; height: 25px; font-size: 12px;}
  .forum-logo {width: 70px; height: 70px; margin-right: 2.6em;}
  .switch {margin-left: 15px;}
  .login form input[type="submit"] {font-size: 18px;}
  .popup .popuptext {width: 350px;}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .login{width: 400px; margin:100px auto;}
  .login h1{font-size: 24px;}  
  .login h2{font-size: 18px;}
  .login h3{font-size: 16px;}
  .login p{font-size: 16px;}
  .login p1{font-size: 14px;}
  .login p2{font-size: 16px;} 
  .login p3{font-size: 16px;}
  .login li{font-size: 16px;}
  .login form input[type="text"], .login form input[type="email"]{width: 270px; height: 30px; font-size: 16px;}
  .forum-logo {width: 80px; height: 80px; margin-right: 2.2em;}
  .switch {margin-left: 20px;}
  .login form input[type="submit"] {font-size: 24px;}
  .popup .popuptext {width: 400px;}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .login{width: 500px;  margin:120px auto;}
  .login h1{font-size: 26px;}
  .login h2{font-size: 22px;}
  .login h3{font-size: 18px;}
  .login p{font-size: 18px;}
  .login p1{font-size: 16px;}
  .login p2{font-size: 18px;}  
  .login p3{font-size: 18px;}
  .login li{font-size: 18px;}
  .login form input[type="text"], .login form input[type="email"]{width: 350px; height: 40px; font-size: 16px;}   
  .forum-logo {width: 100px; height: 100px; margin-right: 6em;}
  .switch {margin-left: 35px;}
  .login form input[type="submit"] {font-size: 26px;}
  .popup .popuptext {width: 500px;}
} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .login{width: 600px;  margin:140px auto;}
  .login h1{font-size: 28px;}
  .login h2{font-size: 24px;}
  .login h3{font-size: 20px;}
  .login p{font-size: 20px;}
  .login p1{font-size: 18px;}  
  .login p2{font-size: 16px;}
  .login p3{font-size: 20px;}
  .login li{font-size: 20px;}
  .login form input[type="text"], .login form input[type="email"]{width: 450px; height: 50px; font-size: 18px;}
  .login form input[type="submit"] {font-size: 28px;}
  .popup .popuptext {width: 600px;}
} 
@media only screen and (min-height: 600px) {
    .login{margin:100px auto;}
}

@media only screen and (min-height: 700px) {
    .login{margin:150px auto;}
}

