/*
Convencion recomendada para agregar estilos

1. Poner estilos de posicionamiento
2. Poner estidos de Box Model
3. Poner relacionado a Tipografia
4. Poner estilos de efectos visuales
   (show, border-radius... enbellecedores)
5. Otros

*/


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

:root {
  --oxford-blue: #0e2033;
  --prussian-blue: #092E57;
  --bitter-lemon: #cfe200;
  --mint-green: #73d6a9;
  --blue: #19c9d6;
  --green: #26d393;
  --red: #ec5353;
  --red2: #F9564D;
  --light-blue: #0496FF;  
  --like-white: #f8faff;
  --isabelline: #F7F0F0;
  --gost-white: #FAFAFF;
  --shadow: #45565e;
  --gradient-blue-top: linear-gradient(to top, var(--oxford-blue), var(--prussian-blue));
  --gradient-blue-bottom: linear-gradient(to bottom, var(--oxford-blue), var(--prussian-blue));
  --gradient-green-yellow-top: linear-gradient(to top, #e5e741 40%, #9cae50);  /* #dcde7c */
  --gradient-green-yellow-bottom: linear-gradient(to bottom, #e5e741 40%, #9cae50);  /* #dcde7c */
}

html {
  font-size: 62.5%;
  font-family: 'Poppins', sans-serif;
  background-color: var(--isabelline);
  scroll-behavior: smooth;
}

header {
  display: flex;
  position: relative;
  flex-direction: column;
  /* justify-content: center; */  
  width: 100%;
  height: 350px;
  margin: 0 auto 0 auto;
  text-align: center;
  color: white;
  background: var(--gradient-blue-top);
  border-radius: 0 0 20px 20px;
  box-shadow: 0px 5px 7px var(--shadow);
  z-index: 1;
}
.header__background {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0 0 20px 20px;
  z-index: -1;
  overflow: hidden;
  background-image: url('../assets/imgs/header-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  filter: blur(2px);
}

.logo{
  display: flex;
  align-self: center;
  width: 60%;
  min-width: 180px;
  max-width: 220px;
  margin-top: 25px;
}

.logo img {
  width: 100%;
}

header h1 {
  margin: 15px auto 3px auto;
  font-size: 2.4rem;
  font-weight: 700;
}

header p {
  margin: 0 15px 0 15px;
  font-size: 1.6rem;  
  font-weight: 300;
}

.header-button {
  position: absolute;
  left: calc(50% - 90px);
  bottom: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 40px;  
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--oxford-blue);
  text-decoration: none;
  /* background-color: var(--bitter-lemon); */
  background: var(--gradient-green-yellow-top);
  box-shadow: 0px 0px 7px 1px var(--shadow);
}

.header-button span {
  width: 13px;
  height: 8px;
  margin-left: 10px;
  background-image: url('../assets/icons/down-arrow.svg');
}

.img-container {
  width: 100%;
  height: 500px;
  background-image: url('../assets/imgs/background-ef-320.jpg');
  filter: blur(6px);
}

.player {
  position: fixed;
  display: flex;
  justify-content: space-around;
  align-items: center;
  bottom: 0;  
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  height: 40px;
  max-width: 500px;
  border-radius: 20px 20px 0 0;
  background: var(--gradient-blue-bottom);  
  box-shadow: 0px 0px 9px 4px var(--shadow);
  z-index: 100;
}

.player__error {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 100px;
  width: 320px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.2rem;
  z-index: 1;
}

.player__error div {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--oxford-blue);
  border-radius: 10px;
  box-shadow: 0px 0px 4px 1px var(--shadow);
  opacity: 0.9;
  z-index: -1;
}

.player__error p {
  margin: 5px;
}

.player__error p:first-of-type {
  color: var(--red2);
  font-size: 1.4rem;
  font-weight: 500;
}

.player__error p:last-of-type {
  color: var(--gost-white);
  font-weight: 300;
}

.player__btn-play {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -23px;
  left: calc(50% - 25px);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--gradient-green-yellow-bottom); 
  box-shadow: 0px 0px 5px var(--like-white);
  border: none;
  text-decoration: none;
  outline: none;
  cursor: pointer;
}

.player__btn-play span {
  width: 100%;
  height: 100%;
  margin-left: 3px;
  background-image: url('../assets/icons/play-white.png');  
  background-position: center;
  background-size: 50% 50%;
  background-repeat: no-repeat;
}

.player__btn-play span:active {
  background-size: 40% 40%;
}

.player__btn {
  width: 30px;
  height: 30px;
  border: none;
  background-color: transparent;
  text-decoration: none;
  outline: none;
  cursor: pointer;
}

.player__btn__icon {
  display: inline-block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: 80% 80%;
  background-repeat: no-repeat;
}

.player__btn__icon:active{
  background-size: 60% 60%;
}

.stop {
  background-image: url('../assets/icons/stop-icon.png');  
}

.vol {
  position: relative;
  background-image: url('../assets/icons/vol-icon.png');
}

.player__vol {  
  position: absolute;
  display: none;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 110px;
  top: -100px;
  left: 85%;
  border-radius: 6px;
}

.player__vol__slider {
  width: 10px;
  height: 100px;
  border-radius: 3px;
  background-color: var(--red2);
  box-shadow: 0px 0px 4px 1px var(--shadow);
  /* background: var(--gradient-blue-top); */
}

