/* Import new fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Montserrat:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f0f0f5; /* Soft grey background */
    color: #333333; /* Darker grey text for readability */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans', sans-serif; /* Body font */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #ffffff; /* White header for contrast */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

.header-title {
    font-family: 'Montserrat', sans-serif; /* Heading font */
    font-size: 1.5rem;
    color: #0024F1; /* Blue accent */
    font-weight: 700;
}

nav a {
    color: #0024F1; /* Blue accent */
    text-decoration: none;
    margin: 0 20px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #0018b8; /* Darker blue for hover */
}

#connect-metamask {
    background: #0024F1; /* Blue accent */
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s;
}

#connect-metamask:hover {
    background: #0018b8; /* Darker blue for hover */
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
}

.logo-section {
    margin-bottom: 40px;
}

.logo-section .main-logo {
    max-width: 100%;
    height: auto;
    max-height: 200px; /* Adjust this value to control logo size */
    display: block;
    margin: 0 auto;
}

.minter {
    background: #ffffff; /* White background for form */
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 36, 241, 0.1); /* Blue shadow */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the content horizontally */
}

.minter h1 {
    font-family: 'Montserrat', sans-serif; /* Heading font */
    font-size: 2.5rem;
    color: #0024F1; /* Blue accent */
    margin-bottom: 20px;
    font-weight: 700;
}

.minter p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%; /* Ensure form takes full width of minter */
}

.form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: center; /* Center the label-input pair */
}

.form-group label {
    font-size: 1.1rem;
    color: #0024F1; /* Blue accent */
    font-weight: 600;
    text-align: left;
    min-width: 120px; /* Fixed width for labels to align inputs */
}

.form-group input, .form-group select {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background: #e0e0e8; /* Light grey for inputs */
    color: #333333;
    font-weight: 400;
    flex: 1; /* Allow inputs to take remaining space */
    max-width: 200px; /* Limit input width for better layout */
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-left: 10px; /* Space after label for checkbox */
}

.form-group button {
    background: #0024F1; /* Blue accent */
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    width: auto; /* Button width adjusts to content */
    align-self: center; /* Center the button */
}

.form-group button:hover {
    background: #0018b8; /* Darker blue for hover */
}

#status {
    margin-top: 20px;
    color: #0024F1; /* Blue accent */
}

.about {
    background: #ffffff; /* White background for about */
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 36, 241, 0.1); /* Blue shadow */
}

.about h1 {
    font-family: 'Montserrat', sans-serif; /* Heading font */
    font-size: 2.5rem;
    color: #0024F1; /* Blue accent */
    margin-bottom: 20px;
    font-weight: 700;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.about ul {
    text-align: left;
    margin: 20px 0;
}

.about a {
    color: #0024F1; /* Blue accent */
    text-decoration: none;
}

.about a:hover {
    color: #0018b8; /* Darker blue for hover */
}

footer {
    text-align: center;
    padding: 20px;
    background: #ffffff; /* White footer */
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    margin: 0 10px;
}

.social-links img {
    width: 30px;
    transition: transform 0.3s;
    filter: grayscale(100%); /* Greyed out by default */
}

.social-links img:hover {
    transform: scale(1.2);
    filter: none; /* Restore color on hover */
}

.shardeum-logo {
    width: 100px;
}