@import url('https://fonts.googleapis.com/css2?family=family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


#fondo-mapa,
#fondo-mapa-viejo {
    position: absolute;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-color 0.5s ease-in-out;
}
#fondo-mapa {

    background: rgb(42,87,119);
    background: linear-gradient(90deg, rgba(42,87,119,1) 0%, rgba(15,62,94,1) 100%);
    z-index: 2;
}
#fondo-mapa-viejo {
    z-index: 1;
    background: rgb(42,87,119);
    background: linear-gradient(90deg, rgba(42,87,119,1) 0%, rgba(15,62,94,1) 100%);
}
#fondo-mapa-cover {
    position: absolute;
    width: 100%;
    z-index: 0;
}


svg#continentes {
    max-height: 100%;
    z-index: 2;
    position: relative;
    width: 80%;
    margin-top: 100px;
}

g {
    fill: #4a882d;
    cursor: pointer;
    transition: opacity 1s, fill 1s;
    animation-delay: .5s;
}

#contenedor-mapa {
    display: flex;
    justify-content: center;
    width: 100%;
}

.titles-container {
    display: flex;
    flex-direction: row;
    position: absolute;
    cursor: pointer;
    justify-content: center;
    margin-top: 2%;
    z-index: 99;
    text-transform: uppercase;
    text-shadow: black 0 0 2px;
    padding:0 ;
}

.titles-container h3 {
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    padding: 5px;
    margin: 0;
    color: #ffffff;
    position: relative;
    display: inline-block;
    font-family: "Roboto", sans-serif;
}

.titles-container h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--main-color);
    transition: width 0.3s ease;
}

.titles-container a.animado h3::after {
    width: 100% !important;
}

.titles-container h3:hover::after {
    width: 100%;
}

.flecha-scroll {
    z-index: 99;
    position: absolute;
    margin-top: 39%;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: none;
}

.flecha-scroll:hover {
    opacity: 1;
}

.flecha-scroll i {
    font-size: 50px;
    color: white;
    cursor: pointer;
}
@keyframes glow {

    0%{

        stroke: #fff;
        stroke-width: 20px;
        /*filter: drop-shadow(15px 15px 25px #fff) drop-shadow(-15px 15px 25px #fff) drop-shadow(15px -15px 25px #fff) drop-shadow(-15px -15px 25px #fff)*/
    }
    50%{

        stroke: #fff;
        stroke-width: 50px;
        /*filter: drop-shadow(5px 5px 100px #fff) drop-shadow(-5px 5px 100px #fff) drop-shadow(5px -5px 100px #fff) drop-shadow(-5px -5px 100px #fff);*/
    }
    100%{

        stroke: #fff;
        stroke-width: 20px;
        /*filter: drop-shadow(15px 15px 25px #fff) drop-shadow(-15px 15px 25px #fff) drop-shadow(15px -15px 25px #fff) drop-shadow(-15px -15px 25px #fff)*/
    }
}

.titulo-mapa{
    display: none;
}


@media (min-width: 1250px) {
    .titles-container {
        margin-left: 50%;
    }

    .titles-container h3 {
        font-size: 16px;
        font-family: "Roboto", sans-serif;
    }

    .flecha-scroll {
        display: block;
    }

    .titulo-mapa{
        position: absolute;
        z-index: 99;
        margin-right: 700px;
        display: block;
    }

    .titulo-mapa h2{
        margin-top: 30px;
        color: white;
        font-size: 40px;
    }
}
.panel-portada{
    max-width: 500px !important;
    min-width: 250px !important;
    min-height: 250px !important;
    max-height: 500px !important;
}
.img-destino{
    object-fit: cover;
    background-position: center;
    width: 100%;
    transition: object-position .7s ease-in-out, scale .7s ease-in-out;
    /*height: 100%;*/
}
#destinos{
    margin-top: 0 !important;
    padding-top: 30px;
}
#plane_cont{
    pointer-events: none !important;
    position: absolute;
    z-index: 5;
    left: 0;
    width: 100%;
    background-image: none;
    background-repeat: repeat;
    height: calc(5px + 1dvh);
}
.plane{
    pointer-events: none !important;
    position: absolute;
    z-index: 100;
    width: calc(5px + 1dvw);
    height: calc(5px + 1dvw);
    padding: 0;
    /*animation: travel 15s linear infinite;*/
    &>img{
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        transform: rotate(90deg);
    }
}
.plane2{
    pointer-events: none !important;
    &>img{
        transform: rotate(-90deg) !important;
    }
}
@keyframes travel {
    0%{
        transform: translate(0,0);
    }
    100%{
        transform: translate(120dvw,0);
    }
}
.destinos_bg{
    position: absolute;
    object-fit: cover;
    opacity: 0;
    top: 10px;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(5px);
    transition: opacity 1s;
}
@keyframes newimg {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
@keyframes disappear {
    from{
        opacity: 1;
    }
    to{
        opacity: 0;
    }
}
@media (max-width: 991px) {
    .destinos{
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}
.panel-body{
    transition: scale .5s ease-in-out, opacity .5s ease-in-out !important;
    &>h3{
        pointer-events: none !important;
        position: absolute;
        z-index: 1;
        bottom: -1.2dvh;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(255,255,255,0.2);
        border-radius: 0em 0em .5em .5em;
        padding: 10px;
        padding-left: calc(3dvw + 10px);
        padding-right: calc(3dvw + 10px);
        box-shadow: 0 4px 30px rgba(0,0,0,0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        /*border: 1px solid rgba(255,255,255,.3);*/
        transition: transform .5s, padding .5s, font-size .5s;
        font-weight: bold;
        /*clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);*/
    }
    &:hover>h3{
        pointer-events: none !important;
        padding: 0px;
        padding-left: 25px;
        padding-right: 25px;
        /*font-size: calc(5px + 1dvh);*/
        /*transform: translate(-50%, 2dvh);*/
    }
}


