* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    overflow-x: hidden;
}

li{
    list-style: none;
}

a{
    text-decoration: none;
}

a, h3, .cardName{
    color: #fff;
}

.navBar{
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 1px 9px rgba(0,0,0,0.7);
    padding: 5px 10px;
    margin-bottom: 10px;
    position: relative;
}


.logo img{
    width: 35%;
    height: auto;
}

.icono{
    display: none;
}

.optionsList{
    display: flex;
    gap: 10px;
}


/* Cards */

.containerCards{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    height: 90vh;
    justify-content: start;
}

.cardBlock{
    border-radius: 10px;
    padding: 10px;
    background-color: #000;
    box-shadow: 0 3px 15px rgba(100,100,100,0.5);
    margin: 20px auto 40px;
    position: relative;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cardBlock div{
    backface-visibility: hidden;
    transition: all 1s ease-in-out;
    user-select: none;
}

.cardFront{
    height: 100%;
}

.cardBack{
    position: absolute;
    font-size: 14px;
    margin: 5px 10px;
    top: 0;
    height: 98%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.cardImg img{
    width: 100%;
    height: 700px;
}

.cardMore{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.cardInfo{
    background-color: #fff;
    padding: 5px;
}

.hidden{
    overflow: hidden;
}

.info .videoInfo{
    display: none;
}

.info .cardFront{
    transform: rotateY(0deg);
}

.info .cardBack{
    transform: rotateY(180deg);
}

.card .cardFront{
    transform: rotateY(180deg);
}

.card .cardBack{
    transform: rotateY(360deg);
}

@media (max-width: 550px){

    .navBar{
        padding: 5px;
        justify-content: center;
    }

    .logo{
        width: 35%;
    }

    .logo img{
        width: 100%;
    }

    .navOptions{
        display: none;
    }

    .cardBlock{
        margin: 0 auto;
        width: 90%;
    }

    .containerCards{
        display: flex;
        flex-direction: column;
    }

    .cardImg img{
        height: 600px;
    }
}