/* Estilos para el Contenedor Principal */
.container{
    align-items: center;
    display: flex;
    flex-direction: column;
}
.guia-main-container {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 4rem 0 2rem 0;
}

/* Título Principal */
.guide-title {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    margin-top: 5rem;
    z-index: 2;
}

/* Imagen de Ejemplo */
.guide-image-container {
    text-align: center;
}

.guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    width: 10rem;
}

/* Introducción al Juego */
.guide-introduction {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.guide-intro-title {
    font-size: 1.75rem;
    color: #444;
    margin-bottom: 1rem;
}

.guide-intro-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* Pasos para Jugar */
.guide-steps {
    margin-bottom: 2rem;
}

.guide-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0fr 1fr;
    margin-bottom: 2rem;
}

.guide-step.reverse {
    flex-direction: row-reverse;
}

.step-text {
    flex: 1;
    padding: 1rem;
    grid-column: 1; /* Primera columna */
        grid-row: 1 ;    /* Primera fila */
}

.step-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    
}

.step-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    
    grid-column: 1 ; /* Primera columna */
    grid-row: 2 ;    /* Primera fila */
    align-content: center;
}

.step-image-container {
    flex: 1;
    padding: 1rem;
    text-align: center;
    grid-column: 2;
    grid-row: 1 / span 2;
}

.step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    width: 15rem;
}

@media (min-width: 100px) and (max-width: 1023px){
    .step-title {
        font-size: 1.2rem;
    }
    .guide-intro-title{
        font-size: 1.2rem;
    }
    .guide-title{
        font-size: 1.6rem;
    }
    .guide-step {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        margin-bottom: 2rem;
    }
    .step-image-container {
        grid-column: 1;
        grid-row: 3 ;
    }
    .guide-image {
        width: 18rem;
    }
}

