

body {
    margin: 0;
    padding: 20px;
    /* font-family: Arial, sans-serif;
    background: #f0f0f0; */

    background-color: black;
    color:black;

    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}


.container {
    max-width: 1200px;
    margin: 0 auto;

    padding: 20px; /* Add padding for better spacing */
    background: #fff; /* White background for the container */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Subtle shadow */
}





#map {
    height: 500px;
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 20px 0;
}
.controls {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}
.input-wrapper {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}
#countryInput {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}
#suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}
.suggestion {
    padding: 8px 10px;
    cursor: pointer;
}
.suggestion:hover {
    background: #f0f0f0;
}
button {
    padding: 10px 20px;
    font-size: 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background: #45a049;
}
.guesses {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.guess {
    padding: 15px;
    background: white;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.distance {
    font-weight: bold;
}
.game-info {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.win-message {
    background: #4CAF50;
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    display: none;
}
.game-container {
    display: flex;
    gap: 20px;

    margin-top: 20px; /* Add margin for spacing */
}


#streetview {
    height: 500px;
    width: 70%;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#guessMap {
    height: 500px;
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.guess-button {
    display: none;
    margin-top: 10px;
}


/* Move attribution offscreen */
.gm-style-cc {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Hide the "Map data ©2023 Google" on the bottom */
.gm-style > div > div > div > div[style*="text-align: right"] {
    display: none !important;
}

.blackbox{
    background-color: black;
    color: white;
    height: 50px;
    width: 158px;
    margin-top: -3px;
    z-index: 100000; 
    position: relative; 

}





button {
    padding: 10px 20px;
    font-size: 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s; /* Smooth transition */
}

button:hover {
    background: #45a049;
}




.text1{
    text-decoration: none;
    color: whitesmoke;
    text-align: right;
    font-size: 17px;
    font-family: playfair display;

}

.link{
    width: 100px;
    float: right;
}


.back{
    color: whitesmoke;
    font-family: playfair display;
    width: 150px;
}

.text2{
    text-decoration: none;
    color: whitesmoke;
    font-size: 17px;
    font-family: playfair display;
}