/* estilos pagina de inicio */

/* CSS CTA */

.cta1 {
    background: url('../assets/images/IMG_2492.JPEG') center/cover no-repeat;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px;
}

.cta-container {
    text-align: center;
    padding: 2rem;
}

.text-cta {
    color: #fcce31;
    font-size: 1.7rem;
    margin-bottom: 2rem;
    font-family: 'RoughSplash', cursive;
}

.cta-button {
    background-color: rgba(252, 206, 49, 0.9);
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'bangers';
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(129, 28, 207, 1);
    color: #000;
}

/* CSS MAIN BLOCK: TEXTO CON BOTÓN Y DESCRIPCIÓN DEL SITIO + IMAGENES LATERALES*/
.main-content {
    width: 100%;
    padding: 1rem;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    justify-items: center;
    align-items: center;
    text-align: center;
}

.text-bubble {
    background-color: #fcce31;
    border: solid;
    border-color: #000;
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    padding: 2rem 2rem 3rem;
    align-items: center;
    justify-items: center;
    text-align: center;
    grid-column: 2 / 3; 
    grid-row: 1 / 2;
}

.main-content div h1 {
    font-family: 'Bangers';
}

.main-content div p {
    font-family: 'Courier New', Courier;
    font-size: 14px;
    margin: 10px auto;
    max-width: 70ch;
    line-height: 2.0;
    font-weight: bold;
    font-style: italic;
}

.main-content div a{
    border: solid;
    text-decoration: none;
    border-radius: 10px;
    border-color: #811ccf;
    color: #ffffff;
    padding: 0.5rem;
    margin-top: 2rem;
    background-color: #000000;
    font-weight: bold;
    display: flex;
    font-family: 'Courier New', Courier;
}

.main-content div a:hover{
    background-color: #811ccf;
    color: #000;
    border-color: #000000;
}

.main-image-1, .main-image-2 {
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}


.main-image-1 img, .main-image-2 img {
    max-width: 360px;
    height: 100%;
    padding: 0;
    display: block;
    border: solid 5px;
    border-color: #fcce31;
    border-radius: 15px;
}
/* CSS DE LOS BLOQUES DE TESTIMONIOS */
.testimonios {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
    margin: 1rem;
    justify-items: center;

}

.testimonios-1 {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
    padding: 2rem 2rem 3rem;
    margin: 2rem 2rem 3rem;
    max-width: 800px;
    background-color: #fcce31;
    border: solid 5px;
    border-radius: 15px;
    border-color: #000000;
}

.testimonios-2 { grid-column: 1; }
.testimonios-3 { grid-column: 2; }
.testimonios-4 { grid-column: 3; }

.testimonios-2,
.testimonios-3,
.testimonios-4 {
    text-align: center;
    padding: 1rem 2rem;
    margin: 2rem;
    max-width: 400px;
    background-color: #fcce31;
    border: 5px solid #000;
    border-radius: 15px;
}

/* CSS DE LOS TEXTOS DE TESTIMONIOS */
 
.title-text-testimonial {
    display: block;
    position: relative;
    justify-content: center;
    font-family: 'Bangers';
    text-align: center;
    font-size: 40px;
    font-style: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    -webkit-text-stroke: 0.01px #fcce31;
}

