@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

* { 
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Quicksand', sans-serif;
}

a{
    text-decoration: none;
}
body {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: #000;
}

section {
	position: absolute;
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2px;
	flex-wrap: wrap;
	overflow: hidden;
}

section::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(#000, rgba(4, 201, 245, 0.8),#000);
	animation: animate 5s linear infinite;
}

@keyframes animate {
	0% {
		transform: translateY(-100%);
	}

	100% {
		transform: translateY(100%);
	}
}

.message{
    margin-top: 5%;
}
section span {
	position: relative;
	display: block;
	width: calc(6.25vw - 2px);
	height: calc(6.25vw - 2px);
	background: #181818;
	z-index: 2;
	transition: 1.5s;
}

section span:hover {
	background:  rgba(4, 201, 245, 0.8);;
	transition: 0s;
}

section .signin {
	position: absolute;
	background: #222;
	z-index: 1000;
	display: inline;
	width: 350px;
	height: 400px;
	overflow: hidden;
	/* background: url("https://doc-08-2c-docs.googleusercontent.com/docs/securesc/68c90smiglihng9534mvqmq1946dmis5/fo0picsp1nhiucmc0l25s29respgpr4j/1631524275000/03522360960922298374/03522360960922298374/1Sx0jhdpEpnNIydS4rnN4kHSJtU1EyWka?e=view&authuser=0&nonce=gcrocepgbb17m&user=03522360960922298374&hash=tfhgbs86ka6divo3llbvp93mg4csvb38") no-repeat center/ cover; */
	border-radius: 10px;
	box-shadow: 5px 20px 50px #000;
    opacity: 0.99;

	/* position: absolute;
	width: 400px;
	height: 500px;
	overflow: hidden;
	background: #222;
	z-index: 1000;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 40px;
	border-radius: 10px; */
	/* box-shadow: 0 15px 35px rgba(0, 0, 0, 9); */
	/* background: url("https://doc-08-2c-docs.googleusercontent.com/docs/securesc/68c90smiglihng9534mvqmq1946dmis5/fo0picsp1nhiucmc0l25s29respgpr4j/1631524275000/03522360960922298374/03522360960922298374/1Sx0jhdpEpnNIydS4rnN4kHSJtU1EyWka?e=view&authuser=0&nonce=gcrocepgbb17m&user=03522360960922298374&hash=tfhgbs86ka6divo3llbvp93mg4csvb38") no-repeat center/ cover; */
	/* box-shadow: 5px 20px 50px #000; */
}
p{
	color:  rgba(4, 201, 245, 0.8);
	text-align: center;
}

.Ph1{
	margin-top: 15px;
	text-align: center;
	color: white;
	padding-bottom: 20px;
}

.Pp{
	color:  rgba(31, 32, 32, 0.8);
	font-size: large;
	font-size: 2em;
	padding-bottom: 15px;
}

.Pb{
	color: black;
	background-color: #e0dede;
}
.Pb:hover{
	color:  rgba(4, 201, 245, 0.8);
}

.Pa{
	text-align: center;
	margin-left: 20px;
	color: #fff;
	text-decoration: none;
}

.a{
	position: relative;
	display: flex;
	margin-top: 3%;
	margin-left: 3%;
	transition: .5s ease-in-out;
	color:  rgba(4, 201, 245, 0.8);
}
a:hover{
	color: #fff;
}
.signup{
	position: relative;
	width:100%;
	height: 100%;
}

label{
	color:  rgba(4, 201, 245, 0.8);
	font-size: 1.5em;
	justify-content: center;
	display: flex;
	margin: 50px;
	font-weight: bold;
	cursor: pointer;
	transition: .5s ease-in-out;
}

button{
	width: 60%;
	height: 40px;
	margin: 10px auto;
	justify-content: center;
	display: block;
	color: #fff;
	background: rgba(4, 201, 245, 0.8);
	font-size: 0.9em;
	font-weight: bold;
	margin-top: 20px;
	outline: none;
	border: none;
	border-radius: 5px;
	transition: .2s ease-in;
	cursor: pointer;
}
#chk{
	display: none;
}

button:hover{
	background: rgb(0, 0, 0);
}

.login{
	height: 500px;
	background: #8c8d8d;
	border-radius: 60% / 10%;
	transform: translateY(-180px);
	transition: .8s ease-in-out;
}


.login label{
	color:  rgba(4, 201, 245, 0.8);
	transform: scale(.7);
}
input{
	width: 60%;
	height: 20px;
	background: #e0dede;
	justify-content: center;
	display: flex;
	margin: 20px auto;
	padding: 17px;
	border: none;
	outline: none;
	border-radius: 5px;
}

#chk:checked ~ .login{
	transform: translateY(-500px);
}
#chk:checked ~ .login label{
	transform: scale(1);	
}
#chk:checked ~ .signup label{
	transform: scale(.5);
}





@media (max-width: 900px) {
	section span {
		width: calc(10vw - 2px);
		height: calc(10vw - 2px);
	}
}

@media (max-width: 600px) {
	section span {
		width: calc(20vw - 2px);
		height: calc(20vw - 2px);
	}
}
