@import url("https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap");
@import url("https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap");

body {
  margin: 0;
  font-family: "Yusei Magic", "MedievalSharp", cursive;
  background: linear-gradient(180deg, #87ceeb, #4682b4);
  color: #ffffff;
  overflow-x: hidden;
  position: relative;
}

#magicParticles {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 0;
}

header {
  background: #1a3d5d;
  color: #ffd700;
  text-align: center;
  padding: 2rem;
  z-index: 2;
  position: relative;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
}

nav {
  background: #add8e6;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  z-index: 2;
  position: relative;
}

nav a {
  text-decoration: none;
  color: #2e1a47;
  font-weight: bold;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #2e1a47;
  left: 0;
  bottom: -5px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

/* Language Selector */
.language-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 0.5rem;
  background: rgba(26, 61, 93, 0.95);
  padding: 0.8rem;
  border-radius: 8px;
  border: 2px solid #ffd700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.language-selector button {
  background: transparent;
  border: 2px solid #ffd700;
  color: #ffd700;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-weight: bold;
  font-family: "MedievalSharp", cursive;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.language-selector button:hover {
  background: #ffd700;
  color: #1a3d5d;
  transform: scale(1.05);
}

.language-selector button.active {
  background: #ffd700;
  color: #1a3d5d;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Responsive Language Selector */
@media (max-width: 1024px) {
  .language-selector {
    top: 10px;
    right: 10px;
    padding: 0.38rem 0.45rem;
    gap: 0.3rem;
    border-radius: 10px;
  }

  .language-selector button {
    padding: 0.23rem 0.45rem;
    font-size: 0.6rem;
    border-radius: 6px;
  }
}


/* Grimoire */
.grimoire-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  perspective: 1200px;
  z-index: 2;
  position: relative;
}

.grimoire {
  width: 320px;
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
  cursor: pointer;
}

.cover {
  background: url("assets/parchment-texture.png") center/cover no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  transform-origin: left;
  transition: transform 0.6s ease;
  border: 8px solid #5d3a00;
  border-radius: 8px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.grimoire-text {
  position: absolute;
  bottom: 10px;
  width: 100%;
  font-family: "MedievalSharp", cursive;
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
}

.grimoire-open {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url("assets/parchment-texture.png") center/cover;
  border: 6px solid #4b2c20;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1;
  align-items: flex-start;
}

.page {
  width: 50%;
  padding: 0.8rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0);
  border: 1px solid #c6b28d;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  display: flex;
  flex-direction: column;
}

.page-left {
  justify-content: center;
  align-items: center;
}

.page-right {
  overflow-y: auto;
}

/* Animation grimoire */
.grimoire.open .cover {
  transform: rotateY(-160deg);
}

.grimoire.open .grimoire-open {
  opacity: 1;
  pointer-events: auto;
}

/* Media queries pour le grimoire - responsive seulement */
@media (max-width: 768px) {
  .grimoire-container {
    margin: 1.5rem 0.5rem;
  }

  .grimoire {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 320 / 400;
  }
}

@media (max-width: 480px) {
  .grimoire-container {
    margin: 1rem 0.5rem;
  }

  .grimoire {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 320 / 400;
  }

  /* UNIQUEMENT sur mobile : masquer la couverture quand ouvert */
  .grimoire.open .cover {
    display: none;
  }

  .grimoire-open {
    flex-direction: column;
  }

  .page {
    width: 100%;
    padding: 0.6rem;
    font-size: 0.85rem;
  }

  .page-right h3 {
    font-size: 1.05rem;
  }

  .page-right li {
    font-size: 0.8rem;
  }

  .avatar-container img {
    max-width: 100px;
  }
}

.page-left img {
  max-width: 140px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.page-left img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.page-right h3 {
  font-family: "MedievalSharp", cursive;
  font-size: 1.3rem;
  margin: 0 0 0.7rem 0;
  color: #000;
}

.page-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  color: #000;
  font-size: 0.95rem;
}

.page-right li {
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

/* Animation grimoire */
.grimoire.open .cover {
  transform: rotateY(-160deg);
}

.grimoire.open .grimoire-open {
  opacity: 1;
  pointer-events: auto;
}

/* Sections */
section {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
  z-index: 2;
  position: relative;
}

.card {
  background:
    #f0f8ff url("https://i.imgur.com/BMTqKM9.png") no-repeat top left,
    url("https://i.imgur.com/BMTqKM9.png") no-repeat top right,
    url("https://i.imgur.com/BMTqKM9.png") no-repeat bottom left,
    url("https://i.imgur.com/BMTqKM9.png") no-repeat bottom right;
  background-size: 40px;
  border-radius: 12px;
  padding: 2rem;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 0 10px #ffd700;
  margin-bottom: 2rem;
  animation: invocation 1.5s ease;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease;
  color: #000;
}

.card.visible {
  opacity: 1;
  transform: scale(1);
}

footer {
  text-align: center;
  padding: 2rem;
  background: #3e2451;
  color: #fff;
  z-index: 2;
  position: relative;
}

.bi-linkedin {
  color: white;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.bi-linkedin:hover {
  color: #0a66c2;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .projet-card {
    padding: 1rem;
    margin: 1rem 0;
  }

  .projet-card h4 {
    font-size: 1.3rem;
  }

  .apercu-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .actions-projet {
    flex-direction: row;
    gap: 0.8rem;
  }

  .btn-detail,
  .btn-site {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
}

.fiche-personnage {
  animation: appear-magic 1s ease-out;
}

.fiche-personnage,
.avatar-container {
  animation: magicalZoomGlow 1.2s ease-out;
}

.avatar-container img {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.avatar-container img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

#bureau-chouettes {
  background: url("assets/parchment-texture.png") center/cover no-repeat;
  border: 4px solid #5d3a00;
  border-radius: 14px;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 90%;
  box-shadow: 0 0 25px rgba(50, 30, 0, 0.3);
  font-family: "MedievalSharp", cursive;
  color: #3b2b0a;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  overflow: auto;

  /* Responsive centrage */
  @media (max-width: 768px) {
    max-width: 95%;
    padding: 1.5rem;
  }

  input,
  textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    margin: 0;
  }
}

#bureau-chouettes h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #4b2c20;
  text-shadow: 0 0 6px #fdf6e3;
}

#form-chouette input,
#form-chouette textarea {
  width: calc(100% - 30px); /* Compense le padding */
  padding: 12px 15px;
  margin: 0 0 1rem 0;
  border: 2px solid #c6b28d;
  border-radius: 8px;
  font-family: "Garamond", serif;
  font-size: 1rem;
  background: #fff9f2;
  color: #3b2b0a;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  transition: all 0.3s ease;

  &:focus {
    outline: none;
    border-color: #9f7e4b;
    box-shadow: 0 0 8px rgba(159, 126, 75, 0.3);
  }

  @media (max-width: 480px) {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

#bureau-chouettes textarea {
  resize: vertical;
}

#form-message {
  display: none;
}

