/* Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');


/* Estilos generales */

* {

    font-size: 62.5;

}

a {
    text-decoration: none;
    color: black;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    width:100%;
   
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}
header h1{
    text-align:center;
}
h1 {
    font-size: 5rem;
    text-align:center;
    color:black;
}

h2 {
    font-size: 4rem;
    text-align:center;
    color:black;
}

h3 {
    font-size: 4rem;
}

ul {
    padding: 10px;
    margin: 10px;
    justify-content: space-between;
}

.flexcontainer {
    display: flex;
    flex-wrap: wrap;
    margin:0px;
    width:100%;
    font-weight: bolder;
    
}

.menu {
    flex-direction: column;
    list-style: none;
}

.menumain{
    
   
    justify-content: space-between;
    
}

footer  {
    width:80%;
    text-align: center;
    margin: 0 auto;
    margin-bottom:50px;
    margin-top:10px;
    background-color: rgb(248, 244, 244);
}

footer h3 {
    margin: 0 auto;
}
main{
    width:100%;
}

/* Clases */

.muebles {
    color: #037BC0;
}

.hero {

    background-image: url(img/principal.jpg);
    width: 100%;
    height: 25rem;
    background-size: cover;
    background-position-y: -1215px;
}

.ProductBG {
    color: white;
    background-color: #037BC1 !important;
    text-align:center
}
.navbar{
    width:80%;
    margin: 0 auto;
}
.navbar-dropdown{
    display: none;
    
}


/* Productos */

#productos {
    width:80%;
    margin:auto;
}

.row1 .ProductBG{
    border-radius: 15px 0px 0px 15px  ;
    padding:px
}
.row1 .ProductBG p{
    padding-left:30px;
    padding-right:30px;
}
.row2 .ProductBG p, .row3 .ProductBG p{
    padding-left:30px;
    padding-right:30px;
}


.row1 {
    display:grid;
    grid-template-columns: 60% 5% 35%;
    height: 350px;
    width:100%;
    
}

.row1 .column1 {
    
    grid-column: 1/3;
    grid-row: 1/2;
    height:100%;
    background-position-y:370px;
    border-radius: 15px 0px 0px 15px
    
}
.row1 .column2 {
    grid-column: 2/4 ;
    grid-row: 1/2;
    height: 100%;
    
    
}
.row1 .column2 h3{
    margin:0px;
    margin-top:20px;
}
.row2{
    display:grid;
    grid-template-columns: 48.5% 3% 48.5%;
    
    margin-top:20px;
    margin-bottom:20px;
    justify-content: space-between;
    height: 600px;
    width:100%;
    
}

.row2 .ProductBG, .row3 .ProductBG, .row2 .column1, .row3 .column1 {
    border-radius:15px 15px 0px 0px;
}

.producto2{
    display:grid;
    grid-template-rows: 50% 10% 40%;
    grid-template-columns: 100%;
    grid-column:1/2;
    height:600px;
    width:100%;
    
}
.producto2 .column1{
    grid-row:1/3;
    grid-column:1/1;
    width: 100%;
    height:100%;
    background-position-y:460px;
    background-size:cover;  
}
.producto2 .column2{
    grid-row:2/5;
    grid-column:1/1;
    width: 100%;
    height:100%;
    
}
.producto2 .column2 h3{
    margin:0px;
}

.producto3{
    display:grid;
    grid-template-rows: 50% 10% 40%;
    grid-template-columns: 100%;
    grid-column:3/4;
    grid-row:1/3;
    height:100%;
    width:100%;
    
}
.producto3 .column1{
    grid-column:1/1;
    grid-row:1/3;
    width: 100%;
    height:100%;
    background-size:cover;
    
   
   
}
.producto3 .column2{
    grid-column:1/1;
    width: 100%;
    height:100%;
    grid-row:2/5;
   
}
.producto3 .column2 h3{
    margin:0px;
}
.row3{
    display: grid;
    grid-template-columns: 31% 3% 31% 3% 31%;
    
    justify-content: space-between;
    height:600px;
    width:100%;
    margin-top:10px;
}

.producto4, .producto5, .producto6{
    
    width:100%;
}

.producto4 .column1, .producto5 .column1, .producto6 .column1{
    height:100%;
    position: relative;
    background-position-x: 15px;
    border:solid 1px #ccc;
        
    
}
.producto4 .column2, .producto5 .column2, .producto6 .column2{
    height:100%;
    
}
#productos h3{
    font-size:40px;
    margin-bottom:20px;
}
.row3 h3{
    margin:0px;
}

