@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;500;600&display=swap');


:root {
  --main-color: rgb(84, 102, 74);
  --colordos: rgb(60, 73, 55);
  --black: #13131a;
  --bg: #010103;
  --blan: #f0f0f0;
  --border: 0.1rem solid rgba(255, 255, 255, 0.3);


   /*========== Colors ==========*/
   --hue: 240;
   --first-color: hsl(var(--hue), 16%, 18%);
   --first-color-alt: hsl(var(--hue), 16%, 12%);
   --title-color: hsl(var(--hue), 8%, 15%);
   --text-color: hsl(var(--hue), 8%, 35%);
   --body-color: hsl(var(--hue), 100%, 99%);
   --container-color: #FFF;
 
   /*========== Font and typography ==========*/
   --body-font: 'Poppins', sans-serif;
   --big-font-size: 1.5rem;
   --normal-font-size: .938rem;
 
   /*========== z index ==========*/
   --z-modal: 1000;
}

@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 1.75rem;
    --normal-font-size: 1rem;
  }
}

.horario {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center; /* Asegura que el texto también esté centrado */
  width: 100%; /* Asegura que ocupe todo el ancho disponible */
  margin-top: 2rem;
}

.contentinstucciones {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

* {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  transition: 0.2s linear;
  list-style: none;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
  width: 0.8rem;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 5rem;
}

body {
  background: var(--blan);
  height: 100%;
  width: 100%;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: var(--bg);
  font-size: 0.91rem;
}



/*Mapa */
.containermap{
  margin-top: 30px;
  min-width: 100%;
  position: relative;
  padding: 1em;
}

.containermap svg{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pin{
  /* background: #4362f8; */
  background: #ecdab3;
  position: absolute;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
}

.pin::before{
  content: '';
/* background: #4362f8; */
background: #ecdab3;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse 1.3s ease-in-out infinite;
}

.pin span a{
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  left: 1.5em;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 3em;
  padding: 0.3em 0.6em;
  font-size: 0.75em;
}

.mexico{
  top: 41%;
  left: 21.5%;
  z-index: 999;
}

.guatemala{
  top: 45.2%;
  left: 24.5%;
  z-index: 999;
}

.repdomin{
  top: 44%;
  left: 29.9%;
  z-index: 999;
}

.nicaragua{
  top: 48.4%;
  left: 25.8%;
  z-index: 999;
}

.pins, .pins2, .pins3,.pins4{
  /* background: #4362f8; */
  background: #ecdab3;
  position: absolute;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
}

.pins::before{
  content: '';
  /* background: #4363f8; */
  background: #ecdab3;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse 1.3s ease-in-out infinite;
}

.pins span a{
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  left: -6.5em;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 3em;
  padding: 0.3em 0.6em;
  font-size: 0.75em;
}

.pins2 span a{
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  left: -4em;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 3em;
  padding: 0.3em 0.6em;
  font-size: 0.75em;
}


.pins3 span a{
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  left: -5em;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 3em;
  padding: 0.3em 0.6em;
  font-size: 0.75em;
}

.pins4 span a {
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  left: -10.5em;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 3em;
  padding: 0.3em 0.6em;
  font-size: 0.75em;
}

.salvador{
  top: 47.5%;
  left: 24.5%;
  z-index: 999;
}

.costarica{
  top: 50.5%;
  left: 25.9%;
  z-index: 999;
}
.panama{
  top: 51.5%;
  left: 26.9%;
  z-index: 999;
}
.ecuador{
  top: 58.5%;
  left: 27.2%;
  z-index: 999;
}
.colombia{
  top: 54.5%;
  left: 28.2%;
  z-index: 999;
}
.peru{
  top: 64.5%;
  left: 28.3%;
  z-index: 999;
}
.bolivia{
  top: 69.5%;
  left: 31.3%;
  z-index: 999;
}
.brasil{
  top: 66%;
  left: 35%;
  z-index: 999;
}
.chile{
  top: 79.5%;
  left: 30.2%;
  z-index: 999;
}
.argentina{
  top: 84.5%;
  left: 32.2%;
  z-index: 999;
}
/* .ghana{
  top: 51.8%;
  left: 48.8%;
  z-index: 999;
} */
/* .francia{
  top: 24.3%;
  left: 49.7%;
  z-index: 999;
} */
/* .ucrania{
  top: 22.3%;
  left: 56.7%;
  z-index: 999;
} */
/* .nepal{
  top: 37.5%;
  left: 72%;
  z-index: 999;
}
.taiwan{
  top: 40.5%;
  left: 81.8%;
  z-index: 999;
} */
.paraguay{
  top: 74%;
  left: 33.7%;
  z-index: 999;
}

.guineaeqa{
  top: 56.32%;
  left: 52.05%;
  z-index: 999;
}

/* .libano{
  top: 33.2%;
  left: 58.6%;
  z-index: 999;
} */

@keyframes pulse {

  100%{
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.5);
  }
  
}

@media screen and (width: 800px){
  .pin span a, 
  .pins span a{
    font-size: 0.6em;
  }
}

.containermap path {
  /* fill: rgb(136, 164, 188); */
  fill: black;
  stroke: rgb(255, 255, 255); 
  stroke-width: 2px;
}



/* .container :hover{ */
  /* fill: #3b729f; */
  /* fill: #b9a28b; */
/* } */

path.Argentina, 
path.Ecuador,
path.Guatemala,
path.Salvador,
path.Nicaragua,
path.CostaRica,
path.RepublicaDominicana,
path.Panama,
path.Colombia,
path.Paraguay,
path.Bolivia,
path.Mexico,
path.Brasil,
/* path.Ghana, */
path.Peru
/* path.Chile */
/* path.France, */
/* path.Nepal, */
/* path.Taiwan, */
/* path.Ucrania, */
/* path.Libano, */
/* path.guineaeq */
{
  fill: #626e5a;
  cursor: pointer;
}

path.Argentina:hover, 
path.Ecuador:hover,
path.Guatemala:hover,
path.Salvador:hover,
path.Nicaragua:hover,
path.CostaRica:hover,
path.RepublicaDominicana:hover,
path.Panama:hover,
path.Colombia:hover,
path.Paraguay:hover,
path.Bolivia:hover,
path.Mexico:hover,
path.Brasil:hover,
/* path.Ghana:hover, */
path.Peru:hover
/* path.Chile:hover */
/* path.France:hover, */
/* path.Nepal:hover, */
/* path.Taiwan:hover, */
/* path.Ucrania:hover, */
/* path.Libano:hover, */
/* path.guineaeq:hover */
{
  fill: #ecdab3;
}

/* Pop Ups para los misioneros */

.popup_inner img{
  max-height: 100%;
}
.popup{
 position: fixed;
 width: 100vw;
 height: 100vh;
 background-color: rgba(0, 0, 0, 0.5);
 display: flex;
 align-items: center;
 justify-content: center;
 z-index: 10000;
 opacity: 0;
 visibility: hidden;
 bottom: 0;
 right: 0;
 transition: 0.65s ease-in-out; 
}

.popup_inner{
  display: flex;
  align-items: center;
  position: relative;
  /* width: 850px; */
  height: 590px;
  background-color: #fff;
  border-radius: 1rem;
  padding: 40px 40px;
  overflow: hidden;
  bottom: -100vw;
  right: -100vh;
  transform: rotate(90deg);
  transition: 0.65s ease-in-out; 
}

.medidapop2{
  height: 350px;
}

.medidapop3{
  height: 500px;
}

.medidapop4{
  height: 400px;
}

.espacito{
  height: 10px;
}

/*  Medida de cuadro para fotos chicas */
.medida2{
  height: 500px;
}

.popup_inner h2{
  text-transform: uppercase;
  font-size: 1.6rem;
}

.popup_inner p{
color: rgb(47, 51, 51);
line-height: 1.5rem;
/* text-align: justify; */
}

.popup_inner .img img{
  height: 100%;
  object-fit: cover;
}

.popup_inner .contentpop{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 55%;
  height: 65%;
  padding: 2.5rem;
}

.popup_inner .close_popup{
  position: absolute;
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  background-color: black;
  color: #fff;
  line-height: 3.5rem;
  top: -20.4rem;
  right: -20.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: rotate(90deg);
  transition: .8s ease-in-out;
  transition-delay: 1s;
}

.popup:target{
  opacity: 1;
  visibility: visible;
}

.popup:target .popup_inner{
  bottom: 0;
  right: 0;
  transform: rotate(0);
}

.popup:target .popup_inner .close_popup{
  top: -0.4rem;
  right: -0.4rem;
  transform: rotate(0);
}

/* POP UP 2 PARA LOS MISIONEROS */
/*=============== MODAL ===============*/
.containermap{
  margin-left: 1rem;
  margin-right: 1rem;
}

.modal{
  height: 100vh;
  display: grid;
  place-items: center;
}

.modal__button{
  display: inline-block;
  background-color: var(--first-color);
  color: #FFF;
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  /* transition: .3s; */
  cursor: no-drop;
}

/* .modal__button:hover{
  background-color: var(--first-color-alt);
} */

.modal__container{
  position: absolute;
  top: 0;
  left: 0;
  background-color: hsla(var(--hue), 18%, 75%, .8);
  width: 100%;
  height: 100%;
  display: grid;
  align-items: flex-end;
  overflow: hidden;
  transition: all .3s;
  z-index: var(--z-modal);
  visibility: hidden;
  opacity: 0;

  /*=== Effect 3 ===*/
  /* perspective: 1000px; */
}

.modal__content{
  position: relative;
  background-color: var(--container-color);
  text-align: center;
  /* padding: 3rem 2rem 2rem; */
  border-radius: 1rem 1rem 0 0;
  transition: all .3s;

  /*=== Effect 1 ===*/
  transform: translateY(10%);

  /*=== Effect 2 ===*/
  /* transform: scale(.5) translateY(10%); */

  /*=== Effect 3 ===*/
  /* transform: rotateX(65deg) scale(.75) translateY(10%);
  transform-origin: 50% 100%; */
}

.modal__img{
  width: 270px;
  /* margin-bottom: .75rem; */
}


.modal__close{
  display: inline-flex;
  background-color: var(--first-color);
  border-radius: .25rem;
  color: #FFF;
  font-size: 1.5rem;
  position: absolute;
  top: 2rem;
  right: 2rem;
  cursor: pointer;
}

.modal__title{
  font-size: var(--big-font-size);
  color: var(--title-color);
  font-weight: 500;
}

.modal__description{
  margin-bottom: 1.5rem;
}

.modal__button-width{
  width: 90%;
}

.modal__button-link{
  display: block;
  margin: 1rem auto 0;
  /* background-color: transparent; */
  /* color: var(--first-color); */
  font-weight: 500;
}

/* Show modal */
.show-modal{
  visibility: visible;
  opacity: 1;
}

.show-modal .modal__content{
  /*=== Effect 1 ===*/
  transform: translateY(0);

  /*=== Effect 2 ===*/
  /* transform: scale(1) translateY(0); */

  /*=== Effect 3 ===*/
  /* transform: rotateX(0) scale(1) translateY(0); */
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (min-width: 576px){
  .modal__content{
    margin: auto;
    width: 380px;
    border-radius: 1.25rem;
    margin-top: -20px;
  }

  .list{
    margin: auto;
    width: 380px;
    border-radius: 1.25rem;
    margin-top: -20px;
    font-size: 1.4rem;
  }

  .modal__img{
    width: 360px;
  }
  .medidaimg2{
    width: 275px;
  }
  .medidaimg3{
    width: 210px;
  }
  .medidaimg4{
    width: 250px;
  }
}

@media screen and (max-width:500px) {
  .popup_inner{
    display: flex;
    align-items: center;
    position: relative;
    /* width: 850px; */
    height: 500px;
    background-color: #fff;
    border-radius: 1rem;
    padding: 40px 40px;
    overflow: hidden;
    bottom: -100vw;
    right: -100vh;
    transform: rotate(90deg);
    transition: 0.65s ease-in-out; 
  }
}
/* Card Misionero */
.bodysec{
  display: flex;
  flex-direction: row;
  /* height: 100vh; */
  justify-content: center;
}

.wrapper{
  margin-top: auto;
  margin-bottom: auto;
}

.card{
  width: 640px;
  height: 320px;
  background-color: #fff;
  position: relative;
  border-radius: 16px;
  -webkit-box-shadow:0px 14px 32px 0px rgba(0,0,0,0.15);
  -moz-box-shadow:0px 14px 32px 0px rgba(0,0,0,0.15);
  box-shadow:0px 14px 32px 0px rgba(0,0,0,0.15);
}

.card img{
  width: 300px;
  height: 320px;
  object-fit: cover;
  border-radius: 16px 0 0 16px;
}

.card_body{
  height: 320px;
  position: absolute;
  top: 0;
  left: 280px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card_body h2{
  margin-top: 0;
  margin-bottom: 0;
  text-transform: uppercase;
  font-size: 1.5rem;
}

.card_body h4{
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #AFAFAF;
  letter-spacing: 0.2em;
}

.card_body p{
  height: 250px;
  line-height: 1.7em;
  font-size: 1rem;
  font-weight: 300;
  text-align: justify;
  /* overflow: hidden; */
  margin-top: 0;
}

.card_footer{
  margin-top: 25px;
  margin-bottom: auto;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.card_footer span{
  font-size: 2rem;
  font-weight: 400;
  color: #474747;
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 16px;
}

.card_footer button{
  height: 48px;
  width: 150px;
  border-radius: 26px;
  border: 0;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  background-color: #A7B8F8;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.card_footer button:hover,
:focus{
  background-color: #FBE2e7;
  transition: 0.3s;
}


.sectioncel1{
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 100px 50px;
  padding: 70px 50px;
  scale: 0.9;
  margin-top: -400px;
  margin-bottom: -390px;
}

.sectioncel1 .cardp1{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 350px;
  height: 300px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
  transition: 0.5s;
}
/* Medida standart para un misionero */
.sectioncel1 .cardp1:hover{
  height: 250px;
}

/* cuadro para ecuador */
.sectioncel1 .ca2:hover{
  height: 500px;
}

/* Cuadro blanco para dos misioneros */
.sectioncel1 .ca3:hover{
  height: 270px;
}

/* Cuadro blanco para 3 misioneros */
.sectioncel1 .ca4:hover{
  height: 310px;
}


.sectioncel1 .cardp1 .imgbx1{
    position: absolute;
    top: 20px;
    width: 300px;
    height: 220px;
    background-color: #333;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.5s;
}

.sectioncel1 .cardp1 .imgbx1 img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sectioncel1 .cardp1:hover .imgbx1{
  top: -70px;
  scale: 0.75;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.sectioncel1 .cardp1 .contentp1{
  position: absolute;
  top: 260px;
  width: 100%;
  padding: 0 30px;
  height: 25px;
  overflow: hidden;
  text-align: center;
  transition: 0.5s;
  line-height: 2rem;
}

.contentp1 a{
font-size: 1.3rem;
}

.sectioncel1 .cardp1:hover .contentp1{
  height: 250px;
  top: 130px;
}

.sectioncel1 .cardp1:hover .c2{
  height: 500px;
  top: 130px;
}

.sectioncel1 .cardp1 .contentp1 h2{
  font-size: 1.5rem;
  font-weight: 700;
  color: #010103;
}

.sectioncel1 .cardp1 .contentp1 h2{
  font-size: 1.1rem;
  /* font-weight: 700; */
  color: #010103;
}


/* div espacio */
.separacion{
  height: 10em;
}

/* Responsive design */

@media(max-width:576px) {
  
  .bodysec{
    scale: 0.65;
  }
}

@media(max-width:860px) {
.containermap{
  display: none;
}


.sectioncel1{
  display: flex;
}
}