@font-face {
    font-family: "Montserrat-Regular";
    src: url("../fonts/Montserrat-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat-Light";
    src: url("../fonts/Montserrat-Light.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat-Bold";
    src: url("../fonts/Montserrat-Bold.otf") format("opentype");
    font-weight: bold;
    font-style: bold;
}

@font-face {
    font-family: "Montserrat-Hairline";
    src: url("../fonts/Montserrat-Hairline.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Lora-Regular";
    src: url("../fonts/Lora-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat-Regular', sans-serif;
}


.heroe {
    background: url('../img/banner-heroe1.png') no-repeat center center;
    background-size: cover;
    height: 300px;
    position: relative;
}

.titulo {
    color: #ffffff;
    font-size: 2em;
    text-align: left;
    padding-top: 100px;
    text-transform: uppercase;
    margin-left: 10%;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.titulo h1:before {
    display: block;
    width: 5px;
    height: 35px;
    content: "";
    position: absolute;
    left: 8%;
    top: 110px;
    background: hsl(0, 0%, 100%);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.contenedorAutenticacion {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    border: 1px  #ddd;
    border-radius: 8px;
    background-color: #fefefe;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 70px;
    margin-bottom: 70px;
}

.contenedorAutenticacion h2 {
    font-size: 24px;
    color: #db4437;
    margin-bottom: 10px;
}

.contenedorAutenticacion p {
    color: #201c1c;
    margin-bottom: 10px;
}

.contenedorAutenticacion input[type="text"],
.contenedorAutenticacion input[type="email"],
.contenedorAutenticacion input[type="password"] {
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ddd;
    width: 100%;
}

label {
    text-align: left;
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    color: #201c1c;
}

.tyc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.tos {
    color: #201c1c;
    margin-top: 7px;
}

.tyc input[type="checkbox"] {
    margin-right: 10px;
    flex-shrink: 0;
}


.contenedorAutenticacion button[type="submit"] {
    display: block;
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background-color: #db4437;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
}

.contenedorAutenticacion button[type="submit"]:hover {
    background-color: #86a641;
}

.error-message {
    color: #db4437;
    font-size: 12px;
    margin-top: 5px;
    display: none; /* Solo se muestra si hay un error */
}
