/* cabecera */

.menupscb {
    margin-left: 5%;
  }
  .pscb  img{
      width: 26dvh;
      margin-left: 15%;
  }
  
  .menua a{
      color: rgb(28, 62, 116);
      font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
      font-size: 107%;
  }
  .menua a:hover{
      background-color: rgb(188, 214, 255);
      color: rgb(28, 62, 116);
  }
  
  .titu1:hover {
    background-color: rgb(188, 214, 255);
  }
  
  .titu2:hover {
    background-color: rgb(188, 214, 255);
  }
  
  .titu3:hover {
    background-color: rgb(188, 214, 255);
  }
  
  .titu4:hover {
    background-color: rgb(188, 214, 255);
  }
  
  .titu5:hover {
    background-color: rgb(188, 214, 255);
  }

  .boton{
    text-align: center;
    width: 20dvh;
}

.boton a button{
    color: rgb(28, 62, 116);
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 140%;
}

.boton a button:hover{
    color: rgb(237, 41, 59);
}
  /* fin cabecera */

  /* tarjetas obispos */
  
.carta {
    position: relative;
    border-radius: 2dvh;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.15);
    padding: 16px;
    margin:  56px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 15px 35px -15px rgba(0, 0, 0, 0.5),
    0 5px 20px 0 rgba(0, 0, 0, 0.1);
}

.card-image img {
    width: 100%;
    transform: scale(1.2);
}

p {
    line-height: 24px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-align: center;
}

.name {
    margin-top: 80px;
    font-size: 1.4em;
    color: #333;
    font-weight: bold;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.socials {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carta a{
    text-align: center;
    width: 100%;
    background-color: white;
    border: none;
    text-decoration: none;
    color: black;
}

.carta a:hover{
    background-color: rgb(28, 62, 116);
    transition: 0.5s;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
  /* fin tarjetas obispos */

