html, body 
{
	height: 100%; /* Ensure full height of viewport */
	margin: 0; /* Remove default margin */
	padding: 0; /* Remove default padding */
}

/* If using Roboto, you can include it via Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;800;900&display=swap');

@font-face {
   font-family: 'PokemonSolid';
   src: url('https://www.iamfredperry.co.uk/Pokemon/PokemonSolid.woff2') format('woff2'), /* Super compressed format */
		url('https://www.iamfredperry.co.uk/Pokemon/PokemonSolid.woff') format('woff'),   /* Compressed format */
		url('https://www.iamfredperry.co.uk/Pokemon/PokemonSolid.ttf') format('truetype'); /* Standard format */
   font-weight: normal;
   font-style: normal;
}

h1, h2, h3, h4, h5, h6, p
{
	font-family: 'Press Start 2P', monospace;
	margin: 10px 0;
	line-height: 26px;
}

h1 
{
   font-size: 24px;
   font-weight: 800;
   margin-top: 20px;
   margin-bottom: 0px;
   line-height: 36px;
}

h2
{
	font-size:16px;
	line-height: 22px;
	font-weight: 600;
	padding:0;
}


h3
{
	font-size:14px;
	line-height: 22px;
	font-weight: 600;
	margin-top: 30px;
}

p,
small
{
	font-size:12px;
	line-height: 24px;
}

i:not(button > i)
{
	margin-bottom:20px;
}

b
{
	letter-spacing: -2px;
    font-size: large;
}


/* CONTAINERS */

