body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url(../img/carro-cadastrar.svg);
    background-position: right -50px bottom 0px; 
    background-repeat: no-repeat;
    z-index: -1;
}
.logo{
    margin: 0 auto;
    width: 100px;
}
h1 {
    text-align: center;
    color: var(--h1-color);
}
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.input {
    margin-bottom: 20px;
}
.input label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.input input, .input select {
    width: 100%;
    height: 50px;
    border-radius: 50px;
    padding-left:15px ;
    vertical-align: center;
    border: 1px solid var(--h1-color);
}
form button {
    margin-top: 50px;
    width: 150px;
    height: 40px;
    border-radius: 20px;
    background-color: var(--h1-color);
    color: var(--color-white);
    border: 1px solid #000000;
}
.voltar {
    position: absolute;
    top: 20px;
    right: 20px;
}
.cadastrar{
    width: 100%;
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.voltar img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.row {
    display: flex;
    flex-wrap: wrap;
}
.row .input {
    flex: 1 1 150px;
    margin-right: 10px;
}
.row .input:last-child {
    margin-right: 0;
}
.pessoaFj select {
    padding-right: 20px;
}
.uploadButton {
    display: inline-block;
    padding: 16px 20px;
    background-color: var(--h1-color);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    height: 50px;
}
.uploadButton:hover {
    background-color: #001e8186;
}
textarea{
    padding: 20px;
    border: 1px solid var(--h1-color);
}


.previewImagem {
    width: auto;
    height: 50px; /* Ajuste a altura conforme necessário */
    margin-right: 10px; /* Espaçamento entre as imagens */
  }
  .previewImagemEmpresa {
    width: auto;
    height: 100px; /* Ajuste a altura conforme necessário */
    margin-right: 10px; /* Espaçamento entre as imagens */
  }
  
@media(max-width: 712px){
    body::before {
        opacity: 0.5;
    }
    h1{
        font-size: 20px;
    }
    label{
        font-size: 12px;
    }
    input::placeholder{
        font-size: 10px;
    }
    input{
        height:40px !important;
        padding-bottom: 6px;
        flex: 1 1 100%;
    }
    select{
        height:40px !important;
        font-size: 12px;
    }
    .uploadButton{
        height:40px !important;
        padding: 14px 20px;
    }
}
@media(max-width: 374px){
    body{
        letter-spacing: -1px;
    }
    input::placeholder{
        letter-spacing: -1px;
    }
}
