body,html{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

input, button {
    font-size: 1rem;
}

/*navbar*/
#navbar{
    background: #E9DAC1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 3;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}
#navbar *{
    float: right;
    padding-right: 20px;
    font-size: 1.5rem;
    display: inline-block;
    margin-top: 0.9em;
    color: #5c3d25;
}
#stylehome{
    margin-top: 20px;
}
#homelogo{
    width: 50px;
    margin-top: 0;
    padding-right: 0px;
}
#navbar #hamburger{
    float: left;
    margin-left: 1em;
}
#map{
    height: 100vh;
    z-index: 1;
}
#addvisit{
    z-index: 2;
    position: fixed;
    bottom: 30px;
    right: 20px;
    padding: 10px;
    border-radius: 25px;
    background: rgba(84, 186, 185,0.6);
    color: white;
    transition-duration: 0.4s;
}
/*Sidebar*/
#sidebar{
    height: 100%;
    width: 0;
    overflow: hidden;
    background: rgba(247, 236, 222,0.99);
    z-index: 4;
    position: fixed;
    top: 0;
    left: 0;
    transition-duration: 0.4s;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}
#sidebar *{
    color: #5c3d25;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 1.16rem;
    transition-duration: 0.4s;
}
#sidebar a{
    border-radius: 15px;
    padding: 10px;
    display: block;
    width: calc(0.7*250px - 20px);
}
#sidebar a:hover{
    color: white;
    background-color: #9ED2C6;
    cursor: pointer;
}
#sidebar a#close:hover{
    color: white;
    background-color: rgba(0,0,0,0);
}
#sidebar #logoholder{
    width: calc(0.7*250px);
    height: calc(0.4*250px);
    
    border-radius: 25px;
    margin-top: 30px;
}
#logoholder img{
    height: 100%;
    margin: 0;

    display: block;
}
#logoholder:hover{
    cursor: pointer;
}
#sidebar #close{
    font-size: 1.5rem;
    float: right;
    margin-left: 0;
    margin-right: 0.5em;
    margin-top: calc(1em - 10px);
    margin-bottom: 0;
    width: auto;
}
#profilecircle{
    width: 50px;
    height: 50px;
    position: absolute;
    left: 0px;
    bottom: 0px;
    border-radius: 25px;
    background: rgba(0,0,0,0);
    border: 1px solid #5c3d25;
}
#profilecircle:hover{
    cursor: pointer;
}
#profilecircle img{
    width: 50px;
    height: 50px;
    padding: 0;
    position: absolute;
    border-radius: 25px;
    top: 0px;
    left: -20px;
}
a{
    text-decoration: none;
}
a:hover{
    cursor: pointer;
}

#main{
    width: calc(100% - 40px);
    height: calc(100% - 120px);
    margin-top: 80px;
    padding: 20px;
}
#parkintro h1,
#parkintro p {
    display: inline;
}
#form2{
    float: right;
}
.center{
    text-align: center;
}
h1,h2{
    color: #54BAB9;
}
.titles{
    margin-bottom: 10px;
}
.subtitle{
    border-top: 1px solid black;
    margin-top: 0;
    padding-top: 10px;
}

/*About.html*/
#logoattr{
    width: 100%;
}
#logoattr tr{
    width: 100%;
}
#logoattr tr td{
    width: 50%;
}
#logoattr tr td:nth-of-type(1){
    border-right: 1px solid black;
}
#logoattr tr td img{
    height: 100px;
}
#logoattr tr td:nth-of-type(1) img{
    display: inline-block;
    margin-left: calc(100% - 160px);
    height: 150px;
    margin-right: 20px;
}
#logoattr tr td:nth-of-type(2) img{
    margin-left: 20px;
}

