html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1; /* Empuja el footer hacia abajo */
}

footer {
    width: 100%;
    margin-top: auto; /* Hace que el footer se mantenga al final */
    background-color: #1a171b;
    border-radius: 0 50px 0 0;
}

.footer-container {
    width: 1200px;
    margin: 0 auto;
}

footer h1 {
    color: #fff7aa;
    font-weight: 700;
    font-size: 2rem;
}

footer p, .footer-info-contact ul {
    color: #fff;
}

.maps-location h1 {
    font-size: clamp(1.8em,2vh,2em);
    text-align: center;
    padding: 1rem;
}

.maps-location {
    text-align: center;
    width: 1200px;
    overflow: hidden;
    margin: 0 auto;
}

.maps-location iframe {
    width: 100%;
    border-radius: 25px;
}

.footer-info-iestp {
    display: flex;
    width: 1200px;
    margin: 0 auto;
}

.footer-info-about {
    width: 50%;
    padding: 2rem;
    text-align: justify;
    line-height: 1.6rem;
}

.footer-info-about > h1 {
    text-align: center;
}

.footer-info-title {
    height: 60px;
}

.footer-info {
    padding: 0;
    margin: 0;
}

.footer-info-contact {
    width: 50%;
    padding: 2rem;
    text-align: center;
    line-height: 1.6rem;
}

.footer-info-contact ul {
    list-style-type: none;
}

.footer-info-contact ul li {
    margin-top: 1rem;
}

.footer-info-contact ul li :first-child {
    margin: 0;
}

.footer-info-iestp h1 {
    margin-bottom: 8px;
}

.footer-info-iestp p, .footer-info-iestp ul {
    font-weight: 600;
}

.footer-line {
    width: 100%;
    height: 5px;
    background-color: #fff7aa;
    border-radius: 10px;
}

.footer-copy {
    text-align: center;
    padding: 1rem;
}

.footer-copy p {
    font-weight: 600;
}

.footer-social-net {
    padding-top: 1rem;
}

.footer-social-net a {
    color: #fff;
    font-size: 2rem;
    margin-left: 12px;
}

#facebook :hover {
    color: #1773ea;
    transform: scale(1.1) translateY(-5px);
    transition: all 300ms;
}

#twitter :hover {
    color: #1c96e8;
    transform: scale(1.1) translateY(-5px);
    transition: all 300ms;
}

#youtube :hover{
    color: #f70000;
    transform: scale(1.1) translateY(-5px);
    transition: all 300ms; 
}

#img-bar:hover{
    border-radius: 50%;
    background-color: orange;
}

@media(min-width:1500px){
    .footer-container{
        width: 1400px;
    }
}

@media(max-width:1500px){
    footer {
        width: 100%;
    }

    .maps-location iframe {
        width: 100%;
    }

    .footer-info-iestp {
        width: 100%;
    }
}

@media(max-width:1200px){
    footer {
        width: 100%;
    }

    .footer-container {
        width: 100%;
    }

    .maps-location {
        padding: 0 2rem;
        width: 100%;
    }

    .maps-location iframe {
        width: 100%;
    }

    .footer-info-iestp {
        width: 100%;
    }

    .footer-copy {
        width: 100%;
    }
}

@media(max-width:960px){
    .footer-info-iestp {
        flex-direction: column;
    }

    .footer-info-about {
        width: 100%;
    }

    .footer-info-about p {
        text-align: justify;
    }

    .footer-info-contact {
        width: 100%;
        padding-top: 0;
    }

    .footer-copy {
        padding: 2rem;
    }

    .footer-copy p{
        margin-bottom: 15px;
        line-height: 1.6rem;
    }

    .footer-social-net {
        padding: 0;
    }
}