.modal {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    color: black;
    max-width: 800px;
    margin: auto auto;
    height: fit-content;
}
.modal .top {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    color: white;
    padding: 20px;
}
.modal.power .top {
    background-color: rgb(129, 24, 27);;
}
.modal.innovation .top {
    background-color: rgb(232, 158, 23);;
}
.modal.alert .top {
    background-color: rgb(40, 90, 24);;
}

.modal .bottom {
    padding: 20px;
}
.modal button.close {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

.visible {
    opacity: 1;
    pointer-events: all;
}