* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  font-family: Cantarell;
}

/* Define scrollbar styles */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #00000000;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@font-face {
  font-family: Cantarell;
  src: url("media/font/Cantarell-VF.otf");
}

body {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #303030; /* Semi-transparent white background */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s ease;
}

#loading-overlay p {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.5rem;
}

.logo{
  width: 20%;
  height: 20%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
}

@media (orientation: portrait) {
  .desktop {
    display: none;
  }
  .mobile {
    display: initial;
  }
}

@media (orientation: landscape) {
  .desktop {
    display: initial;
  }
  body{
    background-image: url("media/background/background-full.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 100hv;
  }
  .mobile {
    display: none;
  }
  @media screen and (max-width: 1921px){
    body{
      background-image: url("media/background/background-1k.jpg");
    }
  }
  @media screen and (max-width: 2561px){
    body{
      background-image: url("media/background/background-2k.jpg");
    }
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .desktop {
    font-size: 0.9rem;
  }
  .dock{
    margin: 10px;
  }
}

@media (max-width: 480px) {
  .desktop {
    font-size: 0.8rem;
  }
  .dock{
    margin: 20px
  }
}