@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.intro {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out;
}

.intro.fade-out {
  opacity: 0;
}
.img-title {
    background-image: url("../img/logos/intro-title.svg");
    background-size: contain;
    width: 440px;
    height: 162px;
    background-repeat: no-repeat;
    background-position: center;
}

.intro p {
    font-family: 'IBM Plex Sans', sans-serif;
    color: #FEC601;
    font-size: 16px;
    width: 100%;
    max-width: 551px;
    margin-top: 39px;
    margin-bottom: 42px;
    text-align: center;
    text-transform: uppercase;
}

.intro button {
    background-color: #FEC601;
    font-family: 'IBM Plex Sans', sans-serif;
    color: black;
    border-radius: 8px;
    height: 44px;
    padding: 0 24px;
    border: none;
    cursor: pointer;
}

#top-logo {
    width: 288px;
    height: 40px;
    background-image: url("../img/logos/top-title.svg");
    background-size: contain;
    position: fixed;
    top: 37px;
    left: 50%;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-position: center;
}

#filters {
  position: fixed;
  border-color: white;
  width: fit-content;
  padding-left: 16px;
  padding-right: 16px;
  padding: 8px;
  padding-bottom: 24px;
  height: fit-content;
  box-shadow: 0px 0px 5px rgba(204, 197, 185, 0.7);
  display: flex;
  gap: 10px;
  bottom: 0;
  left: 40px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: #403D39;
  
}

#filters button {
  width: fit-content;
  border-radius: 8px;
  padding: 8px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid #FEC601;
  color: #FEC601;
  cursor: pointer;
  transition: background-color 0.5s ease, color 0.5s ease ;
}
#filters button.selected {
  background-color: #FEC601;
  color: black;
}

#filters button:nth-child(1) { border-color: #FEC601; color: #FEC601; }
#filters button:nth-child(2) { border-color: #D62828; color: #D62828; }
#filters button:nth-child(3) { border-color: #F77F00; color: #F77F00; }
#filters button:nth-child(4) { border-color: #73BFB8; color: #73BFB8; }
#filters button:nth-child(5) { border-color: #2364AA; color: #2364AA; }
#filters button:nth-child(6) { border-color: #CCC5B9; color: #CCC5B9; }

#filters button.selected:nth-child(1) {
  background-color: #FEC601;
  color: black;
}

#filters button.selected:nth-child(2) {
  background-color: #D62828;
  color: white;
}

#filters button.selected:nth-child(3) {
  background-color: #F77F00;
  color: black;
}

#filters button.selected:nth-child(4) {
  background-color: #73BFB8;
  color: black;
}

#filters button.selected:nth-child(5) {
  background-color: #2364AA;
  color: white;
}

#filters button.selected:nth-child(6) {
  background-color: #CCC5B9;
  color: black;
}
