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

:root {
    --background-white: #D1E0D7;
    --background-blue: #607EBC;
    --text-color: #1a1a1a;
    --prc: white;
    --snd: #eef0ef;
    --bg-color: #607EBC;
}

body {
    background: linear-gradient(to bottom left, var(--background-white), var(--background-blue));
    color: var(--text-color);
    font-family: "Mogra", system-ui;
    margin: 0;
   font-size: clamp(1rem, 2vw, 1.5rem);
    text-align: center;
}
nav{
    background-color: var(--bg-color);
    height: 10vh;
    border-radius: 50px;
    width: 60vw;
    margin-left: 20vw;
    margin-top: 3vh;
}
nav>ul>li>a{
    text-decoration: none;
    color: var(--prc);
    font-size: 18px;
}
.sm-m {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}
nav>ul{
    display: flex;
    justify-content: space-evenly;
    width: 60%;
    margin: 0;
    padding: 0;
}
nav>ul>li{
    display: inline;
}
nav>ul>li>a:hover{
    color: black;
    transition: 1s;
}
nav{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
nav>div>button{
    color: var(--bg-color);
    background-color: var(--prc);
    outline: none;
    border: 2px transparent solid;
    border-radius: 30px;
    padding: 10px;
}
nav>div>button:hover{
    color: var(--prc);
    background-color: black;
    transition: 1s;
}
nav>div>button>a:hover{
    color: var(--prc);
}
nav>div>button>a{
    text-decoration: none;
    color: var(--bg-color);
}
.img-cont{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    flex-wrap: wrap;
}
.img-cont>img{
    width: 100%;
}
.here{
    border-bottom: 3px var(--prc) solid;
}
@media (max-width: 868px) {
    nav {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
    }
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--bg-color);
        border-radius: 10px;
        margin-top: 10px;
    }
    nav ul li {
        text-align: center;
        padding: 10px 0;
    }
    .sm-m {
        display: block;
    }
    nav ul.show {
        display: flex;
    }}
.loader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 10000000000000;
    width: 100vw;
    height: 100vh;
    background-color: #607EBC;
    top: 0;
    left: 0;
}

.loading {
    border: 5px white solid;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    background-color: #607EBC;
    border-top-color: #607EBC;
    animation: rot 3s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading2 {
    border: 5px white solid;
    border-radius: 50%;
    width: 130px;
    height: 130px;
    background-color: #607EBC;
    border-top-color: #607EBC;
    animation: rot 2s linear infinite;
}

@keyframes rot2 {
    from {
        transform: rotate(360deg)
    }

    to {
        transform: rotate(0deg)
    }
}

@keyframes rot {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.text {
    color: #ffffff;
    display: block;
}

/* ==== DASHBOARD ==== */
#Dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    justify-content: center;
}

.data {
    background: #607EBC;
    padding: 15px;
    border-radius: 8px;
    min-width: 250px;
    max-width: 320px;
    flex: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

/* ==== MAP ==== */
#map {
    width: 100%;
    max-width: 800px;
    height: 50vh;
    margin: 20px auto;
    border-radius: 12px;
}

/* ==== FOOTER ==== */
footer {
    margin-top: 2rem;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.126);
    color: #f0f0f0;
    text-align: center;
    border-radius: 30px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-left: 1px rgba(255, 255, 255, 0.4) solid;
    border-top: 1px rgba(255, 255, 255, 0.4) solid;
    text-decoration: none;
}
footer a {
    text-decoration: none;
}
/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
    #Dashboard {
        flex-direction: column;
        align-items: center;
    }
    .data {
        width: 90%;
    }
    #map {
        height: 40vh;
    }
}

@media (max-width: 480px) {
    .data {
        font-size: 0.9rem;
        padding: 10px;
    }
    #map {
        height: 35vh;
    }
}


#author {

    font-weight: bold;

}

abbr {
    text-decoration: none;
}

abbr:hover {
    cursor: default;
}