html, body {
    margin: 0px;
    background-color: black;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    user-select: none;
}

p {
    margin: 0px;
}

#map {
    flex: 1;
    width: 100%;
    height: calc(100% - 80px);
    background-color: rgb(20, 20, 20);
    outline: none;
    z-index: 1;
}

.name {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
    text-shadow: black 0px 0px 5px;
    font-size: 12px;
    width: 200px;
    position: relative;
    left: -95px;
    text-align: center;
    z-index: 100;
    font-weight: 600;
    cursor: grab;
}

.namemarker{
    color: red;
}

#smallname {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
    text-shadow: black 0px 0px 5px;
    font-size: 13px;
    width: 200px;
    position: relative;
    left: -95px;
    text-align: center;
    z-index: 100;
    font-weight: 600;
}

.custom-draw-vertex{
    border-radius: 20px;
}

#mousetooltip{
    position: absolute;
    background-color: rgba(31, 31, 31, 0.764);
    padding: 5px;
    border: 1px solid #333;
    pointer-events: none;
    display: none;
    z-index: 100;
    width: auto;
    height: auto;
    top: 30vh;
    left: 30vw;
    justify-content: left;
    align-items: center;
    
    min-width: 152px;
}
#mousetooltip p{
    color: white;
    font-size: 12px;
    z-index: 1000;
}

#announcementpanel{
    position: absolute;
    width: auto;
    min-width: 650px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(249, 249, 249);
    z-index: 100000;
    border-radius: 4px;
    display: none;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    padding-bottom: 10px;
}

#announcementtitle{
    width: 100%;
    height: 40px;
    background-color: rgb(241, 241, 241);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.158) 0px 0px 0px 1px;
    min-height: 40px;
}

#announcementtitle img{
    width: 30px;
    margin-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    filter: drop-shadow(rgba(0, 0, 0, 0.517) 0px 0px 1px);
}

#announcementtitle p{
    font-size: 20px;
}

#announcementclose{
    position: absolute;
    right: 0px;
    height: 30px;
    width: 80px;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

#announcementcontent{
    width: 100%;
    height: 100%;
    margin-top: 10px;
    padding-bottom: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

#announcementcontent *{
    margin-left: 20px;
}

#announcementcontent a{
    margin-left: 5px;
}

.announcement-title1{
    font-size: 22px;
}

.announcement-text1{
    font-size: 14px;
    margin-bottom: 20px;
}

#announcementpanel hr{
    width: 100%;
    background-color: rgb(214, 214, 214);
    border: none;
    height: 1px;
}

#announcementpanel ul{
    padding-inline-start: 15px;
}

.mapdeath{
    display: flex;
    justify-content: center;
    align-items: left;
    color: rgba(239, 239, 239, 0.918);
    text-shadow: black 0px 0px 5px;
    font-size: 12px;
    width: 100px;
    height: 40px;
    flex-wrap: wrap;
    flex-direction: column;
    display: flex;
    position: relative;
    left: -28px;
    text-align: left;
    z-index: 100;
    cursor: grab;
    font-weight: 600;
}
.mapdeath p{
    margin-left: 2px;
}

.mapdeath-img{
    height: 12px;
}

.deathrow{
    display: flex;
    align-items: center;
}

@media (max-height: 800px) {
    #announcementpanel {
        max-height: 400px;
    }
}

@media (max-height: 600px){
    #announcementpanel {
        max-height: 350px;
        top: 55%;
    }
}