.box-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background-color: black;
    padding: 0 40px;
}

.box-info-title{
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 60px;
}

.box-info-title > h2 {
    color: white;
    font-size: 26px;
}

.box-info-title > span {
    color: rgb(160, 160, 160);
    font-size: 18px;
}

iframe{
    width: 100%;

    margin-bottom: 2rem;
}

.box-cards{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: black;
    padding-bottom: 20px;
}

.box-cards img{
    width: 60px;

    border-radius: 50%;
}

.maincontainer {
    perspective: 1000px;
    width: 90%;
    height: 300px; 
}

.thecard {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);

}

.thecard .thefront, .thecard .theback {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 4px;
    line-height: 1;
    text-align: center;
}

.thefront > p{
    font-size: 35px;
    font-weight: 600;
    margin-top: 0.5rem;
}

.thefront{
    background-color: white;
}

.thecard .thefront {
    z-index: 2;
}

.theback{
    background-color: #D81F18;
    color: white;
    line-height: 2;
}

.theback > h2{
    font-size: 22px;
    line-height: 1.5;
    font-weight: 600;
}

.theback > p{
    font-size: 16px;
    line-height: 2;
}

.thecard .theback {
    
    transform: rotateY(180deg);
    border: transparent;
}

.maincontainer:hover .thecard {
    transform: rotateY(180deg);
}

@media screen and (min-width: 850px) {

    iframe{
        height: 500px; 
    }

}
@media screen and (min-width: 1024px) {
    .box-cards {
        flex-direction: row;
        justify-content: space-around; 
        flex-wrap: wrap; 
        padding: 0 25px;
        padding-bottom: 70px;
    }
    
    .maincontainer {
        width: 30%; 
    }

    .thecard {
        display: block; 
    
    }

    .theback > p{
        margin: 20px;
    }
    .theback > h2{
        margin: 0 10px;
    }
}