* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "DotGothic16", serif;
  font-weight: 600;
  font-style: normal;
}

#display-page {
  background-image: url("/images/cat-throwing-brick.gif");
  background-position: center;
  background-repeat: no-repeat;
  background-size: fill;
  background-attachment: fixed;
  margin: 0;
  overflow: hidden;
}
/* INDEX */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 30px;
  text-decoration: none;
  font-weight: 700;
  color: rgb(0, 0, 0);
}

.hover-logo {
  position: relative;
  display: inline-block;
}

.hover-logo::before {
  content: attr(data-hover);
  background: linear-gradient(
    to right,
    #ef5350,
    #f48fb1,
    #7e57c2,
    #2196f3,
    #26c6da,
    #43a047,
    #eeff41,
    #f9a825,
    #ff5722
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  transition: width 0.15s ease-in-out;
  white-space: nowrap;
  overflow: hidden;
}

.hover-logo:hover::before {
  width: 100%;
}

.navbar a {
  position: relative;
  font-size: 20px;
  color: rgb(0, 0, 0);
  font-weight: 500;
  text-decoration: none;
  margin-left: 40px;
}

.navbar a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #000;
  transition: 1;
}

.navbar a:hover::before {
  width: 100%;
}

.initial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.initial-title {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 30px;
}

.initial-sub {
  margin-top: 10px;
  font-size: 20px;
}

.intro-btn {
  margin-top: 50px;
  cursor: pointer;
  padding: 15px 30px;
  border: 100;
  border-radius: 3px;
  font-size: 15px;
}

.intro-btn:hover {
  background-color: #000;
  color: #fff;
}

.easter-egg {
  display: flex;
  justify-content: left;
  align-items: center;
}

.easter-text {
  font-size: small;
  margin-right: 10px;
  margin-left: 5px;
}

/* ABOUT */
.wrapper {
  width: 100%;
  min-height: 100vh;
}

.wrapper .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 50%;
  margin: auto;
}

.container .about-image {
  margin-top: 100px;
}

.container .about-image img {
  height: 200px;
  width: 200px;
  border: 8px solid black;
  border-radius: 50%;
}

.container .article {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 30px 0px;
}

.container .article h2 {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 20px;
}

.container .article span {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 20px;
  color: rgb(45, 165, 105);
}

.container .article p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px 0px;
  line-height: 1.5;
}

.social-links a {
  text-decoration: none;
}
/* From Uiverse.io by Pradeepsaranbishnoi */
.social-links,
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-btn {
  cursor: pointer;
  height: 50px;
  width: 50px;
  font-family: "Titillium Web", sans-serif;
  color: #333;
  border-radius: 10px;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  background: white;
  margin: 5px;
  transition: 0.3s;
  justify-content: center;
}

.social-btn svg {
  height: 24px;
  width: 24px;
}

.social-btn span {
  width: 0px;
  overflow: hidden;
  transition: 0.3s;
  text-align: center;
  margin-left: 5px;
}

.social-btn:hover {
  width: 150px;
  border-radius: 5px;
}

.social-btn:hover span {
  padding: 2px;
  width: 80px;
}

#linkedin svg {
  fill: #0e76a8;
}

#github {
  fill: #333;
}

#linkedin span {
  white-space: nowrap;
  overflow: hidden;
}

/* DISPLAY */
.clock-container {
  height: 100vh;
  position: relative;
}

#clock {
  text-align: center;
  font-size: 72px;

  color: #fff;
  padding: 10px;
  min-width: 380px;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

#fullscreen-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#fullscreen-btn img {
  width: 50px;
  height: 50px;
  opacity: 0.8;
}

#fullscreen-btn::after {
  content: attr(data-tooltip);
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 70px;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 14px;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease;
}

#fullscreen-btn:hover {
  opacity: 1;
}

#fullscreen-btn:hover::after {
  visibility: visible;
  opacity: 1;
}

#fullscreen-btn:not(:hover) {
  transition-delay: 1s;
}

#fullscreen-btn[data-visible="true"] {
  opacity: 1;
}

.hidden {
  display: none !important;
}

