/* Main*/
#credits-container {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 2rem;
    width: 95%;
    max-width: 1500px;
    margin: 0 auto 2rem auto;
}

#credits-info,
#credits-form {
    margin-bottom: 2rem;
}

body {
    font-size: 18px;
}

fieldset {
    border: #6b5b95 solid 1px;
    margin: 20px 0;
    max-width: 98%;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

legend {
    font-size: 1.5em;
    color: #6b5b95;
    font-family: 'Montserrat', "Book Antiqua", Palantino, Garamond, serif;
    padding: 0 15px;
    font-weight: bold;
}

textarea {
    color: #333;
    width: 100%;
    height: 150px;
    max-width: 98%;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 18px;
    background-color: white;
    padding: 12px;
    margin-top: 12px;
    transition: all 0.3s ease-in-out;
}

label {
    width: 25%;
    display: inline-block;
    font-family: 'Poppins', Arial, sans-serif;
    color: #333;
}

.longlabel {
    width: auto;
    margin-left: 10px;
}

.shortlabel {
    width: auto;
    margin-right: 20px;
}

input[type=text], 
input[type=email], 
input[type=tel], 
input[type=url], 
input[type=password] {
    margin-left: 10px;
    width: 60%;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 18px;
    background-color: white;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=url]:focus,
textarea:focus {
    width: 70%;
    border-color: #6b5b95;
    outline: none;
}

input:focus, 
textarea:focus {
    background-color: #f0f0ff;
    box-shadow: 0 0 5px rgba(107, 91, 149, 0.5);
}

.form-buttons {
    margin-top: 20px;
    text-align: center;
}

/*buttons*/
input[type=submit],
input[type=reset] {
    background-color: #6b5b95;
    color: white;
    padding: 15px 25px;
    margin: 0 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

input[type=submit]:hover,
input[type=reset]:hover {
    background-color: #584c7c;
}

select {
    margin-left: 10px;
    padding: 10px;
    border-radius: 4px;
    border: 2px solid #ccc;
    font-size: 18px;
    background-color: white;
}

@media (max-width: 768px) {
    label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    input[type=text], 
    input[type=email], 
    input[type=tel], 
    input[type=url], 
    input[type=password] {
        width: 100%;
        margin-left: 0;
    }
    
    input[type=text]:focus,
    input[type=email]:focus,
    input[type=tel]:focus,
    input[type=url]:focus,
    textarea:focus {
        width: 100%;
    }
    
    .shortlabel {
        margin-right: 15px;
    }
}


.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    padding: 3px;
    object-fit: contain;
}

main {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .logo {
        width: 100px;
        height: 100px;
    }
}