@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

/* Loading */

#mencari {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .3);
    z-index: 10;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    display: none;
}

.dot-spinner {
    --uib-size: 2.8rem;
    --uib-speed: .9s;
    --uib-color: #183153;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: var(--uib-size);
    width: var(--uib-size);
}

.dot-spinner__dot {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
}

.dot-spinner__dot::before {
    content: '';
    height: 20%;
    width: 20%;
    border-radius: 50%;
    background-color: var(--uib-color);
    transform: scale(0);
    opacity: 0.5;
    animation: pulse0112 calc(var(--uib-speed) * 1.111) ease-in-out infinite;
    box-shadow: 0 0 20px rgba(18, 31, 53, 0.3);
}

.dot-spinner__dot:nth-child(2) {
    transform: rotate(45deg);
}

.dot-spinner__dot:nth-child(2)::before {
    animation-delay: calc(var(--uib-speed) * -0.875);
}

.dot-spinner__dot:nth-child(3) {
    transform: rotate(90deg);
}

.dot-spinner__dot:nth-child(3)::before {
    animation-delay: calc(var(--uib-speed) * -0.75);
}

.dot-spinner__dot:nth-child(4) {
    transform: rotate(135deg);
}

.dot-spinner__dot:nth-child(4)::before {
    animation-delay: calc(var(--uib-speed) * -0.625);
}

.dot-spinner__dot:nth-child(5) {
    transform: rotate(180deg);
}

.dot-spinner__dot:nth-child(5)::before {
    animation-delay: calc(var(--uib-speed) * -0.5);
}

.dot-spinner__dot:nth-child(6) {
    transform: rotate(225deg);
}

.dot-spinner__dot:nth-child(6)::before {
    animation-delay: calc(var(--uib-speed) * -0.375);
}

.dot-spinner__dot:nth-child(7) {
    transform: rotate(270deg);
}

.dot-spinner__dot:nth-child(7)::before {
    animation-delay: calc(var(--uib-speed) * -0.25);
}

.dot-spinner__dot:nth-child(8) {
    transform: rotate(315deg);
}

.dot-spinner__dot:nth-child(8)::before {
    animation-delay: calc(var(--uib-speed) * -0.125);
}

@keyframes pulse0112 {

    0%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

/* End Loading */

.core {
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
}

.core .core-body {
    height: 90%;
    width: 100%;
}

.core .core-body .row {
    height: 100%;
    width: 100%;
}

.core .core-body .row .col-lg-6{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.core .core-body .row .col-lg-6 .box-img{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(../../user/img/together.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* TEXT */
.core .core-body .row .col-lg-6.text{
    align-items: flex-start;
}

.core .core-body .row .col-lg-6.text h5 {
    font-weight: bold;
    color: #158dd6;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-style: italic;
    margin: 0 50px;
}

.core .core-body .row .col-lg-6.text h1 {
    font-size: 4vw;
    font-family: 'Lobster', cursive;
    margin: 0 40px;
}

.core .core-body .row .col-lg-6.text p {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: justify;
    font-size: 1.2em;
    margin: 0 40px;
}

.core .core-body .row .col-lg-6.text p span {
    font-weight: bold;
}

@media(max-width: 991px){
    .core .core-body .row .col-lg-6 .box-img{
        width: 40%;
        height: 90%;
        margin-top: 30px;
    }

    .core .core-body .row .col-lg-6.text{
        align-items: center;
    }

    .core .core-body .row .col-lg-6.text h1 {
        font-size: 7vw;
        width: 90%;
        text-align: center;
        text-shadow: 2px 2px 2px black;
    }
    
    .core .core-body .row .col-lg-6.text p {
        display: none;
    }

    .core .core-body {
        height: 100%;
        width: 100%;
    }

    .core .core-body .row .col-lg-6 .box-img{
        display: none;
    }

    .core .core-body .row {
        background-image: url(../../user/img/together.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        color: #fff;
    }

    .core {
        align-items: center;
        justify-content: center;
    }
    
}

@media(max-width: 480px){

    .core .core-body .row .col-lg-6.text h1 {
        font-size: 9vw;
        width: 90%;
    }
}

/* STYLE DESTINASI */
.main .destinasi {
    height: fit-content;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
}

.destinasi h1 {
    text-align: center;
    padding: 40px 0 0;
    font-family: 'Lobster', cursive;
}

.main .destinasi .row .col-12 .row .col-6 {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.main .destinasi .row .col-12 .row .col-6 .cov-img {
    margin: 5px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    padding: 0;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
}

.main .destinasi .row .col-12 .row .col-6 .cov-img img {
    transition: .5s cubic-bezier(0.47, 0, 0.745, 0.715);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main .destinasi .row .col-12 .row .col-6:hover img {
    transform: scale(1.2) rotate(3deg);
}

.main .destinasi .row .col-12 .row .col-6 .cov-img h3 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 2px black;
}