* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

:root {
    --hover-header: #000000;
    --header-color: #e30613;
    --text-color: #ffffff;
    --secondary-color: #ffffff;
}

#container {
    width: 100%;
}


.images{
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
}

.card-video{
    background-color: var(--card-color);
    width: 20rem;
    height: 20rem;
    display: flex;
    flex-direction: column;
    margin: 3em -6rem;
    align-items: center;
    border: 1px solid #ddd;
    box-shadow:  0 0 0.8em  rgb(41, 41, 41);
}

.card-video img{
    width: 100%;
    height: 90%;
    margin-top: 1rem;
    border: solid 2px rgb(209, 209, 209);
}

.card-video:hover{
    transform: scale(1.09);
}

li{
    list-style-type: none;
}

a{
    text-decoration: none;
    color: var(--hover-header);
    font-weight: bold;
    font-size: 18px;
    font-size: 0.6em;
    font-family: "Montserrat", sans-serif;
}

.card-video h2{
    font-size: 1.5em;
    font-family: "Montserrat", sans-serif;
    color: var(--hover-header);
    margin-top: 1.5rem;
}

.titulo-video{
    display: flex;
    justify-content: center;
    font-size: 2rem;
    border-bottom: 3px solid #a60000;
    margin-left: 8.5em;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    margin-top: 100px;
    font-weight: 1000;
    
}

@media (max-width: 320px) {
    .images{
        flex-direction: column;
        align-items: center;
    }

    .card-video { 
        width: 90%; 
        margin: 1rem 0; 
    }

    .titulo-video { 
        font-size: 1.5rem; 
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    .images { 
        flex-direction: column; 
        align-items: center; 
    }

    .card-video { 
        width: 80%; 
        margin: 1rem 0; 
    }

    .titulo-video { 
        font-size: 1.8rem; 
        margin-left: 0; 
    }
}

@media (max-width: 1400px) {
    .images { 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center; 
    }

    .card-video { 
        width: 40%; 
        margin: 1rem 0; 
    }

    .card-video { 
        width: 40%; 
        margin: 1rem 0; 
    }
}