
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Rajdhani:wght@300;400;500;600;700&family=Rochester&display=swap');

*{
margin: 0;
padding: 0;
}

body{
    background-color: #eae5e5;
    font-family: Arial, Helvetica, sans-serif;
    
}


nav{
 background-color: #2b2d2e;
 
}
.banner{
    width: 1fr;
    height: 450px;
    background-image: url(/img/bannerEntrePrimas.gif);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000000;
}

.menu ul{
    list-style-type: none;
    display: flex;
    justify-content: center;
}

.enlace{
    text-align: center;
    list-style-type: none;
    display: flex;
    justify-content: center;
     
}

.enlace li a{
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block; 
    text-align: center;
    background-color: #2b2d2e;
    border-radius: 10px;
}

.contenidonos{
    display: flex;
    
}

.tarjetas{
    margin-bottom: 30px;
    width: 70%;
    margin: auto;
}

.contenido-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px ; 
    margin: auto;
    margin-bottom: 60px;
}

.tarjeta-item img{
    width: 100%;
    border-radius: 15px;
}

.tarjeta-item{
    background-color: #b68c8c;
    border-radius: 15px;
    color: #e4dfdf;
    box-shadow: 0px 5px 15px #8d8f90;
}

.tarjetas p{
    width: 80%;
    text-align: justify;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.contenidonos p{
    width: 80%;
    text-align: justify;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}
.titcontenido{
    text-align: center;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: #741111;
    color: #eae4e4;
    padding: 15px;
}


.primas{
    width: 80%;
    text-align: center;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eef5f8;
}


p{
    width: 100%;
    text-align: justify;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.menu ul li a{
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block; 
    text-align: center;
}

nav.menu ul li a:hover{
    background-color: #6b8488;
}

.barrasup{
    width: 1fr;
    background-color: #2b2d2e;
    height: 115px;
    margin: auto;
    background-image: url(/img/logos.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    
}


.bloquenos{
    width: 70%;
    text-align: center;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 50px;
    /* border-bottom: 2px solid #5b5f61; */
   
}

.bloquenos h2{
    border-bottom: 2px solid #5b5f61;
}

footer{
    width: 1fr;
    background-color: #2b2d2e;
    margin-top: 5px;
    height: 85px;
    color: #e9dbdb;
}

footer p{
    width: 80%;
    margin: auto;
    padding: 25px;
    text-align: center;
}

h2 {
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.titulop{
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.redes{
    margin: auto;
    
}
.imgredes{
    width: 50px;
}

.redes ul li{
    padding: 15px 20px;
    display: block; 
    text-align: center;
}

.redes ul{
    list-style-type: none;
    display: flex;
    justify-content: center;
}


@media (min-width: 901px){

    .contenidonos img{
        padding: 0px;
        width: 300px;
        margin-right: 50px;
      }
    
      .contenidonos p{
        width: 85%;
        text-align: justify;
        margin: auto;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .bloquenos{
        margin-bottom: 2rem;
            width: 90%;
            margin: auto;
        
    }
    .tarjetas{
        margin-bottom: 2rem;
        width: 90%;
        margin: auto;
    }
    .contenido-grid{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 10px ;
        margin-bottom: 60px;
    }     
    
    .galeriaprimas{
        margin-bottom: 2rem;
        width: 90%;
        margin: auto;
    }

    .galeria-grid{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 20px;
    }

    .galeria-item img{
        width: 100%;
        border-radius: 15px;
        /* box-shadow: 0px 5px 10px #b7babc; */
    }
 
}

@media (min-width:551px) and (max-width:900px){

      
    .contenidonos img{
        margin-right: 0px;
        width: 85%;
        margin: auto;
       
    }
   
    .contenidonos p{
        width: 80%;
        text-align: justify;
        margin: auto;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .contenidonos{
        flex-direction: column;
        margin: auto;
    }

    .contenido-grid{
        grid-template-columns:100%; 
        margin: auto;
        margin-bottom: 60px;
        }

     .tarjetas{
        margin-bottom: 2rem;
        width: 70%;
        margin: auto;
     }
    
    .galeriaprimas{
        margin-bottom: 2rem;
     }
    .galeria-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px ;
    }    
    
    .galeria-item img{
        width: 100%;
        border-radius: 15px;
        /* box-shadow: 0px 5px 10px #b7babc; */
    }
 
    

}


@media (max-width: 550px){
   
    .banner{
        width: 100%;
        height: 460px;
        background-image: url(/img/portadaprimaschico.gif);
        background-size:cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #000000;
    }
    nav.menu ul{
        flex-direction: column;
    }
    nav.menu ul li{
        margin: 0;
        border-bottom: 1px solid #bad2de;
    }

    nav.menu ul li a{
        text-align: center;
    }
    .contenidonos{
    flex-direction: column;
    }
    
    .contenido-grid{
    grid-template-columns: 1fr; 
    margin-bottom: 60px;
    }

    .tarjetas{
        margin-bottom: 2rem;
        width: 90%;
        margin: auto;
    }
    
   .galeriaprimas{
        margin-bottom: 2rem;
     }
    .galeria-grid{
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px ;
    }    
    
    .galeria-item img{
        width: 100%;
        border-radius: 15px;
        /* box-shadow: 0px 5px 10px #b7babc; */
    }
 
    .contenidonos p{
        width: 90%;
        text-align: justify;
        margin: auto;
        margin-top: 30px;
        margin-bottom: 30px;
    }

}