html, body {
    overflow-x: hidden;
}

body {
    font-family: Montserrat;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background-color: white;
    min-height: 100vh;
    min-width: 100vw;
}

.container_2 {
    background-image: linear-gradient(to right, #524233, #C89663);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    height: 655px;
    width: 100vw;
    position: relative;
}

.imagem_size_2 {
    color: white;
    border-radius: 15px;
    margin-top: -1px;
    width: 30vw;
    right: -50px;
    justify-content: center;
    align-items: flex-start;
}

.txt-animado_2 {
    color: #382D22;
    margin-top: 155px;
    font-size: 35px;
    font-weight: 380;
    font-family: Montserrat;
    width: 35vw;
    padding: 1px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.txt-animado_2 span {
    position: relative;
    width: 35vw;
}

.txt-animado_2 span::before {
    content: "";
    color: white;
    animation: palavras_2 20s infinite;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    width: 35vw;
}

.txt-animado_2::after {
    content: "";
    position: absolute;
    right: 0;
    height: 60px;
    border-left: 2px solid white;
    animation: cursor1_2 .8s infinite, digita_2 20s steps(30) infinite;
    width: 35vw;
    background: linear-gradient(to right, #524233, #C89663);
    background-attachment: fixed;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.h1_animado_2 {
    font-size: 40px;
    font-weight: 380;
    font-family: Montserrat;
    margin: 0;
}

.box_2 {
    margin-top: 50px;
    margin-left: 5px;
    margin-right: 5px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222;
    border-radius: 10px;
    padding: 5px;
    width: 338px;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.5);
}

.box_form_2 {
    position: relative;
    z-index: 2;
}

#formulario_2 {
    background-color: #382D22;
    border-radius: 6px;
    padding: 21px;
    width: 290px;
    font-size: 15px;
}

.logomarca_2 {
    height: 20%;
    width: 60%;
}

fieldset {
    margin-top: -8px;
    margin-bottom: -8px;
    border: 2px solid #C89663;
    width: 275px;
    position: relative;
    border-radius: 2px;
}

.inputBox_2 {
    position: relative;
}

.inputUser_2 {
    background: none;
    border: none;
    border-bottom: 1px solid white;
    outline: none;
    color: white;
    font-size: 15px;
    width: 100%;
    letter-spacing: 1px;
}

.LabelInput_2 {
    position: absolute;
    top: 0px;
    left: 0px;
    pointer-events: none;
    transition: .5s;
}

.inputUser_2:focus ~ .LabelInput_2,
.inputUser_2:valid ~ .LabelInput_2 {
    top: -20px;
    font-size: 12px;
    color: #C89663;
}

#submit_2 {
    background-image: linear-gradient(to right, #C89663, #524233);
    width: 100%;
    border: none;
    padding: 15px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 450;
}

#submit_2:hover {
    background-image: linear-gradient(to right, #1b1611, #ae7944);
    color: #C89663;
}

.especialidade_2 {
    display: flex;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.checkbox_2, .checkbox1_2, .checkbox2_2, .checkbox3_2 {
    position: relative;
    user-select: none;
}

.checkbox_2 input, 
.checkbox1_2 input, 
.checkbox2_2 input, 
.checkbox3_2 input {
    visibility: hidden;
}

.checkbox_2 label, 
.checkbox1_2 label, 
.checkbox2_2 label, 
.checkbox3_2 label {
    display: flex;
    color: #fff;
    padding-left: 35px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.checkbox_2 label::before, 
.checkbox1_2 label::before, 
.checkbox2_2 label::before, 
.checkbox3_2 label::before {
    position: absolute;
    left: 0;
    border: 2px solid white;
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 6px;
    transition: all .2s ease-in-out;
}

.checkbox_2 input:checked ~ label::before,
.checkbox1_2 input:checked ~ label::before,
.checkbox2_2 input:checked ~ label::before,
.checkbox3_2 input:checked ~ label::before {
    border: 2px solid #C89663;
    transform: rotate(40deg);
    border-left-color: transparent;
    border-top-color: transparent;
    border-radius: 0;
    width: 8px;
    height: 19px;
    left: 10px;
}

.checkbox_2 label:hover,
.checkbox1_2 label:hover,
.checkbox2_2 label:hover,
.checkbox3_2 label:hover {
    color: #C89663;
}

.box_2::before {
    content: "";
    position: absolute;
    top: -200px;
    left: 140px;
    right: 140px;
    bottom: -200px;
    background: linear-gradient(45deg, #C89663, #ae7944);
    z-index: 1;
    border-radius: 15px;
    animation: rotate-border_2 4s linear infinite;
    clip-path: inset(1px);
}

@keyframes rotate-border_2 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cursor1_2 {
    0% { border-left: 2px solid transparent; }
}

@keyframes palavras_2 {
    0%, 20% { content: "realçada com naturalidade."; }
    21%, 40% { content: "refinada com precisão."; }
    41%, 60% { content: "em perfeita harmonia."; }
    61%, 80% { content: "sempre valorizada."; }
    81%, 100% { content: "é o nosso compromisso."; }
}

@keyframes digita_2 {
    10%, 15% { width: 14%; }
    30%, 35% { width: 29%; }
    50%, 55% { width: 29%; }
    70%, 75% { width: 41%; }
    90%, 95% { width: 25%; }
    5%, 20%, 25%, 40%, 45%, 60%, 65%, 80%, 85% { width: 100%; }
}

@media screen and (min-width: 1277px) {
    .container_2 {
        display: none;
    }
}



@media screen and (max-width: 1276px) {
    .imagem_size_2, .h1_animado_2, #txt__animado_2 {
        display: none;
    }

    .container {
        display: none;
    }
    
    .container_2 {
        align-content: center;
        width: auto;
        position: relative;
    }
    
    .box_2 {
        margin-top: 30px;
        margin-left: 23px;
        margin-right: 23px;

    }
    
    .box_form_2 {
        align-content: center;
        align-items: center;
        justify-content: center;
    }
    
    fieldset {
        align-content: center;
        align-items: center;
        justify-content: center;
    }
    
    #formulario_2 {
        align-content: center;
        align-items: center;
        justify-content: center;
    }
}


@media screen and (max-width: 375px) {

    .box_2 {
        margin-top: 25px;
        margin-left: 3px;
        margin-right: 3px;
        width: auto;

    }
}