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;
}
#miHeader div h1 a {
    color: white;
}
#miHeader div p {
    color: white;
}
#miHeader.scroll {
    background-color: white;
}
#miHeader.scroll div h1 a{
    color: black;
}
#miHeader.scroll div p{
    color: black;
}
.logo {
    text-decoration: none;
    font-size: 24px;
}
.logo2 {
    font-size: 15px;
    margin-top: -15px;
}
/*section{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    
}*/
.section1{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 70vh;
    background-color: #2C3E50;
}
.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;
}
.com-chanels{
    align-items: center;
    text-align: center;
    justify-content: center;
    display: flex;
    padding: 50px;
}
.com-chanels h1 {
    font-size: 40px;
}
.tarjetas {
    display: flex;  
    padding: 20px;
    align-items: center;
    justify-content: center;
}
.card {
    background-color: white;
    width: 300px;
    height: 370px!important;
    margin-right: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    padding: 15px;
}
.card p {
    text-align: justify;
}
.card h3 b {
    font-size: 20px;
}

.card:hover {
    transform: translateY(-10px); /* Mueve la imagen 5px hacia arriba */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Suaviza la transición */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Añade una sombra */
}
.derechos{
    background-color: #2C3E50;
    height: 70px;
    width: 100%;
    color: white;
    display: flex;
    justify-content: center;
    text-align: center;
    border-top: 3px dotted white;
    padding: 20px;
}
/*Button animacion*/
.btn-Whats {
    border-radius: 7px;
    background-color: #25d366;
    width: 140px;
    height: 40px!important;
    color: white;
    cursor: pointer;
    font-size: 15px;
    border: none;
    transition: transform 0.3s ease;
}
.btn-Whats:hover {
    transform: scale(1.1); /* Aumenta el tamaño en un 10% */
    transition: transform 0.3s ease;
}
#btn-form {
    background-color: #2e86c1;
    color: white;
    width: 140px;
    height: 40px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 15px;
    border: none;
    transition: transform 0.3s ease;
}
#btn-form:hover {
    transform: scale(1.1); /* Aumenta el tamaño en un 10% */
    transition: transform 0.3s ease;
}

/* Media Queries para Móviles */
@media (max-width: 767px) {
    /* Header */
    header {
        height: auto;
        padding: 10px;
    }
    .logo {
        font-size: 20px;
    }
    .logo2 {
        font-size: 12px;
        margin-top: -10px;
    }

    /* Sección 1 */
    .section1 {
        height: auto;
        padding: 20px 10px;
    }
    .sectionText {
        height: auto;
        padding: 20px 10px;
        margin-top: 60px;
    }
    .sectionText h1 {
        font-size: 28px;
    }
    .sectionText p {
        font-size: 16px;
    }

    /* Sección de canales de contacto */
    .com-chanels {
        padding: 20px 10px;
    }
    .com-chanels h1 {
        font-size: 24px;
    }

    /* Tarjetas de contacto */
    .tarjetas {
        flex-direction: column;
        padding: 10px;
    }
    .card {
        width: 100%;
        margin: 10px 0;
        height: auto !important;
    }
    .card h3 b {
        font-size: 18px;
    }
    .card p {
        font-size: 14px;
    }

    /* Botones */
    .btn-Whats, #btn-form {
        width: 100%;
        margin-top: 10px;
    }

    /* Derechos */
    .derechos {
        height: auto;
        padding: 10px;
    }
}