html {
    box-sizing: border-box;
    font-family: Arial;
    font-size: 16px;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

body {
    margin: 0;
    background-image: url("../../imagenes/fondo2.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.register {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.582);
    border-bottom: 7px solid #f89e0c;
    border-top: 7px solid #f89e0c;
    box-shadow: 10px 18px 37px rgb(0, 0, 0);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin: auto;
    margin-bottom: 2rem;
    margin-top: 2rem;
    padding: 1rem;
    width: 60%;

    h1 {
        font-size: 3rem;
        margin: 0;
    }

    p {
        font-size: 1.25rem;
        font-weight: bold;
        margin: 0;
    }

    .signin {
        p {
            font-weight: normal;
            text-align: center;

            a {
                color: #f89e0c;
                font-weight: bold;
                text-decoration: none;
                transition: color ease 250ms;
            }

            a:hover {
                color: #e5790d;
            }
        }
    }

    form {
        align-items: start;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        margin-top: 1rem;
        width: 80%;

        input[type="text"],
        input[type="date"],
        input[type="email"],
        input[type="number"],
        input[type="password"],
        input[type="submit"],
        select,
        textarea {
            border: none;
            border-radius: 4px;
            font-size: 1.25rem;
            padding: 0.5rem;
            width: 100%;
        }

        input[type="text"]:focus,
        input[type="date"]:focus,
        input[type="email"]:focus,
        input[type="number"]:focus,
        input[type="password"]:focus,
        input[type="submit"]:focus,
        select:focus,
        textarea:focus {
            outline: 2px solid #f89e0c;
        }

        label {
            font-size: 1.5rem;
            font-weight: bold;
        }

        label:hover {
            cursor: pointer;
        }

        textarea {
            font-family: Arial;
            resize: none;
        }

        input[type="submit"] {
            background-color: #f89e0c;
            margin: auto;
            margin-bottom: 1rem;
            margin-top: 1rem;
            transition: background-color ease 250ms;
            width: 50%;
        }

        input[type="submit"]:hover {
            background-color: #e5790d;
            cursor: pointer;
        }
    }
}

@media only screen and (max-width: 1024px) {
    .register {
        width: 70%;

        form {
            width: 90%;
        }
    }
}

@media only screen and (max-width: 768px) {
    .register {
        width: 80%;

        form {
            width: 90%;
        }
    }
}

@media only screen and (max-width: 425px) {
    .register {
        width: 90%;

        form {
            width: 100%;
        }
    }
}

.buttons {
    width: auto;
    height: 40px;
    background: #f89e0c;
    border: none;
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
}

.controls {
    width: 97%;
    border: 1px solid #f89e0c;
    margin-bottom: inherit;
    padding: 11px 8px;
    background: #252323;
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.select {
    padding: 11px 10px;
    border: 1px solid #f89e0c;
    border-radius: 4px;
    background: #252323;
    background-color: #252323;
    color: white;
    font-weight: bold;

}