@import url("https://fonts.googleapis.com/css?family=Inter:400,500");

html, body{
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: #232323;
    font-family: "Inter", sans-serif;
}

.wrapper{

    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 96px;
    justify-items: center;
    margin: 128px 96px;
    box-sizing: border-box;
    position: relative;
    
}




/*    USEFUL POPUP CODE    */
/*    Styling for popup    */


  
@keyframes skeleton-loading {
0% {
    background-color: hsl(200, 20%, 80%);
}
100% {
    background-color: hsl(200, 20%, 95%);
}
}

.popup{
    width: 302px;
    height: auto;
    background: #fff;
    position: relative;
    border-radius: 8px;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.08));
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.popup>svg{
    position: absolute;
    bottom: -12px;
    cursor: pointer;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.08));
    z-index: 24;
}

.popup-image>img{
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
}

#popup-quit{
    position: absolute;
    top: 8px !important;
    right: 8px !important;
    left: unset !important;
    bottom: unset !important;
    cursor: pointer;
    color: #fff;
    width: 24px;
    height: 24px;
    padding: 6px;
    transition: 300ms ease-in-out;
    border-radius: 50%;
    z-index: 30;
}

#popup-quit:hover{
    background: #fff;
    color: #232323;
}

.popup-image{
    position: relative;
    width: 100%;
    height: 162px;
    background: #eee;
    z-index: 25;
    object-fit: cover;
    animation: skeleton-loading 1s linear infinite alternate;
}

.popup-content{
    width: 100%;
    padding: 24px 16px 24px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    color: #262533;
    z-index: 25;
    position: relative;
}

.popup-content h1{
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 8px;
    font: 24px/29px "Inter", sans-serif;
    text-transform: capitalize;
}

.popup p{
    opacity: 0.6;
    margin: 0;
    width: 100%;
    font-size: 14px;
    line-height: 22px;
    font: 14px/22px "Inter", sans-serif;
}

.popup a{
    outline: none;
    border: none;
    text-decoration: none;
    margin-top: 40px;
    display: flex;
    align-items: center;
    width: max-content;
    transition: 300ms ease-in-out;
    font: 16px/20px "Inter", sans-serif;
}

.popup a svg{
    margin-left: 12px;
    transition: 300ms ease-in-out;
}

.popup a:hover svg{
    transform: translateX(6px);
}

/* Styling for popup */


/*       BUTTON STYLING          */
/*  COPY FOR POPUP No.1 Button   */
.popup-1 a{
    padding: 12px 24px;
    border: 1px solid #fff;
    border-bottom: 1px solid #262533;
    color: #262533;

}

.popup-1 a:hover{
    border: 1px solid #262533;
}
/*       BUTTON STYLING END       */



/*       BUTTON STYLING          */
/*  COPY FOR POPUP No.2 Button   */
.popup-2 a, .popup-5 a{
    padding: 12px 40px;
    background: #008000;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
}

.popup-2 a:hover, .popup-5 a:hover{
    background: #006800;
}
/*       BUTTON STYLING END       */

.popup-3{
    width: 640px;
    height: 340px
}
.popup-3 #popup-quit, .popup-4 #popup-quit{
    background: #fff;
    color: #232323;
}


@media screen and (max-width: 768px){
    .popup-3{
        width: 100%;
        height: auto;
        min-height: 420px;
    }
}

.popup-3 .popup-image{
    height: 100%;
    overflow: hidden;
    flex-grow: 2;
}


.popup-3 iframe{
    position: relative;
    width: 100%;
    height: 100%;
    background: #eee;
    z-index: 25;
    object-fit: cover;
    animation: skeleton-loading 1s linear infinite alternate;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    scrollbar-width: 0;
    padding-right: 17px;
    box-sizing: content-box;
    overflow-y: scroll;
    max-height: 80vh;
    
}

.popup-center, .popup-center{
    transform: translate(-50%, -50%) !important;
    left: 50% !important;
    top: 50% !important;
}


.popup-4{
    width: 80vw;
    height: auto;
    aspect-ratio: 16/9;
    max-height: 80vh;
}

.popup-center .mapboxgl-popup-content{
    padding: 0 !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, 0) !important;
    right: unset !important;
    bottom: unset !important;
    margin: 0 !important;
}

.popup-4 .popup-image, .popup-4 iframe{
    width: 100%;
    height: 100%;
    max-height: 80vh;
}

@media screen and (max-width: 768px){
    .popup-4{
        width: 100vw;
        height: 70vh;
        object-fit: cover;
        max-height: unset;
    }
    .popup-4 .popup-image, .popup-4 iframe{
        max-height: unset;
    }
}


.popup-5 .popup-image{
    height: 194px;
}
.popup-5 .popup-image img{
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px){
    .popup-5{
        width: 80vw;
    }
    .popup-5 a{
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 12px;
    }
    .popup-5 a svg{
        transform: rotate(90deg);
        margin: 8px 0 0 0;
    }
    .popup-5 a:hover svg{
        transform: rotate(90deg) translateX(6px);
    }
}