/* Background overlay */
.modal-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.6);

    display: none;

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

/* Modal card */
.modal-card{
    background: white;
    width: 500px;
    max-width: 90%;
    padding: 25px;
    border-radius: 10px;
    position: relative;

    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.modal-card > h2 {
  font-size: 20pt;
  text-align: center;
}

.modal-card > p {
  font-size: 14pt;
  font-family: roboto;
  font-weight: normal;
  font-style: normal;
  text-align: justify;
}



/* Close button */
.close-btn{
    position: absolute;
    top: 10px;
    right: 15px;

    font-size: 24px;
    cursor: pointer;
    color: #555;
}

.close-btn:hover{
    color: red;
}

.menu-link{
    position: relative;
    display: inline-block;
    padding-right: 10px;
    text-decoration: none;
}

.new-badge{
    position: absolute;
    top: -8px;
    right: 0;

    background: red;
    color: white;

    font-size: 11px;
    font-weight: bold;

    padding: 2px 6px;
    border-radius: 999px;

    animation: pulse 1.5s infinite;
}

@keyframes pulse{
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.1);
    }
    100%{
        transform: scale(1);
    }
}
