/* PC Browser CSS file */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
/*    background-color: #f4f4f4; */
    color: #333;
}

header {
    background: #333;
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
/*    display: flex; */
/*    flex-wrap: wrap; /* Allows the links to wrap onto a new line */
    justify-content: space-between; /* Space out the links evenly */
    align-items: center;
}

header .links-container {
    display: flex;
/*    flex-wrap: wrap; /* Allows links to wrap to the next line */
    gap: 10px; /* Adjusts spacing between links */
    max-width: 100%; /* Ensures it doesn't exceed the width of the header */
}

 header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 15px;
    position: relative;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
}

header nav ul li a:hover {
    background: #575757;
    border-radius: 5px;
}

header nav ul li ul {
    display: none;
    position: absolute;
    top: 30px;
    left: 0;
    background: #444;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

header nav ul li:hover ul {
    display: block;
}

header nav ul li ul li {
    margin: 0;
    padding: 5px 15px;
}

header nav ul li ul li a {
    color: #fff;
    text-decoration: none;
}

header nav ul li ul li a:hover {
    background: #575757;
    border-radius: 5px;
}

main {
    padding: 20px;
/*    text-align: center;    */
    text-align: left;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    background: #575757;
    border-radius: 5px;
}

.error {
    color: red;
}

/* Apply default styling for input fields */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="message"],
input[type="int"],
textarea {
    width: calc(30ch); /* Adjust width for 450 characters */
    max-width: 100%; /* Ensure responsiveness on smaller screens */
    padding: 8px; /* Add some padding for better usability */
    font-size: 12px; /* Ensure text is readable */
    border: 1px solid #ccc; /* Default border style */
    border-radius: 4px; /* Rounded corners for better appearance */
    box-sizing: border-box; /* Include padding and border in width calculation */
}

input[type="extra_field"] {
    display:none; /* Hidden field for a honeypot */
/*	visibility: hidden; */
/*	opacity: 0; */
}

/* Add some margin for consistent spacing between inputs */
input,
textarea {
    margin-bottom: 12px;
}

form label {
	font-weight:bold
}

/* Puts the profile picture into a circular image */
.profile-picture {
    width: 150px; /* Adjust size as needed */
    height: 150px; /* Ensure the height matches the width for a perfect circle */
    border-radius: 50%; /* Makes the image circular */
/*    object-fit: cover; /* Ensures the image fills the circle without distortion */
/*    border: 2px solid #ccc; /* Optional: Adds a border around the image */
/*    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow for aesthetics */
}

.profile-leaderboard-image {
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Ensure the height matches the width for a perfect circle */
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image fills the circle without distortion */
/*    border: 2px solid #ccc; /* Optional: Adds a border around the image */
/*    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow for aesthetics */
}

.profile-header-image {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 30px; /* Fixed width */
/*    width: 2vw; /* Fixed width */
/*    width: calc(10%); */
/*    min-width: 30px; /* Fixed width */
    height: 30px; /* Fixed height */
/*    height: 2vw; /* Fixed height */
    border-radius: 50%; /* Circular image */
    background: #FFF;
/*    object-fit: cover; /* Ensures the image fits properly */
/*    border: 2px solid #fff; /* White border around the image */
/*    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for aesthetics */
/*    -webkit-backface-visibility: hidden; /* Ensures smooth rendering on iOS Safari */
/*    -webkit-transform: translateZ(0); /* Fixes rendering issues on some devices */
}

.profile-small-image {
    width: 30px; /* Fixed width */
    height: 30px; /* Fixed height */
    border-radius: 50%; /* Circular image */
    background: #FFF;
}

/* General Button Style */
button {
/*    background-color: #007bff; /* Primary blue color */
    background-color: #89CFF0; /* Primary blue color */
    color: white; /* Text color */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 20px; /* Padding for a comfortable click area */
    font-size: 12px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

/* Hover Effect */
button:hover {
    background-color: #0056b3; /* Darker blue for hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Active State */
button:active {
    background-color: #004494; /* Even darker blue for active state */
    transform: scale(0.98); /* Slightly shrink on click */
}

/* Disabled State */
button:disabled {
    background-color: #cccccc; /* Gray for disabled state */
    color: #666666; /* Dimmed text color */
    cursor: not-allowed; /* Not-allowed cursor for disabled button */
}

main-img {
    max-width: 100%;
}

hr {
  border: none;
  height: 1px;
  /* Set the hr color */
  color: #333;  /* old IE */
  background-color: #333;  /* Modern Browsers */
}