@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
*{ 
    font-family: "Montserrat", "sans-serif";
}
.ofertas{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 600px;
}
.titulo2{
    font-family: "Montserrat", "sans-serif";
    text-align: center;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.6); /* Fondo negro semitransparente */
    padding: 10px 0px;
    border-radius: 8px;
    width: 100%;
    color: white; /* Asegura que el color sea claro */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    z-index: 1;
}
body{
    background-image: url('/img/coco.jpg');
    background-size: 100%;
}
.wrapper1{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container6{
    height: 1000;
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
}

.card1{
    width: 80px;
    height: 400px;
    border-radius: .75rem;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2rem;
    margin: 0 10px;
    display: flex;
    align-items: flex-end;
    transition: .6s cubic-bezier(.28,-0.03,0,.99);
    box-shadow: 0px 10px 30px -5px rgba(0,0,0,0.8);
}

.card1 .row6 {
    color: white;
    display: flex;
    flex-wrap: nowrap;
}

.card1 > .row6 > .icon1 {
    background: #223;
    color: white;
    border-radius: 50%;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
}
.card1 > .row6 > .description {
    display: flex;
    margin-bottom: 0px;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    height: 80px;
    width: 540px;
    opacity: 0;
    transform: translateY(30px);
    transition-delay: .3s;
    transition: all .3s ease;
}
.description a{
    font-size: 15px;
    margin: 0px;
    padding: 0px;
    padding-top: 0px;
    display: block;
    color: aqua;
    text-decoration: none;
}
.description a:hover{
    color: blue;
}

.description p {
    color: white;
    padding-top: 0px;
    display: flex;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}

.description h4 {
    font-size: 15px;
    display: flex;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0,1);
}

input{
    display: none;
}

input:checked + label {
    width: 600px;
}

input:checked + label .description {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.card1[for="c1"] {
    background-image: url('/img/bio.webp');
}
.card1[for="c2"] {
    background-image: url('/img/TI.jpeg');
}
.card1[for="c3"] {
    background-image: url('/img/Prot.jpg');
}
.card1[for="c4"] {
    background-image: url('/img/merk.webp');
}
.card1[for="c5"] {
    background-image: url('/img/gastro.jpeg');
}
.card1[for="c6"] {
    background-image: url('/img/conta1.jpg');
}
.card1[for="c7"] {
    background-image: url('/img/turis.jpg');
}

@media (max-width: 768px){
    .titulo2{
        width: 122.3%;
    }
    body{
        background-image: none;
        background-color: #eeeeea;
    }
    .ofertas{
        height: auto;
        width: 90%;
        margin: 0;
    }
    .wrapper1{
        flex-direction: column;
        height: auto;
        padding: 4px 0px;
    }
    .container6 {
        margin-left: 10%;
        gap: 10px;
        flex-direction: column;
        align-items: center;
        height: auto;
        overflow-x: hidden;
    }
    .card1{
        margin-left: 0px;
        width: 90%;
        height: auto;
        cursor: default;
        transition: none;
    }
    .description a{
        font-size: 10px;
    }
    .description p {
        margin-left: 25px;
        font-size: 7px;
    }
    
    .description h4 {
        margin-left: 10px;
        font-size: 10px;
        
    }
    .card1 .row6 {
    
        flex-direction: column;
        align-items: center;
        background: rgba(0, 0, 0, 0.6);
    }
    .card1 .icon1 {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .card1 > .row6 > .description{
        width: 400px;
        opacity: 1 !important;
        transform: none !important;
        height: auto;
        text-align: center;
    }
    input:checked + label {
        width: 90%;
    }
    input[type="radio"] {
        display: none !important;
    }
}