@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    font-family: 'Poppins',sans-serif;
    scroll-behavior: smooth;
}

body{
    background-color: #000;
    margin: 0;
    line-height: 1.4375rem;
}

header{
    position: fixed;
    width: 100%;
    border-bottom: 1px solid #00000026;
    top: 0%;
    z-index: 1;
    background-color: #ffffff31;
    backdrop-filter: blur(1.25rem);
    color: #fbfbfb;
    text-align: center;
    padding: 0.9375rem 0;
}

header .logo{
    font-size: 2.0625rem;
    font-weight: bold;
    cursor: pointer;
}

.container{
    width: 62.5rem;
    max-width: 100%;
    margin: 3.75rem auto;
}

.container .banner{
    width: 100%;
    height: 15.625rem;
    position: relative;
}

.container .banner .title{
    position: absolute;
    top: 0;
    background-color: #1976d2;    
    background-image: linear-gradient(to top right, #000, #1976d2);
    width: 100%;
    height: 7.8125rem;
    border-radius: 2.5rem;
    text-align: center;
    padding-top: 3.125rem;
    font-weight: bold;
    color: #fbfbfb;
    font-size: 2.1875rem;
}

span{
    color: #ffd100;
}

.container .banner .detail{
    position: absolute;
    top:40%;
    background-color: #ffffff31;
    backdrop-filter: blur(1.25rem);
    width: calc(90%);
    left: 5%;
    border-radius: 2.5rem;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 6.25rem;
    padding: 0.3125rem 0;
    box-shadow: 0 3.125rem 3.125rem #0000004a;
}

.container .banner .detail .info h2{
    color:#ffd100;
    font-weight: bold;
    font-size: 1.5625rem;
}

.container .banner .detail .info ul{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
}

.container .banner .detail .info .Menu a {
    position: relative;
    width: 100%;
    height: 70%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: end;
    list-style: none;
    text-decoration: none;
    padding: 0.625rem; /* 10px */
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
    color: rgb(11, 11, 114);
    font-size: 1.5625rem; /* 25px */
    -webkit-text-stroke: 0.03rem yellow;
    text-shadow: 0rem 0.3rem 0.2rem black;
}

.container .banner .detail .info .Menu a:hover {
    color: #ffd100;
    font-size: 2rem;
}

.container-contact{
    width: 100%;
    max-width: 50rem;
    padding: 1.5625rem;
    margin: 3.75rem auto;
    border-radius: 1.25rem;
    box-shadow: 0.125rem 0.3125rem 2.5rem 0.5625rem gray;
}

.container-contact #contactForm{
    padding: 1.5625rem;
    line-height: 2.5rem;
}

label, #responseMessage{
    font-size: 1.25rem;
    color: aliceblue;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    color: aliceblue;
    text-shadow: 0.0625rem -0.0625rem 1.25rem aliceblue;
}


input{
    width: 90%;
    padding: 0.5rem;
    border: 0.0625rem solid #ddd;
    border-radius: 1.5625rem;
    font-size: 1rem;
}

#telefono{
    width: 90%;
    max-width: 21.5625rem;
    padding: 0.5rem;
    border: 0.0625rem solid #ddd;
    border-radius: 1.5625rem;
    font-size: 1rem;
}

textarea {
    width: 90%;
    height: 9.375rem;
    padding: 0.5rem;
    border: 0.0625rem solid #ddd;
    border-radius: 1.5625rem;
}

button {
    display: block;
    width: 100%;
    max-width: 12.5rem;
    padding: 0.75rem;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 1.25rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #555;
}   

footer{
    width: 62.5rem;
    max-width: 100%;
    margin: auto;
    height: 18.75rem;
    position: relative;
}

footer .title{
    background-color: #ffffff31;
    position: absolute;
    width: 90%;
    left: 5%;
    padding: 3.125rem 0 6.25rem;
    text-align: center;
    font-weight: bold;
    font-size: 2.5rem;
    border-radius: 2.5rem;
    z-index: 2;
    backdrop-filter: blur(1.25rem);
    color: #fbfbfb;
}

footer .Footer{
    background-color: #1976d2;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70%;
    border-radius: 2.5rem;
    z-index: 1;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: end;
    list-style: none;
    color: #000;
}

