/*! Bukumark | MIT License | https://github.com/LIGMATV/Bukumark */

@import url(normalize.css);

body {
    background-color: #8C6984;
    background-attachment: fixed;
    background-size: cover;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    padding-left: 16px;
}

::-webkit-scrollbar {
  width: 16px;
  background: #f1f1f1b9; 
}
 
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .4);
    background-clip: padding-box;
    border: 3px solid transparent;
    border-radius: 8px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:link {
    color: #00000088;
}

a:visited {
    color: #00000088;
}

h1 {
    text-align: center;
    color: #fff;
    font-size: 35px;
    font-weight: 900;
}

.buttons {
    display: flex;
    justify-content: center;
    margin: 30px;
}

.section {
    max-width: 65%;
    padding: 15px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    margin-top: 15px;
    transition: 0.2s;
    animation: fadeInDown 0.2s;
    overflow: hidden;
}

.section:hover {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

@keyframes fadeInDown {
   0% {
      opacity: 0;
      transform: translateY(-20px);
   }
   100% {
      opacity: 1;
      transform: translateY(0);
   }
} 

.input {
  padding: 5px;
  outline: none;
  border-radius: 5px;
  font-size: 15px;
  transition: 0.2s;
  border: 1px solid #c7c7c7;
  margin: 5px;
}

.input:focus {
  border: 1px solid #8C6984;
  box-shadow: #66004e4a 0px 0px 0px 3px;
}

.button {
    border: none;
    border-radius: 5px;
    background-color: #00000045;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.1s;
    padding: 8px;
}

.button:hover {
    background-color: #ffffff;
    color: #000000;
}

.buttons button:first-of-type {
  border-radius: 8px 0 0 8px;
}

.buttons button:last-of-type {
  border-radius: 0 8px 8px 0;
}

.buttons button {
  border-radius: 0;
  float: left;
  margin: 0.5px;
}

.bookmark-container {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    gap: 45px;
}

.bookmark {
    position: relative;
    background-color: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    border-radius: 20px;
    width: 60px;
    height: 60px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    margin-bottom: 20px;
}

.favicon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bookmark-text {
    color: #00000088;
    text-align: center;
    margin-top: 80px;
    text-shadow: 0px 1px 4px #ffffff;
}

.logo {
    margin-right: 5px;
    transition: 0.1s;
}

.logo:hover {
    filter: drop-shadow(0px 0px 5px #00000078);
}

#contextMenu {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.524);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
    font-weight: 400;
}

#contextMenu div {
    padding: 10px;
    transition: 0.1s;
}

#contextMenu div:hover {
    background-color: rgba(0, 0, 0, 0.098);
    cursor: pointer;
}

.hidden {
    display: none;
}