*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'roboto',sans-serif;
    margin: 0;
    display: grid;
    min-height: 100vh;
    grid-template-rows: auto 1fr auto;
}

h1{font-size: 3.5em;}

h2{font-size: 2.7em;}

h3{font-size: 2em;}

p{font-size: 1.25em;}

ul{list-style: none;}

li{font-size: 1.25em;}

button{
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 10px;
    border: 2px solid rgb(0,0,0,0.5);
    box-shadow: 2px 2px 10px rgb(0,0,0,0.5);
    color: white;
    background-color: #d38314;
}

button:hover{
    background-color: #6d4309;
}

.container{
    max-width: 1400px;
    margin: auto;
}

.color-acento{color: #d38314;}
.color-acento-homilias{color: #f5f6fa;}

header{
    z-index: 1;
    background-color: rgb(245, 245, 245);
}

header .logo{
    margin: 0;
    padding: 20px 1px;
    font-weight: bold;
    color: #d38314;
    font-size: 1.2rem;
}

header .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

header nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 25px;
}

header a{
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    color: black;
}

header a:hover{
    color: #d38314;
}

#hero{
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 90vh;
    color: white;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(../images/Comunidad/banner.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#hero h1{
    color: white;
}

#hero button{
    font-size: 1.75em;
}

#noticiasSemanales .container{
    padding-top: 100px;
    text-align: center;
}

.filtro-catecismo {
    background-attachment: fixed;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.5em;
    background-image: linear-gradient(rgba(255, 254, 253, 0.5), 
        rgba(116, 110, 103, 0.5), 
        rgba(0, 0, 0, 0.5)),
        url(../images/index/catechism.jpg);
    background-size: cover;
    padding: 270px 10px;
    margin-top: 5%;
    text-align: center;
    color: white;
}

.filtro-grupoParroquial {
    background-attachment: fixed;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.5em;
    background-image: linear-gradient(rgba(255, 254, 253, 0.5), 
        rgba(116, 110, 103, 0.5), 
        rgba(0, 0, 0, 0.5)),
        url(../images/Comunidad/headerGrupoP.jpg);
    background-size: cover;
    padding: 270px 10px;
    margin-top: 5%;
    text-align: center;
    color: white;
}

.filtro-reflexionHomilias {
    background-attachment: fixed;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.5em;
    background-image: linear-gradient(rgba(255, 254, 253, 0.5), 
        rgba(116, 110, 103, 0.5), 
        rgba(0, 0, 0, 0.5)),
        url(../images/Comunidad/headerReflexionHomilia.jpeg);
    background-size: cover;
    padding: 270px 10px;
    margin-top: 5%;
    text-align: center;
    color: white;
}

.filtro-medicalDispensary {
    background-attachment: fixed;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.5em;
    background-image: linear-gradient(rgba(255, 254, 253, 0.5), 
        rgba(116, 110, 103, 0.5), 
        rgba(0, 0, 0, 0.5)),
        url(../images/Comunidad/headerMedicalDispensary.jpeg);
    background-size: cover;
    padding: 270px 10px;
    margin-top: 5%;
    text-align: center;
    color: white;
}

#nichos{
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 90vh;
    color: white;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(../images/nichies/nichos.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#nichos .container{
    text-align: center;
    color: white;
}


#serviciosParroquiales{
    background-color: rgba(30,30,30);
    color: white;
    text-align: center;
}

#serviciosParroquiales .container{
    padding-top: 50px;
}

#serviciosParroquiales h2{
    margin-top: 0;
    font-size: 3.2em;
}

#serviciosParroquiales .container .description{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.5em;
    text-align: center;
}

#serviciosParroquiales p{
    display: none;
}

.carta:first-child{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(../images/Comunidad/pexels-pixabay-415611.jpg);
}
.carta:nth-child(2){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(../images/Comunidad/pexels-pixabay-415611.jpg);
}
.carta:nth-child(3){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(../images/Comunidad/pexels-pixabay-415611.jpg);
}
.carta:nth-child(4){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(../images/Comunidad/pexels-pixabay-415611.jpg);
}
.carta:nth-child(5){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(../images/Comunidad/pexels-pixabay-415611.jpg);
}
.carta:nth-child(6){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(../images/Comunidad/pexels-pixabay-415611.jpg);
}

#comentarios .container{
    position: relative;
    text-align: center;
    padding: 250px 12px;
}