body 
{
	font-family: 'Press Start 2P', monospace;
	text-align: center;
	color: #333;
	background: linear-gradient(to bottom, #f44336, #01478d);
	background-size: cover; /* Optional, for covering the background */
	background-attachment: fixed; /* Optional, for fixed background */
}

.FlexRow
{
	display: flex;
	flex-direction: row;
}

.FlexColimn
{
	display: flex;
	flex-direction: column;
}

.Logo
{
	width: 160px;
	margin-bottom: 10px;
}

.BackgroundWhite
{
	background-color: rgba(255, 255, 255, 1);
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.party-details 
{
	margin-top: 20px;
}

.response-options 
{
	display: flex;
	justify-content: center; /* Center the buttons horizontally */
	gap: 20px; /* Space between buttons */
	margin-top: 20px; /* Space above the button group */
}

.button-option input[type="radio"] 
{
	display: none; /* Hide the default radio button */
}


/* Style for the label when selected */
.button-option input[type="radio"]:checked + span {
	background-color: #01478d; /* Green when selected */
	border-color: #28a745; /* Same green border */
	color: #fff;
}

form
{
	width: fit-content;
	max-width: 640px;
	margin: auto;
}

input,
input[type="text"],
input[type="email"],
input[type="password"],
select
{
	font-family: 'Press Start 2P', monospace;
	min-width: 0px;
	
	width: 100%;
	padding: 14px 0;
	text-indent: 20px;
	margin-bottom: 10px;
	border: 2px solid #34343495;
	border-radius: 12px;
	font-size: 16px;
	box-sizing: border-box; /* Ensures padding doesn't affect total width */
}

label
{
	float:left;
}

.switch {
	position: relative;
	display: inline-block;
	width: 34px;
	height: 20px;
}
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.slider {
	position: absolute;
	cursor: pointer;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 20px;
}
.slider:before {
	position: absolute;
	content: "";
	height: 14px;
	width: 14px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}
input:checked + .slider {
	background-color: #2196F3;
}
input:checked + .slider:before {
	transform: translateX(14px);
}

.CheckBox
{
	width: 30px;
	height: 30px;
}

button,
.edit-button,
.button-option > span
{
	font-family: 'Press Start 2P', monospace;
	line-height: 26px;
	cursor: pointer;
	width: 100%;
	padding: 14px 30px;
	border-radius: 14px;
	font-size: 16px;
	background-color: #f44336;
	color: white;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s;
	font-size: 16px;
}

button:hover,
.edit-button:hover,
.button-option > span:hover
{
	background-color: #f1cf03;
}


.CTA
{
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 22px;
	display: inline-flex;
	border-radius: 16px;
	
	display: flex;
	justify-content: center;  /* Center horizontally */
	align-items: center;      /* Center vertically */
	width: 100%;              /* Optional: Makes button take full width of container */
	height: 100%;             /* Optional: Makes button take full height of container */
	padding: 12px;            /* Adjust padding as needed */
}

#selected-pokemon-name {
	margin-right: 5px; /* Optional: Add some space between the spans */
}

.pokemon-selector 
{
	margin: 20px 0;
}

.pokemon-images 
{
	display: flex;
	justify-content: center;
	padding: 2%;
	flex-wrap: wrap;
}

.pokemon-images img 
{
	width: 80px;
	height: auto;
	margin: 5px; /* Adjust margin for better spacing */
	cursor: pointer; /* Indicate the image is clickable */
	transition: transform 0.3s;
}

.pokemon-images img:hover {
	transform: scale(1.2); /* Slightly enlarge the image on hover */
}

.pokemon-images img.selected 
{
	width: 160px;
	height: 160px; /* Ensure the height matches the width for a perfect circle */
	background: linear-gradient(to bottom, #f44336 49%, #222 49%, #222 51%, #fff 51%); /* Red top, thick black line, white bottom */
	border: 4px solid #222; /* Dark border for the ball */
	border-radius: 50%; /* Makes it a circle */
	position: relative; /* Needed for positioning the inner elements */
	overflow: hidden; /* Hide overflow to keep the shape */
	padding: 20px;
	 margin: 20px;
}

hr
{
	border: none;
	border-top: 3px dashed #222;
	margin: 40px 8%;
}

table 
{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  border: 4px solid #34343495;
  border-radius: 12px;
  overflow: hidden;
}

th 
{
  background-color: #34343480;
  color: #f9f9f9;
  padding: 16px 10px;
}

td 
{
  padding: 16px 10px;
  border-top: 1px solid #34343495;
  border-left: 1px solid #34343495;
  font-size: 24px;
  font-weight: 800;
}

tr td:first-child,
tr th:first-child {
  border-left: none;
}

tbody tr:hover {
  background-color: #f9f9f9;
}

thead {
  border-bottom: 2px solid #e0e0e0;
}

td, th {
  word-wrap: break-word;
}

.GenerationBorder
{
	width: -webkit-fill-available;
    padding: 20px;
    border-bottom: 6px solid #000;
    padding: 20px;
    margin-bottom: 20px;
}

.error {
	border: 2px solid #F20619;
}

.error-message {
	color: #F20619
	display: none; /* Initially hidden */
	margin-top: 5px; /* Space between input and message */
}

.IntroductionText
{
	padding: 0px 2%;
	text-align:left;
	max-width: 600px;
	margin: auto;
	line-height: 22px;
	margin-top: 26px;
	margin-bottom: 40px;
}



.pokemon-images img[data-selected="true"] 
{
	filter: grayscale(100%); /* Optional: Make the image grayscale to indicate it's unavailable */
	opacity: 0.5; /* Make the image faded */
}

.pokeball {
	position: relative;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: linear-gradient(to bottom, #f44336 49%, #444 49%, #444 51%, #fff 51%);
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
	border: 2px solid black; /* Outer border around the Poké Ball */
	animation: moveAndScale 2s forwards; /* Animation to move and scale */
	transform-origin: center;
}

@keyframes moveAndScale {
	0% {
		transform: scale(0.2) translateZ(0);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: scale(1) translateZ(0);
	}
}

.top-half {
	width: 100%;
	height: 50%;
	background-color: #F20619
	border-top-left-radius: 60px;
	border-top-right-radius: 60px;
	position: absolute;
	top: 0;
}

.bottom-half {
	width: 100%;
	height: 50%;
	background-color: #ffffff; /* White color */
	border-bottom-left-radius: 60px;
	border-bottom-right-radius: 60px;
	position: absolute;
	bottom: 0;
}

/* Gray line in the middle without a border */
.border {
   position: absolute;
   width: 99%;
   margin-left: -1%;
   height: 10px;
   background-color: #444;
   top: 50%;
   transform: translateY(-50%);
   border: solid #000 2px;
   z-index: 2;
}

.button {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 35px; /* Smaller gray circle */
	height: 35px; 
	background-color: #444; /* Change to #444 */
	border-radius: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	border: 2px solid black; /* Black border around the gray circle */
}

/* New white circle with black border */
.ButtonCover {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 35px;
	height: 35px;
	background-color: #444444;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

.Inner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 23px;
	height: 23px;
	background-color: #fff;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	border: 2px solid black;
}

.ButtonInner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	background-color: #fff;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	border: 1px solid #000;
}

.ButtonInner:hover
{
	background: #f44336;
}

.shine 
{
	position: absolute;
	top: 0%;
	left: 15%;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 50%);
	border-radius: 50%;
	pointer-events: none;
	opacity: 0.9;
	z-index: 4;
}

.small-shine 
{
	position: absolute;
	top: 70%;
	left: 20%;
	width: 25px;
	height: 25px;
	background: radial-gradient(circle, rgba(255, 255, 255, 1), transparent);
	border-radius: 50%;
	pointer-events: none;
	opacity: 1;
	z-index: 5;
}

.BackgroundRed
{
	background-color: #F20619;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	max-width: 100%;
	background: black;
}
.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.Screen 
{
	background-color: #ff0000;
	border: 2px solid #000;
	border-radius: 10px;
	height: 100vh;
	width: 100vw;
	position: relative;
	overflow: hidden;
}

.Screen2
{
	background-color: #ff0000;
	border: 2px solid #000;
	border-radius: 10px;
	height: 600px;
	width: 100%;
	position: relative;
	overflow: hidden;
}

#map 
{
	height: 100vh;
	width: 100vw;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
	background-color: #a0a0a0;
}

.GameBar
{
	position: fixed;
    top: 10px;
    width: 80%;
    left: 10%;
}

.distance-indicator 
{
	position:relative;
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	padding: 10px;
	border-radius: 8px;
	color: #000;
	margin-top:10px;
}

.GameButtons
{
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	border-radius: 8px;
	position: relative;
	padding: 8px;
}

.GameButtons > button
{
	background: #F20619;
	width: 40px;
	height: 40px;
	padding: 6px;
	font-size: 24px;
	border-radius:8px;
}

.GameButtons > button:hover
{
	background: #333;
}

.PullIn
{
	padding: 10px;
}

.challenge-popup 
{
    position: fixed;
    bottom: 20px;
    left: 50%;
   
    max-width: 500px;
    min-width: 320px;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    display: none;
    text-align: center;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transform: translateX(-50%);
}

.party-member-popup {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #fff; /* White background for party member pop-up */
	color: #F20619
	padding: 15px;
	border-radius: 8px;
	display: none;
	text-align: center;
	pointer-events: auto;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn {
	padding: 10px;
	background-color: #ff0000; /* Red button */
	color: white;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	font-weight: bold;
}

@keyframes pulse {
	0% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.2); opacity: 0.7; }
	100% { transform: scale(1); opacity: 1; }
}

