.body {

    background: url(../Fotos/hkbackg2.png);
    background-size: cover;
    background-attachment: fixed;
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons'),
       local('MaterialIcons-Regular'),
       url(../materialdesignicons/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
       url(../materialdesignicons/iconfont/MaterialIcons-Regular.woff) format('woff'),
       url(../materialdesignicons/iconfont/MaterialIcons-Regular.ttf) format('truetype');
       
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  vertical-align: middle;
 /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings: 'liga';
}

header {
    background: #002e5d;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

section#content {
   
    margin: 20px;
  
}
.logo {

    font-size: 1.2em;
    color: white;
    padding: 10px ;
    text-align: center;
    margin: 0 auto;
    text-shadow: none;
}
.hclogo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}
footer {
    background: #002e5d;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: fixed;
    bottom: 0;
    z-index: 2;
    color: white;
    padding: 10px ;
    text-align: center;
    margin: 0 auto;
    text-shadow: none;
}
#hkfoot {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #002e5d;
    display: flex;
    color:white;
    justify-content: space-evenly;
    flex-direction: row;
}
#hcinfo {
    background: rgba(0, 46, 93, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin: 20px auto;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    color: white;
    text-decoration: none;
    text-shadow: none;
    text-align: center;
    font-size: 1.2em;
}
#hcinfo ul {
    list-style-type: none;
    padding: 0;
}
#trailerdiv {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: 100%;
    max-width: 1200px; /* Ancho máximo para pantallas grandes */
    padding: 0 10px; /* Padding lateral para móviles */
}

/* Contenedor responsivo para video */
.video-responsive {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Proporción 16:9 (9/16 = 0.5625) */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene proporción y rellena el contenedor */
}

#donno {
    background: rgba(0, 46, 93, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin: 20px auto 60px auto;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    color: white;
    text-decoration: none;
    text-shadow: none;
    text-align: center;
    font-size: 1.2em;
    cursor:pointer;
}

/* Media queries para diferentes tamaños de pantalla */
@media (max-width: 768px) {
    #trailerdiv {
        margin: 15px auto;
        padding: 0 5px;
    }
    
    .video-responsive {
        padding-bottom: 56.25%; /* Mantiene 16:9 en móviles */
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    #trailerdiv {
        margin: 10px auto;
        padding: 0 2px;
    }
    
    .video-responsive {
        padding-bottom: 75%; /* Proporción más cuadrada en pantallas muy pequeñas */
    }
}