#bureau-chouettes button {
  background: linear-gradient(135deg, #7f9c56, #a3c86e);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-family: "MedievalSharp", cursive;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: block;
  margin: auto;
}

#bureau-chouettes button:hover {
  background: linear-gradient(135deg, #6f8c46, #8fbf5a);
  transform: scale(1.03);
}

@media (max-width: 768px) {
  #bureau-chouettes {
    padding: 1.5rem;
  }

  #bureau-chouettes h3 {
    font-size: 1.3rem;
  }

  #bureau-chouettes input,
  #bureau-chouettes textarea {
    font-size: 1rem;
    padding: 10px 12px;
  }

  #bureau-chouettes button {
    font-size: 1rem;
    padding: 10px 15px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  #bureau-chouettes {
    padding: 1rem;
  }

  #bureau-chouettes h3 {
    font-size: 1.1rem;
  }

  #bureau-chouettes input,
  #bureau-chouettes textarea {
    font-size: 0.95rem;
    padding: 8px 10px;
  }

  #bureau-chouettes button {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

#form-message {
  margin-top: 1rem;
  text-align: center;
  padding: 10px;
  background: rgba(255, 248, 220, 0.85);
  border: 2px dashed #c6b28d;
  border-radius: 8px;
  color: #4b2c20;
  font-weight: bold;
  animation: fadeInDown 0.6s ease-out;
}

/* Animations */
@keyframes invocation {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-2deg);
  }
  50% {
    transform: scale(1.05) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  from {
    text-shadow:
      0 0 5px #b38aff,
      0 0 10px #b38aff;
  }
  to {
    text-shadow:
      0 0 10px #d8b0ff,
      0 0 20px #d8b0ff;
  }
}

