body {
    overflow: hidden;
}

.navbar {
    padding: 14px 20px; 
}

.navbar img {
    height: 60px;
}

.main-content {
    padding: 0px 20px;
    position: relative;
}

#demo {
    background-color: var(--accent);
    text-align: center;
    padding: 8px;
    border-radius: 8px 8px 0px 0px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    margin-top: 10px;
}

.game footer {
    margin: 0px 20px;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 100vh;
    transform: translateY(-100%);
    border-radius: 8px 8px 0px 0px;
}

#myRange {
    transform: translateY(-5px);
}

#myRange::-moz-range-track {
    border-radius: 0px 0px 8px 8px !important;
}

#guessText {
    text-align: center;
    color: black;
    background-color: gray;
    font-style: italic;
    transition: all 0.2s ease;
    font-style: normal !important;
    border-radius: 8px;
}
.guessTextTrue {
    color: white !important;
    border-radius: 8px;
    background-color: var(--accent) !important;
    font-style: normal !important;
    transition: all 0.3s ease;
}

.photoContainer img {
    border-radius: 8px;
    /* this breaks when resizing the window due to how the zoom works... :/ */
    max-width: 80vw;
    max-height: 85vh;
}

#progressBar {
    background-color: var(--accent);
    position: absolute;
    top: 0px;
    right: 0px;
    width: fit-content;
    transform: skew(14deg);
    margin-right: -2vw;
    border-radius: 3px;
}

#roundBox {
    float: left;
    padding-left: 1vw;
}

#scoreBox {
    display: inline-block;
    padding-left: 20px;
    padding-right: 3vw;
}

.progressBarText1 {
    color: #CDCDCD;
    font-size: 2vh;
    padding-left: 0.6vw;
    padding-top: 5px;
    transform: skew(-14deg);
}

.progressBarText2 {
    color: #fff;
    font-size: 5vh;
    transform: skew(-14deg);
}

#arrow {
    height: 20px;
    /* temporary, will redesign these icons later */
}

#pin {
    height: 20px;
    transition: all 0.3s ease;
    margin-right: 8px;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.changeSize {
    background-color: gray;
    width: fit-content;
    padding-top: 6px;
    padding-left: 6px;
}

#googleMap {
    width: 100%;
    transition: all 0.3s ease;
}

.googleMapDefault {
    height: 23vh;
    transition: all 0.3s ease;
    cursor: crosshair;
}

.expandable {
    width: 17vw;
    transition: all 0.3s ease;
}

.googleMapUp1 {
    height: 38vh;
    transition: all 0.3s ease;
    cursor: crosshair;
}

.expandable1 {
    width: 30vw;
    transition: all 0.3s ease;
}

.googleMapUp2 {
    height: 50vh;
    transition: all 0.3s ease;
    cursor: crosshair;
}

.expandable2 {
    width: 45vw;
    transition: all 0.3s ease;
}

.googleMapUp3 {
    height: 68vh;
    transition: all 0.3s ease;
    cursor: crosshair;
}

.expandable3 {
    width: 60vw;
    transition: all 0.3s ease;
}

#map {
    width: 100%;
    height: 30vh;
}

@media (max-width: 20em),
screen and (orientation: portrait) {
    footer{ 
        margin: 0px !important;
        border-radius: 0px !important;
        width: 100vw;
    }
    #googleMap {
        width: 100% !important;
    }
    #flag {
        width: 100%;
    }
    .photoContainer img {
        max-width: calc(100vw) !important;
        max-height: calc(100vh) !important;
    }
    .navbar {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .main-content {
        display: flex;
        justify-content: center;
    }

    #progressBar {
        display: none;
    }
    body {
        overflow: visible;
    }
    #arrow {
        height: 40px;
        margin-right: 8px;
        /* temporary, will redesign these icons later */
    }
    #pin {
        height: 40px;
        margin-right: 8px;
        /* temporary, will redesign these icons later */
    }
    input[type="range"] {
        -webkit-appearance: none;
        appearance: none;
        background: transparent;
        cursor: pointer;
    }
    
    input[type="range"]:focus {
        outline: none;
    }
    
    input[type="range"]::-webkit-slider-runnable-track {
        background-color: #ddd;
        border-radius: 0.5rem;
        height: 2rem;
    }
    
    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        margin-top: -12px;
        background-color: var(--accent);
        height: 3rem;
        width: 2rem;
        border-radius: 90px;
    }
    
    input[type="range"]:focus::-webkit-slider-thumb {
        border: 1px solid #ddd;
        outline: 3px solid #ddd;
        outline-offset: 0.125rem;
    }
    
    input[type="range"]::-moz-range-track {
        background-color: #ddd;
        border-radius: 0.5rem;
        height: 0.5rem;
    }
    
    input[type="range"]::-moz-range-thumb {
        border: none;
        border-radius: 0;
        background: linear-gradient(#f5a0a5, var(--accent));
        height: 1.5rem;
        width: 1rem;
        border-radius: 90px;
    }
    #guessText {
        height: 3vh;
    }
}