* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: whitesmoke;
}

ul {
    list-style: none;
}

.active {
    color: #AE8461;
    font-weight: bold;
}

.navbar {
    background-color: black;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 16px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 20px;
    color: whitesmoke;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 30px;
}

header {
    width: 100%;
    height: 30vh;
    background-image: linear-gradient(100deg, #000000, #00000010), url("img/fotoinicio.jpg");
    background-position: bottom;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}


.ctn {
    padding: 8px 15px;
    font-size: 15px;
    background-color: #AE8461;
    border-radius: 30px;
    color: black;
}

.logo {
    height: 140px;
    width: 200px;
}

.menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    cursor: pointer;
    display: none;
}

@media only screen and (max-width: 850px) {
    .menu-btn {
        display: block;
    }

    .navbar {
        padding: 0;
    }

    .logo {
        position: absolute;
        top: 20px;
        left: -10px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        height: 70vh;
        justify-content: center;
        background: #60181E;
        margin-top: -800px;
        transition: all 0.5s ease;
    }

    .mobile-menu {
        margin-top: 0px;
        border-bottom-right-radius: 30%;
    }

    .nav-links li {
        margin: 30px auto;
    }
}
.texto-principal {
    font-size: 22px;
    line-height: 1.6;
    margin: 20px 0;
    text-align: center;
}

/*CONTACTO*/
.line{
    width:150px;
    height: 4px;
    background: #AE8461;
    margin: 10px auto;
    border-radius: 5px;
}
.tittle{
    text-align: center;
    font-family: monospace;
    font-size: 3vmin; 
}

/*cartas de integrantes */

.card-container {
    display: flex; /* Flexbox para organizar elementos en fila */
    justify-content: center; /* Centra las tarjetas horizontalmente */
    gap: 20px; /* Espacio entre las tarjetas */
    flex-wrap: wrap; /* Permite que las tarjetas bajen de línea si no hay suficiente espacio */
    margin-top: 20px;
}
.card{
    position: relative;
    width: 255px;
    height: 589px;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 2px 3px 5px rgba(73, 69, 52, 0.4);
    margin: 20px 0 ; 
    transition: all 0.3s ease-in-out;
}

.card .content{
    position: relative;
    z-index: 100;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    background:#fff ;
}

.card .content .img{
    height: 50%;
    margin-bottom: -23px;
}

.card .content .img img{
    position: relative;
    width: 195px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.card .content span{
    position: absolute;
    width: 350px;
    height: 200px;
    background: linear-gradient(to right,#60181E , #000);
    transform: rotate(-35deg);
    top: -50px;
    left: -100px;
}

.card .content h4{
    font-size: 22px;
    color: #1a1919;
    margin-bottom: -1px;
}

.card .content h6{
    font-size: 14px;
    color: #000;
}

.card .content p{
    font-size: 15px;
    color: #1a161f;
    margin-top: 10px;
}

.card .links {
    position: absolute;
    z-index: 90 ;
    width: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 2px 3px 5px rgba(73, 69, 52, 0.4);
    padding: 20px;
    align-items: center;
    right: -60px;
    top: 15px;
    transition: all 0.5s ease;
}

.card:hover .links {
    right: 10px;
    border-radius: 0 10px 10px 0;
} 

.card .links a{
    font-size: 20px;
    color: #000000;
}

.card:hover {
    transform: scale(1.05); /* Agrega un pequeño efecto de zoom al hover */
}

.card .links a:nth-child(1):hover{
    color: #0158ca;
}
.card .links a:nth-child(2):hover{
    color: #0158ca;
}
.card .links a:nth-child(3):hover{
    color: #0158ca;
}
.card .links a:nth-child(4):hover{
    color: #ca0101;
}

.seccion-equipo {
    font-size: 2.2rem;
    text-align: center;
    color: #b82b50;
    margin: 60px 0 20px;
    font-family: 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.seccion-equipo::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #b82b50;
    margin: 10px auto 0;
    border-radius: 2px;
}


/* pie de pagina */

.pie-pagina {
    width: 100%;
    background-color: #000;
}

.pie-pagina .grupo-1 {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    padding: 45px 0px;
}

.pie-pagina .grupo-1 .box figure {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .grupo-1 .box figure img {
    width: 250px;
}

.pie-pagina .grupo-1 .box h2 {
    margin-bottom: 25px;
    color: #fff;
    font-size: 20px;
}

.pie-pagina .grupo-1 .box P {
    color: #efefef;
    margin-bottom: 10px;
}


.pie-pagina .grupo-1 .red-social a {
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 1opx;
    background-color: #60181E;
    text-align: center;
    transition: all 300ms ease;
}

.pie-pagina .grupo-1 .red-social a:hover {
    color: aqua;
}

.pie-pagina .grupo-2 {
    background-color: #60181E;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}

.pie-pagina .grupo-2 small {
    font-size: 15px;
}

@media screen and (max-width:800px) {
    .pie-pagina .grupo-1 {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        padding: 35px 0px;
    }
}