/* Site-wide custom code (originally embedded in every page head) */

body{
    margin:0;
    font-family: Arial, sans-serif;
}

/* Ticker container */
.ticker {
    background: #fbd739;
    color: #5527a3;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 10px 0;
}

/* Moving content */
.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: tickerMove 15s linear infinite;
    font-size: 15px;
    font-weight: 600;
}

/* Clickable item */
.ticker-link {
    cursor: pointer;
    
  display: inline-block;
    margin-right: 30px;
  margin-left: 30px;
}

/* Animation */
@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Popup Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 400px;
    text-align: center;
    border-radius: 8px;
}

.close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}
  /* Modal background */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s ease;
}

/* Modal box */
.modal-content {
    background: #ffffff;
    margin: 8% auto;
    padding: 25px 30px;
    width: 500px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: slideDown 0.3s ease;
}

/* Close button */
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #555;
}
.close:hover {
    color: #000;
}

/* Heading */
.modal-content h2 {
    margin-top: 0;
    color: #5527a3;
}

/* Subtitle */
.subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* List styling */
.journal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.journal-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}
