﻿.youtube-video {
    width: 100%;
}

@media (min-width: 576px) {
    .youtube-video {
        min-height: 175px;
    }
}

@media (min-width: 768px) {
    .youtube-video {
        min-height: 350px;
    }
}


/* The Modal (background) */
.modal {
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    margin: 0 auto;
}

/* Modal Content */
.modal-content {
    background-color: #000;
    border: 1px solid #888;
    text-align: center;
    padding: 20px;
}

.modal-content-body {
    position: relative;
    width: fit-content;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
}

.modal-content-detail {
    width: 100%;
}

#modalMessage {
    margin-top: 2rem;
    text-align: center;
    font-weight: 300;
    display: flex;
    justify-content: space-evenly
}

    #modalMessage .modal-button {
        background-color: #ccbcac;
        color: #000;
        font-family: "CupraRegular",serif
    }

.text--success {
    color: #fff;
}

.text--error {
    color: red;
}

.modal-content-detail > .cupraLogo {
    object-fit: contain;
}

.closeButton {
    position: relative;
    padding: 1rem;
}

.close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    padding: 1rem;
    opacity: 1 !important;
}

    .close:hover,
    .close:focus {
        text-decoration: none;
        cursor: pointer;
    }

.modal-button {
    padding: 10px 10px !important;
    text-decoration: none !important;
    text-align: center !important;
    width: 32% !important;
    font-size: 0.9rem !important;
}

#popup-modal .modal-content-detail img {
    max-width: 500px;
}

@media (max-width: 576px) {
    .modal-button {
        font-size: 0.6rem !important;
    }

    #popup-modal .modal-content-detail img {
        width: 100%;
    }

    .modal-content-body {
        width: 100% !important;
        padding: 0;
    }
}

@media (max-width: 400px) {
    .modal-button {
        font-size: 0.5rem !important;
    }
}
