.my-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #fff;
    border-radius: 8px;
    padding: 32px;
    z-index: 1001;
}
.my-modal.hidden {
    display: none;
}
.my-modal__heading {
    font-size: 20px;
    font-weight: bold;
    color: #365771;
}
.my-modal__text {
    font-size: 14px;
    color: #1f5679;
    white-space: pre-wrap;
    line-height: 1;
    margin-bottom: 0;
}
.my-modal__buttons {
    display: flex;
    gap: 8px;
}
.my-modal__button {
    padding: 8px 24px;
    background-color: transparent;
    border: 1px solid #012a4a;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s all ease;
    line-height: 18px;
}
.my-modal__button--primary {
    background-color: #365771;
    color: white;
}
.my-modal__button--primary:hover {
    color: #365771;
    background-color: white;
}
.my-modal__button--secondary {
    border: 1px solid #989ab5;
    color: #365771;
}
.my-modal__button--secondary:hover {
    color: white;
    background-color: #365771;
}
.my-modal__button--tertiary {
    background-color: #a6001b;
    color: white;
    border: 1px solid #a6001b;
}
.my-modal__button--tertiary:hover {
    background-color: white;
    color: #a6001b;
}
.my-modal__button:hover {
    cursor: pointer;
}
.my-modal li:not(:last-child) {
    margin-bottom: 10px;
}
.my-modal ul {
    list-style: disc;
    padding-left: 15px;
}
.my-modal-fullscreen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #0000007d;
    top: 0;
    left: 0;
    z-index: 1000;
}
.my-modal-fullscreen.hidden{
    display:none;
}
.my-modal__container {
    display: flex;
    gap: 25px;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media only screen and (max-width: 950px){
    .my-modal {
        width: 90%;
    }
}