#settings-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

#settings-btn img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s;
}

#settings-btn:hover img {
  transform: scale(1.15);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  position: relative;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.save-btn {
  display: block;
  margin: 20px auto 0;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.save-btn:hover {
  background-color: #000;
  color: #fff;
}

.switch {
  --input-focus: #000000;
  --font-color: #323232;
  --font-color-sub: #666;
  --bg-color: #fff;
  --bg-color-alt: #666;
  --main-color: #323232;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 50px;
  height: 20px;
}

.toggle {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  box-sizing: border-box;
  border-radius: 5px;
  border: 2px solid var(--main-color);
  box-shadow: 4px 4px var(--main-color);
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-colorcolor);
  transition: 0.3s;
}

.slider:before {
  box-sizing: border-box;
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  border: 2px solid var(--main-color);
  border-radius: 5px;
  left: -2px;
  bottom: 2px;
  background-color: var(--bg-color);
  box-shadow: 0 3px 0 var(--main-color);
  transition: 0.3s;
}

.toggle:checked + .slider {
  background-color: var(--input-focus);
}

.toggle:checked + .slider:before {
  transform: translateX(30px);
}

.switch-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.switch-options .switch-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.switch-options .switch-container:nth-child(4) {
  grid-column: span 3;
  align-items: center;
}

.switch-text {
  font-size: 16px;
  color: var(--font-color);
  margin: 0;
  margin-top: 10px;
}

.pushable {
  position: relative;
  background: transparent;
  padding: 0px;
  border: none;
  cursor: pointer;
  outline-offset: 4px;
  outline-color: black;
  transition: filter 250ms;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.shadow {
  position: absolute;
  top: 0;
  left: 0;
  height: 90%;
  width: 90%;
  background: hsl(0, 0%, 20%);
  border-radius: 7px;
  filter: blur(2px);
  will-change: transform;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.edge {
  position: absolute;
  top: 0;
  left: 0;
  height: 90%;
  width: 90%;
  border-radius: 7px;
  background: linear-gradient(
    to right,
    hsl(0, 0%, 15%) 0%,
    hsl(0, 0%, 20%) 8%,
    hsl(0, 0%, 15%) 92%,
    hsl(0, 0%, 10%) 100%
  );
}

.front {
  display: block;
  position: relative;
  border-radius: 7px;
  background: hsl(0, 0%, 25%);
  padding: 10px 20px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 0.85rem;
  transform: translateY(-3px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.pushable:hover {
  filter: brightness(110%);
}

.pushable:hover .front {
  transform: translateY(-4px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:active .front {
  transform: translateY(-1px);
  transition: transform 34ms;
}

.pushable:hover .shadow {
  transform: translateY(3px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:active .shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.pushable:focus:not(:focus-visible) {
  outline: none;
}

.file-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  gap: 25px;
}

.file-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

#file-name {
  font-size: 14px;
  text-align: center;
  margin-top: 5px;
}

.time-interval-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

#lofi-container {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.lofi-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.lofi-controls button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #333;
  color: #fff;
  transition: background-color 0.3s;
}

.lofi-controls button:hover {
  background-color: #555;
}

/* ------ uiverse play/pause button by: bbaginuk----- */

.container {
  --color: white;
  --size: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: var(--size);
  user-select: none;
  fill: var(--color);
}

.container .play {
  position: absolute;
  animation: keyframes-fill 0.3s;
}

.container .pause {
  position: absolute;
  display: none;
  animation: keyframes-fill 0.3s;
}

.container input:checked ~ .play {
  display: none;
}

.container input:checked ~ .pause {
  display: block;
}

.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

@keyframes keyframes-fill {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }
}

#lofi-container.fullscreen-hidden {
  display: none !important;
}

.radio-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 50px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 14px;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease;
}

label.container:hover .radio-tooltip {
  visibility: visible;
  opacity: 1;
}

.settings-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 70px;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 14px;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease;
}

#settings-btn:hover .settings-tooltip {
  visibility: visible;
  opacity: 1;
}

#clock.clean-font {
  font-family: "Rubik", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
