img {
    display: block;
    max-width: 150px;
    margin: 20px auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.1);
}



/* General Page Styles */
body {
    font-family: Helvetica, sans-serif;
      

    background-color: black; 
    color: #fff;
    text-align: center;

    padding: 20px;
}



@font-face {
    font-family: Green_Energy;
    src: url('media copy/Green_Energy.ttf');
} 

h1 {
    font-family: Green_Energy;
}

h2 {
    font-family: Green_Energy;
    font-size: 1.8em;
    color: #ffcc00; 
    margin-top: 30px;
}

/* Form Styling */


label {
    font-size: 1.2em;
    font-weight: bold;
    display: block;
    margin-top: 15px;
    max-width: 600px; 
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    word-wrap: break-word;
    line-height: 1.4; 
}


/* Input Fields */
input, select, button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 1em;
    border: none;
}

input, select {
    background-color: #222;
    color: #fff;
    border: 1px solid #00ff00;
    width:608px
}

input[type="text"],
input[type="number"] {
    text-align: center;
}

/* Checkbox & Radio Styles */
input[type="checkbox"], input[type="radio"] {
    width: auto;
    accent-color: #ff0088;
    margin-right: 4px;
    margin-left:15px
}

/* Submit Button */
button {
    background-color: #00ff00;
    color: black;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease-in-out;
        width:205px

}

button:hover {
    background-color: #ffcc00;
    color: black;
    transform: scale(1.05);
}




.radio-group {

    flex-wrap: wrap; 
    justify-content: center;
    gap: 5px;  
    max-width: 600px;  
    margin: auto;  
}

.radio-group input {
    width: auto; 
}






/* Style for all "other" input fields */
.other-input {
    display: none;  
    margin: 20px auto; 
    width: 50%; 
    text-align: center;
    padding: 10px;
    border: 1px solid #00ff00;
    border-radius: 5px;
    font-size: 16px;
}

/* Optional: Style the select dropdown */
select {
    display: block;
    margin: 10px auto;
    font-size: 16px;
    padding: 5px;
}








/* Links */
a {
    color: #00ff00;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

@media (max-width: 600px) {
   input, select {
    width: 100%;
    max-width: 600px; /* Keeps form looking nice on larger screens */
}


    button {
        width: auto; /* Makes button fit content naturally */
    }

}