:root{
    --red: #a61d1d;
    --light_red: #e73a3a;
    --green: #c2d220;
    --dark_green: #41572c;
    --yellow: #fbb818;
    --gray: #616161;
    --white: #fff;
    --orange: #d69049;
    --dark_red: #c11717;
    --beige: #f7ecb7;
}

.location_popup_bg{
    position: fixed;
    width:100%;
    height: 100%;
    background-color: #41572c90;
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition:0.25s;
}

.location_popup_active{
    opacity: 1;
    pointer-events: initial;
    transition:0.25s;
}

.location_popup{
    position:fixed;
    margin: 15vh 15vw;
    width: 70vw;
    height: 38vw;
    background-color: var(--green);
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 5vh;
}

.popup_info>*{
    margin-bottom:1vw;
}

.popup_info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 30vw;
    width: 36vw;
    margin: auto;
    /*gap:1vw;*/
}

.popup_info>div>h2{
    color: var(--dark_green);
    font-size: 4vw;
    height: 4vw;
    position: relative;
    top: 1vw;
}
.popup_info>div>h3{
    color:var(--dark_green);
    font-size: 6vw;
    height: 6vw;
}

.popup_info>p{
    color: var(--beige);
    font-size: 2vw;
    cursor: default;
}

.location_links{
    display: flex;
    flex-direction: column;
    /*gap:1vw;*/
}
.location_links>a{
    background-color: var(--dark_green);
    color: var(--beige);
    border: 0px;
    border-radius: 2vw;
    text-decoration: none;
    width: 15vw;
    text-align: center;
    font-size: 2vw;
    transition: 0.25s;
    margin-bottom: 1vw;
}
.popup_img_1{
    position: absolute;
    height: 100%;
    width: auto !important;
    border-radius: 5vh 0vh 0vh 5vh;
    z-index: -1;
}

.popup_img_2{
    position: absolute;
    height: 100%;
    width: auto !important;
    top: 0;
    
    border-radius: 0 5vh 5vh 0vh;
    right: 0;
    z-index: -2;
}

.location_links>a:hover{
    background-color: var(--beige);
    color:var(--dark_green);
    transform: scale(1.05);
    transition: 0.25s;
}

.location_popup button{
    position: absolute;
    width: 4vw;
    height: 4vw;
    border-radius: 1vw;
    border: 0px;
    color: var(--dark_green);
    background-color: var(--green);
    transition: 0.25s;
    top: -5vw;
    right: -5vw;
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 2vw;
}

.location_popup button:hover{
    color: var(--green);
    background-color: var(--dark_green);
    transition: 0.25s;
}


@media (max-width: 996px) {
    .location_popup{
        grid-template-columns: 1fr;
        border-radius: 5vw;
        height: 80vh;
        margin: 10vh 15vw;
    }
    .popup_info{
        text-align: center;
        background-color: var(--green);
        padding: 5vw 4vw;
        height: 50vw;
        width: 70vw;
        margin: auto;
        margin-bottom: 5vw;
    }
    
    .popup_info>div>h2{
        font-size: 6vw;
        height: 6vw;
    }
    .popup_info>div>h3{
        font-size: 8vw;
        height: 8vw;
    }
    
    .popup_info>p{
        font-size: 4vw;
    }
    
    .location_links{
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap:2vw;
    }
    .location_links>a{
        border-radius: 2vh;
        width: 30vw;
        text-align: center;
        font-size: 4vw;
        transition: 0.25s;
    }
    .popup_img_1{
        position: absolute;
        width: 70vw !important;
        height: auto !important;
        border-radius: 5vw 0vh 0vh 0vh;
        z-index: -1;
    }
    
    .popup_img_2{
        position: absolute;
        height: 54vw!important;
        width: auto !important;
        bottom: 0;
        top: auto;
        border-radius: 0 0 5vw 0;
        right: 0;
        /* right: auto; */
        z-index: 1;
    }
    
    .location_links>a:hover{
        background-color: var(--beige);
        color:var(--dark_green);
        transform: scale(1.05);
        transition: 0.25s;
    }
    .location_popup button{
        position: absolute;
        font-size: 4vw;
        width: 7vw;
        height: 7vw;
        border-radius: 1vw;
        border: 0px;
        top: -8vw;
        right: 0vw;
    }
}
