

/* Header background styling */
.demo-title-bg {
    width: auto;
    margin: 10px 0;
    margin-bottom: 42px;
    margin-top: 35px;
    background-color: #a0a0a0;
    line-height: 1;
    background-color: rgba(24,21,27,0.2);
    border: 3px solid #ffffff;
    border-radius: 27px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 8px 33px rgba(255, 255, 255, 0.3);
}

.demo-modal-content {
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 27px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background-color: #0B0011;
    background-image: url('Images/always-grey.png');
    background-repeat: repeat;
    background-size: 45px;
    background-position: center;
    overflow-y: auto;
    padding-top: 2px;
    padding-right: 20px;
    padding-left: 19px;
    padding: 1000px;
    box-shadow: 0 8px 10px rgba(255, 255, 255, 0.3);
}

.demo-video iframe {
    margin-bottom: 13px;
    max-height: 70vh;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 10px rgba(255, 255, 255, 0.3);
}

.demo-video-BG {
    max-width: 100%;
    max-height: 100%;
    background-color: black;
    padding-top: 50px;
    margin-top: -16px;
}

.demo-close {
    border: 3px solid #ffffff;
    border-radius: 27px;
    width: 100%;
    background-color: rgba(24,21,27,0.2);
    color: #ffffff;
    font-size: 50px;
    cursor: pointer;
    margin-top: 0px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-bottom: 50px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

/* Responsiveness for smaller screens */
@media (max-width: 678px) {

    .demo-title-bg {
        border-radius: 27px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: 3px;
        margin-bottom: 15px;
    }
    .demo-video iframe {
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: -50px;
        width: 100%;
        max-height: 30vh;
    }
    .demo-modal-content {
        padding-top: 15px;
        padding-bottom: 15px;
        border-radius: 27px;
        width: 80%;
        max-height: 90%;
        text-align: center;
        padding: 1000px;
    }  
}

/* Responsiveness for smaller screens */
@media (min-width: 678px) {

    .demo-title-bg {
        border-radius: 27px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: 3px;
        margin-bottom: 15px;
    }
    .demo-video iframe {
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: -50px;
        width: 100%;
        max-height: 30vh;
    }
    .demo-modal-content {
        padding-top: 15px;
        padding-bottom: 15px;
        border-radius: 27px;
        width: 50%;
        max-height: 90%;
        text-align: center;
        padding: 1000px;
    }
}

/* Responsiveness for medium screens */
@media (min-width: 1023px) {

    .demo-title-bg {
        border-radius: 27px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: 3px;
        margin-bottom: 15px;
    }

    .demo-modal-content {
        padding-top: 15px;
        padding-bottom: 15px;
        border-radius: 27px;
        width: 41%;
        max-height: 90%;
        text-align: center;
        padding: 1000px;
    }
}

/* Responsiveness for medium screens */
@media (min-width: 1324px) {

    .demo-title-bg {
        border-radius: 27px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: 3px;
        margin-bottom: 15px;
    }
    .project-video iframe {
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: -50px;
        width: 100%;
        max-height: 70vh;
    }
    .demo-modal-content {
        padding-top: 15px;
        padding-bottom: 15px;
        border-radius: 27px;
        width: 35%;
        max-height: 90%;
        text-align: center;
        padding: 1000px;
    } 
}

/* Responsiveness for medium screens */
@media (min-width: 1524px) {

    .demo-title-bg {
        border-radius: 27px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: 3px;
        margin-bottom: 15px;
    }
    .demo-video iframe {
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: -50px;
        width: 100%;
        max-height: 70vh;
    }
    .demo-modal-content {
        padding-top: 15px;
        padding-bottom: 15px;
        border-radius: 27px;
        width: 32%;
        max-height: 90%;
        text-align: center;
        padding: 1000px;
    }
}

/* Responsiveness for medium screens */
@media (min-width: 1724px) {

    .demo-title-bg {
        border-radius: 27px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: 3px;
        margin-bottom: 15px;
    }

    .demo-video iframe {
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: -50px;
        width: 100%;
        max-height: 70vh;
    }

    .demo-modal-content {
        padding-top: 15px;
        padding-bottom: 15px;
        border-radius: 27px;
        width: 27%;
        max-height: 90%;
        text-align: center;
        padding: 3000px;
    }  
}

/* Responsiveness for medium screens */
@media (min-width: 2025px) {

    .demo-title-bg {
        border-radius: 27px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: 3px;
        margin-bottom: 15px;
    }

    .demo-video iframe {
        margin-right: -4.5px; /* Ajuste a quantidade de pixels conforme necessário */
        margin-top: -50px;
        width: 100%;
        max-height: 70vh;
    }

    .demo-modal-content {
        padding-top: 15px;
        padding-bottom: 15px;
        border-radius: 27px;
        width: 18%;
        max-height: 90%;
        text-align: center;
        padding: 3000px;
    } 
}
