body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}
header {
    background-color: #b11d31;
    color: white;
    padding: 1rem;
    text-align: center;
}

header h1 {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
  background: linear-gradient(to right, #e8e8e8, #ffcccc);
  -webkit-background-clip: text;
  /*color: transparent;*/
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  margin-bottom: 0;
  margin-top: 0;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
footer {
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}

/* Photo selection */
.photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    justify-content: center;
    justify-items: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.photos label {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.photos label:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.photos input[type="radio"]:checked + img {
    border-color: #007acc;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(204, 0, 0, 0.5);
}

.photos img {
    width: 150px;
    height: 210px;
    border-radius: 8px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    text-align: center;
    padding-top: 10%;
}

.modal-content {
    display: inline-block;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    min-width: 300px;
    position: relative;
}

.modal-content input[type="password"] {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.2rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.modal-content button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #007acc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Close button */
.close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

#countdown {
    margin-bottom: 0;
    margin-top: 0;
    font-family: 'Pacifico', cursive;
    font-size: 1.3rem;
    background: linear-gradient(to right, #ff4d4d, #ffcccc);
    -webkit-background-clip: text;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

#photo-grid h2 {
    text-align: center;
    font-size: 39px;
}

/* Dashboard */
#user-dashboard {
    margin-top: 2rem;
}

/* SunEditor */
#editor {
    width: 100%;
    box-sizing: border-box;
}

.sun-editor {
    width: 100% !important;
}
.se-resizing-bar.sun-editor-common.se-resizing-none {
    display: none;
}

.snowflake {
  position: fixed;
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  user-select: none;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  display: block;
  text-align: center;
}

/* Center container for buttons (optional wrapper) */
.button-container {
    display: flex;
    justify-content: center;
    margin: 20px 0; /* vertical spacing */
}

/* Reusable modern button style */
.btn {
    background-color: #888;          /* gray-ish color */
    color: white;                    /* text color */
    border: none;                    /* remove default border */
    border-radius: 8px;              /* rounded corners */
    padding: 12px 30px;              /* vertical + horizontal padding */
    font-size: 1rem;                 /* text size */
    font-weight: 500;                /* slightly bold */
    cursor: pointer;                 /* pointer on hover */
    transition: all 0.3s ease;      /* smooth hover transition */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* subtle shadow */
}

/* Hover effect */
.btn:hover {
    background-color: #666;          /* darker gray on hover */
    transform: translateY(-2px);     /* subtle lift */
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

/* Active effect when clicked */
.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#dashboard-title {
  font-size: 40px;
  font-family: 'Pacifico';
  text-align: center;
  color: #333;
  margin: 20px 0;
  letter-spacing: 1px;
  text-decoration: underline;
}






