:root {
    --dark-red: #b12028;
    --red: #f5333f;
    --gray: #2d2a26;

}

body {
    margin: 0;
    background-color: #04001f;
    font-family: 'Didact Gothic', sans-serif;
}

.main-container {
    display: flex;
    justify-content: center;
    color: white;
    min-height: 100vh;
}

.product-detail {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.image-detail img {
    width: 360px;
    object-fit: cover;
    border-radius: 16px;
}

.info-container {
    display: flex;
    justify-content: center;
    gap: 36px;
    place-items: center;
}

.info-detail {
    font-size: larger ;
}

.description-detail {
    display: flex;
    gap: 24px;
    place-items: center;
    text-align: justify;
}

.description-detail p {
    width: 360px;
    font-size: 16pt;
}

.description-detail a {
    display: flex;
    justify-content: end;
    text-decoration: none;
}

.btn-whatsapp {
    width: 150px;
    height: 70px;
    border-radius: 8px;
    border: none;
    background-color: var(--red);
    font-size: 20pt;
    font-family: 'Bebas Neue', sans-serif;
    color: white;
    cursor: pointer;
}

.footer-container {
    display: grid;
    grid-template-columns: auto;
    position:relative;
    bottom: 0;
    margin: 0;
    width: 100%;
    height: fit-content;
    padding: 10px 0;
    background-color: var(--gray);
    color: white;
}

.foot-left {
    display: flex;
    flex-direction: column;
    grid-column: 1;
    margin-left: 10px;
    display: flex;
    gap: 0.3rem;
}
.foot-left p {
    margin: 0;
}

.foot-center {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    place-items: center;
    justify-content: center;
}

.foot-center p {
    margin: 0;
}

.foot-right {
    grid-column: 3;
    display: flex;
    justify-content: end;
    place-items: center;
    gap: 10px;
    margin-right: 10px;
}

.foot-right img {
    width: 40px;
    height: 40px;
}

@media (max-width: 640px) {
    .info-container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .image-detail img {
        width: 100%;
        border-radius: 0 0 12px 12px;
    }

    .footer-container {
        position: relative;
    }

    .info-detail {
        display: grid;
        grid-template-columns: repeat(2, 200px);
        place-items: initial;
    }

    .info-detail p {
        margin: 0;
        margin-bottom: 24px;
    }

    .product-detail {
        place-items: center;
    }

    .description-detail {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        place-items: center;
        justify-content: center;
        gap: 24px;
    }
}