@charset "UTF-8";
/* styles.css */

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

button:focus, input:focus{
    outline: none;
}

header {
    background-color: rgb(12,7,98);
    color: white;
    padding: 1em 0;
    text-align: center;
    height:250px;
}

.container {
    max-width:80%;
    margin: 0 auto;
    padding: 0 2em;
    padding:10px;
    border-radius:5px;
}

header img{
    max-height:350px;
    width:350px;
    margin-bottom: 30px;
}

main {
    padding: 2em 0;
}

form {
    background-color: white;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
}

.form-group {
    flex: 1;
    margin-right: 1em;
}

.form-group:last-child {
    margin-right: 0;
}

label {
    display: block;
    margin-bottom: 0.5em;
}

input, select {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 1em;
    background-color: rgb(12,7,98);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

#form-busca{
    width:100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

@media screen and (max-width:600px) {
    header{
        height:40px;
        top:0;
        background-size:cover;
        background-repeat: no-repeat;
    }

    #form-busca{
        width:100%;
        flex-direction: column;
    }

    .company-card{
        background-color: rgb(12, 7, 98);
    }

    .companies-list{
        background-color: #bbb;
    }
}
