
/* $c-bezier :cubic-bezier(0.1, 0.22, 0.8, 1.13) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body{
  background-color: #fed7a4;
  background-image: url(../images/fondo_b.png);
  background-position: center center;
  height: 15%;
}

.navbar{
    background-color: #422716;
}
.navbar-dark .navbar-nav a.nav-link {
    color: #F8C27B;
    font-size: 1.1em;
  }
  .dropdown-menu {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    border: none;
    border-radius: 0;
    padding: 0.7em;
  }

  @media only screen and (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
      display: flex;
    }
    .dropdown-menu.show {
      display: flex;
    }
  }

  .dropdown-menu ul {
    list-style: none;
    padding: 0;
  }

  .dropdown-menu li .dropdown-item {
    color: #B17F49;
    font-size: 1em;
    padding: 0.5em 1em;
  }
  .dropdown-menu li .dropdown-item:hover {
    background-color: #f1f1f1;
  }
  .dropdown-menu li:first-child a {
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
    color: #422716;
  }
  .dropdown-menu li:first-child a:hover {
    background-color: #f1f1f1;
  }

.slide{
  margin: 5px;
}
.container{
  color: #B17F49;
}

.container h3{
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  -webkit-text-stroke: 1px #422716;
  color: #B17F49;
  text-shadow: 2px 2px 4px #422716;


}

.container h1{
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  -webkit-text-stroke: 1px #422716;
  color: #B17F49;
  text-shadow: 2px 2px 4px #422716;
}

/* para el parrafo */
.container .row-beatificacion{
  background-color: #F7C27A;
  border: 3px solid rgb(110,73,5);
  padding: 5px;
  margin: 10px;
}

.container .row-beatificacion .columna p{
  text-align: justify;
  color: #422716 !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.container .row-beatificacion .columna h5{
  text-align: left;
  color: #422716 !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Enlaces biografia */
.container .row-beatificacion .columna a{
  outline: none;
  text-decoration: none;
  display: inline-block;
  width: 19.5%;
  margin-right: 0.625%;
  text-align: center;
  line-height: 3;
  color: black;
}

.container .row-beatificacion .columna a:link,
a:visited,
a:focus {
  background: #EF8000;
}

.container .row-beatificacion .columna a:hover {
  background: #93C01F;
}

.container .row-beatificacion .columna a:active {
  background: #422716;
  color: #fff;
}

/* Fin de enlaces biografia */

/* para las tarjetas */
/* Pagina Principal */
.card{

  -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
  box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);

  /* box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); */
  margin: 0 .5em;
  align-items: center;
  height: 460px;
  border-radius: 15px;

}

.card img{
  border-radius: 50%;
  border: 5px solid #646464;
  margin-top: 10px;
  z-index: 1;
}
.card h1{
  font-size: 12px;
}

.card p{
  font-size: 12px;
  text-align: justify;
}

.card img{
  width: 50%;
}

/* Paginas Valores y principios */

/* tarjetas giratorias */
.cards-grid {
  display: flex;
  grid-gap: 80px;
  padding-bottom: 15px;
}

.flip-card {
  border-radius: 28px;
  width: 320px;
  height: 504px;
  perspective: 2000px;
}

.flip-card-inner {
    background-color: #f1f1f1;
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-radius: 28px;
  transition: all 550ms cubic-bezier(0.1, 0.22, 0.8, 1.13);
  transform-style: preserve-3d;
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  backface-visibility: hidden;
}

.flip-card-front {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.flip-card-front img{

  place-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}

.flip-card-back {
  font-size: 1.1rem;
  text-align: center;
  display: grid;
  place-items: center;
  padding: 32px;
  /* background-color: #B1CFC8; */
  background-color: #EF8000;
  transform: rotateY(180deg);
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(-180deg);
}
  /* Fin de las tarjetas */





  /* footer */
.bg{
  background: linear-gradient(to bottom, #fed7a4 0%,#f8c27b 25%,#b17f49 50%,#422716 100%);
    /* background-color: #646464; */
    padding-top: 5px;
    padding-bottom: 5px;
  }

.bg h5{
    -webkit-text-stroke: 0.5px #fff;
    color: #422716;
    text-shadow: 2px 2px 4px #422716;
    text-transform: uppercase;
    /* margin-bottom: 1px; */
    font-weight: 700;
  }

.bg a{
  text-decoration: none;
  color: #f1f1f1;
  font-size: 17px;
  }

  .bg a:hover{
    color: #422716 !important;
    }

.bg p{
  font-size: 17px;
    color: #f1f1f1;
  }


  .bg i{
    font-size: 25px;
    list-style: none;
  }
  /* Fin footer */


  @media only screen and (max-width: 992px) {
    .dropdown-menu.show {
      flex-wrap: wrap;
      max-height: 350px;
      overflow-y: scroll;
    }
  }
  @media only screen and (min-width: 992px) and (max-width: 1140px) {
    .dropdown:hover .dropdown-menu {
      width: 40vw;
      flex-wrap: wrap;
    }
  }