#comentarios .description{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.5em;
    position: absolute;
    text-align: center;
    top: 50px;
}

/* SECCION FORMULARIO DE COMENTARIOS */

#registrarComentario .container{
    position: relative;
    text-align: center;
    padding-bottom: 100px ;
}

#registrarComentario .form{
    position: relative;
    width: 100%;
    height: 450px;
    margin: auto;
    background: #cc8d35;
    padding: 20px 80px;
    box-sizing: border-box;
    margin-top: 20px;
    border-radius: 7px;
}

#registrarComentario #formAddcomments{
    position: absolute;
    margin: 25px;
    left: 0;
    width: 90%;
}

#registrarComentario label{
    z-index: 1;
    background-color: #cc8d35;
    left: 0;
    color: #fff;
    text-align: center;
    margin: 0;
    font-size: 30px;
    margin-bottom: 20px;
}

#registrarComentario .descForm{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.5em;
    position: absolute;
    text-align: center;
    top: -250px;
}

#registrarComentario input,textarea{

    width: 100%;
    margin-bottom: 10px;
    padding: 7px;
    box-sizing: border-box;
    font-size: 17px;
    border: none;
}

#registrarComentario textarea{
    min-height: 100px;
    max-height: 200px;
    max-width: 100%;
}

#registrarComentario #btnComentar{
    width: 100%;
    background: #31384A;
    color: #fff;
    padding: 20px;
}

#registrarComentario #btnComentar:hover{
    cursor: pointer;
}

#groups{
    background-color: rgb(30, 30, 30);
    padding: 100px 12px;
    box-shadow: #d38314;
}

#catecismo{
    background-color: rgb(30, 30, 30);
    padding: 100px 12px;
    box-shadow: #d38314;
}

#catecismo .container{
    text-align: center;
    color: white;
}

#catecismo .btnCatecismo{
    font-size: 10px;
    margin: 0 auto;
    width: 400px;
    color: white;
}

#grupoP{
    background-color: rgb(30, 30, 30);
    padding: 100px 12px;
    box-shadow: #d38314;
}

#grupoP .container{
    text-align: center;
    color: white;
}

#grupoP .btnCatecismo{
    font-size: 10px;
    margin: 0 auto;
    width: 400px;
    color: white;
}

/*--------------------------------------*/

.site-footer {
    margin-top: 10%;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #26272b;
    padding: 45px 0 20px;
    font-size: 15px;
    line-height: 24px;
    color: #737373;
  }
  .site-footer hr {
    border-top-color: #bbb;
    opacity: 0.5;
  }
  .site-footer hr.small {
    margin: 20px 0;
  }
  .site-footer h6 {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 2px;
  }
  .site-footer a {
    color: #737373;
  }
  .site-footer a:hover {
    color: #3366cc;
    text-decoration: none;
  }
  .footer-links {
    padding-left: 0;
    list-style: none;
  }
  .footer-links li {
    display: block;
  }
  .footer-links a {
    color: #737373;
  }
  .footer-links a:active,
  .footer-links a:focus,
  .footer-links a:hover {
    color: #3366cc;
    text-decoration: none;
  }
  .footer-links.inline li {
    display: inline-block;
  }
  .site-footer .social-icons {
    text-align: right;
  }
  .site-footer .social-icons a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-left: 6px;
    margin-right: 0;
    border-radius: 100%;
    background-color: #33353d;
  }
  .copyright-text {
    margin: 0;
  }
  @media (max-width: 991px) {
    .site-footer [class^="col-"] {
      margin-bottom: 30px;
    }
  }
  @media (max-width: 767px) {
    .site-footer {
      padding-bottom: 0;
    }
    .site-footer .copyright-text,
    .site-footer .social-icons {
      text-align: center;
    }
  }
  .social-icons {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
  }
  .social-icons li {
    display: inline-block;
    margin-bottom: 4px;
  }
  .social-icons li.title {
    margin-right: 15px;
    text-transform: uppercase;
    color: #96a2b2;
    font-weight: 700;
    font-size: 13px;
  }
  .social-icons a {
    background-color: #eceeef;
    color: #818a91;
    font-size: 16px;
    display: inline-block;
    line-height: 44px;
    width: 44px;
    height: 44px;
    text-align: center;
    margin-right: 8px;
    border-radius: 100%;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
  }
  .social-icons a:active,
  .social-icons a:focus,
  .social-icons a:hover {
    color: #fff;
    background-color: #29aafe;
  }
  .social-icons.size-sm a {
    line-height: 34px;
    height: 34px;
    width: 34px;
    font-size: 14px;
  }
  .social-icons a.facebook:hover {
    background-color: #3b5998;
  }
  .social-icons a.twitter:hover {
    background-color: #00aced;
  }
  .social-icons a.linkedin:hover {
    background-color: #007bb6;
  }
  .social-icons a.dribbble:hover {
    background-color: #ea4c89;
  }
  @media (max-width: 767px) {
    .social-icons li.title {
      display: block;
      margin-right: 0;
      font-weight: 600;
    }
  }
  /*--------------------------------------*/
  
