@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html {
    scrollbar-gutter: stable;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f1f1f1;
}

.main-content {
    min-height: 100vh;
    background-image: url("../../assets/img/banners/soles-dolares.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 20px;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: 45% 55%;
}

.c-contenido {
    text-align: center;
}

.c-titulo {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.c-titulo h1 {
    font-size: 40px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 8px 6px rgba(0, 0, 0, 0.3);
}

.c-titulo h2 {
    font-size: 40px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 8px 6px rgba(0, 0, 0, 0.3);
}

.c-p-imgs {
    width: 100%;
    height: auto;
    align-items: anchor-center;
    display: grid;
    grid-template-columns: 40% 60%;
    margin-top: 2rem;
}

.img-qr-paypal {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: anchor-center;
}

.img-qr-paypal img {
    width: 70%;
}

.carts-soles-dolares {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-soles {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(45deg, #ffd700, #fff1b3, #f0c300);
    padding: 1rem;
    border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.cart-soles img {
    width: 50%;
}

.cart-dolares {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(45deg, #ffd700, #fff1b3, #f0c300);
    padding: 1rem;
    border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.cart-dolares img {
    width: 50%;
}

.info-container {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.show-info {
    display: block;
    opacity: 1;
    padding: 7px;
    color: black;
    font-weight: bold;
}

button {
    margin: 30px auto;
    padding: 20px;
    cursor: pointer;
    background: linear-gradient(45deg, #ffd700, #fff1b3, #f0c300);
    background-size: 400% 400%;
    animation: gradientAnimation 5s ease infinite;
    color: black;
    border: none;
    width: 30%;
    font-size: 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

button:hover {
    background: linear-gradient(45deg, #ffd700, #fff1b3, #e3b200);
    background-size: 400% 400%;
    animation: gradientAnimation 5s ease infinite;
    box-shadow: 0 0 25px rgba(255, 215, 0, 1), 0 0 15px rgba(0, 0, 0, 0.9);
}

button:active {
    box-shadow: 0 0 30px rgba(255, 215, 0, 1), 0 0 20px rgba(255, 255, 255, 0.9);
}

@media screen and (max-width: 768px) {


    .main-content {
        background-image: url('../img/banners/donaciones-responsive.jpg');
    
        background-position: center;
    
        grid-template-columns: 1fr;
    
        padding: 10px;
    }


    .c-vacio {
        height: 650px;
    
    }


    .img-qr-paypal img:first-child {
        width: 50%;
    
        margin-bottom: 1rem;
    
    }


    .img-qr-paypal img:nth-child(2) {
        width: 70%;
    
        margin-bottom: 1rem;
    
    }

    .c-titulo h1 {
        font-size: 28px;
    
    }

    .c-titulo h2 {
        font-size: 24px;
    
    }


    .carts-soles-dolares {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }


    .cart-soles,
    .cart-dolares {
        width: 90%;
        height: auto;
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .cart-soles img,
    .cart-dolares img {
        width: 60%;
    
    }


    button {
        padding: 15px;
        font-size: 20px;
        width: 60%;
    
    }


    .info-container {
        padding: 10px;
    }


    .show-info {
        font-size: 14px;
        padding: 15px;
    }


    .cart-soles,
    .cart-dolares {
        gap: 1rem;
    
    }

    .c-p-imgs {
        display: flex;
        flex-direction: column;
    }
}