body{
    background: #ffffff !important;
}
.background{

    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    display: block;
    width: 100%;
    z-index: -2;
    top: 0;
    font-family: 'Oswald', sans-serif;
}

.bg-secondary{
    background-color: #f9f8f9 !important;
}

.header{
    background:url('../Images/abstract-geometric-light-blue-hexagonal-design-background-vector.jpg') #e7f0f9 !important;
    height:17rem;
    padding-top: 7rem;
    margin: 6rem 1rem 0rem;
    border-radius: 2rem;
}

.header .logo{
    width: 100px;
    height: 90px;
    position: absolute;
    top: 17rem;
    left: 48%;
}

.leaflet-bottom {
    bottom: 34px !important;
}

h2{
    color: #9e202a;
}

h1{
    font-size: 3.75rem !important;
    font-weight: 900;
    line-height: 1;
}

.gradient-text {
    background: linear-gradient(45deg, #9e202a, #08769b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

p{
    color: #272624 !important;
    text-align: justify;
}

/*#app{
    background: rgba(248, 247, 247, 0.6);
}*/

a, .nav-link, .star{
    text-decoration: none;
    color: #9e202a;
}

/*** Encabezado ***/
.header, .text-primary{
    color: #9e202a !important;
}

.header h1, .header_portrait h1{
    font-size: 4.6rem;
}

.header h2, .header_portrait h2{
    font-size: 1.6rem;
}

.header_portrait{
    margin: 8px 0;
    text-align: center;
    color: #ffffff;
}

/*** Contenido ***/

article{
    /*background: whitesmoke !important;*/
    color: #272624;
   /* -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);*/
    border-radius: 0.3em;
    filter: brightness(1);
}

.social-networks div{
    display: inline-block;

    color: #9e202a;
    margin: 0 0.2rem;
    padding: 0.8rem;
    width: 64px;
}

.perfil{
    border-radius: 3rem;
}

.post-photo{
    width: 25rem;
}

.rating i {
    cursor: pointer;
}

.links a.bg-white, .input-group-prepend, .page-link, .badge-primary, .bg-primary, .btn-primary{
    background: #9e202a !important;
    border: 1px solid #9e202a !important;
    color: #ffffff !important;
    padding: 0.2rem 1rem;
}

.links span.bg-white, .disabled .page-link{
    background: #131313 !important;
    border: 1px solid #131313 !important;
    color: #C2C1C0 !important;
}

.badge{
    text-transform: uppercase;
    padding-top: 0.4rem;
    border-radius: 0%;
}

.btn-info{
    background: #82d7ff!important;
}

@media (min-width: 1200px){
    .fs-1 {
        font-size: 6.25rem !important;
    }

    .service-card .fs-3{
        font-size: 4.25rem !important;
    }
}

.service-card {
    position: relative;
    width: 220px !important;
    height: 380px;
    /*background: linear-gradient(45deg, #9e202a, #08769b) !important;*/
    display: flex;
    align-items: center;
    color: white;
    flex-direction: column;

    border: none;
    padding: 1rem 1rem;
    margin: 1rem;
    gap: 12px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
  }

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    left: -6px;
    top: -6px;
    bottom: -6px;
    right: -6px;
    margin: auto;

    border-radius: 10px;
    background: linear-gradient(-45deg, #a2cdb8 0%, #1793d1 100% );
    z-index: -10;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

/*** Pie de pagina ***/

footer{
    background: linear-gradient(45deg,#2f577a, #9e202a) !important;
    color: #ffffff !important;
}

footer a{
    color: #bae6ff !important;
}

footer .btn-dark{
    background: #0b3859 !important;
}

footer :not(a){
    opacity: 1;
   /* color:  #9e202a;*/
}

.logo{
    height: 29px;
}

small, .small {
    font-size: 0.65em !important;
}

.badge {
	position: relative;
	/*margin: 3.5em 7em;
	width: 10em;
	height: 6.2em;*/
    width: 5em;
    height: 7.2em;
	border-radius: 10px;
	display: inline-block;
	top: 0;
	transition: all 0.2s ease;
    /*transform: rotate(99deg);*/
	&:before,
	&:after {
		position: absolute;
		width: inherit;
		height: inherit;
		border-radius: inherit;
		background: inherit;
		content: "";
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
	}
	&:before {
		transform: rotate(60deg);
	}
	&:after {
		transform: rotate(-60deg);
	}
	&:hover {
		top: -4px;
	}
	.circle {
		width: 55px;
		height: 55px;
		position: absolute;
		background: #fff;
		z-index: 10;
		border-radius: 50%;
        top: 3px;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        padding-top: 1.2em;
       /* transform: rotate(-99deg);*/
	}
	.font {
		display: inline-block;
		margin-top: 1em;
	}
	.ribbon {
		position: absolute;
		border-radius: 4px;
		padding: 5px 5px 4px;
		width: 120px;
		z-index: 11;
		color: #fff;
        bottom: -4px;
        left: 46%;
        margin-left: -55px;
        height: 21px;
		font-size: 14px;
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.27);
		text-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
		text-transform: uppercase;
		background: linear-gradient(to bottom right, #555 0%, #333 100%);
		cursor: default;

	}
}

.orange {
	background: linear-gradient(to bottom right, #ffc107 0%, #f57c00 100%);
	color: #f68401;
}

.red {
	background: linear-gradient(to bottom right, #f4511e 0%, #b71c1c 100%);
	color: #c62828;
}

.purple {
	background: linear-gradient(to bottom right, #ab47bc 0%, #4527a0 100%);
	color: #7127a8;
}

.portfolio-image {
    position: relative; /* Necesario para posicionar el segundo div de forma absoluta respecto a este */
    width: 100%;
    height: 260px;
    background-color: lightblue;
    overflow: hidden; /* Para evitar que se vea el div2 fuera del div1 */
  }

  /* Estilos para el segundo div (inicialmente oculto) */
  .portfolio-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #9e202a, #08769b) !important;
    opacity: 0; /* Empieza oculto */
    transform: translateY(100%); /* Posicionado fuera de la vista hacia abajo */
    transition: transform 0.5s ease, opacity 0.5s ease; /* Transiciones para ambas propiedades */
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    color: white;
    padding: 8px 20px;
    border: 18px;
    text-align: center;
  }

  /* Al pasar el mouse sobre el div1, el div2 se vuelve visible */
  .portfolio-image:hover .portfolio-details {
    opacity: 1;
    transform: translateY(0);
  }


  .services-list {
    --col-gap: 2rem;
    /*--barH: 1rem;*/
    --roleH: 2rem;
    --flapH: 2rem;

    width: min(60rem, 100%);
    margin-inline: auto;

    display: flex;
    flex-wrap: wrap;

    gap: var(--col-gap);
    padding-inline: calc(var(--col-gap) / 2);

    justify-content: center;
    align-items: flex-start;
    list-style: none;
  }
  .services-list li {
    width: 17em;
    display: grid;
    grid-template:
      "role"
      "icon"
      "title"
      "descr";
    align-items: flex-start;
    gap: 1rem;
    padding-block-end: calc(var(--flapH) + 1rem);
    text-align: center;
    background: var(--accent-color);
    background-image: linear-gradient(
      rgba(0, 0, 0, 0.6) var(--roleH),
      rgba(0, 0, 0, 0.4) calc(var(--roleH) + 0.5rem),
      rgba(0, 0, 0, 0) calc(var(--roleH) + 0.5rem + 5rem)
    );
    clip-path: polygon(
      calc(var(--col-gap) / -2 - 5px) 0,
      calc(100% + var(--col-gap) / 2 + 5px) 0,
      calc(100% + var(--col-gap) / 2 + 5px ) calc(100% - var(--flapH)),
      50% 100%,
      calc(var(--col-gap) / -2 - 5px) calc(100% - var(--flapH))
    );
  }

  /* bar */
  .services-list li::before {
    content: "";
    grid-area: role;
    height: var(--barH);
    width: calc(100% + var(--col-gap));
    margin-left: calc(var(--col-gap) / -2);
    margin-top: calc(var(--roleH) / 2 - var(--barH) / 2);
    background: grey;
    z-index: -1;
    background-image: linear-gradient(
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.2) 30%,
      rgba(255, 255, 255, 0.1) 40%,
      rgba(0, 0, 0, 0.1) 60%,
      rgba(0, 0, 0, 0.2) 70%,
      rgba(0, 0, 0, 0.4)
    );
  }

  /* role */
  .services-list li::after {
    content: "";
    grid-area: role;
    background: var(--accent-color);
    background-image: linear-gradient(
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.2) 30%,
      rgba(255, 255, 255, 0.1) 40%,
      rgba(0, 0, 0, 0.1) 60%,
      rgba(0, 0, 0, 0.2) 70%,
      rgba(0, 0, 0, 0.4)
    );
    height: var(--roleH);
  }

  .services-list li .title,
  .services-list li .icon,
  .services-list li .descr {
    padding-inline: 1rem;
    color: white;
    text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
  }

  .services-list li .icon {
    font-size: 3rem;
  }
  .services-list li .title {
    font-size: 1.25rem;
    font-weight: 700;
  }

  .services-list li .descr {
    font-size: 0.9rem;
  }

  .contenedor {
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
    height: 100vh; /* Ajusta a la altura completa de la pantalla */
}

/* From Uiverse.io by gharsh11032000 */
.button {
    position: relative;
    width: 120px;
    height: 40px;
    background: linear-gradient(45deg, #9e202a, #08769b) !important;
    display: flex;
    align-items: center;
    color: white;
    flex-direction: column;
    justify-content: center;
    border: none;
    padding: 12px;
    gap: 12px;
    border-radius: 8px;
    cursor: pointer;
  }

  .button::before {
    content: '';
    position: absolute;
    inset: 0;
    left: -4px;
    top: -1px;
    margin: auto;
    width: 128px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(-45deg, #3495c2 0%, #6f99b2  100% );
    z-index: -10;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }



  .button:hover::after {
    filter: blur(30px);
  }

  .button:hover::before {
    transform: rotate(-180deg);
  }

  .button:active::before {
    scale: 0.7;
  }

  .fc-event-title {
    white-space: normal !important;
    word-wrap: break-word;
    overflow: visible !important;
}
.fc-daygrid-event {
    white-space: normal !important;
    height: auto !important;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: var(--bs-modal-margin);
    pointer-events: none;
    margin-left: 37rem !important;
}