#cantNiches{
    font-size: 1em;
    color: #27ae60;
    text-align: center;
    width: 100%;
    top: 50px;
    text-decoration:none;
}

#_nichos{
    margin-left: 70px;
    margin-bottom: 50px;
    text-align: center;
    width: 90%;
}

#groups{
    margin-top: 125px;
}

#homilies{
    background-color: #cc8e35;
    padding: 100px 12px;
}


.infoMedical {
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #cc8e35;
    padding: 100px 0 20px;
    font-size: 15px;
    line-height: 24px;
    color: #fff;
  }
  .infoMedical hr {
    border-top-color: #bbb;
    opacity: 0.5;
  }
  .infoMedical hr.small {
    margin: 20px 0;
  }
  .infoMedical h6 {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 2px;
  }
  .infoMedical a {
    color: #737373;
  }
  .infoMedical a:hover {
    color: #3366cc;
    text-decoration: none;
  }
  .infoMedical .social-icons {
    text-align: right;
  }
  .infoMedical .social-icons a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-left: 6px;
    margin-right: 0;
    border-radius: 100%;
    background-color: #33353d;
  }
  .copyright-text {
    margin: 0;
  }
  @media (max-width: 991px) {
    .infoMedical [class^="col-"] {
      margin-bottom: 30px;
    }
  }
  @media (max-width: 767px) {
    .infoMedical {
      padding-bottom: 0;
    }
    .infoMedical .copyright-text,
    .infoMedical .social-icons {
      text-align: center;
    }
  }

#catecismo .container{
    display: flex;
    justify-content: space-evenly;
}


@media (max-width:720px){
    #registrarComentario .imgBuzon img{
        display: none;
    }
}

