body {
  font-family: Arial, sans-serif;
  background: linear-gradient(90deg, #2600ff 0%, #50ea71 100%);
  color: #000000;
  margin: 0;
  padding: 10px;
  text-align: center;
}

.container {
  width: 95%;
  max-width: 900px;
  margin: 30px auto;
  padding: 20px 16px 24px;

  background: linear-gradient(90deg, #ffffffe6 0%, rgba(206, 206, 220, 0.50) 100%);

  border-radius: 20px;
  transition: box-shadow 0.3s ease;
  
}

.image-row {
  display: flex;
  justify-content: center; 
  align-items: center;    
  gap: 20px;               
  margin-bottom: 20px;
}


.profile-image1,
.profile-image2,
.profile-image3 {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 5px;
  border: 3px solid #7c00f8;
  box-shadow: 0 0 10px rgba(124, 0, 248, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.profile-image1:hover,
.profile-image2:hover,
.profile-image3:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(124, 0, 248, 0.7);
}

h1 {
  margin: 12px 0 4px;
  font-size: 1.9rem;
  color: #1f2933;
}

h4 {
  margin: 2px 0;
  font-weight: normal;
  color: #374151;
}

h2 {
  font-size: 1.5rem;
  color: #0078f1;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 8px 16px;
  background: linear-gradient(90deg, #fff6f6 0%, #ffb3b3 100%);
  box-shadow: 0 2px 4px #f000001a;
}
.subtitle {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: normal;
  color: #000000;
}
.about-section {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(223, 69, 69, 0.08);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: #222;
}

.about-section .subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: #0b7285;              
  margin-bottom: 14px;
}

.about-section .highlight {
  font-size: 1rem;
  font-weight: 600;
  color: #d9480f;           
  margin: 10px 0 14px;
}

.about-section p {
  margin: 0 0 10px;
}


.about-section::before {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  border-radius: 999px;
  background: #ffffff;
  margin-bottom: 14px;
}


section {
  margin-top: 24px;
  text-align: left;
}

section h2 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  color: #111827;
}


.field-error {
  display: block;
  min-height: 14px;
  margin-top: 2px;
  font-size: 0.8rem;
  color: #b91c1c;
}

form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-weight: bold;
  margin-top: 4px;
  color: #111827;
}

.required {
  color: #dc2626;
  font-size: 0.8rem;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

button {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

#save-btn {
  background-color: #2563eb;
  color: #fff;
  border-radius: 10px;
  padding: 10px 26px;
  box-shadow: 0 0 6px rgba(37,99,235,0.5);
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#save-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.secondary {
  background-color: #ff0000;
  color: #ffffff;
  border: 1px solid #d1d5db;
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin: 8px;
  display: block;
  margin: 0 auto;
  flex-direction: column;
}

.secondary:hover {
  background-color: #b80000;
}

.buttons {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.edit-btn {
  background-color: #10b981;
  color: #fff;
  border-radius: 8px;
  padding: 6px 20px;
  box-shadow: 0 0 6px rgba(16,185,129,0.5);
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin: 4px auto;
  display: block;
  font-size: 0.9rem;
}
.edit-btn:hover {
  background-color: #00feae;
  transform: translateY(-1px);
}
.delete-btn {
  background-color: #c70000;
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 0 6px rgba(239,68,68,0.5);
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin: 0 auto;
  display: block;
  margin: 0 auto;
  display: block;
}
.delete-btn:hover {
  background-color: #dc2626;
  transform: translateY(-1px);
}
.muted {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 4px;
  text-align: center;
}

#posts {
  margin-top: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  gap: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-card {
  background-color: #f9fafb;
  border-radius: 10px;
  padding: 10px 10px 8px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  text-align: left;
}

.post-title {
  font-weight: 700;
  margin-bottom: 4px;
  color: #111827;
}

.post-actions {
  margin-top: 6px;
  display: flex;
  gap: 6px;
}


html {
  height:100%;
}

body {
  margin:0;
}

.bg {
  animation:slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, #6c3 50%, #09f 50%);
  bottom:0;
  left:-50%;
  opacity:.5;
  position:fixed;
  right:-50%;
  top:0;
  z-index:-1;
}

.bg2 {
  animation-direction:alternate-reverse;
  animation-duration:4s;
}

.bg3 {
  animation-duration:5s;
}

.content {
  background-color:rgba(255,255,255,.8);
  border-radius:.25em;
  box-shadow:0 0 .25em rgba(0,0,0,.25);
  box-sizing:border-box;
  left:50%;
  padding:10vmin;
  position:fixed;
  text-align:center;
  top:50%;
  transform:translate(-50%, -50%);
}

h1 {
  font-family:monospace;
}

@keyframes slide {
  0% {
    transform:translateX(-25%);
  }
  100% {
    transform:translateX(25%);
  }
}


#save-btn {
  display: inline-block;
  padding: 12px 28px;
  margin: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #3498db;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse 1.6s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.6);
}

#save-btn:hover {
  background-color: #4aa3e0;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.9);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(215, 243, 4, 0.9);
  }
}
#cancel-edit-btn {
  display: inline-block;
  padding: 12px 28px;
  margin: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #e74c3c;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: cancelPulse 1.6s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.6);
}

#cancel-edit-btn:hover {
  background-color: #ff6b5a;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 107, 90, 0.9);
}


#cancel-edit-btn:active {
  transform: scale(0.98);
  box-shadow: 0 0 6px rgba(231, 76, 60, 0.8);
}

@keyframes cancelPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 165, 0, 0.9);
  }
}

.profile-card {
  display: inline-block;
  text-align: center;
  margin: 15px;
  padding: 15px;
  border-radius: 20px;
  background: linear-gradient(145deg, #6a5af9, #9c32e2);
  color: #fff;
  width: 160px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.profile-card:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 0 20px rgba(243, 104, 150, 0.8),
              0 0 30px rgba(255, 183, 0, 0.6);
}


.profile-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.profile-card:hover img {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.9);
}


.profile-card p {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
  border-radius: 12px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
}


.profile-card small {
  color: #ffeb70;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}


@media (max-width: 768px) {
  .profile-card {
    width: 140px;
    padding: 10px;
    margin: 10px;
  }

  .profile-card img {
    width: 80px;
    height: 80px;
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content 
.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  width: 80%;
  max-width: 500px;
}

/* Close Button
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

/* The Modal (background)
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

/* Modal content box
.modal-content {
  background-color: #fff;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 1000px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Close button styling 
.close {
  color: #aaa;
  float: right;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
}

/* Trigger button styling (Create New Post) 
#myBtn {
  padding: 10px 22px;
  margin: 10px 0 18px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #2563eb;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(37,99,235,0.5);
  transition: all 0.3s ease;
}

#myBtn:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

giving up modal for now because bugs
 */