.title-text-testimonial::after {
    content: ""; /*necesario para los pseudo elementos ::loquesea*/
    width: 10rem;
    height: 0.2rem;
    background: #000000;
    position: absolute;
    left: 50%;
    bottom: -40%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.name-customer {
    font-family: 'bangers';
    font-weight: bold;
    font-size: 21px;
    color: #000000;
}
.stars-1, .stars-2, .stars-3, .stars-4 { 
    font-size: 2rem;
    color: #811ccf;
}
.description-customer {
    font-family: 'Courier New', Courier;
    font-weight: bold;
    font-style: italic;
}


/* CSS SECCIÓN PORTFOLIO */

.title-portfolio {
    display: inline-block;
    margin: 1rem;
    font-family: 'Bangers'; 
    font-size: 20px;
    text-align: center; 
    -webkit-text-stroke: #811ccf 0.1px;
}

.icon-description {font-family:'Courier New', Courier; color: white; font-weight: bold;}
.icon-playlist {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color: rgba(0, 0, 0, 0.7);
    color: #f80000;
    padding: 1rem;
    border-radius: 8px;
    font-size: 18px;
    font-family: 'Courier New', Courier;
    text-align: center;
    cursor: pointer;
    gap: 0.3rem; 
}

.title-playlist {font-family: 'Courier New', Courier; font-size: 15px; font-weight: bold;}
.portfolio-section a {
    display: block;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    border: solid 2px #811ccf;
    border-radius: 15px;
    overflow: hidden;
}

.portfolio-section a img {
    width: 100%;
    display: block;
    border-radius: 12px;
}
.portfolio-section {
    background-color: #fcce31;
    max-width: 50%;
    width: fit-content; 
    border-radius: 25px;
    border: solid 5px;
    padding: 1rem 1rem;
    margin: 1% auto 5%;
}

.playlist-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .main-content {
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .main-image-1,
    .main-image-2,
    .text-bubble {
        margin: auto;
    }
    
    .text-bubble {
        width: 80%;
    }

    .main-image-1 img,
    .main-image-2 img {

        width: 100%;
        max-width: 95%;
        margin: auto;
        height: auto;
    }
    
    .text-bubble h1 {
        font-size: 1.5rem;
        max-width: 100%;
        width: 100%;
    }
    

    .title-text-testimonial {
        margin: auto;
        max-width: 90%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .title-text-testimonial::after {
        max-width: 50%;
        width: 100%;
        margin: auto;
        height: auto;
    }

    .testimonios > * {margin: 0;} .name-customer {margin-bottom: 1rem !important;}
    .testimonios {
        place-items: center;
        align-items: center;
        justify-items: center;
        display: flex;
        flex-direction: column;
        max-width: 75%;
        width: 100%;
        height: auto;
        margin: 1rem auto;
        padding: 1rem 0;
        gap: 1rem;
    }


    .portfolio-section {
        max-width: 75%;
        width: 100%;
        margin: 2rem auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .icon-playlist{
        width: 40%;
        height: auto;
        margin: auto;
        font-size: 14px;
        padding: 1rem;
    }
}


/* Media Querys tablet */

@media screen and (min-width: 768px) and (max-width: 1200px) {
 

    .main-content {
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .main-image-1,
    .main-image-2,
    .text-bubble {
        margin: auto;
        

    }
    
    .text-bubble {
        width: 80%;
    }

    .main-image-1 img,
    .main-image-2 img {

        width: 100%;
        max-width: 95%;
        margin: auto;
        height: auto;
    }
    
    .text-bubble h1 {
        font-size: 1.5rem;
        max-width: 100%;
        width: 100%;
    }
    

    .title-text-testimonial {
        margin: auto;
        max-width: 90%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .title-text-testimonial::after {
        max-width: 50%;
        width: 100%;
        margin: auto;
        height: auto;
    }

    .testimonios > * {margin: 0;} .name-customer {margin-bottom: 1rem !important;}
    .testimonios {
        place-items: center;
        align-items: center;
        justify-items: center;
        display: flex;
        flex-direction: column;
        max-width: 75%;
        width: 100%;
        height: auto;
        margin: 1rem auto;
        padding: 1rem 0;
        gap: 1rem;
    }


    .portfolio-section {
        justify-items: center;
        align-items: center;
        max-width: 75%;
        width: 100%;
        margin: 2rem auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .icon-playlist{
        width: 40%;
        height: auto;
        margin: auto;
        font-size: 14px;
        padding: 1rem;
  }
}