html {
    height: 500%;
}


body {
    font-family: Arial, sans-serif;
    background-color: white;
    color: #333;
    height: 100%;
}
.roboto-medium {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style:normal;
}

.roboto-medium-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style:italic;
}

.roboto-black-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: italic;
}
.grid-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 5px;

}
.header {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-between;
    background-color: #FFFFFF;
    padding-left: 20px;
    padding-right: 20px;
    height: 10%;
}

.header-2 {
    text-align: center;
    background: linear-gradient(135deg, #ffc548, #ff9920);
    padding: 2rem;
    height: 5%;
}
.h1-header-2 {
    display: flex;
    margin: 0;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.p-header {
    display: flex;
    margin: 0;
    align-items: center;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: x-large;
    color: #ff9920;
}

.div-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-sobre-nosotros {
    color: #5D797F;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-iniciar-sesion {

    color: #5D797F;            
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    cursor: pointer;

}

.btn-registrarte {

    color: #5D797F;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    cursor: pointer;



}
.btn-sobre-nosotros:hover, .btn-iniciar-sesion:hover, .btn-registrarte:hover {
    background-color: #ff9920;
    color: #FFFFFF;
}


.main-content {
    text-align: center;
    height: 30%;
}

.div-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    width: 100%;
}

.div-img {

    display: flex;
    height: 100%;
    width: 35%;
}

.img-card-1 {
    background-image: url("../img/Blog_ApolloLang-Photoroom.png");
    display: flex;
    height: 100%;
    width: 100%;
    background-size: contain; /* O cover, dependiendo de lo que prefieras */
    background-position: center;
    background-repeat: no-repeat;
    

}



.card-1 {
    display: flex;
    flex-direction: column;
    height: 70%;
    width: 30%;
    background: linear-gradient(135deg, #ffc548, #ff9920);
    border: #CAAD7D;
    border-radius: 10px;
    color: #FFFFFF;
    padding: 10px;
}

.card-1 p {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align:center;
}

.div-carousel {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffc548, #ff9920);
    justify-content: center;
    align-items: center;
    padding: 20px;
    height: 40%;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Cambiado a flex-start para que las tarjetas comiencen desde la izquierda */
    overflow-x: auto; /* Asegura que el scroll horizontal funcione */
    position: relative;
    width: 100%; 
    height: 100%;
    padding: 20px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
    width: auto; /* Ajuste necesario para contener más elementos */
    align-items: center;
    justify-content: flex-start;
    scroll-behavior: smooth;
    overflow-x: auto;
    gap: 20px; /* Espacio entre las tarjetas */
}

.benefit {
    background-color: #FFF;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 80%;
    width: 40%; /* Cada tarjeta ocupa el 40% del ancho del contenedor */
    min-width: 40%; /* Asegura que las tarjetas mantengan el tamaño mínimo */
    margin: 0 10px; /* Margen lateral para espacio entre tarjetas */
    padding: 20px;
    box-sizing: border-box; /* Incluye padding y border en el cálculo del width */
}

.benefit h3 {
    color: #ff9920;
}

.benefit p {
    color: #333;
    font-size: large;
}

.benefit button {
    background-color: #ff9920;
    color: #FFF;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}

.benefit button:hover {
    background-color: #A94444;
}
.carousel-button {
    display: flex;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFF;
    border: none;
    cursor: pointer;
    z-index: 1;
}
.carousel-button.left {
    position: absolute;
    left: 0px;
}
.carousel-button.right {
    position: absolute;
    right: 0px;
}

.div-tutorial-1{
    justify-content: center;
    align-items: center;
    display: flex;
    background: linear-gradient(135deg, #ffc548, #ff9920);
    justify-content: space-around;
    flex-direction: column;
    height: 40%;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
}

.p-div-tutorial-1{
    color: #FFF;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size:xx-large;

}

.div-tutorial-2{
    display: flex;
    flex-direction: row;
}

.card-tutorial {
    background-color: #FFF;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 30%;
    margin: 0 10px;
    padding: 20px;
    box-sizing: border-box;
    font-size: medium;
}

.p-titulo {
    color: #ff9920;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: italic;
}

.p-parrafo {

    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.footer {

    display: flex;
    justify-content: space-around;
    flex-direction: row;
    height: 10%;
    background: linear-gradient(135deg, #ffc548, #ff9920);
    color:white;
    font-weight: 600;

}

.footer-izq {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}

.footer-titulo {
    font-size: larger;
}

.footer-der {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}

.p-footer-1 {
    font-size: larger;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style:italic;
}
.p-footer-2 {
    font-size: larger;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style:normal;
}
.p-footer-3 {
    font-size: larger;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style:italic;
}
.p-footer-4 {
    font-size: larger;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style:normal;
}

#extended-content {
    padding: 20px;
    height: 60%;
    box-sizing: border-box;
}

.article-content {
    margin: 20px auto; /* Centrar el contenido */
    background-color: white; /* Fondo para el artículo */
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    height: 100%;
    box-sizing: border-box;
    padding: 10%;
    overflow-y: auto;
}

#extended-content button {
    float: right; /* Botón de cerrar en la esquina superior derecha */
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    background-color: #C75C5C;
    color: white;
    border: none;
    border-radius: 5px;
}

#extended-content h2 {
    color: #ff9920; /* Rojo suave para los títulos */
    margin-bottom: 20px;
}

#extended-content p {
    color: #333; /* Gris oscuro para texto */
    margin-bottom: 10px;
    text-align: justify; /* Justificar para mejorar la legibilidad */
}

@media (max-width: 780px) {

    .card-1 {
        height: 230px;
    }
    .card-1 p {
        font-size: 12px;
    }

    .p-div-tutorial-1 {

        font-size: 30px;

    }

    .benefit {
        height: 150px;
        margin-bottom: 40px;

    }

    .benefit p {
        font-size: 10px;

    }
    .benefit h3 {
        font-size: 12px;
    }







}

@media (max-width: 600px) {


    html {
        width: 100%;
        height: 400%;
    }

    .card-1 {
        display: flex;
        flex-direction: column;
        height: 56%;
        width: 30%;
        background-color: #5d797fb9;
        border: #CAAD7D;
        border-radius: 10px;
        color: #FFFFFF;
        padding: 10px;
        font-size: x-small;
    }

    .div-img {
        display: flex;
        height: 100%;
        width: 40%;
    }

    .main-content {
        text-align: center;
        height: 14%;
    }

    .header {
        display: flex;
        flex-direction: row;
        text-align: center;
        justify-content: space-between;
        background-color: #FFFFFF;
        padding-left: 20px;
        padding-right: 20px;
        height: 5%;
    }
    .div-carousel {
        display: flex;
        background-color: #5d797fb9;
        justify-content: center;
        align-items: center;
        padding: 20px;
        height: 10%;
    }
    .benefit {
        background-color: #FFF;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        height: 80%;
        width: 40%;
        min-width: 40%;
        margin: 0 10px;
        padding: 20px;
        box-sizing: border-box;
    }

    .benefit h3 {
        color: #ff9920;
        font-size: small;
    }
    
    .benefit p {
        color: #333;
        font-size:x-small;
    }

    #extended-content {
        padding: 20px;
        height: 47%;
        box-sizing: border-box;
    }

    .footer {
        display: flex;
        background-color: #ffffff;
        justify-content: space-around;
        flex-direction: row;
        height: 5%;
        font-size: x-small;
    }



}


@media (max-width: 450px) {


    .card-1 p {
        font-size: xx-small;
    }

    .card-1 {
        height: 80%;
    }

    .div-tutorial-2 {
        width: 90%;
    }

    .card-tutorial {
        font-size: x-small;
    }

    .benefit p {
        font-size: xx-small;
    }

    .p-div-tutorial-1 {
        font-size: x-large;
    }

    .benefit {
        height: 100%;
    }



}