footer .Footer .foot{
    display: grid;
    grid-template-rows: 5rem 2rem;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

footer .Footer .redes-sociales{
    display: inline-flex;
}

footer .Footer .foot .redes-sociales .redes{
    margin: 2rem;
}

footer .Footer .foot .redes-sociales .redes a img{
    width: 2.5rem;
    height: 2.5rem;
    filter: drop-shadow(1px 3px 2px #000);
}

footer .Footer .foot .redes-sociales .redes a img:hover{
    width: 3.2rem;
    height: 3.2rem;
    transition: ease-in-out 0.5s;
    filter: drop-shadow(0 0 1px #fefefe)
            drop-shadow(0 0 1px #fefefe)
            drop-shadow(0 0 1px #fefefe)
            drop-shadow(0 0 1px #fefefe)
            drop-shadow(0 0 1px #fefefe);  
}

footer .Footer .copy{
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

footer .menubottom li a:hover{
    color: #ffd100;
}
/* Dispositivos de hasta 480px */
@media (max-width: 480px) {
    header {
        padding: 0.5rem 0; /* Reducir más el padding */
    }

    .container {
        width: 90%;
        margin: 2.5rem auto; /* Reducir margen superior */
    }

    .container .banner .title {
        font-size: 1.5rem; /* Ajustar tamaño del título */
        padding-top: 1.5rem;
        height: 7rem;
    }

    .container .banner .detail{
        top: 32.5%;
        height: 13rem;
    }

    .container .banner .detail .info .Menu{
        display: grid;
        margin-top: 0rem;
        margin-right: 1rem;
    }

    .container .banner .detail .info .Menu a{
        font-size: 2rem;
        line-height: 2rem;
    }

    .container-nosotros, footer {
        width: 90%;
        margin-top: 6rem;
    }
    header .logo, footer .title {
        font-size: 1.875rem; /* 30px */
    }

    .container-contact{
        width: 23rem;
        margin-top: 10rem;
    }
}

@media (max-width: 440px) {
    header .logo, footer .title {
        font-size: 1.75rem; /* 28px */
    }
    .container .banner .title {
        font-size: 2rem; /* 32px */
    }

    container .banner .detail .info .Menu a{
        font-size: 1.5rem;
    }
    .container-contact{
        width: 21.5rem;
    }
}

/* Dispositivos de hasta 440px */
@media (max-width: 440px) {
    header .logo {
        font-size: 1.625rem;
    }
    .container .banner .title {
        font-size: 1.625rem;
        padding-top: 2.25rem;
    }
    .container .banner .detail .info h2 {
        font-size: 1.125rem;
    }
    .container .banner .detail .info .Menu a {
        font-size: 1.125rem;
    }
    h2 {
        font-size: 1.875rem;
    }

    .container-contact{
        width: 19rem;
    }
}

/* Dispositivos de hasta 400px */
@media (max-width: 400px) {
    header .logo {
        font-size: 1.5rem;
    }
    .container .banner .title {
        font-size: 1.5rem;
        padding-top: 2rem;
    }
    .container .banner .detail .info h2 {
        font-size: 1rem;
    }
    .container .banner .detail .info .Menu a {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.75rem;
    }

    .container-contact{
        width: 17.5rem;
    }
}

/* Dispositivos de hasta 360px */
@media (max-width: 360px) {
    header .logo {
        font-size: 1.375rem;
    }
    .container .banner .title {
        font-size: 1.375rem;
        padding-top: 1.75rem;
    }
    .container .banner .detail .info h2 {
        font-size: 0.875rem;
    }
    
    h2 {
        font-size: 1.625rem;
    }

    .container-contact{
        width: 15rem;
    }
}

/* Dispositivos de hasta 320px */
@media (max-width: 320px) {
    header .logo {
        font-size: 1.25rem;
    }
    .container .banner .title {
        font-size: 1.25rem;
        padding-top: 1.5rem;
    }
    .container .banner .detail .info h2 {
        font-size: 0.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    .container-contact{
        width: 13.5rem;
    }
}

/* Dispositivos de hasta 280px */
@media (max-width: 280px) {
    header .logo {
        font-size: 1.125rem;
    }
    .container .banner .title {
        font-size: 1.125rem;
        padding-top: 1.25rem;
    }
    .container .banner .detail .info h2 {
        font-size: 0.625rem;
    }
    
    h2 {
        font-size: 1.375rem;
    }
    .container-contact{
        width: 12rem;
    }
}