section{
    padding:5em 0;
}

.titulo-sup{
    font-weight: 300;
}
.home-slider {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.home-slider .slide img {
    width: 100%;
    height: 100vh;
    background-size: cover;
    object-fit: cover;
  }
  .home-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); 
    z-index: 2; 
  }
.content {
    flex-direction: column;
    justify-content: flex-end;
    align-content: center;
    flex-wrap: wrap;
    gap:1em;
    padding: 0;
    padding-bottom:3.5rem;
    z-index: 2;
    text-align: center;
}

#r-section-1 {
    padding: 0;
}

#r-section-1 .home-slider::before{
    background: linear-gradient(176.95deg, rgba(150, 88, 113, 0) 2.71%, #965871 102.96%);
}

#r-section-1 .content {
    flex-direction: column;
    justify-content: flex-end;
    align-content: center;
    flex-wrap: wrap;
    gap:1em;
    z-index: 2;
    text-align: center;
}

.mdf-header .content p{
    max-width: 70%;
}
@media(max-width:480px){
    .mdf-header .content h1 {
        font-size: 3.2rem !important;
        line-height: 3rem !important;
    }
    .mdf-header .content p{
        font-size: .900rem;
        width: 100%;
    }
}
@media(min-width:640px) and (max-width:780px){
    .mdf-header .content h1{
        font-size: 3rem;
        line-height: 3rem;
        margin-bottom: 0;
    }
    .mdf-header .content p{
        font-size: .900rem;
        max-width: 70%;
    }
}
@media(max-width:360px){
    .mdf-header .content h1 {
        font-size: 2.2rem !important;
        margin-bottom: 0;
    }
  
}
/*section 2*/
#r-section-2 {
    padding: 4rem 0;
}
#r-section-2 .container{
    width: 75%;
}
#r-section-2 .container .row{
    display: flex;
    align-content: center;
    align-items: center;
}
#r-section-2 .titulo-sup{
    font-size: 0.900rem;
}
#r-section-2 .titulo-eleg {
    margin:.5rem 0;
    font-size: 2.5rem;
    font-weight: 500;
    width: 75%;
}
#r-section-2 .titulo-eleg i{
   font-family: "evenings-italic";
   font-style: normal;
}
#r-section-2 .wrap-info{
    font-size:.900rem;
}
.galeria-grid {
    display: grid;
    grid-template-areas:
      "img1 img2 img3"
      "img4 img4 img3"
      "img4 img4 img3";
    grid-template-columns: 1fr 1fr 130px; 
    grid-template-rows: 1fr;
    gap: 1rem;
    padding-left: 2.5rem;
  }
  
  .galeria-grid img {
    object-fit: cover; 
    border-radius: 20px;
    width: 100%;
    height:460px;
  }
  
  .galeria-grid .img1 {
    grid-area: img1;
    height: 225px;
  }
  
  .galeria-grid .img2 {
    grid-area: img2;
    height: 225px;
  }
  
  .galeria-grid .img3 {
    grid-area: img3;
  }
  
  .galeria-grid .img4 {
    grid-area: img4;
    height: 220px;
  }

@media(min-width:1400px){
    #r-section-2 .container{
        width:70%;
    }
   
    #r-section-2  .titulo-sup {
        font-size: 1.050rem;
        font-weight: 200;
        letter-spacing: .5rem;
    }
    #r-section-2 .titulo-eleg {
        font-size: 2.9rem;
        width: 85%;
    }
    #r-section-2 .wrap-info {
        font-size: 1.2rem;
        line-height: 1.5rem;
    }
    .galeria-grid {
        grid-template-columns: 1fr 1fr 170px; 
        padding-left: 3rem;
    }
    .galeria-grid img {
        height:615px;
        border-radius: 35px;
    }
    .galeria-grid .img1,
    .galeria-grid .img2,
    .galeria-grid .img4
     {
        height: 300px;
    }
}

@media(min-width:1300px) and (min-height:550px) and (max-height:720px){
    #r-section-2 .container {
        width: 80%;
    }
    #r-section-2 .titulo-sup{
        letter-spacing: .5rem;
    }
    #r-section-2 .titulo-eleg {
        font-size: 3rem;
    }
    #r-section-2 .wrap-info {
        font-size: .900rem;
    }
}

@media(min-width:768px) and (max-width:1100px){
    #r-section-2 .container {
        width:90%;
    }
    #r-section-2 .offset-lg-1 {
        margin-left:0;
    }

    #r-section-2 .izq-info{
        width:40%
    }

    #r-section-2 .col-lg-6{
        width: 60%;
    }
    .titulo-sup {
        font-size: .900rem;
        letter-spacing: 0.3rem;
    }
    #r-section-2 .titulo-eleg {
        margin: .5rem 0!important;
        font-size: 2rem;
        font-weight: 500;
        width: 85%;
    }
    #r-section-2 .wrap-info {
        font-size: .900rem;
        line-height: 1.2rem;
    }
    .galeria-grid img {
        border-radius: 20px;
        height: 420px;
    }
    .galeria-grid .img1,
    .galeria-grid .img2 {
        height: 210px;
    }
    .galeria-grid .img4{
        height: 194px;
    }
}

@media(max-width:640px){
    #r-section-2 {
        text-align: center;
    }
    #r-section-2 .titulo-eleg {
        margin: .5rem 0;
        font-size: 2.5rem;
    }
    #r-section-2 .container{
        width: auto;
        padding: 0 1.5rem;
    }
    .galeria-grid{
        margin:1.5rem 0 0 0;
        padding-left: 0;
    }
    .galeria-grid img {
        height: 350px;
    }
    .galeria-grid .img1,
    .galeria-grid .img2 {
        height: 170px;
    }
    .galeria-grid .img4 {
        height: 165px;
    }
}

@media(max-width:480px){
    #r-section-2 .titulo-eleg {
        margin: .5rem auto;
        font-size: 2rem;
    }
}
/* section 3*/

#r-section-3{
    background: #FAEAF0;
}
#r-section-3 .titulo-eleg {
    font-size: 3.170rem;
}
#r-section-3 .titulo-sup {
  font-size: 1.2rem;
}

@media(min-width:680px) and (max-width:780px){
    #r-section-3{
        padding: 3rem 0;
    }
    #r-section-3 .titulo-eleg {
        font-size: 3rem;
    }
    #r-section-3 .titulo-sup {
        font-size: 1rem;
    }
}
@media(max-width:480px){
    #r-section-3 .container {
        padding: 0 1.5rem;
    }
    #r-section-3{
        padding: 3rem 0;
    }
    #r-section-3 .titulo-sup {
        font-size: .800rem;
    }
    #r-section-3 .titulo-eleg {
        font-size: 2.3rem;
    }
    #r-section-3 .titulo-sup {
        font-weight: 300;
        font-size: .800rem;
    }
  
}