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

:root {
    --secondary: rgb(50, 179, 215);
    --box-blur: blur(10px);
    --box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.37);
    --box-bg: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --color-btn: #000;
    --bg-btn: rgb(197, 14, 14);
    --bg-containers: linear-gradient(180deg, rgb(50, 179, 215) 0%, rgb(29, 33, 46) 100%);
}

* {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

*>img {
    user-select: none;
    pointer-events: none;
}

html {
    font-size: 62.5%;
    overflow: hidden;
}

html,
body {
    height: 100%;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100vw;
}

#marker {
    background-image: url('/images/persona.png');
    background-size: cover;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}

.mapboxgl-popup {
    position: relative;
    z-index: 99;
}


.mapboxgl-popup-content {
    background-color: rgba(255, 255, 255, 0.933);
    border-radius: 1rem;
    padding: 2rem;
    width: fit-content !important;
}

.mapboxgl-popup-close-button {
    font-size: 5rem;
    right: 3%;
    top: -3%;
}

.mapboxgl-marker {
    cursor: pointer;
}


.btn,
.btn-close {
    margin-top: 1rem;
    display: inline-block;
    padding: 1.5rem 4rem;
    border-radius: 1.5rem;
    color: var(--color-btn);
    font-size: 2rem;
    cursor: pointer;
    font-weight: 600;
    background: #4771b13b;
    box-shadow: var(--box-shadow);
    backdrop-filter: var(--box-blur);
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.281);
}

.btn a {
    color: #fff;
}

.btn-close {
    background: #4c4c4d1e;
    margin-left: 1rem;
}

.btn:hover {
    opacity: .8;
}

.hiden {
    display: none
}

.fas {
    margin-left: 1rem;
}


.logo__container {
    position: fixed;
    width: 15vw;
    top: 1%;
    left: .5%;
    z-index: 9;
}

.logo {
    display: block;
    padding: 0 1.5rem;
    background: var(--bg-containers);
    box-shadow: var(--box-shadow);
    backdrop-filter: var(--box-blur);
    border-radius: 1rem;
}

.logo img {
    width: 100%;
}

.navigation__container {
    position: fixed;
    top: 1%;
    left: 16%;
    z-index: 9;
}

.navigation__container div {
    font-size: 3rem;
    color: rgb(255, 255, 255);
    cursor: pointer;
    padding: 1.5rem 2rem;
    background: var(--bg-containers);
    box-shadow: var(--box-shadow);
    backdrop-filter: var(--box-blur);
    border-radius: 1rem;
}

.cards-info-user {
    position: relative;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 9;
    top: 99%;
    left: 25%;
    transform: translateY(-100%);
}

.swiper {
    width: 75%;
}

.swiper-slide {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    filter: blur(2px);
}

.swiper-slide-active {
    filter: blur(0px)
}

.swiper-wrapper .box {
    background: var(--bg-containers);
    border-radius: .5rem;
    width: 35rem;
    height: auto;
    overflow: hidden;
}


.swiper-button-next,
.swiper-button-prev {
    height: 4rem;
    width: 4rem;
    color: #000;
    background: rgba(255, 255, 255, 0.425);
    border-radius: 50%;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    content: 'prev';
    font-size: large;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    content: 'next';
    font-size: large;
}


.info-main {
    display: flex;
    width: 100%;
    padding: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.info-main .fa-user-tie {
    font-size: 5rem;
    display: block;
    margin: auto;
}

.content {
    margin-left: 2rem;
}

.content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #fff;
}

.content h3 {
    font-size: 2rem;
    font-weight: 800;
    text-transform: capitalize;
    color: rgb(28, 27, 27);
}

.content button {
    padding: .5rem 1rem;
    margin-top: 1rem;
    font-weight: 400;
    background-color: #000;
    border-radius: .5rem;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
}

.content button:active {
    transform: scale(.9);
}

.content-two h3 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: capitalize;
    color: rgb(239, 239, 239);
}

.swiper-slide img {
    display: block;
    width: 100%;
}

.swiper-pagination-bullet {
    background-color: var(--secondary);
    margin-right: -50rem;
}

.contentInfo {
    display: flex;
}

.iconInfo {
    font-size: 6rem;
    margin: auto;
    background-color: rgb(236, 236, 236);
    padding: 1rem;
    border-radius: .5rem;
}

.text-info {
    width: 100%;
    text-align: left;
    margin-left: 1rem;
}

.text-info i {
    font-size: 3rem;
    color: var(--secondary);
    border: 1px solid #000;
    padding: .5rem 1rem;
    border-radius: .5rem;
}

.text-info i:hover {
    font-size: 3rem;
    color: #000;
    background-color: rgb(196, 225, 233);
    transition: all .5s ease;
}

.contentInfo h2 {
    color: var(--secondary);
    font-size: 3rem;
    padding-bottom: 1rem;
    text-transform: capitalize;
    line-height: 1;
}

