:root {
  --colonial: #5c7951;
  --warden: rgb(38, 90, 150);
  --text: #333;
}

#header {
    width: 100%;
    height: 80px;
    background-color: rgb(255, 255, 255);
    position: relative;
}

#colortrim{
    width: 100%;
    height: 30px;
    background-color: var(--colonial);
}

#menubar{
    height: 50px;
    display: flex;
    position: relative;
    align-items: center;
}

#filler {
    background-color: rgb(205, 205, 205);
    width: 40px;
}

.menubar-buttons {
    width: 104px;
    height: 100%;
    background-color: #e9e9e9;
    border: none;
    font-size: 16px;
    color: rgb(46, 46, 46);
    font-weight: 500;
    box-shadow: black inset 0px 0px 1px;
    cursor: pointer;
    transition: filter ease 0.2s;
}

.menubar-buttons:hover{
    filter: brightness(0.93);
}




#toolstab {
clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}

#maptab {
    background-color: rgb(101, 129, 101);
    color: rgb(237, 237, 237);
}

#statbar{
    width: 600px;
    height: 80px;
    position: absolute;
    left: calc(430px + (100% - 430px)/2);
    top: 30px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%);
}

#colonialstats{
    width: 300px;
    height: 80px;
    background-color: rgb(255, 255, 255);
    position: absolute;
    left: -90px;
    top: 0px;
    border-radius: 0px 0px 10px 10px;
    display: flex;
    justify-content: center;
    align-content: center;
    padding-left: 10px;
    padding-right: 10px;
}

#colonialstats div{
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: column;
}

#colonialstats p{
    width: 10px;
    height: 10px;
    font-size: 20px;
    color: rgb(30, 30, 30);
    text-align: center;
    margin-top: 5px;
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

#colonialstats img{
    width: 45px;
    height: 45px;
    margin-top: 5px;
    margin-bottom: 0px;
}


#wardenstats div{
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: column;
}

#wardenstats p{
    width: 10px;
    height: 10px;
    font-size: 20px;
    color: rgb(30, 30, 30);
    text-align: center;
    margin-top: 5px;
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

#wardenstats img{
    width: 45px;
    height: 45px;
    margin-top: 5px;
    margin-bottom: 0px;
}

#factionicon{
    width: 130px;
    height: 130px;
}

#wardenstats{
    width: 300px;
    height: 80px;
    background-color: rgb(255, 255, 255);
    position: absolute;
    right: -90px;
    top: 0px;
    border-radius: 0px 0px 10px 10px;
    display: flex;
    justify-content: center;
    align-content: center;
    padding-left: 10px;
    padding-right: 10px;
}

.shardselect{
    width: 95px;
    height: 35px;
    background-color: rgb(246, 246, 246);
    z-index: 500;
    position: absolute;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.162) 0px 0px 0px 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.shardselect p{
    font-size: 16px;
}

.shardselect div{
    position: absolute;
    right: 0px;
    height: 100%;
    width: 5px;
    background-color: rgb(131, 131, 131);
}

#able{
    right: 235px;
    text-underline-offset: 4px;
    cursor: pointer;
}

#baker{
    right: 125px;
    text-underline-offset: 4px;
    cursor: pointer;
}

#charlie{
    right: 15px;
    text-underline-offset: 4px;
    cursor: pointer;
}


@media (max-width: 1237px){
    #factionicon {
        width: 110px;
        height: 110px;
    }

    #wardenstats{
        width: 200px;
        right: 15px;
    }
    #wardenstats p{
        font-size: 16px;
    }
    #wardenstats img{
        margin-top: 10px;
        width: 40px;
        height: 40px;
    }

    #colonialstats{
        width: 200px;
        left: 15px;
    }
    #colonialstats p{
        font-size: 16px;
    }
    #colonialstats img{
        margin-top: 10px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 1032px){
    #wardenstats{
        display: none;
    }
    #colonialstats{
        display: none;
    }
}