.mainContainer{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main{
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 1rem;
    grid-auto-rows: minmax(100px, auto);
    align-items: start;
    justify-items: center;
}

.card{
    width: 80%;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
}

.card img{
    width: calc(100% + 40px);
    height: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: top;
    margin: -20px -20px 0 -20px;
}

.card-body{
    color: rgb(51, 51, 51);
}

.verVideo{
    margin-top: 10px;
    margin-bottom:10px;
    width: 100%;
    background: linear-gradient(to right, var(--verde), var(--verde));
    background-size: 200% auto;
    color: rgb(51, 51, 51);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.774);
    cursor: pointer;
}

.fondoPopUp{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.btnCerrarPopup{
    position: fixed;
    top: 5px;
    right: 10px;
    width: 50px;
    height: 50px;
    margin-top: 0;
    margin-bottom:0;
    background: none;
    background-size:inherit;
    background-color: rgb(37, 37, 37);
    color: rgba(255, 255, 255, 0.719);
    border: none;
    border-radius: 50px;
    padding: 0;
    transition: all 0.3s ease;
    font-size: 2rem;
    box-shadow: none;
    font-weight: bold;
}
