@charset "UTF-8";
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.genos {
  font-family: "Genos", sans-serif;
  font-style: normal;
}

body {
  font-family: "Quantico", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8eaea;
  padding: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Headings */
h2 {
  font-size: 3rem;
  color: #5873ed;
  margin: 30px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #667eea;
}

h3 {
  color: #5873ed;
}

.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Utility */
.hidden {
  display: none;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #f8eaea;
  border-radius: 8px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.5rem;
  opacity: 0.9;
}

header a {
  color: #eba742 !important;
  text-decoration: none;
}

/* Under construction */
.under-construction {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #eba742;
  padding-bottom: 15px;
}

/* Layout */
main {
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.index-main,
.posts-main,
.post-main,
.user-main,
.tag-main,
.login-main,
.pictures-main {
  justify-content: flex-start;
}

.pictures-main {
  width: 80%;
}

/* Navigation list */
.site-nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav-list li {
  margin: 0 15px;
}

/* Navigation & Links */
a {
  color: #667eea;
}

a:hover {
  text-shadow: -1px -1px 0 #7a8ef3, -1px -1px 2px #eee5e5;
}

nav {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

nav a {
  margin-right: 15px;
  text-decoration: none;
  font-weight: 500;
  font-size: 2rem;
  text-shadow: -3px -2px 0 rgb(241, 201, 201);
}

.logged-in-as-message {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
}

.fr {
  color: #ec2dd3;
}

.en {
  color: #1b37c4;
}

/* Responsive */
@media (max-width: 700px) {
  .logged-in-as-message {
    position: static;
    transform: none;
    margin-left: 8px;
  }
  .post {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .post-thumbnail-container {
    width: 100%;
    height: 160px; /* safe, calm height */
  }
  .post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
/* Forms */
form {
  font-size: x-large;
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
}

/* Form Inputs */
input[type=text],
input[type=email],
input[type=password],
textarea {
  width: 70%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #667eea;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #5a6fd6;
}

/* Submit buttons */
button[type=submit],
input[type=submit], .submit-button {
  padding: 12px 30px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type=submit]:hover,
input[type=submit]:hover, .submit-button {
  background: #7a8ef3;
}

/* Logout Button */
.logoutButton {
  background: #9c14ad;
  margin-top: 20px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  padding: 12px 30px;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.logoutButton:hover {
  background: #c43ed6;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Messages */
#login-message,
#resend-activation-message,
#user-test-message,
#password-reset-request-message,
#activation-message,
#reset-result-message,
#signup-message,
.logout_message,
.auth-message {
  padding: 12px 16px;
  border-radius: 6px;
  border-left: 4px solid #667eea;
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
  margin: 15px 0;
  font-size: 1.1rem;
  animation: fadeInSlide 0.25s ease;
}
#login-message:empty,
#resend-activation-message:empty,
#user-test-message:empty,
#password-reset-request-message:empty,
#activation-message:empty,
#reset-result-message:empty,
#signup-message:empty,
.logout_message:empty,
.auth-message:empty {
  display: none;
}
#login-message.success,
#resend-activation-message.success,
#user-test-message.success,
#password-reset-request-message.success,
#activation-message.success,
#reset-result-message.success,
#signup-message.success,
.logout_message.success,
.auth-message.success {
  background: #d4edda;
  color: #155724;
  border-left-color: #155724;
}
#login-message.error,
#resend-activation-message.error,
#user-test-message.error,
#password-reset-request-message.error,
#activation-message.error,
#reset-result-message.error,
#signup-message.error,
.logout_message.error,
.auth-message.error {
  background: #f8d7da;
  color: #721c24;
  border-left-color: #721c24;
}

.button-link {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid currentColor;
  border-radius: 6px;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.button-link:hover,
.button-link:focus {
  text-decoration: none;
  opacity: 0.9;
}

#avatar-label {
  border: #5a6fd6 solid 0.5px;
  border-radius: 5px;
  padding: 25px !important;
}

.explanation {
  font-size: large;
  text-align: center;
  border-radius: 8px;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.explanation:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: #667eea;
}

/* Posts List */
#postsList {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: 80%;
}

#postsList li {
  perspective: 800px;
}

.post {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  background: white;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  overflow-wrap: break-word;
  position: relative;
  padding-bottom: 40px;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.post-delete-button {
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.post:hover {
  transform: translateY(-4px) scale(1.03);
  background: rgba(247, 87, 175, 0.1);
  border-color: #667eea;
}

#postsList h4 {
  color: #667eea;
  margin-bottom: 8px;
}

#postsList p {
  color: #666;
  margin-bottom: 5px;
}

.post a {
  max-width: 100%;
  word-break: break-word;
}

.post {
  overflow-wrap: break-word;
}

#post-container {
  padding: 20px;
}

#post-thumbnail-container {
  width: 100%;
}

.post-thumbnail {
  display: block;
  max-height: 250px;
  object-fit: contain;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.short-info-text {
  color: rgb(167, 13, 214);
}

#post-images,
#post-tags {
  list-style: none;
  display: flex;
  flex-direction: row;
}

/* Post meta */
.short-info-title,
.tags-title,
.short-info-link,
.tag-link {
  color: #667eea;
}

.short-info-text {
  padding-bottom: 10px;
}

#post-title {
  color: #667eea;
}

#post-content {
  padding: 5px;
}

#post-images {
  position: relative;
  width: 100%;
  padding: 5%;
  gap: 2%;
  justify-content: space-between;
  align-items: center;
}

