.graph-modal-content {
    position: relative;
    height: 80vh;
    width: 100%;
    max-width: 768px;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / 1);
    padding: 1rem;
}

:is(.dark .graph-modal-content) {
    --tw-bg-opacity: 1;
    background-color: rgb(29 38 58 / 1);
}

@media (min-width: 768px) {
    .graph-modal-content {
        max-width: 80vw;
    }
}

.graph-modal-content>iframe {
    position: absolute;
    /* top: 4rem; */
    left: 50%;
    height: 80%;
    width: 100%;
    --tw-translate-x: -50%;
    transform: translate(var(--tw-translate-x), 0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

:is(.dark .graph-modal-content>iframe) {
    border-style: none;
}

@media(orientation: landscape) and (max-width:1024px) {
    .graph-modal-content {
        height: 100vh;
    }
}

.graph-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.btn-close-graph {
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    float: right;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    border-radius: 0.375rem;
    --tw-bg-opacity: 1;
    background-color: rgb(240 82 82 / var(--tw-bg-opacity));
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}