
body {
    font-family: Arial, sans-serif;
    background: #f8f8f8;
    margin: 0;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
    }

.H1 { 
    font-size: 36px; 
    font-family: "Cause";
    font-weight: bold;
    color:rgba(75, 0, 60, 0.5);
    border: none;
    border-radius: 35px;
    background: hsl(0, 89%, 96%);
    padding: 10px 1px;
    max-width: 330px;
    text-align: center;
    display: block;
    margin: 20px auto;
    margin-bottom: 5px;
    text-shadow: 2px 3px 0px rgba(255, 0, 0, 0.2);
}


/* entry box */
   
#modalDate {
    font-size: 18px;
    margin-top: 0;
}

#modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

textarea {

    width: 100%;
    height: 260px;
    padding: 14px;
    margin-top: 5px;
    font-family: "Cause";
    font-size: 16px;
    line-height: 1.5;
    border-radius: 12px;
    border: 1px solid hsl(350, 100%, 89%);
    background: #fff7fc;
    resize: vertical;
    box-sizing: border-box;
}

textarea:active {
  outline: none;
  border-color: hsl(351, 100%, 84%);
  box-shadow: 0 0 6px hsl(351, 100%, 84%);
}

textarea:focus {
  outline: none;
  border-color: hsl(351, 100%, 84%);
  box-shadow: 0 0 6px hsl(351, 100%, 84%);
}

/* buttons row under the textarea */
.modal-content button {
  margin-top: 12px;
  margin-right: 8px;
  padding: 8px 14px;
  border-radius: 18px;
  border: 1px solid hsl(351, 100%, 84%);
  cursor: pointer;
  background-color: hsl(351, 100%, 84%);
  color:rgb(255, 255, 255);
}

.modal-buttons {
  margin-left: 248px;
  display: inline-block;
}

#closeModal {
  margin-right: 00;
}

/* match themes */

body.dark .modal-content {
  background: #2a2a2a;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

body.dark textarea {
  background: #202020;
  color: #f5f5f5;
  border-color: #555;
}

body.pink .modal-content {
  background: #fff0f7;
  color: #5a0033;
}

body.pink textarea {
  background: #ffeef7;
  color: #5a0033;
  border-color: #ffb6d4;
}


    button { margin-top: 10px; }

    /* DARK MODE */
    body.dark { background: #1e1e1e; color: white; }
    body.dark .day { background: #2a2a2a; border-color: #444; color: white; }
    body.dark .modal-content { background: #2a2a2a; color: white; }
    body.dark #modal { background: rgba(0,0,0,0.7); }
    body.dark .month-picker-box { background: #2a2a2a; color: white; }
    body.dark .month-grid div { background: #444; }
    body.dark .month-grid div:hover { background: #666; }

/*BACKGROUND IMAGE*/
body  {
    background-image: url("images/pinkliminal.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

  /* LIMINAL MODE */
body.pink {
  background: #ffe6f2;
  color: #5a0033;
}

body.pink .day {
  background: #fff0f7;
  border-color: #ffb6d4;
  color: #5a0033;
}

body.pink .day:hover {
  background: #ffd1e8;
}

body.pink .modal-content {
  background: #fff0f7;
  color: #5a0033;
}

body.pink .entry-dot {
  background: #ff6ea8; 
}

body.pink .month-picker-box {
  background: #fff0f7;
}

body.pink .month-grid div {
  background: #ffe0ed;
}

body.pink .month-grid div:hover {
  background: #ffcce1;
}
.theme-container {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

/* Main button */
#themeButton {
  padding: 9px 13px;
  border: none;
  border-radius: 20px;
  background-color:hsl(351, 100%, 95%);
  border-color:hsl(351, 100%, 95%);
  font-size: 14px;
  cursor: pointer;
  
}

/* Hidden menu */
.theme-menu {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  width: 150px;
  overflow: hidden;
  z-index: 999;
}

.theme-menu div {
  padding: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.theme-menu div:hover {
  background: #ffe1f0;
}

/* DARK MODE styling for menu */
body.dark .theme-menu {
  background: #2a2a2a;
}

body.dark .theme-menu div:hover {
  background: #444;
}

/* PINK MODE styling for menu */
body.pink .theme-menu {
  background: #fff0f7;
}

body.pink .theme-menu div:hover {
  background: #ffd1e8;
}

footer a {
  color:#770028
}