* {
	margin: 0;
	padding: 0;
	font-family: system-ui;
	box-sizing: border-box;
	font-size: 16pt;
}

:root {
	--wmdp-blue: rgb(16, 14, 55);
	--wmdp-red: rgb(134, 37, 42);
}

button {
	all: unset;
}

button:focus {
	outline: revert;
}

body {
	height: 100dvh;
	background-color: var(--wmdp-blue);
	color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

h1 {
	font-weight: 700;
	font-size: clamp(1rem, calc(1vw + 1.25rem), 3rem);
	text-wrap: balance;

	@media (max-width: 900px) and (max-height: 1000px) {
		line-height: 4dvh;
	}
}

p {
	padding-top: calc(1vh + .2rem);
	font-size: clamp(.3rem, calc(1vw + .7rem), 1rem);
	text-wrap: balance;

	@media (max-width: 900px) and (max-height: 1000px) {
		line-height: 3.4dvh;
	}
}

#myVideo {
	z-index: 0;
	position: fixed;
	left: 0;
	bottom: 0;
	min-width: 100%;
	min-height: 100%;
	opacity: 65%;
}

dialog {
	display: none;
}

dialog[open] {
	z-index: 2;
	width: 60%;
	height: fit-content;
	justify-self: center;
	align-self: center;
	border-radius: 1rem;
	border: none;
	background-color: var(--wmdp-blue);
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	color: white;
	overflow-y: scroll;

	@media (max-width: 900px) and (max-height: 1000px) {
		min-width: 100vw;
		min-height: 100vh;
		border-radius: 0;
	}
}

::backdrop {
	background-color: var(--wmdp-blue);
	opacity: 50%;
	filter: blur(100px);
}

.closeBtn {
	text-align: center;
	align-self: flex-end;
	width: 10%;
	color: white;
	font-size: 28px;
	font-weight: bold;
	background-color: var(--wmdp-blue)
}

.closeBtn:hover,
.closeBtn:focus {
	color: var(--wmdp-red);
	text-decoration: none;
	cursor: pointer;
}

dialog>form {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.connect-form {
	padding-top: calc(1dvh + .25rem);
}

input {
	width: 100%;
	padding-top: .5rem;
	color: var(--wmdp-blue);
}

.subscribesubmit-btn>input {
	color: white;
	background-color: var(--wmdp-red);
	padding: .75rem;
	border-radius: .4rem;
}

.container-main {
	z-index: 1;
	width: 80%;
	max-width: 580px;
	text-align: center;
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.2);
	border-radius: 1rem;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	padding-bottom: 3rem;

	@media (max-width: 900px) and (max-height: 1000px) {
		min-width: 100dvw;
		min-height: 100%;
		border-radius: 0;
		padding: .75rem;
	}

}

.container-main-head {
	align-content: flex-end;

	img {
		max-height: 200px;
	}

	div {
		max-height: max-content;
	}
}

.container-main-body {
	padding-top: 1rem;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	gap: .75rem;
	justify-content: space-evenly;
}

.body-links {
	align-content: center;
	height: 7dvh;
	width: 100%;
	text-decoration: none;
	padding: .75rem;
	background: var(--wmdp-blue);
	color: white;
	border-radius: 30px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	font-weight: 600;
}

.body-links:hover {
	background: var(--wmdp-blue);
	color: #fff;
}

.social-links {
	margin-top: 1.25rem;
	height: 2.5rem;
	display: flex;
	justify-content: center;
	gap: 1.5rem;
}

.social-links>a>img {
	height: 90%;
}

.social-links>a>img:hover {
	filter: invert();
}