/*
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;
    --fs22: 22px;
    --fs14: 14px;
    --fw600: 600;

    --transition-color: color .3s;
    --transition-background: background-color .3s;
    --transition-border: border .3s;
    --transition-transform: transform .3s;

    --shadow: 0px 10px 20px 0px rgb(0 0 0 / 20%);
    --fade: fade-bottom .3s cubic-bezier(0.39, 0.575, .0565, 1) both;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    /* 100vh */
    font-family: Arial;
}

.content {
    flex: 1;
}

/* 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-color: var(--ligth-cards-borders);
    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;
}

.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 {
    position: inherit;
    bottom: 0;
    right: 0;
    top: 30px;
    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: 40px auto;
    }
      .right .copyright {
        top: 0;
    }
}