@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
    font-family: "Noto Sans", sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #eee;
}

html,
body {
    height: auto;
    min-height: 100vh;
}

html {
    background: #1b1b1b;
}

input:focus {
    outline: none;
}

input:focus {
    outline: none;
}
#register-container {
    width: 90%; /* Use uma porcentagem ou unidade relativa para largura */
    max-width: 900px; /* Defina um máximo, se necessário */
    margin: 2rem auto; /* Auto margem para centralizar */
    min-height: 80vh;
    display: flex;
}

#register-banner {
    background: url("../img/bg-form.jpg");
    background-size: cover;
    background-position: center;
    width: 50%;
    border-radius: 4px 0px 0px 4px;
}

#banner-layer {
    background-color: rgba(46, 46, 46, 0.7);
    height: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
}

#register-banner h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #fff;
    word-spacing: 50rem;
}

#register-form {
    border-radius: 0px 4px 4px 0px;
    background-color: #252525;
    padding: 2rem;
    width: 50%;
    display: flex;
    flex-direction: column;
}

#register-form h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

#register-form p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #aaa;
    font-size: 0.8rem;
}

.form-control {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.form-control label {
    font-weight: bold;
    margin-bottom: 0.6rem;
}

.form-control input {
    color: #fff;
    border: none;
    border-bottom: 1px solid #aaa;
    background-color: transparent;
    padding: 0.6rem 0;
}

#open-generate-password {
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s;
}

#open-generate-password:hover {
    color: #ff0000;
}

#register-form #generated-password {
    border: 1px solid #ff0000;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0.4rem;
    color: #333;
    text-align: center;
    margin-bottom: 1rem;
    display: none;
}

#register-form #generated-password p {
    color: #ff0000;
    margin-bottom: 0.5rem;
}

#register-form input[type="submit"],
#generate-options button,
#copy-password {
    background-color: red;
    color: #fff;
    opacity: 0.8;
    border: none;
    border-radius: 0.3rem;
    padding: 1rem 1.4rem;
    max-width: 150px;
    cursor: pointer;
    align-self: flex-end;
    transition: 0.4s;
}

#copy-password:hover {
    background-color: red;
    color: #fff;
}

#register-form input[type="submit"]:hover {
    opacity: 1;
}

/* Segunda versão */
#generate-options {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#generate-options .form-control {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#generate-options label {
    font-size: 0.8rem;
}

#generate-options input[type="text"] {
    max-width: 30px;
    text-align: center;
    border: 1px solid #ccc;
}

#generate-options button {
    background-color: #ff0000;
    display: block;
    margin: 0 auto;
}

#copy-password {
    margin: 1rem auto;
    background-color: transparent;
    border: 2px solid #ff0000;
    color: #ff0000;
    padding: 0.5rem 1rem;
}

#length {
    border-radius: 4px !important;
}

.hide {
    display: none;
}

@media (max-width: 900px) {
    #register-container {
        /* Outros estilos existentes */
        width: 90%; /* Ajuste a largura para telas menores */
        /* Restante do seu código para telas menores */
        flex-direction: column;
        justify-content: center;
    }

    #register-banner {
        display: none;
        width: 100%;
        border-radius: 10px 10px 0px 0px;
    }

    #register-form {
        padding: 1.5rem;
        width: 100%;
    }

    #register-form h2 {
        font-size: 1.5rem;
    }

    #register-form p {
        font-size: 0.7rem;
    }
}
