:root {
    --main-color: #FFFFFF;
    --secondary-color: #273c75;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "interstate", sans-serif;
}

li {
    list-style: none;
}

nav {
    margin: 2rem;
}

h1 {
    font-size: 2rem;
    margin: 0;
}

ul {
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem 0 1.5rem;
}

.nav-item {
    font-size: 1.7rem;
}

#map {
    height: 100%;
    position: relative;
    width: 100%;
}

.map-container {
    height: 75vh;
    position: relative;
    width: 100%;
}

#info-container {
    display: block;
    margin-top: 2rem;
    text-align: center;
}

#coord-container {
    display: none;
}

#instructions {
    display: block;
    margin-top: 2rem;
    text-align: center;
    font-weight: 300;
}

.copied {
    font-weight: 300;
    margin-top: .7rem;
}

p {
    font-size: 1.5rem;
}

.close-btn {
    font-size: 1.5rem;
    color: var(--secondary-color);
    outline: 1px solid var(--secondary-color);
    border: none;
}

.close-btn:hover {
    background: var(--secondary-color);
    color: var(--main-color);
}

.map-btn {
    font-size: 1.5rem;
    position: absolute;
    top: 10px;
    z-index: 10;
}

.loc-btn {
    left: 10px;
}

.reset-btn {
    right: 10px;
}

.footer {
    position: absolute;
    width: 100%;
    top: 97vh;
    text-align: center;
}

.footer>a {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

li>h1:hover {
    cursor: pointer;
}

.about-container {
    background: rgb(255, 255, 255, .92);
    box-shadow: 0px 0px 58px -16px rgba(0, 0, 0, 0.46);
    border-radius: 10px;
    max-width: 25%;
    padding: 4rem;
    position: absolute;
    z-index: 10;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: justify;
    display: none;
}

.settings-desc {
    margin: 1.5rem 0 1.5rem 0;
    line-height: 3rem;
    font-weight: 300;
}

#error-msg {
    color: red;
    display: none;
    margin-top: 2rem;
    text-align: center;
}

.checkbox-container {
    margin-bottom: 1.5rem;
    padding: 0;
}

.precision-check {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    position: relative;
    bottom: 1px;
}

.precision-label {
    font-size: 1.2rem;
    margin-left: .75rem;
}

@media screen and (max-width: 600px) {
    .map-container {
        height: 60vh;
    }

    .about-container {
        max-width: 90%;
        top: 40%;
    }
}