* {
  box-sizing: border-box;
}

:root {
  --w-e: 3rem;
  --title-bot: #ffffff21;
}

body {
  display: flex;
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  width: 100%;
}

.container>div {
  position: relative;
}

#diskMenu {
  width: 23rem;
}

.new-pen-btn {
  width: 42px;
  height: 42px;
  background-color: #4a6488;
  mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 132.292 132.292" stroke="%23ffffff" fill="none" xmlns:v="https://vecta.io/nano"%3E%3Cpath d="M3.468 66.146c0-51.615 11.063-62.678 62.678-62.678s62.678 11.063 62.678 62.678-11.063 62.678-62.678 62.678S3.468 117.761 3.468 66.146z" stroke-width="6.936"/%3E%3Cg stroke-linecap="round" stroke-linejoin="round" stroke-width="7.938"%3E%3Cpath d="M39.687 66.146h52.917"/%3E%3Cpath d="M66.145 39.688v52.917"/%3E%3C/g%3E%3C/svg%3E');
  mask-size: cover;
  display: inline-block;
  margin-right: 10px;
  margin-left: auto;
  transition: all 0.1s;
}

.new-pen-btn:hover {
  background-color: #3da0ff;
}

.new-pen-btn:active {
  background-color: #FF5D56;
}

.title-bot {
  position: relative;
  padding-left: 10px;
  font-size: 1.3rem;
  font-family: BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #ffffff;
  line-height: 3rem;
  width: 100px;
  height: 100%;
  border: 1px solid var(--title-bot);
}

.title-bot::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 90%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent var(--title-bot) transparent;
}

.sidebar {
  width: 23rem;
  padding: 10px;
  background-color: #2d3542;
}

#noteContent {
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: center;
}

ul {
  list-style-type: none;
  padding: 0;
}

#noteList {
  max-width: 750px;
  width: 100%;
  height: 100%;
}

#noteList li {
  position: relative;
}

.note-pre {
  background-color: #15202B;
  height: 70px;
  margin-bottom: 5px;
  color: aliceblue;
  padding: 6px 8px;
  transition: all 0.3s ease;
}

