@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500&display=swap");

:root {
  --background: #e0e0e1;
  --box: #232530;
  --text: #e0e0e1;
  --box-hover: #817f7c;
  --box-private: #000000;
  --text-private: rgb(255, 255, 255);
  --black: #080208ff;
  --federal-blue: #080149ff;
  --caf-noir: #4a2a05ff;
  --black-2: #010003ff;
  --tigers-eye: #a8632cff;
  --tigers-eye-2: #b36c06ff;
  --dark-purple: #361b24ff;
  --rich-black: #010016ff;
  --oxford-blue: #07022dff;
  --ochre: #ca7a00ff;
  --davys-gray: #4f4f4fff;
  --outer-space: #464646ff;
  --timberwolf: #dfddd8ff;
  --battleship-gray: #9a9a99ff;
  --timberwolf-2: #ceccc7ff;
}

* {
  top: 0%;
  margin: 0;
  padding: 0;
  font-family: "Nunito", sans-serif;
  box-sizing: border-box;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
}
body {
  background-color: var(--timberwolf-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  --color: rgb(179, 176, 176);
  background-image: linear-gradient(
      0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent
    ),
    linear-gradient(
      90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent
    );
  background-size: 55px 55px;
}
#loader {
  border: 12px solid var(--davys-gray);
  border-radius: 50%;
  border-top: 12px solid var(--timberwolf);
  width: 70px;
  height: 70px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.center {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#subnav {
  margin: 80px 0;
}

img {
  border-radius: 50%;
  border: var(--davys-gray) solid 2px;
  margin: 10px;
  background-color: var(--timberwolf-2);
}

.hi {
  display: flex;
  flex-direction: column;
  margin: 12px 0;
  /* color: var(--outer-space); */
  color: var(--timberwolf);
  padding: 12px;
  background-color: var(--davys-gray);
  border-radius: 12px;
  max-width: 400px;
}

.name {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.desc {
  text-align: left;
  max-width: 400px;
  padding: 0 10px;
  font-size: 18px;
}

.desc span {
  text-align: justify;
}

iframe {
  border-radius: 12px;
  min-width: 200px;
}
.notification {
  display: none;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 90%;
  font-size: 17px;
  transform: translateX(-50%);
}

.notification.show {
  display: block;
  animation: fadeInOut 3s;
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0;
  }
  10%,
  90% {
    opacity: 1;
  }
}

.link a:link,
.link a:visited {
  color: var(--timberwolf);
  text-decoration: none;
  background-color: var(--davys-gray);
}

.link {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 18px;
}

.link-list {
  width: 400px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--davys-gray);
  margin: 2px 0;
  color: var(--timberwolf);
  position: relative;
}

.link-list:hover,
.panel-a:hover {
  filter: brightness(90%);
}

.link-list button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  background: none;
  border: none;
  padding: 3px;
  color: var(--timberwolf);
  cursor: pointer;
}

.link-list.left {
  display: flex;
  justify-content: start;
  align-items: center;
  padding-right: 5px;
  padding-left: 18px;
}

/* .link-list.left label {
  margin-right: 3px;
  margin-left: 15px;
} */

.link-list.left input {
  flex: 1;
  background: none;
  border: none;
  color: var(--timberwolf);
  width: 50px;
}

.link-list.left button {
  background: none;
  padding: 2px 5px;
  color: var(--timberwolf);
  cursor: pointer;
}

.active {
  background-color: var(--davys-gray);
}

.panel {
  /* background-color:rgb(240,0,0);
  */
  max-height: 0;
  overflow-y: scroll;
  transition: max-height 0.2s ease-out;
  display: flex;
  flex-direction: column;
  height: 300px;
  border-radius: 12px;
  background-color: var(--davys-gray);
}

.panel-a {
  width: 397px;
  padding: 15px;
  margin: 1px 0;
  /* border-radius: 12px; */
}

.panel a {
  text-decoration: underline;
}

.accordion {
  position: relative; /* Tambahkan posisi relatif untuk elemen akordeon */
}

.accordion::after {
  content: "\002B";
  color: var(--timberwolf);
  font-weight: bold;
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

.active::after {
  content: "\2212";
}

#quotes {
  color: var(--outer-space);
  margin: 10px 5px 3px 5px;
  cursor: default;
}

.author {
  font-weight: bold;
}

#refresh {
  cursor: pointer;
  margin-left: 5px;
}

#footer a {
  display: block;
  color: var(--outer-space);
}

#footer a:visited,
#footer a:link {
  color: var(--outer-space);
}

@media only screen and (max-width: 650px) {
  .name {
    font-size: 25px;
  }
  .hi {
    max-width: 300px;
  }
  #subnav img {
    width: 130px;
  }

  .link-list.left {
    padding-right: 3px;
    padding-left: 15px;
  }
  .link-list.left button {
    padding: 2px;
  }
  .accordion::after {
    right: 10px;
  }
  .desc {
    max-width: 300px;
    font-size: 15px;
  }

  .link-list {
    width: 300px;
    font-size: 15px;
  }

  .panel-a {
    width: 297px;
  }
}

#loading {
  visibility: hidden;
}

/* width */
::-webkit-scrollbar {
  width: 3px;
}

/* Track */
::-webkit-scrollbar-track {
  background-color: var(--battleship-gray);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--davys-gray);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--davys-gray);
}
