* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    height: 70px;
}
.headerContacto{
    border: none;
    height: 35px;
    width: 100px;
    border-radius: 10px;
    margin-right: 40px;
    cursor: pointer;
}
#miHeader div h1 a {
    color: white;
}
#miHeader div p {
    color: white;
}
#miHeader nav ul li button{
    background-color: white;
    color: #2C3E50;
}
#miHeader.scroll {
    background-color: white;
}
#miHeader.scroll div h1 a{
    color: black;
}
#miHeader.scroll div p{
    color: black;
}
#miHeader.scroll nav ul li button{
    background-color: #2C3E50;
    color: white;
}
.logo {
    text-decoration: none;
    font-size: 24px;
    color: black;
}
.logo2 {
    font-size: 15px;
}
/*Section 1*/
.section1{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 70vh;
    background-color: #2C3E50;
    margin:0%;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.sectionText {
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    background-color: #2C3E50;
    width: 100%;
    height: 100vh;
    flex-direction: column;
}
.sectionText h1 {
    font-size: 40px;
    color: white;
    font-family: fantasy;
}
.sectionText p {
    color: white;
    font-size: 20px;
}
.derechos{
    background-color: #2C3E50;
    height: 70px;
    width: 100%;
    color: white;
    display: flex;
    justify-content: center;
    text-align: center;
    border-top: 3px dotted white;
    align-items: center;
}

/*Section 2*/
#section2 {
    flex-direction: column;
}
.section2Text{
    justify-content: center;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}
.catalogo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: auto;
    place-items: center;
    margin-bottom: 40px;
}
.tarjeta {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}
.tarjeta:hover {
    transform: scale(1.1); /* Aumenta el tamaño en un 10% */
    transition: transform 0.3s ease;
}
.tarjeta img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
}
.tarjeta h3 {
    margin: 10px 0;
    font-size: 18px;
}
.tarjeta p {
    color: #555;
    font-size: 14px;
}
.tarjeta button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
.tarjeta button:hover {
    background: #0056b3;
}
@media (max-width: 768px) {
    .catalogo {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .catalogo {
        grid-template-columns: 1fr;
    }
}


/*Ajuste para moviles*/
@media (max-width: 767px) {
    /* Header */
    header {
        height: 65px;
        padding: 10px;
        width: 100%;
    }
    .logo {
        font-size: 20px;
    }
    .logo2 {
        font-size: 12px;
    }
    .headerContacto {
        width: 80px;
        height: 30px;
        margin-right: 10px;
    }

    /* Sección 1 */
    .section1 {
        height: 40vh;
    }
    .sectionText {
        height: auto;
        padding: 20px 10px;
        width: 100%;
    }
    .sectionText h1 {
        font-size: 28px;
    }
    .sectionText p {
        font-size: 16px;
    }
    #section2{
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    /* Sección 2 */
    .section2Text h1 {
        font-size: 24px;
    }
    .catalogo {
        grid-template-columns: 1fr; /* Una columna en móviles */
        gap: 10px;
        padding: 10px;
        justify-content: center;
        align-content: center;
    }
    .tarjeta {
        width: 80%;
        margin: 10px 0;
        height: auto;
    }
    .tarjeta img {
        width: 50%;
        height: 40%;
    }
    .tarjeta h3 {
        font-size: 16px;
    }
    .tarjeta p {
        font-size: 12px;
    }
    .tarjeta button {
        width: 100%;
        padding: 8px;
        font-size: 14px;
    }

    /* Derechos */
    .derechos {
        height: auto;
        padding: 10px;
    }
}