.post-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detach-chip {
  border: 1px solid #d87f90;
  background: #fff2f4;
  color: #9f243b;
  border-radius: 999px;
  width: 24px;
  height: 24px;
  line-height: 1;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.detach-chip:hover {
  background: #9f243b;
  color: #ffffff;
  transform: scale(1.08);
}

.detach-chip:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.detach-image-chip {
  position: absolute;
  top: 10px;
  right: 10px;
}

#post-images li {
  width: 300px;
  position: relative;
}

#post-tags {
  gap: 5%;
}

.post-picture {
  width: 100%;
  object-fit: fit;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.post-picture:hover {
  transform: translateY(-4px) scale(1.03);
  cursor: pointer;
}

.tags-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#tagsList {
  list-style: none;
  display: inline-grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(auto, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}

.tags-section {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tag-name {
  aspect-ratio: 1.7/1;
  padding: 20px;
  background: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.tag-name:hover {
  transform: translateY(-4px) scale(1.03);
  background: rgba(247, 87, 175, 0.1);
  border-color: #667eea;
}

.tag-name a {
  text-decoration: none;
  text-align: center;
}

#tag-description p {
  padding: 20px 0px;
}

#related-posts {
  font-size: 1.5rem;
  padding: 30px 0px;
}

#tag-title {
  color: #667eea;
  padding-bottom: 20px;
}

.nothing {
  font-size: x-large;
  color: #667eea;
  padding: 50px;
}

#picturesList {
  margin-top: 20px;
  columns: 3 350px;
  column-gap: 30px;
  list-style: none;
}

#picturesList li {
  break-inside: avoid;
  margin-bottom: 30px;
}

.picture {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.picture:hover {
  transform: translateY(-4px) scale(1.03);
  cursor: pointer;
}

#picture-main {
  padding-bottom: 20px;
  display: flex;
  justify-content: space-evenly;
}

#picture-container {
  padding-bottom: 30px;
  width: 100%;
  height: auto;
}

#picture-name {
  text-decoration: none;
}

#single-picture {
  display: block;
  object-fit: cover;
  width: 100%;
  height: auto;
  padding: 30px;
  border-radius: 2%;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

#picture-description {
  padding-bottom: 20px;
}

#tag-container {
  padding: 30px;
}

#tag-posts {
  list-style: none;
}

.user-article {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#account-edits {
  display: flex;
  flex-direction: column;
  align-items: center;
}

label {
  text-align: center;
}

/* ///////////////////////// USER ACCOUNT PAGE ///////////////////////// */
.user-article {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}
.user-article h2 {
  width: 100%;
  text-align: center;
}

/* Account Info Card */
.account-info-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
  padding: 40px 30px;
  width: 100%;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.account-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.account-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #667eea;
  box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.account-details {
  text-align: center;
  width: 100%;
}

.account-name,
.account-email {
  color: #667eea;
  display: flex;
  flex-direction: row;
  font-size: 1.8rem;
  margin: 10px 0 5px 0;
  font-weight: 600;
}

/* Edit Account Section */
.account-edits-section {
  width: 100%;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.edit-section-title {
  color: #667eea;
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(102, 126, 234, 0.2);
  width: 100%;
}

.account-form {
  background: white;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.1);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.account-avatar-form {
  margin-top: 18px;
}

.avatar-form-title {
  color: #667eea;
  font-size: 1.25rem;
  margin: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 8px;
}
.form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: #667eea;
  text-align: left;
  margin: 0;
}

.form-input {
  padding: 16px 18px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 1.1rem;
  font-family: "Quantico", sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-button {
  padding: 14px 30px;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}
.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.submit-button:active {
  transform: translateY(0);
}

.danger-button {
  background: linear-gradient(135deg, #a10f2b 0%, #5f0617 100%);
  border: 1px solid #4b0512;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(95, 6, 23, 0.35);
}

#delete-account {
  align-self: center;
  margin-top: 22px;
}

.danger-button:hover {
  box-shadow: 0 10px 24px rgba(95, 6, 23, 0.5);
}

.edit-message {
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}
.edit-message.success, .edit-message.error, .edit-message.info {
  max-height: 100px;
  opacity: 1;
}
.edit-message.success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border: 1px solid #a3d6b0;
  box-shadow: 0 3px 10px rgba(21, 87, 36, 0.15);
}
.edit-message.success::before {
  content: "✓  ";
}
.edit-message.error {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border: 1px solid #f0a8ad;
  box-shadow: 0 3px 10px rgba(114, 28, 36, 0.15);
}
.edit-message.error::before {
  content: "✕  ";
}
.edit-message.info {
  background: linear-gradient(135deg, #e8ecff 0%, #d6dcff 100%);
  color: #3a4bbf;
  border: 1px solid #b3bef8;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.15);
}
.edit-message.info::before {
  content: "ℹ  ";
}

#account-edit_avatar {
  max-width: 70%;
}

/* Alphabetized Selectors */
/* //////////////////////////////////////////////////////////////////////////////////////////////// */

/*# sourceMappingURL=style.css.map */
