/*
Software Developer: Roberto Bartolo
Graphic Designer: Daissy Perez
*/

:root {
    --primary-color: #1D4E89;
    --light-color: #47b2e4;
    --ligth-cards-borders: #c5daf2;
    --white-color: #ffffff;
    --dark-color: #212121;
  
    --fs11: 11px;
    --fs14: 14px;
    --fs22: 22px;
    --fw600: 600;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
  }
  
  header {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 100px;
    transition: 0.5s ease;
  }
  
  header .brand img {
    width: 150px;
  }
  
  header .navigation {
    position: relative;
  }
  
  header .navigation .navigation-items a {
    position: relative;
    color: white;
    font-size: 1em;
    text-decoration: none;
    margin-left: 30px;
    transition: 0.3s ease;
  }
  
  header .navigation .navigation-items a:before {
    content: '';
    position: absolute;
    background: white;
    width: 0;
    height: 3px;
    bottom: 0;
    top: 25px;
    left: 0;
    transition: 0.3s ease;
  }
  
  header .navigation .navigation-items a:hover:before {
    width: 100%;
  }
  
  header.abajo{
    background-color: var(--primary-color);
  }

/* PIE DE PAGINA */
footer {
    position: relative; 
    background-color: rgba(29, 78, 137, 0.6);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/multimedia/imagenes/DJI_0129.JPG');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.left img {
    width: 150px;
}

.left, .middle, .right {
    flex-basis: 30%;
    text-align: center;

}

.social-media a{
    font-size: var(--fs22);
    cursor: pointer;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    margin: 5px;
}

.social-media a:hover{
    background-color: var(--white-color);
    color: var(--dark-color);
    transition: .3s, var(--transition-transform);
}

.contacto {
    font-size: var(--fs14);
    border: var(--primary-color) 2px solid;
    cursor: pointer;
    background-color: var(--primary-color);
    padding: 5px;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.contacto:hover {
    background-color: var(--white-color);
    border: var(--primary-color) 2px solid;
    color: var(--dark-color);
    transition: .3s, var(--transition-transform);
}

.left h3, .middle h3, .right h3 {
    margin-bottom: 10px;
}

ul {
    list-style: none;
    padding: 0;
}

.image-container {
    display: flex;
    border-radius: 5px;
    padding: 5px;
}

.image-container img {
    width: 80px;
    height: auto;
    margin: 0 auto;
}

.image-container img.UGC{
    width: 50px;
}

.countries, .social-media {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.countries li {
    margin-right: 10px;
    text-align: center;
    color: white;
    font-weight: var(--fw600);
    font-size: var(--fs11);
}

.countries li img {
    display: block;
    width: 50px;
    height: auto;
    margin-top: 5px;
}

/* Posicionamiento del copyright */
.right .copyright {
    margin: 0;
    color: white;
    font-size: var(--fs11);
    font-weight: var(--fw600);
}

@media (max-width: 768px) { 
    footer {
        padding: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .left, .middle, .right {
        flex-basis: 100%;
    }

      .image-container img {
        width: 80px;
        height: auto;
        margin: 10px auto;
    }

}
  
  @media (max-width: 1055px) {
  
    header {
        padding: 12px 20px;
        height: 90px;
    }
  
    header .brand img {
      width: 100px;
    }
  
    header .navigation {
        display: none;
    }
  
    header .navigation.active {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center; 
    }
  
    header .navigation .navigation-items a {
    color: var(--white-color);
    font-size: 1.2em;
    text-shadow: 0 0 8px var(--dark-color);
    margin: 20px;
    }
  
    header .navigation .navigation-items a::before {
        background: var(--white-color);
        height: 5px;
    }
  
    header .navigation.active .navigation-items {
    background-color: var(--primary-color);
    width: 600px;
    max-width: 600px;
    margin: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgb(1, 1, 1 / 20%);
    }
  
    .menu-btn {
        background: url(/multimedia/imagenes/menu_hambar.svg) no-repeat;
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: 0.1s ease;
    }
  
    .menu-btn.active {
        z-index: 999;
        background: url(/multimedia/imagenes/close_hambar.svg) no-repeat;
        background-size: 25px;
        background-position: center;
        transition: 0.1s ease;
    }
  
  }