
body {
    margin: 0;
    text-align: center;
    cursor: default;
    font-family: sans-serif;
    background-color: gold;
    background-size: 100vw 100vh;
    user-select: none;
}

#newPostContainer {
    position: absolute;
    z-index: 99999;
    width: 40vw;
    height: 50vh;
    overflow: hidden;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    transition: 0.2s;
    display: none;
    transform: scale(0.5);
    opacity: 0%;
    background-color: rgba(224, 224, 224, 0.678);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#newPostContainer .bar {
    width: 100%;
    height: 40px;
    background-image: linear-gradient(90deg, rgb(255, 255, 121), rgb(255, 255, 66));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#newPostContainer .bar h2 {
    margin-left: 10px;
}

#newPostName {
    width: calc(100% - 10px);
    height: 30px;
    margin: 0;
    padding: 5px;
    background-color: transparent;
    border: none;
}

#newPostContent {
    width: calc(100% - 10px);
    height: calc(100% - 120px);
    margin: 0;
    padding: 5px;
    resize: none;
}

button {
    cursor: pointer;
}

#postBtn {
    width: 100%;
    height: 40px;
}

nav {
    width: 100vw;
    height: 50px;
    background-color: rgba(255, 255, 255, .8);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: calc(100vh - 50px);
}

.actionBtn {
    font-size: 1.5rem;
    transition: 0.1s;
    cursor: pointer;
}

.actionBtn:hover {
    transform: scale(1.1) translateY(10px) rotate(10deg) ;
}

.closeBtn {
    width: 40px;
    height: 100%;
    background-color: red;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 600px) {
  nav {
    margin-top: 0;
  }
}

#newPostDraggableArea {
    width: calc(100% - 40px);
}

input, .coolInput {
    padding: 5px;
    background-color: lightgray;
    border-radius: 5px;
    border: none;
}

input:hover, .coolInput:hover {
    background-color: rgb(192, 192, 192);
}

.margin-input {
    margin: 5px;
}

.divader {
    height: 80%;
    width: 5px;
    border-radius: 5px;
    background-color: white;
}


#menu button {
    padding: 15px;
    width: 80%;
    border-radius: 5px;
    background-color: lightgray;
    border: none;
    margin:10%;
    transition: 0.5s;
}

#menu button:hover {
    background-color: gray;
}

summary {
padding:5px;
}

summary img {
    padding:5px;
}
