@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Poppins:wght@400;500&display=swap');
:root {
    --header-height: 3.5rem;

    --title-color: hsl(0 ,0% , 95%);
    --text-color: hsl(0 ,0%, 70%);
    --text-color-light: hsl(0, 0%, 60%);
    --body-color: hsl(0, 0% ,0%);
    --container-color: hsl(0,0%,8%);

    --body-font:"Poppins", sans-serif;
    --second-font: "Montserrat", sans-serif;
    --biggest-font-size: 2.75rem;
    --h1-font-size: 1.5rem;
    --h2-font-size:1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;

    --z-tooltip: 10;
    --z-fixed:100;
}

@media screen and(min-width:1152px){
    :root{
        --biggest-font-size: 5.5rem;
        --h1-font-size: 2.5rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html{
    overflow: hidden;
}

body,
button,
input{
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    color: var(--text-color);
}
body{
    background-color: var(--body-color);
}
button,
input{
    outline: none;
    border: none;
}
h1,h2,h3,h4{
    color: var(--title-color);
    font-family: var(--second-font);
    font-family: var(--font-semi-bold);
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
img{
    display: block;
    max-width: 100%;
    height: auto;
}
.container{
    max-width: 1120px;
    margin-inline: 1.5rem;
}
#map {
    position: relative;
    height: 100vh; /* Full height */
    width: 100vw; /* Full width */
}
#zoom-btn {
    position: absolute;
    top: 0;
    right: 10px;
    z-index: 1000;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
#zoom-btn:hover {
    background-color: #0056b3;
}
/*header*/
.header{
    width: 100%;
    background-color: white;
    top:0;
    left:0;
    z-index: var(--z-fixed);
}
.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__logo{
    color: black;
    font-family: var(--second-font);
    font-weight: var(--font-semi-bold);
}

/*navigation for mobile devices*/
@media screen and (max-width:1023px){
    .nav__menu{
        position: fixed;
        top:-100%;
        left:0;
        background-color: hsla(0,0%,0%,.3);
        width: 100%;
        padding-block: 4rem;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        transition: top .4s;
    }
}
.logo{
    display: flex;
    align-items: center;
}
.nav__list{
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}
@media screen and (max-width:340px) {
    .container{
        margin-inline: 1rem;
    }
}
@media screen and (min-width: 1023px) {
    .nav__close,
    .nav__toggle{
        display: none;
    }
}
@media screen and (min-width: 1152px) {
    .container{
        margin-inline: auto;
    }
    .section{
        padding-block: 8.5rem 2rem;
    }
    .home{
        padding: 0;
    }
    .nav{
        height: calc(var(--header-height)+1.5rem);
    }
    .blur-header::after{
        backdrop-filter: blur(25px);
        --webkit-backdrop-filter: blur(25px);
    }
}
.bottom-right-link {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 2000;  
    cursor: pointer;
}

.bottom-right-link img {
    width: 100px;
    height: 100px;
    z-index: 1000;
}

/* Style for the popup window */
.popup {
    position: fixed;
    bottom: 60px; /* Adjust the position */
    right: 10px; /* Adjust the position */
    z-index: 1000;
    width: 260px; /* Adjust the width */
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.popup.hidden {
    display: none;
}

.popup-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: black;
}
