*{
    padding: 0;
    margin: 0;
    border: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}   

body {
    font-family: Montserrat, sans-serif;
    background-color: #ECEDF0;
}

.container, .content {
    display: flex;
    flex-wrap: wrap;
}
.form-container{
    border-right: 2px solid #ECEDF0;
}

#homenagemForm, .form-container {
    background: #ffffff;
    padding: 20px;
    flex: 1 1 300px; /* Ajusta a base para o flex item para que ele possa encolher ou crescer a partir deste ponto */
    max-width: 600px;
    overflow: auto;
}


/* Estilos Base para Títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Substitua pela sua fonte preferida */
    color: #333; /* Cor do texto */
    font-weight: normal;
}

h1 {
    font-size: 2.5em; /* 36px se o tamanho base for 14px */
    font-weight: 600;
}

h2 {
    font-size: 2em; /* 28px se o tamanho base for 14px */
    font-weight: 600;
}

h3 {
    font-size: 1.75em; /* 24px se o tamanho base for 14px */
    font-weight: 500;
}

h4 {
    font-size: 1.5em; /* 21px se o tamanho base for 14px */
    font-weight: medium;
}

h5 {
    font-size: 1.25em; /* 18px se o tamanho base for 14px */
    font-weight: normal;
}

h6 {
    font-size: 1em; /* 14px se o tamanho base for 14px */
    font-weight: normal;
    text-transform: uppercase; /* Um estilo diferente para H6 */
}

/* Exemplo de uso de classe para títulos alternativos ou destaque */
.title-highlight {
    color: #007bff; /* Cor de destaque */
    font-weight: bold;
}

/* Utilização de classes para espaçamento específico se necessário */
.title-spacing {
    margin-top: 20px;
    margin-bottom: 10px;
}


header{
    display: block;
    width: 100%;
    background-color: #FFF;
    padding: 20px 40px;
    border-bottom: 2px solid #ecedf0;
}

label {
    display: block;
    margin: 10px 0 5px;
    color: #000;
    font-weight: 500;

}

.info-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    line-height: 12px;
    border-radius: 50%;
    background-color: #FFF;
    border:1px solid #777;
    color: #777;
    text-align: center;
    font-size: 10px;
    cursor: help;
    position: relative;
    margin-left: 5px;
}

.info-icon::after {
    content: attr(data-tooltip);
    line-height: 19px;
    font-size: 15px;
    font-weight: 300;
    display: none;
    position: absolute;
    transform: translateX(10%);
    bottom: 0;
    width: 250px;
    background-color: #000;
    color: #fff;
    text-align: left;
    padding: 10px;
    border-radius: 5px;
    z-index: 1;
}

.info-icon:hover::after {
    display: block;
}

input[type="text"],
input[type="date"],
input[type="time"] {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    color: #000;
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #CCC;
    border-radius: 0px;
}

.file-upload-wrapper {
    display: flex;
    align-items: center; /* Alinha verticalmente ao centro */
    justify-content: start; /* Alinha horizontalmente ao início */
    gap: 20px; /* Espaçamento entre os itens */
}

.file-upload-label {
    padding: 10px 20px;
    background-color: #FFF;
    color: #000;
    border: 2px solid #000;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.file-upload-label:hover {
    background-color: #000;
    color: white;
}

.image-preview {
    flex: 1; /* Permite que a pré-visualização da imagem cresça para ocupar o espaço disponível */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px; /* Altura mínima */
    border: 2px dashed #dddddd;
    margin-top: 15px;
    position: relative;
    overflow: hidden; /* Garante que a imagem não saia do contêiner */
}

.image-preview__image {
    display: none;
    width: 100%;
    max-height: 150px;
    object-fit: cover;
}

.image-preview__default-text {
    color: #cccccc;
    font-family: Arial, sans-serif;
    font-size: 16px;
}


.button-container {
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente (se necessário) */
    height: 100px; /* Altura do contêiner, ajuste conforme necessário */
}

button {
    font-family: Montserrat, sans-serif;
    background-color: #000;
    color: #ffffff;
    padding: 20px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    align-self: center;
}

button:hover {
    background-color: #0056b3;
}


.imagem-container {
    display: block;
    justify-content: center;
    align-items: flex-start;
    width: 100%; /* Assegura que o contêiner se adapte à largura */
    max-width: 1080px; /* Limita a largura máxima */
    margin: 0; /* Centraliza o contêiner */
    overflow: hidden; /* Mantém tudo dentro do contêiner */
}

img, #homenagemImg {
    width: 100%; /* Faz com que a imagem se ajuste à largura do contêiner */
    height: auto; /* Permite que a altura se ajuste proporcionalmente */
}

@media (max-width: 768px) {
    .container, .content {
        flex-direction: column;
    }

    #homenagemForm, .form-container,
    .imagem-preview, .imagem-container {
        margin-right: 0;
        margin-bottom: 20px;
        max-width: 100%; /* Garante que o formulário e a pré-visualização da imagem ocupem toda a largura disponível */
    }
    .imagem-preview, .imagem-container{
        height: 600px;
    }

}