.row3 .column1{
    background-size: cover;
    grid-row:1/3;
}
.row3 .column2{
    grid-row:2/5;
    z-index: 2;
}
.producto4{
    grid-column: 1/2;
    display:grid;
    grid-template-columns: 100%;
    grid-template-rows: 50% 10% 40%;
}
.producto5{
    grid-column: 3/4;
    display:grid;
    grid-template-columns: 100%;
    grid-template-rows: 50% 10% 40%;
}
.producto6{
    grid-column: 5/6 ;
    display:grid;
    grid-template-columns: 100%;
    grid-template-rows: 50% 10% 40%;
}
.producto4 .column1, .producto4 .column2, .producto5 .column1, .producto5 .column2,.producto6 .column1, .producto6 .column2{
    grid-column:1/1;
    
}

.producto1, .producto2, .producto3, .producto4, .producto5, .producto6{
    box-shadow: 0px 2px 2px  rgb(31, 31, 31);
    border-radius: 15px 15px 0px 0px;
}

.producto1{
    border-radius: 15px 0px 0px 15px;
}

#productos button{
    background-color: #8CBC01;
    color:white;
    border:solid #5AB122 1px;   
    border-radius:20px;
    height:36px;
    width:35%;
    line-height:36px;
    box-shadow: 0px 5px 5px  #ccc;
    box-shadow: 0px 2px 5px  rgb(18, 110, 18) inset;
    font-weight: bold;
    transition: all 300ms;
}
#productos button:hover{
    cursor:pointer;
    background-color: #033f16;
    width:40%;
    height:40px;
      
}
#productos .row1 button:hover{
    font-size:larger; 
}
#productos .row2 button:hover{
    font-size:larger; 
}
#productos .row3 button:hover{
    width:50%;
    font-size:15px; 
}
/* Categorias */
.categorias .flexcontainer{
    margin: 0 auto;
    width:80%;
    height:500px;
    justify-content: space-between;
    height: 300px;
}
.categorias h2{
    text-align:center;
    
}

.categoria1, .categoria2, .categoria3{
    width:32.5%;
    text-align:center;
    font-weight: bold;
}

.categorias .column1{
    height:70%;
    background-size:cover;
    border-radius: 15px;
    box-shadow: 0px 2px 2px  rgb(31, 31, 31);
    margin-bottom:15px;
    
}

.categoria1 :hover, .categoria2 :hover, .categoria3 :hover{
    transition: all 0.2s;
    transform: scale(1.2);
}
/* Responsivo */

@media  screen and (max-width: 768px) {
    
    
    #productos{
        display:grid;
        grid-template-columns: 100%;
       row-gap: 5%;
    }

    #productos .row1{
        display: grid;
        grid-template-rows: 50% 10% 40%;
        grid-template-columns: 100% ;
        
    }
    #productos .row1 .column1{
        grid-column: 1/1;
        grid-row: 1/4;
        border-radius: 15px 15px 0px 0px ;
    }

    #productos .row1 .column2{
        border-radius: 15px 15px 0px 0px;
        grid-column: 1/1;
        grid-row: 3/6;
    }
    
    #productos .row2{
        height:800px;
        grid-column: 1/1;
        row-gap: 8%;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 50% 50%;
       
    }
    #productos .row2 .producto2{
        
        height: 100%;
        grid-row: 1/2;
        grid-column: 1/1;
        
    }
    #productos .row2 .producto2 .column1{
        background-position-y:0;
    }
    #productos .row2 .producto3{
        grid-row: 2/3;
        grid-column: 1/1;
        
    }
    
    #productos .row3{
        margin-top: -7%;
        grid-column: 1/1;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 33%  33%   33%;
        height:1500px;
        row-gap: 1.8%;
    }
    #productos .row3 .producto4{
        grid-row: 1/2;
        grid-column: 1/1;
        height: 100%;
        
    }
    #productos .row3 .producto5{
        grid-row: 2/3;
        grid-column: 1/1;
        height: 100%;
    }
    #productos .row3 .producto6{
        grid-row: 3/4;
        grid-column: 1/1;
        height: 100%;
    }



   
   header h1{
    justify-content: center;
    font-size: 80px;
   }
   
    .navbar ul {
        flex-direction: column;
    }
    footer h3{ 
        font-size:20px;
    }

    footer .flexcontainer{
        flex-direction: column;
        background-color: rgb(248, 244, 244);
        
    }
    .hero{
        padding:0px;
        margin:0px;
    }
    .categorias{
        margin-top: 350px;
    }
    .ProductBG button{
        margin-bottom: 10px;
    }
    
    /* MENU dropdown */

    .navbar{
        display:none;
    }
    .navbar-dropdown{
        display: block;
    }
    .navbar-dropdown .btn{
        width: 100%;
        height:50px;
        font-size: 25px;
        font-weight: bold;
    }
    .navbar-dropdown .dropdown-menu{
        margin:auto;
        width: 100%;
        text-align: center;
        font-size: 20px;
    }
    
}
   
@media  screen and (max-width: 1036px){
    .hero{
        height: 55rem;
        background-position: 0;
        background-position: center;
    }
    #productos .row3 button{
        width:50%;
    }
}