.pen-menu {
  position: absolute;
  right: 0;
  top: 0;
  width: 58px;
  height: 100%;
  background: linear-gradient(to right, #ffffff08, #00000030, #0000002e);
  background: linear-gradient(360deg, #0000005e, #ffffff03, #0000005e);
  padding: 20px 0;
  border: 0px;
  overflow: hidden;
  text-align: center;
  transition: all 0.1s;
}

/* .delete-pen */
.pen-menu button {
  width: 42px;
  height: 42px;
  background-color: #4a6488;
  mask-size: cover;
  display: inline-block;
  margin: 0 auto;
  margin-bottom: 5px;
  transition: all 0.1s;
}

.delete-pen {
  mask-image: url('data: image/svg+xml, %3csvg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 132.292 132.292" stroke="%234a6488" xmlns:v="https://vecta.io/nano" %3e%3cpath d="M3.468 66.146c0-51.615 11.063-62.678 62.678-62.678s62.678 11.063 62.678 62.678-11.063 62.678-62.678 62.678S3.468 117.761 3.468 66.146z" fill="none" stroke-width="6.936" /%3e%3cg fill="%234a6488" stroke-linecap="round" stroke-linejoin="round" stroke-width="9.512" %3e%3cpath d="M41.183 41.183l49.926 49.926" /%3e%3cpath d="M91.109 41.183L41.183 91.109" /%3e%3c/g%3e%3c/svg%3e');
}

.delete-pen:hover {
  background: linear-gradient(to right, #ffffff87, #ff0000, #ffffff87);
}


.download-pen {
  mask-image: url('data: image/svg+xml, %3csvg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 132.292 132.292" stroke="%234a6488" xmlns:v="https://vecta.io/nano" %3e%3cpath d="M3.468 66.146c0-51.615 11.063-62.678 62.678-62.678s62.678 11.063 62.678 62.678-11.063 62.678-62.678 62.678S3.468 117.761 3.468 66.146z" fill="none" stroke-width="6.936" /%3e%3cpath d="M39.242 80.878a2.99 2.99 0 0 0-2.991 2.991v5.978c0 4.918 4.051 8.969 8.969 8.969h41.853c4.918 0 8.967-4.051 8.967-8.969v-5.978a2.99 2.99 0 0 0-2.989-2.991 2.99 2.99 0 0 0-2.989 2.991v5.978a2.94 2.94 0 0 1-2.989 2.989H45.22a2.94 2.94 0 0 1-2.989-2.989v-5.978a2.99 2.99 0 0 0-2.989-2.991zm26.904-44.756a2.99 2.99 0 0 0-2.989 2.991v28.656l-6.854-6.854a2.99 2.99 0 0 0-4.229 4.227L64.032 77.1a2.99 2.99 0 0 0 4.229 0l11.958-11.958a2.99 2.99 0 0 0-4.228-4.227l-6.854 6.854V39.113a2.99 2.99 0 0 0-2.989-2.991z" fill="%234a6488" stroke-width="2.668" stroke-linejoin="round" /%3e%3c/svg%3e');
}

.download-pen:hover {
  background: linear-gradient(to right, #ffffff87, #00ffa5eb, #ffffff87);
}

.edit-pen {
  mask-image: url('data: image/svg+xml, %3csvg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 132.292 132.292" xmlns:v="https://vecta.io/nano" %3e%3cpath d="M3.468 66.146c0-51.615 11.063-62.678 62.678-62.678s62.678 11.063 62.678 62.678-11.063 62.678-62.678 62.678S3.468 117.761 3.468 66.146z" stroke="%234a6488" fill="none" stroke-width="6.936" /%3e%3cpath d="M52.653 34.753a2.77 2.77 0 0 0-1.189.266c-.75.36-1.407 1.038-2.052 1.56l-4.135 3.308-3.096 2.505-1.359 1.072c-.338.268-.724.562-.992.902-.415.525-.638 1.105-.758 1.752-.145.779.067 1.686.524 2.329.353.496.793.92 1.183 1.385l1.717 2.157 2.977 3.878 2.193 2.701 5.964 7.557 4.447 5.633 5.848 7.197 4.29 5.217 1.657 2.019c.198.214.8.571.8.571l22.561 10.775.032-.02c-1.233-6.161-7.405-22.026-7.405-22.026l-.722-1.012-2.474-3.183-3.408-4.391-1.024-1.225-1.042-1.387-7.838-9.757-5.066-6.539-1.036-1.231-5.977-7.632-1.42-1.761-1.145-1.58c-.448-.595-.892-.92-1.647-1.017a3.09 3.09 0 0 0-.408-.025z" fill="%234a6488" /%3e%3c/svg%3e');
}

.edit-pen:hover {
  background: linear-gradient(to right, #ffffff87, #00bfff, #ffffff87);
}

.copy-pen {
  mask-image: url('data: image/svg+xml, %3csvg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 132.292 132.292" xmlns:v="https://vecta.io/nano" %3e%3cpath d="M3.468 66.146c0-51.615 11.063-62.678 62.678-62.678s62.678 11.063 62.678 62.678-11.063 62.678-62.678 62.678S3.468 117.761 3.468 66.146z" stroke="%234a6488" fill="none" stroke-width="6.936" /%3e%3cpath d="M42.325 33.664s-4.331 0-4.331 4.331v38.979s0 4.331 4.331 4.331h4.331V42.326h34.648v-4.331c0-4.331-4.331-4.331-4.331-4.331zm12.993 12.993s-4.331 0-4.331 4.331v43.31c0 4.331 4.331 4.331 4.331 4.331h34.648s4.331-.004 4.331-4.348V50.987c0-4.331-4.331-4.331-4.331-4.331zm4.331 8.662h25.986v34.648H59.649z" fill="%234a6488" /%3e%3c/svg%3e');
}

.pen-menu button:hover {
  background-color: #3da0ff;
}

.pen-menu button:active {
  background-color: #FF5D56;
}

.show-note {
  height: 275px;
}