/*:root {
	--text: #e5e7f5;
	--background: #0a0b19;
	--primary: #959cd9;
	--secondary: #28317a;
	--accent: #4452c6;
	--background-gradient: linear-gradient(70deg, var(--secondary), var(--accent), var(--primary));
}
*/

:root {                                                                                                                                        
	--text: rgb(229, 238, 235);                                                                                                                
	--background: rgb(10, 16, 15);                                                                                                             
	--primary: rgb(167, 205, 195);                                                                                                             
	--secondary: rgb(54, 104, 91);                                                                                                             
	--accent: rgb(115, 188, 170);
	--background-gradient: linear-gradient(70deg, var(--secondary), #112, #111);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	transition: width 0.3s;
}

@media screen and (min-width: 1000px) {

	body {
		height: fit-content; 

		background: var(--background-gradient);
		background-attachment: fixed;
		background-size: auto;

		display: grid;
		place-items: center;
		gap: 2vw;
	}

	iframe {
		padding-bottom: 2vw;
	}

	#creds {
		position: fixed;
		left: 2vw;
		bottom: 2vw;
		color: rgba(255,255,255,0.3);
		font-family: Arial;
		font-size: 1.1rem;
	}

	#switch-button,
	#switch-button-label {
		position: absolute;
		top: 2vw;
		left: 2vw;
	}

	#switch-button {
		display: none;
	}

	#switch-button-label {
		font-size: 3rem;
		color: rgba(255,255,255,0.3);
		/*padding-top: 1vw;*/
		z-index: 100;
	}

	#container-text {
		width: 30%;
		height: fit-content;

		text-align: center;
		font-size: 1.5rem;
		font-family: Arial, Helvetica, sans-serif;
		font-weight: 100;
		background-color: rgba(255,255,255,0.1);
		border-radius: 10px;
		margin-top: 2vw;
		color: white;
		box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.1);
	}

	#container-text > h1 {
		padding: 1vw;
		color: rgba(255,255,255,0.9);
	}

	#container-form {
		width: 30%;

		background-color: rgba(255,255,255,0.1);
		border-radius: 10px;
		padding: 2vw;
		box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.1);
	}

	#container-form > form {
		width: 100%;
		height: 100%;

		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;

		gap: 1.1rem;
	}

	#container-form > form > h2 {
		width: 100%;
		color: rgba(255,255,255,0.5);
		font-family: Arial, Helvetica, sans-serif;
		top: 0.5rem;
		left: 0.5rem;
	}

	#container-form > form > input {
		width: 50%;
		height: 1.1rem;

		background-color: rgba(255,255,255,0.2);
		outline: none;
		border: 0;
		padding: 1.1vw;

		border-radius: 10px;
		color: white;
	}

	#container-form > form > textarea {
		width: 50%;
		min-height: 2rem;
		min-width: 50%;
		max-width: 50%;

		background-color: rgba(255,255,255,0.2);
		outline: none;
		border: 0;
		padding: 1.1vw;

		border-radius: 10px;
		color: white;
	}

	#container-form > form > input[type=submit] {
		padding: 1.1rem 0 2.1rem 0;
		font-size: 1rem;
		color: rgba(255,255,255,0.7);
		transition: all 0.3s;
	}

	#container-form > form > input[type=submit]:hover {
		background-color: rgba(255,255,255,0.5); 
	}

	nav {
	width: 30%;
	display: flex;
	justify-content: space-around;
	}

	nav > a {
	color: rgba(255,255,255,0.5);
	font-size: 1.1rem;
	text-decoration: none;
	font-family: Arial;
	}

	nav > a:hover {
	color: rgba(255,255,255,0.7);
	}
}

@media screen and (max-width: 1000px) {

	body {
		height: fit-content; 

		background: var(--background-gradient);
		background-attachment: fixed;
		background-size: auto;

		display: grid;
		place-items: center;
	}

	iframe {
		width: 100%;
		padding-bottom: 2vw;
	}

	#creds {
		width: 100%;
		height: calc(fit-content + 10px);
		color: rgba(255,255,255,0.3);
		padding-bottom: 2vw;
		font-family: Arial;
		font-size: 1.1rem;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	#switch-button {
		display: none;
	}

	#switch-button-label {
		font-size: 3rem;
		color: rgba(255,255,255,0.3);
		/*padding-top: 1vw;*/
		z-index: 100;
	}

	#container-text {
		width: 100%;
		height: fit-content;

		text-align: center;
		font-size: 1.5rem;
		font-family: Arial, Helvetica, sans-serif;
		font-weight: 100;
		background-color: rgba(255,255,255,0.1);
		color: white;
	}

	#container-text > h1 {
		padding: 1vw;
		color: rgba(255,255,255,0.9);
	}

	#container-form {
		width: 100%;

		background-color: rgba(255,255,255,0.1);
		padding: 3vw;
	}

	#container-form > form {
		width: 100%;
		height: 100%;

		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;

		gap: 1.1rem;
	}

	#container-form > form > h2 {
		width: 100%;
		color: rgba(255,255,255,0.5);
		font-family: Arial, Helvetica, sans-serif;
		top: 0.5rem;
		left: 0.5rem;
	}

	#container-form > form > input {
		width: 300px;
		height: 3rem;

		background-color: rgba(255,255,255,0.2);
		outline: none;
		border: 0;
		padding: 1.1vw;

		border-radius: 10px;
		color: white;
	}

	#container-form > form > textarea {
		width: 300px;
		min-height: 1.8rem;
		min-width: 300px;
		max-width: 300px;

		background-color: rgba(255,255,255,0.2);
		outline: none;
		border: 0;
		padding: 1.1vw;

		border-radius: 10px;
		color: white;
	}

	#container-form > form > input[type=submit] {
		padding: 1.1rem 0 2.1rem 0;
		font-size: 1rem;
		color: rgba(255,255,255,0.7);
	}

	nav {
		width: 100%;
		display: flex;
		justify-content: space-around;
		padding-top: 2vw;
		padding-bottom: 2vw;
	}

	nav > a {
		color: rgba(255,255,255,0.5);
		font-size: 1.1rem;
		text-decoration: none;
		font-family: Arial;
	}

}