.player-icon {
	width: 40px;
	height: 40px;
	animation: pulse 1.5s infinite;
}

.Hidden 
{
  display: none;
}

.FullSize
{
	height: fit-content;
	padding-top: 20px;
	padding-bottom: 20px;
}

@keyframes fadeInUp 
{
  0% {
    opacity: 0;
    top: 300px;
  }
  100% {
    opacity: 1;
    top: 200px;
  }
}


/* Main Content */
.main-content {
	flex: 1;
	padding: 2%;
	overflow-y: auto;
}


hr {
	border: none;
	border-top: 2px dashed #222;
	margin: 30px 0;
}

.Container
{
	max-width: 960px;
	margin: auto;
}

main
{
	padding: 14px;
}

.ProfileIcon
{
	width: 90px;
	height: 90px;
	top: 30px;
	right: 30px;
	padding: 10px;
	
	background: #f5f5f5;
	border: solid 1px #cdcdcd;
	border-radius: 50%;  /* Ensures the element is always circular */
	position: absolute;
}

.ProfileIcon > img
{
	width: 100%;          /* Fills the container */
	height: 100%;         /* Fills the container */
	border-radius: 50%;   /* Ensures the image itself is circular */
	object-fit: cover;
}

.ProfileMenu
{
	display: none;
	z-index: 2;
	padding: 20px;
	position: absolute;
	right: 6%;
	top: 120px;
	background: #f5f5f5;
	border: solid 1px #cdcdcd;
	border-radius: 14px;
	height: 300px;
	width: 300px;
}

.Navigation 
{
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Adds a light shadow at the bottom */
	padding: 10px;
}

.Navigation a
{
	text-decoration: none;
	color: #f9f9f9;
	margin-right: 10px;
	letter-spacing: -1px;
	background: #000;
	padding: 8px;
	border-radius: 8px;
	white-space: nowrap;
	line-height: 50px;
}

.Profile,
.ChangePokemon,
.Party,
.Attendees,
.Quest,
.Battle,
.WhosThatPokemon,
.KakunaOrMetapod,
.Collection,
.PokemonCardCollections,
.Binder1025,
.Binders,
.Maxim1025Binder,
.Jari1025Binder,
.Fred1025Binder,
.Stefan1025Binder,
{
	display:none;
}

.Attendees,
.ChallengingVs 
{
    display: flex; /* Use flexbox for the entire Attendees container */
    flex-direction: column; /* Stack the sections vertically */
}

