/* Set Up Fonts */
@font-face {
    font-family: Roboto;
    src: url(fonts/Roboto/Roboto-Regular.ttf);
}

/* Apply Font */
body {
    font-family: Roboto, sans-serif;
}

/* Prepare Map Page */
html,
body {
    padding: 0;
    margin: 0;
}

#map {
    font-family: inherit;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Select Container */
#selContainer {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 11px 0;
}

/* Select Country */
#selCountry {
    width: 200px;
    margin: 0 auto;
}

/* Country Information Links */
#countryname a {
    text-decoration: none;
    color: #2fa51a;
}

#countryname a:hover {
    text-decoration: none;
    color: #10accb;
}

#countrycapital a {
    text-decoration: none;
    color: #6c0643;
}

#countrycapital a:hover {
    text-decoration: none;
    color: #6f800f;
}

/* Wikipedia (Map) */
#wikipedia a {
    text-decoration: none;
    color: #4613bd;
}

#wikipedia a:hover {
    text-decoration: none;
    color: #64060c;
}

/* City Wikipedia (Map) */
#citywikipedia a {
    text-decoration: none;
    color: #29c610;
}

#citywikipedia a:hover {
    text-decoration: none;
    color: #10ac15;
}

/* Nearby Wikipedia */
#nearbywikiurl a {
    text-decoration: none;
    color: #e76a30;
}

#nearbywikiurl a:hover {
    text-decoration: none;
    color: #00A170;
}

/* News */
#newslink a {
    text-decoration: none;
    color: #6b1c2c;
}

#newslink a:hover {
    text-decoration: none;
    color: #006b54;
}

/* Style for the hyperlink in the modal */
#nearbywikiresults a {
    text-decoration: none; /* Removed underline */
    color: rgb(239, 116, 137); /* Default color */
}

#nearbywikiresults a:hover {
    color: green; /* Color on hover */
}




/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #ffffff;
}

#preloader::before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #f2f2f2;
    border-top: 6px solid #16841f;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}