@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=Source+Sans+3:wght@400;700;900&family=Source+Sans+Pro:wght@400;700;900&display=swap');

* {
    box-sizing: border-box;
    max-width: 100%;
    /* border: solid 1px red; */
}

body,
main {
    margin: 0 auto;
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    color: white;
    /* background-image: url(images/mountain.svg); */
    /* background-color: rgb(63, 60, 91); */
    /* background-image: linear-gradient(to top, #434343 0%, black 100%); */
    background-repeat: no-repeat;
    background-size: cover;
}

body {
    background-image: url(images/stars.svg), linear-gradient(to top, #434343 0%, black 100%);
}

#mountain {
    background-image: url(images/mountain.svg);
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: auto;
    background-position: bottom;
}

aside {
    position: fixed;
    bottom: 0;
    right: 2vw;
}

#infoBox {
    max-width: 350px;
    /* padding: 1rem; */
    position: absolute;
    /* right: 0; */
    margin-left: 2rem;
    z-index: 3;
    top: 0;
    align-items: flex-end;

}

h1 {
    font-family: 'Silkscreen', cursive;
    font-weight: 400;
    font-size: 1.2rem;
}

#rangeBox {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    /* margin-right: 6rem; */
}

#mapBox {
    position: absolute;
    z-index: 2;
    /* min-width: 80vw;
    left: 45%;
    right: 55%;
    transform: translate(-55%, -40%); */
    /* min-width: 45vw; */
    left: -33px;
    /* right: 1000px; */
    transform: translate(-2%, -40%);
    cursor: crosshair;
}

path,
polygon {
    fill: transparent;
    stroke-width: 3px;
    transition: all ease-in-out .2s;
}

path:hover,
polygon:hover {
    fill: #B99362;
    transform: translate(-5px, -5px)
}

canvas {
    transition: all ease-in-out .8s;
}

button,
#date,
.datechoice {
    font-size: 1.5rem;
    background: #3498db;
    background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
    background-image: -moz-linear-gradient(top, #3498db, #2980b9);
    background-image: -ms-linear-gradient(top, #3498db, #2980b9);
    background-image: -o-linear-gradient(top, #3498db, #2980b9);
    background-image: linear-gradient(to bottom, #3498db, #2980b9);
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    color: #ffffff;
    padding: .5rem .8rem .5rem .8rem;
    text-decoration: none;
    border-color: white;
    border: 1px;
}

button:hover,
.datechoice:hover {
    background: #3cb0fd;
    background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
    background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
    text-decoration: none;
}

a {
    text-decoration: none;
    display: inline-block;

}

.datechoice {
    margin: .5rem .5rem .5rem 0;
    font-size: 1rem;
}

img {
    /* box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.8); */
    filter: drop-shadow(0px 0px 5px #fff);
    transform: rotate(30deg);
}

@media all and (max-width:3200px) {
    svg {
        height: 90vh;
        width: 33vw;
    }

    #mapBox {
        transform: translate(200%, -45%);
    }

    #infoBox {
        max-width: 650px;
        margin-left: 1.5rem;
    }

    #infoBox .inlineBlock {
        margin: 0;
    }

    #rangeBox {
        margin-top: 1.5rem;
    }

    h1 {
        font-size: 2.4rem;
    }

    main {
        font-size: 1.5rem;
    }
}

@media all and (max-width:2700px) {
    h1 {
        font-size: 2.2rem;
    }

    button,
    #date,
    a {
        font-size: 1.3rem;
    }
}

@media all and (max-width:1800px) {
    #infoBox {
        max-width: 350px;
        font-size: 1rem;
    }

    h1 {
        font-size: 1.2rem;
    }

    button,
    #date,
    a {
        font-size: 1rem;
    }

}