﻿body {
    background-image: url(../images/Login/FondoLogin.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
    min-height: 100vh;
    font-family: 'Murecho', sans-serif;
    overflow-x: hidden;
}

.page-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.left-side {
    flex: 1;
}

.right-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
}

.tradieLabel {
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-size: 50px;
    font-family: 'Monomaniac One', sans-serif;
    text-align: center;
}

.contenedor {
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 20px;
    width: 80%;
    max-width: 500px;
    box-sizing: border-box;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contenido {
    margin: 0;
    width: 100%;
    flex: 1;
}

.contenedorEtiqueta {
    display: flex;
    justify-content: center;
    padding-bottom: 1%;
    text-align: center;
}

.etiqueta {
    font-weight: 300;
    font-size: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

label {
    font-family: sans-serif;
    margin-bottom: 8px;
}

input {
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #000000;
    height: auto;
    width: 100%;
    box-sizing: border-box;
}

.signupButton {
    background-color: #313131;
    color: white;
    font-family: 'Murecho', sans-serif;
    border-radius: 10px;
    padding: 12px 20px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

    .signupButton:hover {
        background-color: #000000;
    }

.etiquetaRegistro {
    text-align: center;
    font-family: 'Murecho', sans-serif;
    margin-top: 1rem;
}

    .etiquetaRegistro a {
        font-family: 'Murecho', sans-serif;
        color: inherit;
        text-decoration: none;
    }

        .etiquetaRegistro a:hover {
            text-decoration: underline;
        }

.buttonsContainer {
    display: flex;
    border: 2px solid black;
    border-radius: 10px;
    margin-bottom: 20px;
}

.buttonShifting1, .buttonShifting2 {
    min-width: 130px;
    margin: 5px;
    font-family: 'Murecho', sans-serif;
    border-radius: 10px;
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.buttonShifting1 {
    background-color: #313131;
    color: white;
}

.buttonShifting2 {
    background-color: white;
    color: black;
    font-size: 14px;
}

/* Hover states */
.buttonShifting1:hover {
    background-color: #000000;
}

.buttonShifting2:hover {
    background-color: #f0f0f0;
}

/*****************************************************************/
/* Media Responsiveness */
@media (max-width: 992px) {
    .page-container {
        flex-direction: column;
        padding: 40px 0;
        align-items: center; 
    }

    .left-side {
        display: none; 
    }

    .right-side {
        width: 100%;
        max-width: 600px; /* Prevent excessive stretching */
        padding: 0; 
        margin: 0 auto; /* Center the container */
        align-items: center;
    }

    .contenedor {
        width: 90%; /* Use percentage width */
        max-width: 500px; /* But limit maximum width */
        margin: 0 auto; /* Center the container */
    }

    .tradieLabel {
        font-size: 40px;
        margin-bottom: 1rem;
        width: 90%;
        text-align: right; /* Align text to the right */
        padding-right: 38px; /* Add some padding from the right edge */
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 20px 0;
    }

    .right-side {
        padding: 0 10px; /* Small horizontal padding */
    }

    .contenedor {
        width: 100%; /* Full width on very small screens */
        padding: 30px 20px; /* Slightly smaller padding */
    }

    .buttonShifting1, .buttonShifting2 {
        min-width: 100px;
        font-size: 0.9rem;
    }

    .etiqueta {
        font-size: 1.1rem;
    }

    .tradieLabel {
        font-size: 35px;
        text-align: right; /* Maintain right alignment */
        margin-right: 5%; /* Add some margin on the right */
    }
}
