body{
    padding: 0;
    margin: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    
    /* align-items: center; */
    width: 100%;
    /* grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); */
}
.contenedor_principal{
    display: flex;
    flex-direction: column;
    width: 100%;
    /*background: white;*/
     background: url("https://images.pexels.com/photos/34492076/pexels-photo-34492076.jpeg") center/cover;
    /* background: url("https://images.pexels.com/photos/34492076/pexels-photo-34492076.jpeg") center/cover; */
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); */
    /* justify-content: center; */
    /* align-items: center; */
}
.redes_sociales{
    display: flex;
    /* justify-content: space-evenly; */
    justify-content: space-around;
    /* justify-content: space-evenly; */
    align-items: center;
    /* background-color: rgba(0,0,0,0); */
    /* background-color: #000; */
    background-color: oklch(0.1515 0.0271 101.12);
    padding: 5px;
    /* backdrop-filter: blur(10px); */
    color: oklch(0.48 0.20 280);
    /* border-radius: 10px; */
    height: 2.5rem;
    /* max-width: 100vh; */
}
.cabecera{
    /* background-color: #efefef; */
    /* background-color: #00008B; */
    /*background-color: oklch(0.48 0.20 280);*/
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 0px 8px .5px black;
    /* border-radius: 0px 0px 0px 100px; */
    position: sticky;
    top: 0;
    margin-top: 1px;
    z-index: 1000;
    /* background-color: oklch(0.3467 0.1209 263.12); */
    /* background-color: oklch(0.3828 0.111 16.41); */ /*Color para una salsamentaria*/
    display: flex;
    /* grid-template-columns: 1fr 1fr; */
    padding-top: 15px;
    padding-bottom: 15px;
    align-items: center;
    height: 1.4cm;
    justify-content: space-evenly;
    /* gap: 20px; */

    /* justify-content: space-between; */

    /* padding: .3rem .2rem; */
    width: 100%;

    /* animation: entrarDesdeArriba .8s ease; */
    
    /* opacity: .3; */
    /* border-radius: 10px 33px; */
    /* box-shadow: 0px 0px 1px 0px black; */
    
}

i{
    color: aqua;
    /* font-size: 1.4rem; */
    /* opacity: 1; */
    font-size: 1rem;

    /* opacity: 0; */
    /* animation-name: aparicion; */
    /* animation-duration: 2.3s; */
    /* animation-delay: o.5s; */
    /* animation-fill-mode: forwards; */
}
/* .logo{ */
    /* padding: 1rem; */
/* } */
.enlaces_nav{
    padding: 1.2rem;
    /* width: 300px; */
    /* opacity: 0; */
    /* animation-name: aparicion; */
    /* animation-duration: 3s; */
    /* animation-delay: o.2s; */
    /* animation-fill-mode: forwards; */
    
}
.enlaces_nav a{
    font-size: 1.2rem;
    opacity: 0;
    animation-name: aparicion;
    animation-duration: 2.5s;
    animation-delay: o.2s;
    animation-fill-mode: forwards;
    /* color: 0000FF; */
}
.enlaces_nav a:hover{
    background-color: oklch(0.48 0.20 280);
    padding: 5px;
}
.main_pagina{
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-around; */
    justify-content: center;

    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    /* grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); */
    /* justify-content: center; */
    /* justify-content: space-evenly; */
    /* justify-content: space-between; */
    margin-top: 2rem;
    align-items: center;
    /* border: 2px solid red; */
    /* width: 100%; */
    /* width: 500px; */
    height: 100%;
}
main h1{
    top: 10rem;
    position: absolute;
    z-index: 100;
    left: auto;
    right: auto;
    background-color: oklch(0.48 0.20 280);
    color: white;
    font-size: 1rem;
    border-radius: 10px;
    padding: .5rem;

    opacity: 0;
    animation-name: aparicion;
    animation-duration: 2.5s;
    animation-delay: o.2s;
    animation-fill-mode: forwards;
}
.contenedor_general_de_productos{
    display: grid;
    background-color: rgba(255, 255, 255, 0.2);
    grid-template-columns: 1fr 1fr;
    /* overflow: hidden; */
    justify-content: center;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    /* border-radius: 10px; */
    border-radius: 100px 0px 0px 0px;
    width: 100%;
    height: 70%;
    /* box-sizing: border-box; */
    box-shadow: 0px 0px 3px .1px black;
    padding: 1rem;
    container-type: inline-size;
    container-name: contenedor_productos;
    /* opacity: 0; */
    animation-name: entrarDesdeIzq;
    animation-duration: 2s;
    animation-delay: o.2s;
    animation-fill-mode: forwards;
    /* position: relative; */
}
.card_producto{
    
    container-type: inline-size;
    padding: .5rem;
    margin-top: -5rem;
    margin-left: auto;
    margin-right: auto;
    
    background-color: oklch(0.48 0.20 280);
    border-radius: 10px;
    display: grid;
    justify-content: center;
    align-items: center;
    /* grid-template-rows: repeat(2fr, 1fr 1fr 1fr); */
    margin-top: -5rem;
    /* grid-template-columns: 1fr; */
    /* border: 1px solid red; */
    /* width: 100%; */
    /* height: 65%; */
    max-height: 100%;
    min-height: 80%;
    /* min-height: 65%; */
    width: 80%;
    /* height: 60; */
    box-shadow: 0px 0px 8px 1px black;
    gap: 2rem;
    /* overflow: hidden; */
}
.conten_h3_p{
    /* margin-top: 10rem; */
    margin-top: -3.5rem;
    width: 100%;
    height: 200%;
    border-radius: 10px;
    /* background-color: #0000FF; */
}
.card_producto a{
    color: #0000FF;
}
.card_producto a:visited{
    color: #800080;
}
img{
    /* width: 150px; */
    width: 100%;
    height: 50%;
    border-radius: 10px;
    box-sizing: border-box;
    object-fit: cover;
    /* object-fit: cover; */
    /* display: flex; */
}
.secion_form{
    /* background-color: blueviolet; */
    /* background-color: oklch(0.48 0.20 280); */
    background-color: rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(10px) greyscale(50%);
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    margin-top: 10rem;
    height: 35%;
    width: 35%;
    border-radius: 10px;
    box-shadow: 0px 0px 1.5px .1px black;
    width: 350px;
    /* margin-top: -15rem; */
    /* margin-bottom: 8rem; */
    margin-top: 1rem;
    /* margin-top: auto; */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
}
.secion_form h2{ 
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    border-radius: 15px;
    background-color: white;
    padding: 1rem;
}
.formulario_principal{
    display: grid;
    /* grid-template-columns: repeat(3fr, 1fr); */
    justify-content: center;
    /* background-color: #800080; */
    background-color: oklch(0.48 0.20 280);
    padding: 3rem;
    /* width: 400px; */
    gap: 1rem;
    height: 400px;
    /* justify-content: max-content; */
    align-items: center;
    border-radius: 10px;
}

