/* The first * is used as a global selector for margin/padding */

*{
  animation: animate 0.50s infinite;
  margin: 0;
  padding: 0;
}

/* background image tweaks */

body{
  background-image: url('https://furakua.neocities.org/art-showcase/resources/artshow.bg.png');
  background-repeat: repeat;
  background-size: cover;
  height: 100vh;
}

/* background image tweaks */

/* search engine - top bar */

.engine-bar-controls{
    position: sticky;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    flex-direction: row;
    margin: 56px;
}

.engine-bar-controls .engine-bar-items{
    position: sticky;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 14.5px;
    align-items: center;
}

.engine-bar-controls .engine-bar-items #icon-text{
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.search-bar{
    display: flex;
    flex-direction: row;
    margin: 56px;
    margin-top: -54px;
    align-items: center;
}

.search-bar .search-bar-items{
    position: sticky;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 4px;
    align-items: center;
}

/* search engine - top bar */

.main-area{
  display: flex;
  flex-wrap: nowrap;
}

.tabs span{
  font-size: 20px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  font-weight: bold;
  letter-spacing: 2px;
}

.tabs li{
  padding: 4px;
}

#panel-info{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

#panel-info h2{
  text-decoration: underline;
}

#panel-info .infoheader{
  border-style: inset;
  border-width: 14px;
  color: #808080;
}

#panel-info p{
  padding: 10px;
  font-size: 19px;
  text-align: center;
  word-spacing: 2px;
}

#panel-info #listart{
  padding: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 19px;
  color: black;
  text-decoration: underline;
  text-align: center;
  word-spacing: 2px;
  list-style-type: none;
}

#panel-info #robloxgames{
  padding: 2px;
  padding-right: 442px;
  gap: 4px;
  font-size: 19px;
  color: black;
  text-align: left;
  word-spacing: 2px;
  list-style-type: square;
}

.accessbutton button{
  font-weight: bold;
  font-style: italic;
  font-size: 20px;
  padding: 8px;
}

.fura-2d{
  width: auto;
  height: 370px;
  border-style: inset;
  border-width: 4px;
  margin: 12px;
}

/* Lightbox overlay and modal */

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: none;
  z-index: 9998;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-window {
  position: relative;
  width: 90%;
  height: 90%;
  max-width: 1400px;
  max-height: 800px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.lightbox-body {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  flex: 1;
  gap: 8px;
  padding: 8px;
}

.lightbox-image-section {
  display: flex;
  flex-direction: column;
  flex: 2;
  overflow: auto;
  gap: 8px;
  border-right: 2px solid #c0c0c0;
  padding-right: 8px;
}

.lightbox-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  overflow: auto;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
}

.lightbox-image.zoomed {
  cursor: zoom-out;
}

.lightbox-controls {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}

.lightbox-controls button {
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.lightbox-info {
  flex: 1;
  padding: 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lightbox-info-header {
  font-weight: bold;
  font-size: 14px;
  color: #000080;
  padding-bottom: 4px;
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 4px;
}

.lightbox-info-item {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #dfdfdf;
}

.lightbox-info-item:last-child {
  border-bottom: none;
}

.lightbox-info-label {
  font-weight: bold;
  color: #000080;
  font-size: 20px;
  display: block;
  margin-bottom: 2px;
}

.lightbox-info-value {
  color: #000000;
  font-size: 16px;
  word-wrap: break-word;
  padding-left: 4px;
}

/* Lazy Loading Styles */

img.lazy {
  background-color: #f0f0f0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

img.lazy.loaded {
  opacity: 1;
}

/* Image hover effect */

.gallery-img {
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-img:hover {
  opacity: 0.8;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Foots Below */

.footer-brows{
    position: absolute;
    margin-left: 10px;
    margin-top: -90px;
}

.footer-brows .internet #separations{
  display: flex;
  flex-direction: row;
}

.footer-brows .internet #indents{
  color: grey;
  border-style: inset;
  border-width: 4px;
  display: flex;
  align-items: center;
}

.taskbar #taskbar-items{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;  /* IMPORTANT SHIT */
  gap: 8px;
}

.taskbar #taskbar-items .default{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 4px;
  gap: 2px;
}

.open-tab{
  border-style: inset;
  border-width: 4px;
  color: grey;
}

.open-tab #tab{
  display: flex;
  flex-direction: row;
  align-items: center;
  color: black; 
  font-size: 14px;
  padding: 4px;
}

.processes{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  color: black; 
  font-size: 14px;
  padding: 4px;
}

.open-tab #time{
  display: flex;
  align-items: center;
  color: black; 
  font-size: 14px;
  padding: 4px;
}

/* animated cursor */

#overlay{
  margin: none;
  border: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  animation: animate 0.50s infinite;
}

@keyframes animate{
  0%{ 
    cursor: url("https://furakua.neocities.org/custom-cursor-w98/photodisc-cursor0.png"), auto;
  }
  20%{ 
    cursor: url("https://furakua.neocities.org/custom-cursor-w98/photodisc-cursor1.png"), auto;
  }
  40%{ 
    cursor: url("https://furakua.neocities.org/custom-cursor-w98/photodisc-cursor3.png"), auto;
  }
  60%{ 
    cursor: url("https://furakua.neocities.org/custom-cursor-w98/photodisc-cursor4.png"), auto;
  }
  80%{ 
    cursor: url("https://furakua.neocities.org/custom-cursor-w98/photodisc-cursor5.png"), auto;
  }
  100%{ 
    cursor: url("https://furakua.neocities.org/custom-cursor-w98/photodisc-cursor0.png"), auto;
  }
  
}

/* animated cursor */