@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.image-container {
    flex: 1;
    background-image: url('2.jpg'); /* Cambia 'tu-imagen.jpg' por la ruta de tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    filter: brightness(50%);
}

.text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    background: #ff4d4d; /* Fondo rojo */
    color: #fff;
    position: relative;
    z-index: 2; /* Asegura que el texto esté encima de la imagen */
    max-width: 50%;
}

.text-container h1 {
    margin: 0;
    font-size: 48px;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.text-container p {
    margin: 20px 0;
    font-size: 24px;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.button-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
}

.button-container button {
    background-color: #007BFF;
    border: none;
    color: white;
    padding: 14px 28px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, box-shadow 0.3s;
    font-family: 'Roboto', sans-serif;
}

.button-container button:hover {
    background-color: #0056b3;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.button-link {
    text-decoration: none;
}
