body {
    background-color: rgb(0, 0, 0);
    background-image: url("img/fondo.png");
    background-size:100%;
    background-repeat:repeat-y;
}

body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url("img/fondo.png");
    background-repeat: repeat-y;
    background-repeat: repeat-x;
    transform: scaleY(-1);
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
}

h1 {
    color: white;
    background-color: rgb(202, 32, 32);
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 3px;
    text-shadow: 0 0 5px #FFFFFF;
}

.headerfont {
    font-family: Impact, Charcoal, sans-serif;
    font-size: 45px;
    letter-spacing: 0.6px;
    word-spacing: 3px;
    color: #ffffff;
    font-weight: normal;
    text-transform: uppercase;
    text-shadow: 0 0 5px #ffffff;
    animation: brillar 1s infinite alternate;
}

@keyframes brillar {
  from { text-shadow: 0 0 10px #ffffff; }
  to { text-shadow: 0 0 40px #9b9b9b; }
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

nav li {
    display: inline-block;
    margin: 15px 3px;     
}

nav a {
    text-decoration: none;
    color: #FFFFFF;
    background-color: rgb(202, 32, 32);
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    font-family: Impact, sans-serif;
    display: inline-block;
    letter-spacing: 1px;
    text-shadow: 0 0 2px #ffffff;
    animation: brillar 1s infinite alternate;
}

nav a:hover {
    color: rgb(202, 32, 32);
    background-color: rgb(255, 255, 255);
}

.logo1d {
    margin-left: px;
    margin-right: 128px;
    margin-bottom: 1%;
    width: 100%;
}

div {
    width: 800px;
    max-width: 95%;
    margin: 0 auto;
}

nav {
    border-bottom: 2px solid rgb(202, 32, 32);
}

article {
    background-color: white;
    padding: 5px;
    margin: 5px;
}

footer {
    background-color: rgb(202, 32, 32);
    padding: 1px;
    margin: 1px;
    text-align: center;
    font-family: Impact, Charcoal, sans-serif;
    letter-spacing: 1px;
    word-spacing: 1px;
    color: white;
    font-weight: normal;
}

.contenedordoc {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.img-glow-zoom {
  transition: all 0.5s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 200px;
  border-radius: 10px;
}

.img-glow-zoom:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px #911111);
}

.adaptable {
    width: 100%;
    height: auto;
}

.upallnight {
    color: green;
    font-family: "Courier Prime", monospace;
    font-weight: 400;
    font-style: normal;
    margin-left: 20px;
    margin-right: 40px;
}

.takemehome {
    color: red;
    font-family: "Courier Prime", monospace;
    font-weight: 400;
    font-style: normal;
    margin-left: 20px;
    margin-right: 40px;
}

.midnightmemories {
    color: brown;
    font-family: "Courier Prime", monospace;
    font-weight: 400;
    font-style: normal;
    margin-left: 20px;
    margin-right: 40px;
}

.four {
    color: grey;
    font-family: "Red Hat Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    margin-left: 20px;
    margin-right: 40px;
}

.madeintheam {
    color: chocolate;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 1000;
    font-style: normal;
    margin-left: 20px;
    margin-right: 40px;
}

.cinepolis {
    width: 100%;
    height: 100%;
}

.titulos{
    font-family: Impact, Charcoal, sans-serif;
    font-size: 19px;
    color: #000000;
    font-weight: 400;
    text-decoration: none;
    font-style: normal;
    font-variant: normal;
    text-transform: uppercase;
    margin-left: 20px;
}

.titulos2{
    font-family: Impact, Charcoal, sans-serif;
    font-size: 15px;
    color: #ffffff;
    font-weight: 400;
    text-decoration: none;
    font-style: normal;
    font-variant: normal;
    text-transform: uppercase;
}

.texto{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    text-decoration: none;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1.5;
    margin-left: 20px;
    margin-right: 40px;
}

.harry{
    width: 90%;
    height: auto;
    -webkit-box-shadow: -15px 2px 32px 4px rgba(0,0,0,0.47); 
    box-shadow: -10px 2px 32px 4px rgba(0,0,0,0.47);
    border: 3px outset #A41212;
}

.harry:hover{
    width: 90%;
    height: auto;
    -webkit-box-shadow: -15px 2px 32px 4px rgba(0,0,0,0.47); 
    box-shadow: -10px 2px 32px 4px rgba(0,0,0,0.47);
    border: 3px outset #A41212;
    content: url("img/1harry-dibujos.png");
}

.niall{
    width: 90%;
    height: auto;
    -webkit-box-shadow: -15px 2px 32px 4px rgba(0,0,0,0.47); 
    box-shadow: -10px 2px 32px 4px rgba(0,0,0,0.47);
    border: 3px outset #A41212;
}

.niall:hover{
    width: 90%;
    height: auto;
    -webkit-box-shadow: -15px 2px 32px 4px rgba(0,0,0,0.47); 
    box-shadow: -10px 2px 32px 4px rgba(0,0,0,0.47);
    border: 3px outset #A41212;
    content: url("img/1niall-dibujo.png");
}

.liam{
    width: 90%;
    height: auto;
    -webkit-box-shadow: -15px 2px 32px 4px rgba(0,0,0,0.47); 
    box-shadow: -10px 2px 32px 4px rgba(0,0,0,0.47);
    border: 3px outset #A41212;
}

.liam:hover{
    width: 90%;
    height: auto;
    -webkit-box-shadow: -15px 2px 32px 4px rgba(0,0,0,0.47); 
    box-shadow: -10px 2px 32px 4px rgba(0,0,0,0.47);
    border: 3px outset #A41212;
    content: url("img/1liam-dibujo.png");
}

.louis{
    width: 90%;
    height: auto;
    -webkit-box-shadow: -15px 2px 32px 4px rgba(0,0,0,0.47); 
    box-shadow: -10px 2px 32px 4px rgba(0,0,0,0.47);
    border: 3px outset #A41212;
}

.louis:hover{
    width: 90%;
    height: auto;
    -webkit-box-shadow: -15px 2px 32px 4px rgba(0,0,0,0.47); 
    box-shadow: -10px 2px 32px 4px rgba(0,0,0,0.47);
    border: 3px outset #A41212;
    content: url("img/1louis-dibujo.png");
}

.zayn{
    width: 90%;
    height: auto;
    -webkit-box-shadow: -15px 2px 32px 4px rgba(0,0,0,0.47); 
    box-shadow: -10px 2px 32px 4px rgba(0,0,0,0.47);
    border: 3px outset #A41212;
}

.zayn:hover{
    width: 90%;
    height: auto;
    -webkit-box-shadow: -15px 2px 32px 4px rgba(0,0,0,0.47); 
    box-shadow: -10px 2px 32px 4px rgba(0,0,0,0.47);
    border: 3px outset #A41212;
    content: url("img/1zayn-dibujo.png");
}

.cuadro {
    width: 40%;               
    margin: 20px auto;           
    border-collapse: collapse;   
    background-color: #f0f0f0;  
    font-size: 14px;            
    text-align: left; 
    border: 3px outset #A41212;
    font-family: Arial, sans-serif;
}

.cuadro th {
  font-weight: bold;           
  font-size: 16px;
  padding: 5px 8px;
  text-align: left;
  border-bottom: 2px solid #ccc;
}

.cuadro td {
  padding: 4px 8px;
  border-bottom: 1px solid #ddd;
}

.cuadro a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease, transform 0.3s ease;
}

.cuadro a:hover {
  color: #ca1800;       
  transform: scale(1.05);
}

.cuadro tbody tr:hover {
  background-color: #e0e0e0;
}

article li{
    display: inline-block;
}

html {
    scroll-behavior: smooth;
}

.redes {
  display: flex;
  justify-content: center;
  gap: 9px;                
}

.redes a {
  display: inline-block;    
}

.redes img {
  width: 40px;               
  height: 40px;              
  object-fit: cover;         
  border-radius: 10px;       
  display: block;
}

.redes img:hover {
  transform: scale(1.2);              
  box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
  cursor: pointer;                     
}

.cinta-gifs {
  width: 100%;
  overflow: hidden;
  background-color: transparent;
  padding: 10px 0;
}

.fila-gifs {
  display: flex; 
  align-items: center;
  animation: mover 10s linear infinite;
}

.gif {
  height: 60px;
  width: auto;
  margin-right: 15px;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

@keyframes mover {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gif:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  cursor: pointer;
}

.flechaliam{
    width: 15px;
    margin-left: 20px;
    margin-right: 40px;
}

.spotifyvisual {
    display:"flex"; 
    margin-left: 4%;
}

.cambio-automatico {
  width: 100%;
  max-width: 750px;
  aspect-ratio: 14/9;
  position: relative;
  overflow: hidden;
  margin-top: 15px;
}

.cambio-automatico img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: rotar 16s infinite;
}

.cambio-automatico img:nth-child(1) { animation-delay: 0s; }
.cambio-automatico img:nth-child(2) { animation-delay: 3.2s; }
.cambio-automatico img:nth-child(3) { animation-delay: 6.4s; }
.cambio-automatico img:nth-child(4) { animation-delay: 9.6s; }
.cambio-automatico img:nth-child(5) { animation-delay: 12.8s; }

@keyframes rotar {
  0% { opacity: 0; }
  10% { opacity: 1; }
  30% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}

.discos-columnas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fila-discos {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
}

.album {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  border-top: 2px solid rgb(170, 29, 29);
}

.made-in-the-am {
  width: 100%;
  border-top: 2px solid rgb(170, 29, 29);
}

* {
  box-sizing: border-box;
  max-width: 100%;
}






@media (max-width: 600px) {
    .contenedordoc {
        flex-direction: column;
        gap: 8px;
    }
    nav ul {
        text-align: center;
        padding: 0;
        margin: 0;
    }
    nav li {
        display: inline-block;
        margin: 3px 2px;
    }
    nav a {
        font-size: 10px;
        padding: 4px 6px;
    }
    .cuadro {
        font-size: 11px;
        width: 95%;
    }
    .img-glow-zoom {
        width: 100px;
    }
    .cambio-automatico {
        max-width: 90%;
        aspect-ratio: 14/9;
    }
    .gif {
        height: 35px;
        margin-right: 8px;
    }
    h1 {
        font-size: 25px;
        padding: 6px 0;
    }
    .headerfont {
        font-size: 25px;
        letter-spacing: 0.4px;
        word-spacing: 1.5px;
    }
    .texto, .upallnight, .takemehome, .midnightmemories, .four, .madeintheam {
        font-size: 13px;
        margin-left: 5px;
        margin-right: 5px;
    }
    .redes img {
        width: 30px;
        height: 30px;
    }
    .titulos2 {
        font-size: 7px;
        margin-left: 7px;
        margin-right: 7px;
    }
    .fila-discos {
    flex-direction: column;
  }
  .album {
    width: 100%;
  }
}

html, body {
  overflow-x: hidden;
}