.Attendees ul,
.ChallengingVs ul,
.Battle ul
{
    display: flex; /* Enable flexbox for list items */
    flex-wrap: wrap; /* Allow items to wrap to the next line if necessary */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.Attendance,
.ReadyForBattle
{
    flex: 0 1 auto; /* Allow items to grow only as much as their content */
    font-weight: 600;
    list-style-type: none; /* Removes bullet points */
    display: flex; /* Enables flexbox layout */
    align-items: center; /* Centers items vertically */
    padding: 10px; /* Space inside each item */
    margin: 5px; /* Space between items */
    padding-right: 20px;
    border-radius: 8px; /* Rounded corners */
    background-color: #ffffff; /* White background color */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow effect */
    transition: box-shadow 0.3s; /* Smooth transition for hover effect */
    max-width: fit-content; /* Set max-width to fit content */
}

.Attendance:hover,
.ReadyForBattle:hover
{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Slightly darker shadow on hover */
}

.Attendance > img,
.ReadyForBattle > img
{
    width: 60px; /* Set the image width */
    margin-right: 10px; /* Space between image and text */
}

.AttendanceInfo
{
	display:flex;
	flex-direction: column;
}

.video-section iframe {
	width: 100%;
	height: 500px;
	border-radius: 10px;
}

.Quest img {
	width: 100%;
	border-radius: 10px;
}

.selected 
{
    background-color: #f0a500; /* Highlight color */
    color: white;
}

#countdown {
	font-size: 2em;
	margin-bottom: 10px;
	color: #333;
}

.loading-bar-container {
  width: 100%;
  height: 30px; /* Set the height of the loading bar */
  background-color: #e0e0e0; /* Light gray background for the loading bar container */
  border-radius: 5px;
  overflow: hidden; /* Ensure the loading bar doesn't overflow */
}

.loading-bar {
  width: 0%;
  height: 100%;
  background-color: #4caf50; /* Green color for the loading bar */
  transition: width 1s ease-in-out; /* Smooth transition for width updates */
}

.BlackedOutPokemon 
{
	width: 100%;
	height: 100%;
	min-height: 500px;
    background: radial-gradient(circle, rgba(0, 0, 255, 1) 0%, rgba(0, 191, 255, 1) 60%, rgba(0, 0, 0, 0) 100%);
    position: relative;
    margin: auto;
    filter: blur(20px);
}

.BlackedOutPokemon img 
{
	margin: auto;
	padding-top: 40px;
	width: 400px;
	display: block;
	filter: brightness(0);
}

.BinderContainer
{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.Binder
{
	display: flex;
	flex-direction: column;
  	width: 32%;
  	min-width: 200px;
  	aspect-ratio: 1 / 1;
  	background: linear-gradient(135deg, #f8f8f8, #d6e3f8);
  	border-radius: 20px;
  	box-shadow: inset 0 0 0 4px #34343495, 0 8px 20px rgba(0, 0, 0, 0.2);
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	position: relative;
  	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.NotCollected
{
	background-color: #333;
	opacity: 0.3;
}

.card-checkbox 
{
  	width: 30px;
  	height: 30px;
  	transform: scale(1.2);
}

.card-checkbox:checked + .custom-checkbox::before {
  background-color: #4CAF50; /* Change this to any tick background color you want */
  border-color: #4CAF50;
}

.Binder:hover
{
	transform: scale(1.03);
	transition: transform 0.2s;
}

.Binder > div
{
	background: #34343495;
	color: #f9f9f9;
	width: 95%;
	margin: 4px;
	border-radius: 12px;
	position: absolute;
	bottom:0;
	margin-bottom: 8px;
}

.Binder > img
{
	max-width: 80%;
  	max-height: 80%;
  	margin-top:4px;
  	object-fit: contain;
  	border-radius: 12px;
  	margin-bottom: 36px;
}

.CardContainer 
{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2px;
}

.PokemonCard
{
	display: flex;
	flex-direction: column;
	z-index:1;
  	width: 140px;
  	aspect-ratio: 2 / 3; /* 1.5 times the width */
  	background: linear-gradient(135deg, #f8f8f8, #d6e3f8);
  	border: 5px solid #fbc53195;
  	border-radius: 20px;
  	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	padding: 6px;
  	margin: 6px;
  	position: relative;
  	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.PokemonCard:hover
{
	transform: scale(1.1);
	transition: transform 0.3s;
}

.PokemonCard > img
{
	max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    margin-bottom: 20px;
    margin-top: -20px;
}

.CollectedBox 
{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 300px;
	padding: 30px;
	background: linear-gradient(135deg, #f8f8f8, #d6e3f8);
	box-shadow: inset 0 0 0 6px #456456;
	border-radius: 20px;
	z-index: 3;
}

.CollectedBoxBackground 
{
	content: " ";
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background: #45645690;
	z-index: 2;
}




/* Hide Sidebar on Mobile */
@media (max-width: 1060px) 
{
	
	.Binder
	{
  		width: 48%;
  	}
	
	.PokemonCard
	{
 		width: 160px;
  	}
	
	.Navigation
	{
		font-size: 16px;
	}
	
	.ProfileIcon
	{
		width: 60px;
		height: 60px;
		top: 20px;
		right: 20px;
		padding: 6px;
	}
	
	.Logo
	{
		max-width: 260px;	
	}
	
	.loading-bar-container 
	{
	   height: 20px;
	}

}