@media (min-width:720px){
    header{
        position: fixed;
        width: 100%;
    }
    header .container{
        flex-direction: row;
        justify-content: space-between;
    }

    header nav{
        flex-direction: row;
        padding-bottom: 0;
        padding-right: 20px;
    }

    #hero h1{
        font-size: 5em;
    }

    /*   SECCION DE NOTICIAS   */

    #noticiasSemanales .container{
        display: flex;
        justify-content: space-evenly;
    }
    #noticiasSemanales .texto{
        width: 50%;
        max-width: 600px;
        text-align: justify;
        padding-left: 30px;
        padding: 0px 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #noticiasSemanales h2{
        margin-top: 0;
    }

    #noticiasSemanales .imgNoticia{
        background-image: url(../images/Comunidad/news.jpeg);
        background-size: cover;
        background-position: center center;
        height: 500px;
        width: 400px;
    }

    /*   SECCION DE NICHOS   */

    #nichos{
        height: 600px;
        box-shadow: 2px 15px 10px rgba(0, 0, 0, 0.5);
        margin-bottom: 100px;
        position: relative;
    }

    #nichos .container{
        position: absolute;
        bottom: 40%;
        justify-content: space-evenly;
    }
    #nichos .container .texto{
        /* left: 0%;
        width: 50%;
        max-width: 600px;
        text-align: justify;
        display: flex; */
        width: 50%;
        max-width: 600px;
        text-align: justify;
        padding-left: 30px;
        padding: 0px 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #nichos h2{
        font-size: 4em;
        margin-top: 0;
    }

    /*   SECCION DE SERVICIOS PARROQUIALES   */

    #serviciosParroquiales{
        box-shadow: 2px 15px 10px rgba(0, 0, 0, 0.5);
    }

    #serviciosParroquiales .servicios{
        display: flex;
        justify-content: center;
    }

    #serviciosParroquiales p{
        display: block;
        margin-bottom: 30px;
    }


    #serviciosParroquiales .container .description{
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 1.5em;
        text-align: center;
    }
    

    /*   SECCION DE COMENTARIOS   */

    #comentarios .container{
        justify-content: space-evenly;
        text-align: initial;
    }

    #comentarios ul{
        margin-left: 100px;
    }

    #comentarios .container{
        display: flex;
        justify-content: space-evenly;
    }

    #comentarios .description{
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 1.5em;
        position: absolute;
        text-align: center;
        top: 110px;
    }
    
    #registrarComentario .container{
        display: flex;
        position: relative;
        justify-content: space-evenly;
    }

    #registrarComentario .form{
        position: relative;
        width: 400px;
        height: 465px;
        right: 100px;
        margin: auto;
        background: #cc8e35;
        padding: 20px 80px;
        box-sizing: border-box;
        margin-top: 20px;
        border-radius: 7px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    }

    #registrarComentario #formAddcomments{
        position: absolute;
        margin: 20px;
        left: 0;
        width: 90%;
    }
    
    #registrarComentario .descForm{
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 1.5em;
        position: absolute;
        text-align: center;
        top: -190px;
    }

    #registrarComentario .imgBuzon img{
        position: relative;
        right: 100px;
        height: 300px;
        width: 300px;
    }

    /*   SECCION DE CATEQUESIS   */

    #catecismo{
        box-shadow: 2px 15px 10px rgba(0, 0, 0, 0.5);
    }

    #catecismo .container{
        display: flex;
        justify-content: space-evenly;
    }

    #catecismo .texto{
        position: relative;
        width: 50%;
        max-width: 600px;
        text-align: justify;
        padding-left: 30px;
        padding: 0px 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #catecismo h2{
        margin-top: 0;
    }

    #catecismo .imgCatecismo{
        background-image: url(../images/Comunidad/imgCatecismo.jpg);
        background-size: cover;
        background-position: center center;
        border-radius: 3px;
        height: 550px;
        width: 400px;
    }

    #catecismo .btnCatecismo{
        font-size: 10px;
        text-align: center;
        left: 0%;
        width: 400px;
    }

    /*   SECCION GRUPOS PARROQUIALES   */

    #grupoP{
        box-shadow: 2px 15px 10px rgba(0, 0, 0, 0.5);
    }

    #grupoP .container{
        display: flex;
        justify-content: space-evenly;
    }

    #grupoP .texto{
        position: relative;
        width: 50%;
        max-width: 600px;
        text-align: justify;
        padding-left: 30px;
        padding: 0px 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #grupoP h2{
        margin-top: 0;
    }

    #grupoP .imgGrupoP{
        background-image: url(../images/Comunidad/grupoP.jpg);
        background-size: cover;
        background-position: center center;
        border-radius: 3px;
        height: 550px;
        width: 400px;
    }

    /*   SECCION DE HOMILÍAS   */

    #homilies .container{
        display: flex;
        justify-content: space-evenly;
    }
    #homilies .texto{
        width: 50%;
        max-width: 600px;
        text-align: justify;
        padding-left: 30px;
        padding: 0px 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #homilies h2{
        margin-top: 0;
    }

    #homilies .imgNoticia{
        background-image: url(../images/index/homilies.jpg);
        background-size: cover;
        background-position: center center;
        height: 500px;
        width: 750px;
    }

    #catecismo .container{
        display: flex;
        justify-content: space-evenly;
    }

    #grupoP .container{
        display: flex;
        justify-content: space-evenly;
    }

    footer .container{
        justify-content: flex-end;
    }
}

@media (min-width: 1100px){
    
    #registrarComentario .imgBuzon img{
        height: 400px;
        width: 400px;
    }
}

@media (min-width: 992px) {
    #map {
      outline: 2px solid rgb(126, 125, 123);
      width: 500px;
      height: 300px;
    }
    #map iframe {
      width: 100%;
      height: 100%;
    }
  }
  
@media (max-width: 1200px) {
    header .logo{
        margin: 0;
        padding: 20px 1px;
        font-weight: bold;
        font-size: 1.2rem;
    }
    header nav{
        text-align: center;
        padding-bottom: 25px;
        font-size: 10px;
    }
    #map {
      outline: 2px solid rgb(126, 125, 123);
      width: 300px;
      height: 200px;
    }
    #map iframe {
      width: 100%;
      height: 100%;
    }
}