.contentInfo h3 {
    font-size: 2.6rem;
    text-transform: capitalize;
}

hr {
    background-color: var(--color-btn);
    height: 1px;
    margin: 2rem 0;
}

.contentInfo-personal {
    display: flex;
    width: 100%;
}

.info-left {
    border-right: 1px solid var(--color-btn);
}

.text-info-personal {
    text-align: left;
    padding: 0 2rem;
}

.text-info-personal h2 {
    margin-bottom: .2rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.text-info-personal .title {
    font-size: 2.2rem;
    color: #fff;
    margin: 2rem 0;
    background-color: #333;
    border-radius: .5rem;
    padding: 1rem;
    text-align: center;
}

.text-info-personal h3 {
    text-transform: capitalize;
    font-size: 1.9rem;
    min-width: 20rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-info-personal h4 {
    font-size: 1.7rem;
    min-width: 20rem;
    line-height: 1.2;
    display: flex;
}

.read-more-state,
.contactar {
    display: none;
}

.read-more-target {
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: .25s ease;
}

.form {
    display: none;
    min-width: 50vh;
    width: fit-content;
}

.contactar:checked~.form {
    display: flex;
    flex-direction: column;
}

.form .inputs,
.form input {
    width: 100%;
    height: 100%;
}

.form label {
    font-size: 2.2rem;
    color: var(--secondary);
    font-weight: 800;
    margin-top: 1.5rem;
}

.form input,
.form textarea {
    border-radius: .5rem;
    font-size: 1.7rem;
    padding: .5em;
    margin: .7rem 0;
    border: 1px solid #333;
}

.form button {
    display: inline;
    padding: 1rem 0;
    margin-top: 1rem;
    font-weight: 400;
    background-color: rgb(27, 27, 27);
    border-radius: .5rem;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
}

.contactar:checked~.contentInfo-personal {
    display: none;
}

.contactar-trigger {
    cursor: pointer;
    padding: .5rem 0;
    color: rgb(255, 255, 255);
    font-size: 1.9rem;
    font-weight: 600;
    background-color: #333;
    border: 1px solid rgb(82, 82, 82);
    border-radius: .5rem;
    display: block;
    text-align: center;
    margin-bottom: 1.5rem;
}

.contactar~.contactar-trigger:before {
    content: 'Enviar Mensaje';
}

.contactar:checked~.contactar-trigger:before {
    content: 'Volver';
}

.read-more-state:checked~.read-more-wrap .read-more-target {
    opacity: 1;
    font-size: inherit;
    max-height: 999em;
}

.read-more-state~.read-more-trigger:before {
    content: 'Ver más';
}

.read-more-state:checked~.read-more-trigger:before {
    content: 'Ver menos';
}

.read-more-trigger {
    cursor: pointer;
    display: inline-block;
    padding: 0 .5em;
    color: rgb(0, 0, 0);
    font-size: 1.3rem;
    line-height: 2;
    border: 1px solid rgb(82, 82, 82);
    border-radius: .5rem;
}

.redes-info {
    margin: 1rem 0;
    display: inline;
    width: 100%;
}

.redes-info .logo-cvlac {
    text-decoration: none;
    font-size: 2.5rem;
    background-color: rgb(220, 220, 220);
    padding: 1.5rem;
    color: #000;
    border-radius: 1rem;
    margin-right: .5rem;
}

.redes-info a {
    font-size: 4.5rem;
}


.redes-info a img {
    text-decoration: none;
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    background-color: rgb(220, 220, 220);
    padding: .5rem;
    color: #000;
    border-radius: 1rem;
    margin-right: .5rem;
}


.redes-info a img:hover {
    opacity: .5;
}

.swal2-container.swal2-center>.swal2-popup {
    width: 60rem;
}

.swal2-html-container {
    width: fit-content;
}

.swal2-styled {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
}

.swal2-confirm {
    background-color: var(--secondary) !important;
}

.wrapper {
    position: relative;
    border-radius: .9rem;
    position: fixed;
    top: 1%;
    right: .5%;
    z-index: 9;
    width: 30rem;
}

.wrapper .search-input {
    width: 100%;
    border-radius: 5px;
    position: absolute;
    box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
}

.search-input input {
    height: 5rem;
    width: 100%;
    outline: none;
    border: none;
    border-radius: .5rem;
    padding: 0 60px 0 20px;
    font-size: 2rem;
    color: #fff;
    background: var(--bg-containers);
    box-shadow: var(--box-shadow);
    backdrop-filter: var(--box-blur);
}

.search-input input::placeholder {
    color: #fff;
}

.search-input i {
    font-size: 2.5rem;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.search-input.active input {
    border-radius: 5px 5px 0 0;
}

.fondo-filter {
    position: fixed;
    background: rgba(255, 255, 255, 0.034);
    top: 7%;
    right: .5%;
    z-index: 9;
    height: 80%;
    width: 30rem;
    transition: all .5s;
}

.cards-filter::-webkit-scrollbar-track {
    border-radius: 5rem;
    box-shadow: 0px 2px 15px 2px rgba(2, 2, 2, 0.25);
}

.cards-filter::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 5rem;
}

.cards-filter {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    margin: auto;
    margin-top: 2rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1rem;
}

.card {
    background-color: var(--secondary);
    color: var(--main-color);
    transition: all 0.3s ease-out;
    border-radius: .5rem;
    box-shadow: 0px 2px 20px 5px rgba(2, 2, 2, 0.25);
    width: fit-content;

}

.card .content-side {
    display: flex;
    padding: .5rem;
    text-transform: capitalize;
}

.card .fa-user-tie {
    font-size: 4rem;
    background-color: var(--color-btn);
    padding: .5rem;
    margin: auto;
    margin-left: .5rem;
    border-radius: .5rem;
    color: #fff;
}

.card figcaption {
    padding: 1rem;
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
    font-weight: 800;
    display: flex;
    align-items: center;
}

.card .name {
    border-right: 1px solid #fff;
}

.filter {
    visibility: hidden;
    opacity: 0;
    order: 1;
}


.tuto-map,
.tuto-map2 {
    display: none;
    background-color: #fff;
    padding: 20px;
    width: fit-content;
    max-width: 50%;
    line-height: 250%;
    border-radius: 0 1rem 1rem 1rem;
    position: fixed;
    top: 2%;
    left: 23%;
    z-index: 9999999;
    box-shadow: 0px 2px 20px 10px rgba(2, 2, 2, 0.25);
    text-align: center;
}

.tuto-map2 {
    top: 60%;
    left: 50%;
}

.tuto-map3 {
    display: none;
    background-color: #fff;
    padding: 20px;
    width: fit-content;
    max-width: 50%;
    line-height: 250%;
    border-radius: 0 1rem 1rem 1rem;
    position: fixed;
    top: 2%;
    right: 23%;
    z-index: 9999999;
    box-shadow: 0px 2px 20px 10px rgba(2, 2, 2, 0.25);
    text-align: center;
}

.tuto-map.active,
.tuto-map2.active,
.tuto-map3.active {
    display: block;
}

.flecha{
    width: 30px;
    height: 25px;
    position: absolute;
    left: -20px;
    top: 0%;
    background-color: #fff;
    border-radius: 0 0 0 100%;
}

.flecha2 {
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0;
    bottom: -20px;
    background-color: #fff;
    border-radius: 0 0 100% 0;
}

.flecha3 {
    width: 30px;
    height: 25px;
    position: absolute;
    right: -20px;
    top: 0%;
    background-color: #fff;
    border-radius: 0 0 100% 0;
}

.tuto-map__texts {
    font-size: 2rem;
    padding: 1rem 0;
}

.tuto-map__btn {
    background-color: var(--color-btn);
    color: #fff;
    border: none;
    text-align: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: .3s ease all;
    border-radius: 1rem;
    font-size: 2rem;
}

.tuto-map__btn:hover {
    opacity: .8;
}

.fondo-tuto-map {
    display: none;
    background: rgba(0, 0, 0, 0.534);
    position: fixed;
    z-index: 8888888;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}

.fondo-tuto-map.active {
    display: block;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 99999999;
    background-color: rgba(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-container.active {
    display: none;
}

.loader-container img {
    height: 20%;
}

@media (max-width:1400px) {
    html {
        font-size: 49%;
    }
}

@media (max-width:768px) {

    .logo__container {
        position: fixed;
        width: 25vh;
        top: 1%;
        left: .5%;
        z-index: 9;
    }

    .navigation__container {
        position: fixed;
        top: 11%;
        left: -0.5%;
        z-index: 9;
    }

    .tuto-map {
        top: 12%;
    }

    .tuto-map2 {
        left: 45%;
    }
}

@media (max-width:425px) {

    html {
        font-size: 40%;
    }

    .logo__container {
        max-width: 20vh;
    }

    .navigation__container div {
        font-size: 2rem;
    }

    .navigation__container {
        top: 10%;
        left: -1%;
        z-index: 9;
    }

    .search-input input {
        width: 200%;
    }

    .cards-info-user {
        width: 100%;
        height: 35vh;
        top: 100%;
        left: .5%;
        transform: translateY(-100%);
    }

    #filter-close {
        display: none;
    }
}


@media (max-width:320px) {
    html {
        font-size: 35%;
    }

    .wrapper {
        width: 25rem;
    }

    .fondo-filter {
        height: 70%;
        width: 25rem;
    }
}

@media (max-height:500px) {
    .cards-info-user {
        display: none;
    }
}