@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap");

*,
::before,
::after {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: "Montserrat", sans-serif;
}

#animation-container {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

#canvas {
	position: relative;
	transform-origin: center center;
	animation: rotate 20s linear infinite;
}

#circle-container {
	position: absolute;
	top: calc(50% - 125px);
	left: calc(50% - 125px);
	transform: translate(-50%, -50%);
}

.circle {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	position: absolute;
	transform-origin: center center;
	box-shadow: 5px 5px 20px 0px rgba(0, 0, 0, 0.7);
}

#canvas2 {
	position: absolute;
	transform-origin: center center;
	animation: rotate 30s linear infinite;
}

#after-container {
	position: absolute;
	top: calc(50% - 40px);
	left: calc(50% - 40px);
	transform: translate(-50%, -50%);
}

.after {
	position: absolute;
	width: 80px;
	height: 80px;
	box-shadow: 5px 5px 20px 0px rgba(0, 0, 0, 0.7);
	/*animation: rotate 30s linear infinite;*/
}

.after-circle {
	border-radius: 50%;
}

.after-square {
	border-radius: 25%;
	transform: rotate(45deg);
}

.blue {
	background: rgba(16, 63, 236, 0.75);
	transform: translate(-90px, 90px);
}

.after-blue {
	top: 180px;
	left: -180px;
	background: rgba(16, 63, 236, 0.75);
}

.green {
	background: rgba(37, 172, 162, 0.75);
	transform: translate(0px, 125px);
}

.after-green {
	top: 250px;
	left: 0px;
	background: rgba(37, 172, 162, 0.75);
}

.yellow {
	background: rgba(233, 124, 32, 0.75);
	transform: translate(90px, 90px);
}

.after-yellow {
	top: 180px;
	left: 180px;
	background: rgba(233, 124, 32, 0.75);
}

.orange {
	background: rgba(235, 67, 35, 0.75);
	transform: translate(125px, 0px);
}

.after-orange {
	top: 0px;
	left: 250px;
	background: rgba(235, 67, 35, 0.75);
}

.red {
	background: rgba(190, 28, 65, 0.75);
	transform: translate(90px, -90px);
}

.after-red {
	top: -180px;
	left: 180px;
	background: rgba(190, 28, 65, 0.75);
}

.pink {
	background: rgba(208, 57, 159, 0.75);
	transform: translate(0px, -125px);
}

.after-pink {
	top: -250px;
	left: 0px;
	background: rgba(208, 57, 159, 0.75);
}

.purple {
	background: rgba(150, 32, 198, 0.75);
	transform: translate(-90px, -90px);
}

.after-purple {
	top: -180px;
	left: -180px;
	background: rgba(150, 32, 198, 0.75);
}

.violet {
	background: rgba(95, 33, 203, 0.75);
	transform: translate(-125px, 0px);
}

.after-violet {
	top: 0px;
	left: -250px;
	background: rgba(95, 33, 203, 0.75);
}

#box-container {
	z-index: 1000;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#box {
	position: relative;
	width: 300px;
	height: 300px;
	background: rgba(30, 7, 66, 0.65);
	border-radius: 25%;
	animation: rotate 10s linear infinite;
}

#box::before {
	content: "";
	display: block;
	width: 300px;
	height: 300px;
	background: rgba(30, 7, 66, 0.65);
	border-radius: 25%;
	transform: rotate(45deg);
}

svg {
	position: absolute;
	top: -100%;
	left: 50%;
	transform: translate(-50%, 0);
	fill: white;
	width: 75px;
}

#text-container {
	position: absolute;
	top: 50%;
	text-align: center;
	color: white;
}

h1 {
	font-size: 1.75em;
	margin-bottom: 25px;
	font-weight: 400;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

h2 {
	font-size: 2em;
	font-weight: 600;
	text-align: center;
}

form {
	width: 80vw;
	margin: auto;
}

fieldset {
	padding: 10px 20px;
	background-color: rgb(227, 227, 227);
	border-radius: 15px;
	border: 1px solid gray;
	text-align: center;
}

legend {
	background-color: rgb(227, 227, 227);
	padding: 10px 20px;
	border: 1px solid gray;
	border-radius: 15px;
}

p {
	margin: 10px 0;
}

.red-dot {
	color: red;
}

input[type="text"],
input[type="email"] {
	width: 20vw;
	padding: 5px 10px;
	border-radius: 5px;
	background-color: white;
	border: 1px solid gray;
}

input[type="text"]:hover,
input[type="email"]:hover {
	background-color: rgba(255, 255, 255, 0.5);
}

button {
	display: block;
	margin: 20px auto;
	padding: 10px 20px;
	text-align: center;
	border: 1px solid gray;
	border-radius: 15px;
	background-color: rgb(227, 227, 227);
}

button:hover {
	background-color: rgba(227, 227, 227, 0.5);
}

button:focus {
	background-color: rgb(200, 200, 200);
}