.player__vol__fixed{
  width: 100%;
  height: 0%;
  border-radius: 3px;
  background-color: var(--isabelline);
}

.player__vol__handler {
  position: absolute;
  width: 28px;
  height: 18px;
  left: calc(50% - 14px);
  top: 0; 
  border-radius: 5px;
  /* border: 2px solid var(--prussian-blue); */
  box-shadow: 0px 0px 2px 0px var(--shadow);
  background: var(--shadow);
}

.player audio {
  display: none;
}

.schedule-grid {
  /* display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  align-content: center; */
  height: auto;
  margin: 60px 15px 20px 15px;
  text-align: center;
}

.schedule-grid__text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 2.8rem;
  color: var(--oxford-blue);
}

.schedule-grid__text p {
  margin-top: 30px;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--shadow);  
}

.schedule-grid__table {
  position: relative;
  /* display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; */
  margin: 20px auto 0px auto;
  min-width: 290px;
  max-width: 380px;
}

.schedule-grid__day {
  margin: 0px auto 20px auto;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.5rem;
  color: var(--oxford-blue);
}

.schedule-grid__arrows {
  position: relative;
}

.schedule-grid__arrows a {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: auto;
  font-size: 2rem;
  text-align: center;
  vertical-align: center;
  color: var(--prussian-blue);
  cursor: pointer;
  z-index: 10;
}

.arrow--left {
  left: 20px;
}

.arrow--right {
  right: 20px;
}

.schedule-grid__arrows a:hover{
  color: var(--isabelline);
  background-color: var(--red2);
}

.schedule-grid__arrows a:active {
  color: var(--isabelline);
  background-color: var(--red2);
}

.schedule-grid__carousel {
  width: 100%;
}

.schedule-grid__carousel__item {
  /* display: none; */
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 0.8s;
}

.schedule-grid__table table {
  width: 95%;
  margin: 10px auto 20px auto;
  text-align: center;
  border-collapse: collapse;
  box-shadow: 0px 0px 10px var(--shadow);
  border-radius: 20px;
}

.schedule-grid__table th {
  height: 35px;
  font-size: 1.6rem;
  background-color: var(--red2);
  color: var(--oxford-blue);
}

.schedule-grid__table th:first-of-type{
  border-radius: 20px 0 0 0;
}

.schedule-grid__table th:last-of-type{
  border-radius: 0 20px 0 0;
}

.schedule-grid__table td {
  height: 40px;
  font-size: 1.4rem;
  line-height: 2rem;
  color: var(--oxford-blue);
  border-top: 1px solid var(--oxford-blue);
  background-color: white;
}

.schedule-grid__table tr:last-of-type td:first-of-type{
  border-radius: 0 0 0px 20px;
}

.schedule-grid__table tr:last-of-type td:last-of-type{
  border-radius: 0 0 20px 0px;
}

.schedule-grid__hour {
  width: 30%;
  color: var(--oxford-blue);
}

.schedule-grid__program {
  width: 70%;
}

.schedule-grid__program p {
  font-size: 1.2rem;
  font-weight: 300;
}

.contact {
  height: auto;
  padding-top: 20px;
  text-align: center;
}

.contact h2 {
  margin: 10px 0;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 2.8rem;
  color: var(--oxford-blue);
}

.contact h3{
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--shadow);
}

.contact h4 {
  margin: 25px 20px 5px 20px;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--shadow);
}

.contact__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact__options {
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5px;  
}

.contact__options a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px;
  width: 260px;
  min-height: 35px;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  border-radius: 20px;
  box-shadow: 0px 1px 2px var(--shadow);
}

.contact__options a>span {
  display: block;
  margin-right: 10px;
  width: 25px;
  height: 25px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact__options a p span {
  display: block;
  font-size: 1.2rem;
}

.options--fb {
  /* background-color: #4c6391; */
  background-color: #1877F2;
}

.options--ig {
  /* background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); */
  /* background: linear-gradient(45deg, #c13584, #e1306c, #fd1d1d); */
  background-color:  #ff0169c4;
}

.options--wpp {
  /* background-color: #00e677; */
  background-color: #1ebea5;
  height: 50px;
}

.options--other {
  background-color: #f87979;
}

.fb-icon {
  background-image: url('../assets/icons/fb-icon.png');
}

.ig-icon {
  background-image: url('../assets/icons/ig-icon.png');
}

.wpp-icon {
  background-image: url('../assets/icons/wpp-icon.png');
}

.phone-icon {
  background-image: url('../assets/icons/phone-icon.png');
}

.email-icon {
  background-image: url('../assets/icons/email-icon.png');
}

.location-icon {
  background-image: url('../assets/icons/location-icon.png');
}

footer{
  width: 100%;
  height: auto;
  margin-top: 20px;
  padding-bottom: 65px;
  text-align: center;
  font-size: 1rem;
  color: var(--shadow);
}

footer a {
  text-decoration: none;
  color: var(--prussian-blue);
  text-decoration-line: var(--prussian-blue);
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes disappear {
  from {
    display: block;
    opacity: 1;
  }
  to {
    opacity: 0;
    display: none;
  }
}

@-webkit-keyframes disappear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}