
@font-face {
    font-family: neucha;
    src: url(Neucha-Regular.ttf);
}


html{
	
	--primary: #E79685;
	--secondary: #202A46;
	--font-color: #202A46;
	--white: floralwhite;
	--danger: #a7342d;
	--whitesmoke: whitesmoke;
	--danger-text: #7f2722;
	--danger-light: #f0cbc9;
	--success:#97cba9;
	--success-dark: #5c715e;
}



*, html, body{
	
	padding: 0;
	margin: 0;
	font-family: "Neucha", sans-serif;
}

html, body{
	
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: antiquewhite;
	color: var(--font-color);
}





.boxy{
	
	border-bottom-left-radius: 185px 27px;
    border-bottom-right-radius: 20px 205px;
    border-top-left-radius: 125px 27px;
    border-top-right-radius: 10px 205px;
	box-shadow: 15px 21px 25px 12px rgb(0  0 0 / 20%);
	transition: all 235ms ease-in-out 0s;
	
}

.hidden-boxy{
	
	height: 0 !important;
    width: 0 !important;
    position: absolute;
    visibility: hidden;
}


.logo-container{
	width: 30%;
	height: 100%;
	background: var(--secondary);
	border-top-left-radius: 125px 25px;
	border-bottom-left-radius: 185px 25px;
	display: flex;
	justify-content: center;
	align-items: center;

}


.container{
	
	background: var(--white);
	max-width: 750px;
	width: 50%;
	height: 70%;
	display: flex;
 	border: 2px solid var(--secondary);
	justify-content: center;
    align-items: center;
}


.logo{
	
	height: 130px;
	width: 130px;
  	fill: #E79685;
  	
}


.login-container{
	
	width: 70%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-bottom-right-radius: 20px 205px;
    border-top-right-radius: 10px 205px;

}


.heading{
	margin-bottom: 50px;
}


.full-length{
	
	width: 80%;
	margin-left: 10%;
}


.heading > span {
	color: var(--primary);
}


input[type=text], input[type=password] {
	
	width: 80%;
	height: 30px;
	border-bottom-left-radius: 15px 255px;
    border-bottom-right-radius: 225px 15px;
	border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    border: 2px solid var(--secondary);
    padding: 2%;
    font-size: 1rem;
	background-color: var(--whitesmoke);
	outline: none;
	margin-top: 12px;
	color: var(--secondary);
}


input[type=submit]{
	
border-bottom-left-radius: 185px 25px;
    border-bottom-right-radius: 20px 205px;
    border-top-left-radius: 125px 25px;
    border-top-right-radius: 10px 205px;
	border-style: solid;
    border-width: 2px;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    outline: none;
    padding: 0.75rem;
    transition: all 235ms ease-in-out 0s;
    box-shadow: 2px 8px 4px -6px rgb(0 0 0 / 20%);
    margin-top: 35px;
    width: 100px;
    color: var(--secondary);
    border-color: var(--secondary);
    background-color: var(--primary);
    -webkit-appearance: button;
}


input[type=submit]:hover{
	
    box-shadow: 2px 8px 4px -6px rgb(255 255 255 / 10%);
    transform: translate3d(0, 2px, 0);

    
}


.pass-reset{
	margin-top: 10px;
	width: 85%;
}


.pass-reset > a{
	
	float: right;
	text-decoration: none;
	color: var(--font-color);
	font-weight: bold;
	margin-top: 10px;
	
}

.pass-reset > a:hover{
	
	color: var(--primary);
	
}


.alert{
	
	position: absolute;
	top: 10px;
	border-color: var(--danger);
	background-color: var(--danger-light);
	color: var(--danger-text);
	border-style: solid;
    border-width: 2px;
    padding: 15px;
    width: 20%;
    transition: all 235ms ease-in-out 0s;
    display: flex;
  	justify-content: space-between;
}

.success-alert{
	
	position: absolute;
	top: 10px;
	border-color: var(--success-dark);
	background-color: var(--success);
	color: var(--success-dark);
	border-style: solid;
    border-width: 2px;
    padding: 15px;
    width: 20%;
    transition: all 235ms ease-in-out 0s;
    display: flex;
  	justify-content: space-between;
}

.alert-state:checked + .alert {
  border-width: 0;
  margin: 0;
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  padding-top: 0;
}


.alert-state:checked + .success-alert {
  border-width: 0;
  margin: 0;
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  padding-top: 0;
}


.btn-close{
	
	cursor: pointer;

}


.alert-state {
    display: none;
}


.error{
	
	display: none;
	
	
}

.submitForm{
    width: 80%;
    display: flex;
    align-items: baseline;
}


.loading {
  display: inline-block;
  position: relative;
  width: 30px;
  height: 30px;
  display: none;
}
.loading div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  margin: 8px;
  border: 2px solid  var(--primary);;
  border-radius: 50%;
  animation: loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color:  var(--primary) transparent transparent transparent;
}
.loading div:nth-child(1) {
  animation-delay: -0.45s;
}
.loading div:nth-child(2) {
  animation-delay: -0.3s;
}
.loading div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


@media screen and (min-width: 700px) and  (max-width: 1150px){
	
	.container{
		width: 70%;
	}
	
}



@media screen and (max-width: 800px) and (max-height: 970px)
 {
	
	html, body{
		height: auto;
	}
	
    .container {
		width: 95%;
		height: 100vh;
	    display: flex;
	    flex-direction: column;
	    align-items: center;
	    font-size: 16px;
	    border: 1px solid transparent;
	    box-shadow: 15px 21px 25px 12px transparent;
  	}
  
  
   .logo-container, .login-container{
	    width: 100%;
    }
  
  .login-container{
		justify-content: initial;
	}
  
  .logo-container{
		height: 150px;
  }
  
	
  .heading{
		width: 100%;
		text-align:center;
		margin-left:0px;
		margin-top: 50px;
		margin-bottom: 50px;
	}
	
  .logo{
	
	height: 100px;
	width: 100px;
  }
	
}



