body{
    font-family: sans-serif;
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    overflow-x: hidden;
}

ul{
    list-style: none;
}

.text-header{
    margin-top: 25px;
}

.titulo-secciones{
    text-decoration: underline;
    text-underline-offset: 0.5rem;
}

.index-header{
    background-image: url(../img/code2.webp);
    background-size: cover;
    background-position: center;
    width: 100vw;
    height: 95vh;
    position: relative;
}

.index-header img{
    width: 15rem;
}

.oscurecer-fondo{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 0%, 0%, 0.6);
}

.index-header-superior{
    background-color: #000;
    padding: 2rem 0;
}

.index-header-superior h2{
    margin-top: 0px;
    color: #CACFE3;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600px;
    margin-bottom: 1rem;
}

.index-header-superior nav a{
    color: #fff;
    text-decoration: none;
}

.index-header-superior a:hover{
    color: #ffa500;
}

.index-header-superior nav ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
}

.index-header-inferior{
    width: 15rem;
    margin: 0 auto;
}

.index-header-inferior p{
    color: #fff;
}

.index-header-inferior button{
    width: 100%;
    background-color: #CACFE3;
    border: 0;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1rem 0;
    border-radius: 0.3rem;
    margin-top: 0.5rem;
}

button:hover{
    background-color: #91959E;
}

/* main */

.card-img-top {
  height: 200px;        /* todas iguales */
  object-fit: cover;    /* recorta sin deformar */
}


.main-card{
    background-color: #CACFE3;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1.5rem;
}





@media only screen and (min-width: 600px){
    .index-header-superior nav ul{
        flex-direction: row;
        justify-content: center;
        column-gap: 1rem;
    }
    .index-header-inferior{
        width: 30rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}
