/* .d-8{
    height: 1000px;
} */

.d-alt{
    height: 1000px;
}

.custom-margin-bottom {
    margin-bottom: 15px;
}

.rounded-video-container {
    border: 2px solid #9c6821;
    border-radius: 15px;
    overflow: hidden; 
}

.rounded-video-container iframe {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* iframe{
    width: 840px;
    height: 480px;
} */

iframe{
    width: 700px;
    height: 400px;
}

.d-1{
    padding: 20px 0 20px 0;

    background-size: cover;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    /* background-position: 16% 14%; */
}

.d-1 h3{
    line-height: 1;
}

.d-1 p{
    line-height: 1;
}

@media screen and (max-width: 768px) {

    iframe{
        width: 378px;
        height: 216px;
    }

    .d-1{
        background-image: url("../../img/d1/bg.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: 16% 14%;
    }

    .d-1 h3{
        font-size: 1.45em;
        width: 90%;
        margin: auto;
        line-height: 1;
    }
    
    .d-1 p{
        font-size: 1em;
        width: 80%;
        margin: auto;
        line-height: 1;
    }

    .img_cards{
        margin: 1rem;
    }
}

.adaptado-1{
    display: none;
}

.d-7 .modulares > h5 > button{
    margin: -15px;
    background: none;
    border: none;
}

.d-7 .modulares > h5 > button >p{
    color: #fcebd8;
    font-size: 12pt;
    font-weight: bold;
    font-family: inherit;

    padding: 25px 0 8px 0;
}


@media screen and (max-width: 400px) {

    iframe{
        width: 366px;
        /* height: 252px; */
    }
    
    .d-7 h5 >  button{
        white-space: nowrap;
        text-align: start;
    }

    .adaptado{
        display: none;
    }

    .adaptado-1{
        display: flex;
    }
}

@media screen and (max-width: 350px) {

    iframe{
        width: 100%;
        height: 100%;
    }
    
    .d-7 h5 >  button{
        white-space: nowrap;
        text-align: start;
    }

    .adaptado{
        display: none;
    }

    .adaptado-1{
        display: flex;
    }

    .d-7 .modulares > h5 > button{
        margin: -30px;
        background: none;
        border: none;
    }
    
    .d-7 .modulares > h5 > button >p{
        color: #fcebd8;
        font-size: 9pt;
        font-weight: bold;
        font-family: inherit;
    
        padding: 25px 0 8px 0;
    }
}

