:root {
	--card-line-height: 1.2em;
	--card-padding: 1em;
	--card-radius: 0.5em;
	--color-green: #93d5f2;
	--color-gray: #e2ebf6;
	--color-dark-gray: #c4d1e1;
	--radio-border-width: 2px;
	--radio-size: 1.5em;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: 4em;

    z-index: 10;

    padding: 1em;

    display: flex;
    align-items: center;
}

nav h5 {
    font-size: 1.5em;
    font-weight: bold;
    font-family: 'Pacifico';
}

@media screen and (max-width: 600px) {
    nav h5 {
        display: none;
    }
    
    header h1 {
        font-size: 4rem !important;
    }
}

.logo {
    height: 100%;
    margin-right: 1em;
}

.grid {
	display: grid;
	grid-gap: var(--card-padding);
	margin: 2em auto;
	max-width: 60em;
	padding: 0;


	@media (min-width: 42em) {
		grid-template-columns: repeat(3, 1fr);
	}
}

.card {

	border-radius: var(--card-radius);
	position: relative;

	&:hover {
		box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
	}
}

.plan-info {
	margin-top: 10px;
}

.radio {
	font-size: inherit;
	margin: 0;
	position: absolute;
	right: calc(var(--card-padding) + var(--radio-border-width));
	top: calc(var(--card-padding) + var(--radio-border-width));
}

@supports(-webkit-appearance: none) or (-moz-appearance: none) {
	.radio {
		-webkit-appearance: none;
		-moz-appearance: none;
		background: #fff;
		border: var(--radio-border-width) solid var(--color-gray);
		border-radius: 50%;
		cursor: pointer;
		height: var(--radio-size);
		outline: none;
		transition:
			background 0.2s ease-out,
			border-color 0.2s ease-out;
		width: var(--radio-size);

		&::after {
			border: var(--radio-border-width) solid #fff;
			border-top: 0;
			border-left: 0;
			content: '';
			display: block;
			height: 0.75rem;
			left: 25%;
			position: absolute;
			top: 50%;
			transform:
				rotate(45deg) translate(-50%, -50%);
			width: 0.375rem;
		}

		&:checked {
			background: var(--color-green);
			border-color: var(--color-green);
		}
	}

	.card:hover .radio {
		border-color: var(--color-dark-gray);

		&:checked {
			border-color: var(--color-green);
		}
	}
}


.plan-details {
	border: var(--radio-border-width) solid var(--color-gray);
	border-radius: var(--card-radius);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	padding: var(--card-padding);
	transition: border-color 0.2s ease-out;
}

.card:hover .plan-details {
	border-color: var(--color-dark-gray);
}

.radio:checked~.plan-details {
	border-color: var(--color-green);
}

.radio:focus~.plan-details {
	box-shadow: 0 0 0 2px var(--color-dark-gray);
}

.radio:disabled~.plan-details {
	color: var(--color-dark-gray);
	cursor: default;
}

.radio:disabled~.plan-details .plan-type {
	color: var(--color-dark-gray);
}

.card:hover .radio:disabled~.plan-details {
	border-color: var(--color-gray);
	box-shadow: none;
}

.card:hover .radio:disabled {
	border-color: var(--color-gray);
}

.plan-type {
	color: var(--color-green);
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1em;
}

.plan-cost {
	font-size: 2.5rem;
	font-weight: bold;
	padding: 0.5rem 0;
}

.slash {
	font-weight: normal;
}

.plan-cycle {
	font-size: 2rem;
	font-variant: none;
	border-bottom: none;
	cursor: inherit;
	text-decoration: none;
}

.hidden-visually {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

body {
	margin: 0;
	font-family: Arial, sans-serif;
	background: black;
	color: white;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

header {
	height: 100vh;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	/* background: linear-gradient(to top, #000, #0c0c0c); */
	overflow: hidden;
}

header canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

header h1 {
	font-size: 6rem;
	font-style: italic;
	color: #75c9ec;
	text-shadow: 0 0 20px #689eb5, 0 0 40px #689eb5, 0 0 60px #689eb5;
	z-index: 2;
	position: relative;
	animation: flicker 2s infinite;
    text-align: center;
    margin-left: .5em;
    margin-right: .5em;
}

header h5 {
    font-size: 2rem;
    color: #75c9ec;
    text-shadow: 0 0 20px #689eb5, 0 0 40px #689eb5, 0 0 60px #689eb5;
    z-index: 2;
    position: relative;
    animation: flicker 2s infinite;
    text-align: center;
    margin-left: .5em;
    margin-right: .5em;
}

@keyframes flicker {

	0%,
	19%,
	21%,
	23%,
	25%,
	54%,
	56%,
	100% {
		text-shadow: 0 0 20px #689eb5, 0 0 40px #689eb5, 0 0 60px #689eb5;
	}

	20%,
	24%,
	55% {
		text-shadow: 0 0 5px #689eb5, 0 0 10px #689eb5, 0 0 20px #689eb5;
	}
}

.container {
	padding: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.mascot-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	margin-top: 40px;
	margin-bottom: 40px;
}

.mascot-item {
	background: #222;
	border-radius: 10px;
	overflow: hidden;
	width: 300px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s;
}

.mascot-item:hover {
	transform: translateY(-10px);
}

.mascot-item img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.mascot-item h2 {
	margin: 10px 0;
	font-size: 1.5rem;
	color: #93d5f2;
}

.mascot-item p {
	padding: 0 10px;
	font-size: 1rem;
	color: #ccc;
}

.mascot-item button {
	background: #93d5f2;
	color: #111;
	border: none;
	padding: 10px 20px;
	margin: 10px 0;
	cursor: pointer;
	border-radius: 5px;
	font-size: 1rem;
	transition: background 0.3s;
}

.mascot-item button:hover {
	background: #518196;
}

form {
	background: #222;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

form h2 {
	text-align: center;
	margin-bottom: 20px;
}

form .form-group {
	margin-bottom: 15px;
    width: 100%;
}

form label {
	display: block;
	margin-bottom: 5px;
	color: #ccc;
}

form input,
form textarea {
    width: 100%;
	padding: 10px;
	border: 1px solid #444;
	border-radius: 5px;
	background: #333;
	color: white;
    box-sizing: border-box;
}

form button {
	width: 100%;
	background: #93d5f2;
	color: #111;
	border: none;
	padding: 10px;
	cursor: pointer;
	font-size: 1rem;
	border-radius: 5px;
	transition: background 0.3s;
}

form button:hover {
	background: #518196;
}

.spacing {
	height: 5em;
}

.header-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.header-button {
	background: #93d5f2;
	color: #111;
	border: none;
	padding: 10px 20px;
	margin: 10px 0;
	cursor: pointer;
	border-radius: 5px;
	font-size: 1rem;
	transition: background 0.3s;
	z-index: 4;
	text-decoration: none;
}

#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: -1;
}

/* pacifico-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Pacifico';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/pacifico-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  