* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text-color: rgb(255, 255, 255);
  --text-color-spotify: rgb(255, 255, 255);
  --text-color-links: rgb(0, 0, 0);
  --icon-color-links: rgb(0, 0, 0);
  --text-color-sub: rgba(255, 255, 255, 0.3);
  --bg-url: url(./assets/bg-mobile-dark.jpg);
  --stroke-color: rgba(255, 255, 255, 0.15);
  --surface-color: rgb(255, 255, 255);
  --surface-color-hover: rgba(255, 255, 255, 0.05);
  --highlight-color: rgba(255, 255, 255, 0.067);
  --switch-bg-url: url(./assets/moon-stars.svg);
  --surface-color-switch: rgba(143, 143, 143, 0.482);
}

.light {
  --text-color: black;
  --text-color-spotify: rgb(255, 255, 255);
  --text-color-links: rgb(255, 255, 255);
  --icon-color-links: rgb(255, 255, 255);
  --text-color-sub: rgba(0, 0, 0, 0.5);
  --bg-url: url(./assets/bg-mobile-light.jpg);
  --stroke-color: rgba(0, 0, 0, 0.075);
  --surface-color: rgb(0, 0, 0);
  --surface-color-hover: rgba(0, 0, 0, 0.2);
  --highlight-color: rgba(0, 0, 0, 0.1);
  --switch-bg-url: url(./assets/sun.svg);
  --surface-color-switch: rgba(143, 143, 143, 0.482);
}

body {
  user-select: none;

  background: var(--bg-url) no-repeat top center/cover;
}

body * {
  /* font-family: 'Inter', sans-serif; */
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
}
#container {
  width: 100%;
  max-width: 588px;
  margin: 56px auto 56px;
  padding: 0 24px;
}

/*BOTÃO ===================*/

#botao {
  z-index: 1;
  position: fixed;
  top: 0;
  right: 0;
  padding: 34px 24px;
}

#switch {
  position: relative;
  width: 64px;
}

#switch button {
  width: 32px;
  height: 32px;
  background: white var(--switch-bg-url) no-repeat center;
  border: 0;
  border-radius: 50%;

  /* FORMA DE ALINHAR POSICIONAMENTO ABSOLUTO*/
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  transform: translateY(-50%);

  animation: slider-back 0.2s;
}

.light #switch button {
  animation: slider-in 0.4s forwards;
}

#switch button:hover {
  outline: 8px solid var(--highlight-color);
}

#switch span {
  display: block;
  width: 64px;
  height: 24px;

  background: var(--surface-color-switch);
  border: 1px solid var(--stroke-color);
  border-radius: 9999px;
}

/* PERFIL ===================*/

#profile {
  text-align: center;
  padding: 24px 24px 0px 24px;
}

#profile img {
  width: 120px;
}

#profile p {
  font-weight: 500;
  line-height: 24px;
  margin-top: 8px;
  font-size: 18px;
}

#infos {
  display: flex;
  justify-content: center;
  align-items: center;
}

#infos p {
  font-size: 12px;
  text-align: center;
  color: var(--text-color-sub);
}

/* AGENDA ===================*/

.slider {
  width: 100%; /* Defina a largura do slider conforme desejado */
  margin: 50px auto 0px;
  overflow: hidden;
  position: relative;

  background: var(--highlight-color);
  border-radius: 8px;
}

.evento {
  width: 100%;
  padding: 18px;
}

.data {
  font-family: 'Inter', sans-serif;

  font-weight: bold;
  display: block;
  text-align: center;
  font-size: 18px;
}

.cidade,
.igreja {
  display: block;
  text-align: center;
  font-weight: 400;
}

.igreja {
  font-size: 12px;
  text-align: center;
  color: var(--text-color-sub);
}

.btn {
  cursor: pointer;
  background-color: #7b7b7b52;
  color: #fff;
  padding: 28px 6%;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

.btn ion-icon {
  color: var(--text-color);
}

.btn-prev {
  left: 0;
  box-shadow: 5px 5px 15px 5px #00000042;
}

.btn-next {
  right: 0;
  box-shadow: -5px 5px 15px 5px #00000042;
}

/* PLAYER YOUTUBE ============ */
.playerYoutube {
  display: flex;
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.playerYoutube iframe {
  width: 100%;
  height: 0;
  aspect-ratio: 16 / 9; /* Proporção padrão de vídeos do YouTube */
  margin: 0;
  padding: 0;
}

/*LINKS ===================*/

ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;

  padding: 24px 0;
}

ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--surface-color);
  border: 1px solid var(--stroke-color);
  border-radius: 8px;
  gap: 12px;

  text-decoration: none;
  font-weight: 500;

  transition: background 0.5s;
}

ul li a:hover {
  box-shadow: 0px 0px 10px 1px rgba(124, 124, 124, 0.487);
}

.btn_lancamentoYoutube {
  color: var(--text-color-spotify);
  background: rgb(170, 1, 1);
}

.fa-youtube {
  font-size: 18px;
  color: var(--text-color-spotify);
}

.btn_spotify {
  color: var(--text-color-spotify);
  background: rgb(1, 170, 60);
}

.fa-spotify {
  font-size: 18px;
  color: var(--text-color-spotify);
}

.fa-deezer,
.fa-apple,
.fa-calendar-days {
  font-size: 18px;
  color: var(--icon-color-links);
}

.btn_deezer,
.btn_applemusic,
.btn_convite {
  color: var(--text-color-links);
}

/* SOCIAL LINKS ==================================== */

#social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 24px;
}
#social-links a {
  display: flex;
  align-items: center;
  justify-items: center;
  padding: 16px;

  border-radius: 50%;

  transition: background 0.5s;
}

#social-links a:hover {
  background: var(--highlight-color);
}

footer {
  padding: 24px 0;
  text-align: center;
  font-size: 10px;
}

/* MEDIA QUERIES ==================*/
@media (min-width: 400px) {
  :root {
    --bg-url: url(./assets/bg-mobile-dark.jpg);
  }

  .light {
    --bg-url: url(./assets/bg-mobile-light.jpg);
  }
}

@media (min-width: 620px) {
  :root {
    --bg-url: url(./assets/bg-tablet-dark.jpg);
  }

  .light {
    --bg-url: url(./assets/bg-tablet-light.jpg);
  }
}

@media (min-width: 1180px) {
  :root {
    --bg-url: url(./assets/bg-desktop-dark.jpg);
  }

  .light {
    --bg-url: url(./assets/bg-desktop-light.jpg);
  }
}

/* ANIMAÇÕES =================== */
@keyframes slider-in {
  from {
    left: 0;
  }
  to {
    left: 50%;
  }
}

@keyframes slider-back {
  from {
    left: 50%;
  }
  to {
    left: 0;
  }
}