a{
    color: aqua;
    padding: .5px;
    font-size: .5cm;
    text-decoration: none;
}
form .campo{
    display: flex;
    height: 2rem;
    width: 8cm;
    /* border: none; */
    border: .1px solid blueviolet;
    outline: none;
}
.asunto{
    width: 8cm;
    height: 7rem;
}
.enviar{
    background-color: aquamarine;
    display: flex;
    height: 2rem;
    width: 1.7cm;
    align-items: center;
}
footer{
    /* background-color: #0A0A0A; */
    /* background-color: oklch(0.1515 0.0271 101.12); */
    /* background-color: oklch(0 0.0077 346.76); */
    /* background-color: 255, 255, 255, 0.2; */
    /* backdrop-filter: blur(10px); */
    /* color: #000; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #000;
    /* background-color: rgba(255, 255, 255, .2); */
    /* background-color: white; */
    box-shadow: 0px 0px 8px .1px black;
    padding: 20px;
    height: 100vh;
    margin-top: 22rem;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    border-radius: 100px 0px 0px 0px;
    /* grid-auto-rows: 1rem; */
    /* grid-template-columns: 1fr 1fr 1fr 1fr; */
    /* gap: 1rem; */
    /* grid-auto-flow: dense; */
}
footer h6{
    /* color: white; */
    color: black;
    /* mix-blend-mode: plus-lighter; */
    backdrop-filter: blur(10px) greyscale(50%);
    /* background-color: #800080; */
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 0px 2px .5px oklch(0.48 0.20 280);
    
    width: 150px;
    height: 150px;
    border-radius: 10px;
    font-size: 1rem;
    text-align: center;
    padding: 10px;
}
/*Secion del modal*/
.modal{
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 2000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(77, 77,  77, .7);
    /* background: black; */
    /* background: white; */
    transition: all .4s;
}
.modal-content{
    padding: 2px;
    position: relative;
    width: 300px;
    height: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0 0 0 / .15);
    display: grid;
    grid-template-columns: 1fr;
}
/*
.modal-content h2{
    margin-top: 2px;
}
.modal-content p{
    margin: 10px 0px;
}
    */
/*
.modal-img iframe{
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}
    */
.modal-img{
    margin-top: 10rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: black;
    border-radius: 10px;
    }
.modal-img img{
    margin-top: 20rem;
    width: 40%;
    height: 40%;
    object-fit: contain;
    border-radius: 10px;
}
.modal-img h2{
    background-color: white;
    color: black;
    padding: 10px;
    width: 300px;
}
.modal-img .p_modal{
    background-color: white;
    color: black;
    font-size: 2rem;
}
.close-btn{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: rgba(0 0 0 / .1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.close-btn a{
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
}
.close-btn a:hover{
    color: orange;
}

.modal:target{
    visibility: visible;
    opacity: 1;
}
@media(min-width: 300px) and (max-width: 800px){
    .secion_form{
        width: 220px;
        /* background-color: red; */
        background-color: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        justify-content: center;
        align-items: center;
    }
    .formulario_principal{
        width: 250px;
        margin-top: auto;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: auto;
    }
}
@media(min-width: 270px) and (max-width: 368px){
    .card_producto{
        min-height: 250px;
    }
}

@media(min-width: 370px) and (max-width: 2500px){
    .card_producto{
        min-height: 300px;
    }
}

@media(min-width: 500px) and (max-width: 1019px){ /*para dispositivos de tipo tables*/
    .contenedor_general_de_productos{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media(min-width: 1020px){ /*Para conputadores*/
    .contenedor_general_de_productos{
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        
    }
}
@media(min-width: 700px){
    footer{
        grid-template-columns: 1fr 1fr 1fr  1fr;
    }
}


@keyframes entrarDesdeIzq{
    from{
        transform: translateX(-200%);
    }
    to{
        transform: translateX(0);
    }

}
@keyframes entrarDesdeArriba {
    from{
        transform: translateY(-200%);
    }
    to {
        transform: translateY(0);
    }
}
 

@keyframes aparicion{
    0%{
        opacity: 0;
        transform: scale(2)  translateY(75px);
    }
    5%{
        transform: scale(3)  translateX(3px);
    }
    100%{
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
h3 div a{
    color: black;
}
.success-message {
      display: none;
      background-color: #d4edda;
      color: #155724;
      padding: 15px;
      margin: 20px 0;
      border: 1px solid #c3e6cb;
      border-radius: 5px;
      text-align: center;
      font-weight: bold;
    }