@keyframes appear-magic {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes magicalZoomGlow {
  0% {
    transform: scale(0.8);
    opacity: 0;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0);
    filter: blur(3px);
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 0 0 20px rgba(173, 216, 230, 0.6);
    filter: blur(0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(173, 216, 230, 0.3);
  }
}

/* Cartes de projets */
.projet-card {
  background: rgba(26, 61, 93, 0.7);
  border: 2px solid #add8e6;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-sizing: border-box;
  width: 100%;
}

.projet-card:hover {
  background: rgba(26, 61, 93, 0.9);
  border-color: #ffd700;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.projet-card h4 {
  color: #ffd700;
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.apercu-description {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  margin: 1rem 0;
}

.stack-info {
  color: #add8e6;
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.actions-projet {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-detail,
.btn-site {
  padding: 0.5rem 1.2rem;
  border: 2px solid #ffd700;
  background: transparent;
  color: #ffd700;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.btn-detail:hover {
  background: #ffd700;
  color: #1a3d5d;
  transform: scale(1.05);
}

.btn-site {
  border-color: #add8e6;
  color: #add8e6;
}

.btn-site:hover {
  background: #add8e6;
  color: #1a3d5d;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .projet-card {
    padding: 1rem;
  }

  .actions-projet {
    gap: 0.6rem;
  }

  .btn-detail,
  .btn-site {
    flex: 1;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .projet-card {
    padding: 0.8rem;
    margin: 1rem 0;
  }

  .actions-projet {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-detail,
  .btn-site {
    width: 100%;
    padding: 0.5rem 0.6rem;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Pages détails des projets */
.projet-detail {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.detail-card {
  background: rgba(26, 61, 93, 0.85) !important;
  padding: 2rem !important;
  border: 2px solid #ffd700 !important;
}

.detail-card h2 {
  color: #ffd700;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.detail-card h3 {
  color: #add8e6;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(173, 216, 230, 0.3);
  padding-bottom: 0.5rem;
}

.detail-card h4 {
  color: #ffd700;
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

.detail-card h5 {
  color: #add8e6;
  font-size: 1.05rem;
}

.projet-meta {
  text-align: center;
  color: #add8e6;
  margin-bottom: 2rem;
  font-style: italic;
}

.projet-meta p {
  margin: 0.5rem 0;
}

.detail-card p {
  color: #ffffff;
  line-height: 1.8;
  font-size: 1rem;
}

.detail-card ul {
  color: #ffffff;
  line-height: 1.8;
  margin-left: 1.5rem;
}

.detail-card li {
  margin: 0.8rem 0;
}

.detail-card code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-family: "Courier New", monospace;
  color: #ffd700;
}

@media (max-width: 768px) {
  .projet-detail {
    padding: 0 0.5rem;
    margin: 1rem auto;
  }

  .detail-card {
    padding: 1.5rem !important;
  }

  .detail-card h2 {
    font-size: 1.8rem;
  }

  .detail-card h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
  }

  .detail-card h4 {
    font-size: 1.1rem;
  }

  .detail-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .detail-card ul {
    margin-left: 1.2rem;
  }

  .detail-card li {
    margin: 0.6rem 0;
  }
}

@media (max-width: 480px) {
  .projet-detail {
    padding: 0;
    margin: 0.5rem auto;
  }

  .detail-card {
    padding: 0.8rem !important;
    border-radius: 5px;
    box-sizing: border-box;
  }

  .detail-card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  .detail-card h3 {
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
  }

  .detail-card h4 {
    font-size: 1rem;
    margin-top: 1rem;
  }

  .detail-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .projet-meta {
    margin-bottom: 1.5rem;
  }
}

.galerie-backend {
  margin: 2rem 0;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #ffd700;
}

.galerie-backend h4 {
  color: #ffd700;
  text-align: center;
  margin-top: 0;
}

.backend-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.backend-item {
  background: rgba(26, 61, 93, 0.5);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(173, 216, 230, 0.3);
  transition: all 0.3s ease;
}

.backend-item:hover {
  border-color: #ffd700;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.backend-item h5 {
  color: #ffd700;
  margin-top: 0;
}

.backend-item p {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.backend-item ul {
  color: #ffffff;
  margin-left: 1.2rem;
  font-size: 0.95rem;
}

.backend-item li {
  margin: 0.4rem 0;
}

@media (max-width: 768px) {
  .galerie-backend {
    padding: 1.2rem;
    margin: 1.5rem 0;
  }

  .backend-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .backend-item {
    padding: 1.2rem;
  }

  .backend-item h5 {
    font-size: 1rem;
  }

  .backend-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .galerie-backend {
    padding: 1rem;
    margin: 1rem 0;
    border-left: 3px solid #ffd700;
  }

  .backend-info {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .backend-item {
    padding: 1rem;
    border-radius: 5px;
  }

  .backend-item h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .backend-item p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .backend-item ul {
    margin-left: 1rem;
    font-size: 0.85rem;
  }

  .backend-item li {
    margin: 0.3rem 0;
  }
}

.projet-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(173, 216, 230, 0.3);
}

.btn-principal {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #1a3d5d;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-principal:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

@media (max-width: 768px) {
  .projet-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .btn-principal {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .detail-card {
    padding: 1.5rem !important;
  }

  .detail-card h2 {
    font-size: 1.8rem;
  }

  .backend-info {
    grid-template-columns: 1fr;
  }

  .actions-projet {
    flex-direction: column;
  }

  .btn-detail,
  .btn-site,
  .btn-principal {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .projet-cta {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .btn-principal {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Galerie de screenshots */
.galerie-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  width: 100%;
}

.screenshot {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  border: 2px solid #ffd700;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  display: block;
  object-fit: cover;
}

.screenshot:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
  .galerie-screenshots {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
  }

  .screenshot {
    border: 1.5px solid #ffd700;
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .galerie-screenshots {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin: 1.2rem 0;
  }

  .screenshot {
    border: 1px solid #ffd700;
    border-radius: 5px;
  }
}}

/* Footer */
footer {
  background: #1a3d5d;
  color: #add8e6;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  footer {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  footer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 1rem;
    margin-top: 1.5rem;
  }

  footer p {
    font-size: 0.85rem;
  }
}
