* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #111827;
  /* background-image: url("./../img/display/fondoOurTeam.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; */
  color: white;
  font-family: sans-serif;
  overflow-x: hidden;
}

#header {
  position: sticky;
  top: 0px;
  z-index: 10;
}

.title {
  text-align: center;
  /* padding: 2rem; */
  height: auto;
  background-image: url("./../img/display/fondoHeader.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0 4px 10px #000;
}

.title h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.title img {
  width: 300px;
}

.title p {
  font-style: italic;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  /* color: #d1d5db; */
}


/* LOCALIZATION */
#lang-switcher {
  position: absolute;
  display: inline-block;
  z-index: 10;
}

#lang-btn {
  padding: 0.25rem 0.5rem;
  background-color: #ec820ad5;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  /* border-radius: 0 0 25px 0; */
}

#lang-list {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ec820ad5;
  /* border: 1px solid #333; */
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  width: max-content;
  min-width: 100%;
}

#lang-list button {
  background: none;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

#lang-list button:hover {
  background-color: rgba(182, 104, 16, 0.725);
}

/* FOOTER */
.footer {
  background-color: #1b2741;
  color: #d1d5db;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  user-select: none;
  box-shadow: 0 4px 20px #000;
}

.footer-container {
  max-width: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.3);
}

.footer-text {
  flex-grow: 1;
  text-align: right;
  min-width: 200px;
}

/* RESPONSIVE FIX */
/* LOCALIZATION */
@media (max-width: 768px) {
  /* #lang-switcher {
    width: 100%;
  } */

  #lang-list {
    right: auto;
    left: 0;
    width: 100%;
    min-width: unset;
  }
}

/* FOOTER */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-text {
    text-align: center;
    min-width: auto;
  }
}