@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

:root {
  /* PALETA DE COLORES */
  --fondo: #305588;
  --barrafondo: #333333;
  --barraiconos: #ffffff;
  --botonborde: #fff;
  --botonfondo: #ff7836;
  --sombra: #ff7836;
  --playerfondo: #424242;

  /* IMAGENES PUBLICITARIAS */
  --fondoImagen: url('./imagenes/index_1.jpg');
}

body {
  background-color: var(--fondo);
}

header {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 8px;
  background-color: var(--fondo);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

h1 {
  font-weight: 900;
  font-size: 18px;
  color: var(--barraiconos);
}

h2 {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 8px;
  color: var(--sombra);
}

h3 {
  font-weight: 400;
  font-size: 10px;
  color: var(--barraiconos);
}

h4 {
  font-weight: 600;
  font-size: 12px;
  color: var(--barraiconos);
}

p{
  font-weight: 300;
  font-size: 10px;
  color: var(--barraiconos);
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

a{
  color: var(--barraiconos);
}

.titulares {
  background-color: var(--barrafondo);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  min-width: 350px;
  border-radius: 20px;
  box-shadow: 3px 4px 0 var(--sombra);
  padding: 14px;
}

.marca{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 26px;
}

.redes{
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  justify-content: end;
  margin: 4px;
}

.logo {
  display: flex;
  justify-content: left;
  margin-bottom: 3px;
}

.nombre {
  display: flex;
  flex-direction: column;
  justify-content: left;
}

.navigation {
  width: 350px;
  height: 70px;
  background: var(--barrafondo);
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
  border-radius: 20px;
  box-shadow: 3px 5px 0 var(--sombra);
}

.navigation ul {
  display: flex;
  min-width: 350px;
}

.navigation ul li {
  position: relative;
  list-style: none;
  width: 70px;
  z-index: 1;
}

.navigation ul li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  font-weight: 500;
}

.navigation ul li a .icon {
  position: relative;
  display: block;
  line-height: 75px;
  font-size: 1.5em;
  text-align: center;
  transition: 0.5s;
  color: var(--barraiconos);
  opacity: 0.75;
}

.navigation ul li.active a .icon {
  transform: translateY(-8px);
  opacity: 1;
  color: var(--botonborde);
}

.indicator {
  position: absolute;
  top: -10px;
  width: 70px;
  height: 70px;
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
  border: 6px solid var(--fondo);
  background: var(--fondo);
  cursor: pointer;
  transition: 0.5s;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px 0px;
}

.indicator::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -26px;
  width: 20px;
  height: 20px;
  border-top-right-radius: 20px;
  box-shadow: 4px -6px 0 2px var(--fondo);
}

.indicator::after {
  content: "";
  position: absolute;
  top: 4px;
  right: -26px;
  width: 20px;
  height: 20px;
  border-top-left-radius: 20px;
  box-shadow: -4px -6px 0 2px var(--fondo);
  z-index: -1;
}

.navigation ul li:nth-child(2).active~.indicator {
  transform: translateX(calc(70px * 1));
}

.navigation ul li:nth-child(3).active~.indicator {
  transform: translateX(calc(70px * 2));
}

.navigation ul li:nth-child(4).active~.indicator {
  transform: translateX(calc(70px * 3));
}

.navigation ul li:nth-child(5).active~.indicator {
  transform: translateX(calc(70px * 4));
}

.indicator span {
  position: absolute;
  bottom: 3px;
  left: -1px;
  width: 60px;
  height: 60px;
  border: 4px solid var(--botonborde);
  background: var(--botonfondo);
  border-radius: 50%;
  transform-origin: bottom;
  transform: scale(0.85);
}

.carrusel {
  width: 350px;
  min-height: 184px;
  margin-top: 24px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: 22px;
  flex-wrap: nowrap;
  overflow: scroll;
}

.carrusel::-webkit-scrollbar {
  display: none;
}

.publicacion {
  background-color: var(--barrafondo);
  min-width: 180px;
  height: 180px;
  border-radius: 20px;
  box-shadow: 3px 4px 0 var(--sombra);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}

.publicacion a {
  font-weight: 600;
  font-size: 10px;
  color: var(--barraiconos);
  text-decoration: none;
}

.banner, .clima {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 350px;
  margin-top: 24px;
}

.radiostream {
  width: 350px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.programacion {
  width: 350px;
  height: 280px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  padding: 24px;
  background-color: var(--barrafondo);
  box-shadow: 3px 4px 0 var(--sombra);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 10px;
}

.intro {
  width: 350px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  padding: 24px;
  background-color: var(--barrafondo);
  box-shadow: 3px 4px 0 var(--sombra);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 10px;
}

#imgicono {
  width: 50px;
  margin-right: 10px;
}

#prono {
  border-radius: 20px;
  box-shadow: 3px 4px 0 var(--sombra);
}

/* CLASS DE REPRODUCTOR */
.force-size-height,
.force-size {
  min-height: initial !important;
  max-height: initial !important;
}

.force-size-width,
.force-size {
  min-width: initial !important;
  max-width: initial !important;
}

#reproductor {
  width: 350px;
  max-width: 350px;
  min-width: 350px;

  height: 85px;

  margin-left: auto;
  margin-right: auto;

  border-radius: 0 0 20px 20px;
  background-color: var(--playerfondo);
  box-shadow: 3px 4px 0 var(--sombra);

  display: flex;
  justify-content: space-around;
  align-items: center;

  transition-property: all;
  transition-duration: 0.5s;
}

#imagenes {
  width: 350px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px 20px 0 0;
  background: var(--barrafondo) var(--fondoImagen) center center / cover;
  box-shadow: 3px 4px 0 var(--sombra);
}

/* IDs MENUS */

#inicioMenu {
  display: flex;
}
#playMenu {
  display: flex;
}
#pronosticoMenu {
  display: none;
}
#programacionMenu {
  display: none;
}
#noticiasMenu {
  display: none;
}