/*Visit*/
form{
    height: 100%;
}
#visit, #view, #firsttime{
    width: 100%;
    height: 0;
    overflow: hidden;
    background: #F7ECDE;
    position: fixed;
    z-index: 2;
    bottom: 0;
    left: 0;
    transition-duration: 0.3s;
    color: #5c3d25;
}
#firsttime *{
    padding: 10px;
    margin: 20px;
}
#addvisit:hover{
    cursor: pointer;
    background: rgba(84, 186, 185,0.9);
}
#addloc{
    width: calc(80% - 10px);
    margin-left: 10%;
    text-align: right;
    font-size: 0.75rem;
    margin-top: 0;
    margin-bottom: 0;
}
#closevisit, #closeview{
    position: absolute;
    top: 1em;
    right: 1em;
    font-size: 1.5rem;
    color: #5c3d25;
}
#flex{
    display: block;
    height: calc(100% - 40px);
    width: calc(100% - 40px);
    /*flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;*/
    padding: 20px;
    overflow-y: scroll;
}
#flex div{
    height: auto;
    width: calc(33% - 45px);
    min-width: 300px;
    max-width: 400px;
    padding: 10px;
    border-radius: 25px;
    background: #54BAB9;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    margin: 10px;
    display: inline-block;
    color: white;
}
#flex div img{
    width: 100%;
}
.reflname{
    font-size: 0.75rem;
    text-align: right;
}
#placeselect, #reflections, #submit, #setclass, #submitclass{
    outline-width: 0;
    display: block;
    width: calc(80% - 20px);
    margin: 20px;
    margin-left: 10%;
    padding: 10px;
    border: 2px solid #5c3d25;
    border-radius: 25px;
    background: rgba(0,0,0,0);
    color: #5c3d25;
    font-size: 1.1rem;
    height: calc(1.1rem + 6px);
    box-sizing: content-box;
}
#placeselect{
    margin-top: 50px;
    margin-bottom: 5px;
}
#reflections{
    height: calc(100% - 280px - 3.3rem);
    resize: none;
    font-family: 'Poppins', sans-serif;
}
.photo-upload{
    display: block;
    width: calc(80% - 20px);
    padding: 10px;
    margin: 20px;
    margin-left: 10%;
    background: rgba(0,0,0,0);
    border: 2px solid #5c3d25;
    border-radius: 25px;
    box-sizing: content-box;
    font-size: 1.1rem;  
    overflow: hidden;
}
.photo-upload:hover{
    cursor: pointer;
}
input[type="submit"]:hover{
    cursor: pointer;
}
input[type="file"] {
    display: none;
}
#filename{
    color: #5c3d25;
}

/*Grid*/
.grid{
    display: grid;
    grid-gap: 25px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 350px));;
    align-items: initial;
    justify-items: center;
    grid-template-rows:max-content;
}
.obj:hover{
    cursor: pointer;
}
.obj{
    width: 300px;
    height: 400px;
    font-size: 15px;
    text-align: center;
}
.obj p{
    margin: 10px;
}
.obj img{
    display: inline-block;
    width: 300px;
    height: 400px;
    object-fit: cover;
}

/*Leaderboard*/
#leaderboard{
    width: 100%;
}
#leaderboard *{
    border-bottom: #000 solid 1px;
    padding-top: 5px;
    padding-bottom: 5px;
    column-gap: 0;
    row-gap: 0;
}
#leaderboard thead, #leaderboard tbody, #leaderboard tbody tr{
    width: 100%;
}
#leaderboard thead td:first-of-type, #leaderboard tbody tr td:first-of-type{
    width: 20%;
}
#leaderboard thead td:nth-of-type(2), #leaderboard tbody tr td:nth-of-type(2){
    width: 40%;
}
#leaderboard thead td:nth-of-type(3), #leaderboard tbody tr td:nth-of-type(3){
    width: 40%;
}

/*Parks*/
#placelist{
    width: 100%;
}
#placelist > div{
    width: calc(100% - 40px);
    background: #54BAB9;
    color: white;
    margin: 10px;
    padding: 10px;
    border-radius: 25px;
    transition-duration: 0.4s;
}
#placelist > div > p{
    display: inline-block;
}
#placelist > div > p.fright{
    display: block;
}
@media only screen and (max-width: 600px){
    #placelist > div > p.fright{
        float: none;
        margin-top: 0;
        font-size: 0.75rem;
        margin-left: 0px;
    }
    #placelist > div > p{
        margin-bottom: 5px;
    }
}
#placelist > div > *.fright{
    float: right;
    margin-left: 10px;
    margin-right: 10px;
}
#placelist > div > a{
    font-size: 2rem;
    display: inline-block;
    margin-top: 0.4em;
}
.reflect{
    width: 100%;
    height: 0px;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    transition-duration: 0.4s;
}
.reflect div{
    height: auto;
    width: calc(33% - 50px);
    min-width: 250px;
    max-width: 400px;
    padding: 10px;
    border-radius: 25px;
    background: #F7ECDE;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    margin: 10px;
    display: inline-block;
    color: #5c3d25;
}
.reflect div p{
    display: block;
}
.reflect div img{
    width: 100%;
    object-fit: cover;
    width: 100%;
    height: 400px;
}

/*Profile*/
#central{
    width: 100%;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#pfp{
    width: 70px;
    height: 70px;
    border-radius: 35px;
    display: block;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}
#inline-pfp{
    text-align: center;
}
#classchange{
    border: none;
    border-bottom: 1px solid black;
    outline-width: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70px;
    text-align: center;
    margin-top: 20px;
    padding: 5px;
}
#submitclasschange{
    background: rgba(0,0,0,0);
    color: black;
    outline-width: 0;
    border: 1px solid black;
    border-radius: 20px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    display: none;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}
#submitclasschange:hover{
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 0px;
}
