* {
  font-family: verdana;
}
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;  
    background: none;     
}

.navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #3c3c3c;
}

.navbar p {
  text-align:center;
    }
    
.navbar li {
  float: left;
}

.navbar li a {
  display: flex;            
  align-items: center;      
  gap: 8px;                 
  color: white;
  text-decoration: none;
  padding: 14px 16px;
}

.navbar li a:hover {
  background-color: #1F2226;
}

.active {
  background-color: #D9184B;
}

.cta-retro {
    background-color: #F1F1F1;
    margin: 40px auto;
    padding: 90px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-retro-texto h1 {
    color: #333333;
    font-size: 40px;
    margin-bottom: 15px;
}

.cta-retro-texto p {
    color: #6e6e6e;
    font-size: 18px;
    max-width: 480px;     
    line-height: 1.5;
    margin-bottom: 25px;
}

.cta-retro-boton {
    background-color: #D9184B;
    padding: 12px 22px;
    color: white;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-retro-boton:hover {
    background-color: #1F2226;
    transform: scale(1.08);
}

.cta-retro-imagen img {
    width: 250px;       
     margin-right: 100px;
    filter: drop-shadow(0 0 4px #3C3C3C);
}

.cta-retro-imagen img:hover {
    transform: scale(1.1) rotate(-3deg);
    filter: drop-shadow(0px 0px 10px #D9184B);
}


.retro-consolas {
    width: 70%;
    margin: 40px auto;
    padding: 40px;
}

.retro-titulo {
    text-align: center;
    color: #333333;
    font-size: 28px;
    margin-bottom: 35px;
}

.retro-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px 0;
}

.retro-item:last-child {
    border-bottom: none;
}

.retro-img {
    width: 185px;
    filter: drop-shadow(0 0 4px #3C3C3C);
}

.retro-info h3 {
    color: #D9184B;
    font-size: 20px;
    margin: 0;
}

.retro-info p {
    color: #716C6C;
    margin: 5px 0 10px 0;
    font-size: 14px;
}

.retro-galeria {
    display: flex;
    gap: 12px;
}

.retro-galeria img {
    width: 125px;
    height: 85px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.retro-galeria img:hover {
    transform: scale(1.12);
}

.iconosretro {
    background-color: #3C3C3C;
    border-radius: 15px;
    padding: 60px 40px;   
    width: 70%;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;          
}

.iconosretro-texto h2 {
    color: white;
    font-size: 26px;         
    margin-bottom: 8px;
}

.iconosretro-texto p {
    color: #dcdcdc;
    font-size: 15px;           
    line-height: 1.3;
    max-width: 350px;
}

.btn-retro {
    background-color: #D9184B;
    padding: 8px 16px;
    color: white;
    border-radius: 6px;
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-retro:hover {
    background-color: #1F2226; 
    transform: scale(1.07);  
}


.iconosretro-iconos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;                
}

.icono-item {
    text-align: center;
    color: white;
    font-size: 14px;          
}

.icono-item img {
    height: 130px;              
    transition: transform 0.3s ease;
}

.icono-item img:hover {
    transform: scale(1.2);    
}

.boton-contacto {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #E2E2E2;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.boton-contacto img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.boton-contacto:hover {
    transform: scale(1.2);
    background-color: #a0a0a0;
}



footer {
  background-color: #3C3C3C;
  padding: 25px 0;
  width: 100%;
  margin: 0; 
}

.footer-apartado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 50px;
}

.footer-izquierdo {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-izquierdo p {
  margin: 0;
  color: white;
  font-size: 15px;
}

.footer-derecho {
  display: flex;
  gap: 15px;
}

.footer-derecho a {
  background-color: #D9184B;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease, background-color 0.5s ease;
}

.footer-derecho a:hover {
  background-color: #1F2226;
  transform: scale(1.5);
}

.footer-derecho img {
  width: 60%;  
  height: 60%;
  object-fit: contain; 
  display: block;
}


@media (max-width: 768px) {

  
    .header {
    flex-direction: column;
    gap: 15px;
  }

  .navbar {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .navbar li {
    float: none;
    width: 100%;
  }

  .navbar li a {
    justify-content: center;   
    padding: 12px;
  }
  
    .cta-retro {
        flex-direction: column;
        height: auto;
        padding: 30px 15px;
        gap: 30px;
        text-align: center;
    }

    .cta-retro-texto h1 {
        font-size: 30px;
    }

    .cta-retro-texto p {
        font-size: 16px;
    }

    .cta-retro-imagen img {
        width: 180px;
        margin: 0;
    }


    .retro-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    .retro-img {
        width: 150px;
        display: block;
        margin: 0 auto;
    }

    .retro-galeria img {
        width: 95px;
        height: 70px;
    }

    
    .iconosretro {
        flex-direction: column;
        width: 95%;
        padding: 40px 20px;
        text-align: center;
    }

    .iconosretro-iconos {
        flex-direction: column;
    }

    .icono-item img {
        height: 165px;
        width: auto;
    }

    .boton-contacto img {
    width: 24px;
    height: 24px;
  }

  .footer-apartado {
    flex-direction: column;
    gap: 15px;
  }

  .footer-derecho {
    justify-content: center;
  }
}
