
/* floralwhite gradient:
#fffaf0; 
#d1d5c8;
#a1b1a6;
#748e8a;
#4c6b71;
#2f4858;
*/


body {
  background-color: FloralWhite;
  color: black;
  font-family: Helvetica;
  padding-bottom: 40px;
}
.center-text {
  text-align: center;
}
 
                                  /* file-card */
 
.file-card {
  display: inline-block;
  width: 220px;
  padding: 10px;
  margin: 10px;
  border: 1px solid black;
  border-radius: 5px;
  background: FloralWhite;
  color: black;
  text-decoration: none;
  box-shadow: 0 2px 3px #b3aa99;
  transition: transform 0.2s ease, box-shadow 0.2 ease;
}
 
.file-card:hover,
.file-card:focus {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: 2px 10px 14px #b3aa99;
}
 
.file-card img {
  width: 100%;
  height: auto;
  display: block;
}
 
.file-card {
  box-shadow: 0 2px 3px #b3aa99;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

}

.file-card.highlighted {
  outline: 3px solid #4c6b71;
  outline-offset: 0px;
  animation: pulse-highlight 1.4s ease-in-out 2;
}

@keyframes pulse-highlight {
   0%, 100% { outline-color: #4c6b71; }
  50% { outline-color: transparent; }
}

.nav-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}

.back-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 80px;
  height: 20px;
  padding: 4px;
  margin: 0;
  border: 1px solid #748e8a;
  border-radius: 6px;
  background: Floralwhite;
  color: #748e8a;
  text-decoration: none;
  transition: transform 0.2s ease;
  font-size: 10px;
}

 
.back-card-container:hover,
.back-card-container:focus {
  transform: translateY(-5px);
}

button.back-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 90px;
  height: 30px;
  padding: 4px;
  margin: 0;
  border: 1px solid #748e8a;
  background: Floralwhite;
  color: #748e8a;
  text-decoration: none;
  transition: transform 0.2s ease;
  font-size: 10px;
  cursor: pointer;
}
 

.notice-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 8px 16px;
  font-size: 12px;
  color: #4c6b71;
  background-color: #d1d5c8;
  border-top: 1px solid ##d1d5c8;
  z-index: 9999;
}

@media (max-width: 600px) {
        .file-card {
          display: block;
          width: auto;
          max-width: 300px;
          margin: 10px auto;
          }
}

body {
  background-color: FloralWhite;
  color: black;
  font-family: Helvetica;
  padding-bottom: 40px;
}

h1 {
  font-size: 24px;
  font-family: Helvetica;
}

#dvd-screensaver {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 15;
  width: fit-content;
  padding: 10px 10px;
  border: 1px solid #4c6b71;
  border-radius: 50px;
  color: #4c6b71;
  font-family: monospace;
  letter-spacing: 0.12em;
  text-align: center;
  pointer-events: none;
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
  #dvd-screensaver { display: none; }
}

#mouse-avoider {
  position: fixed;
  left: 42%;
  top: 72%;
  z-index: 12;
  padding: 12px 16px;
  background: rgb(247, 168, 83);
  color: #000000;
  cursor: grab;
  user-select: none;
  touch-action: none;
  border-radius: 50px;
}

#mouse-avoider:active { cursor: grabbing; }

 
                                  /* file-card */
 
.file-card {
  display: inline-block;
  align-items: center;
  width: fit-content;
  height: fit-content;
  padding: 10px;
  margin: 5px;
  border: 1px solid black;
  border-radius: 5px;
  background: FloralWhite;
  color: black;
  text-decoration: none;
  box-shadow: 0 2px 3px #b3aa99;
  transition: transform 0.2s ease, box-shadow 0.2 ease;
}
 
.file-card:hover,
.file-card:focus {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: 2px 10px 14px #b3aa99;
}
 
 
.file-card {
  box-shadow: 0 2px 3px #b3aa99;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

}

.file-card.highlighted {
  outline: 3px solid #4c6b71;
  outline-offset: 0px;
  animation: pulse-highlight 1.4s ease-in-out 2;
}

@keyframes pulse-highlight {
   0%, 100% { outline-color: #4c6b71; }
  50% { outline-color: transparent; }
}

.nav-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}

.back-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 80px;
  height: 20px;
  padding: 4px;
  margin: 0;
  border: 1px solid #748e8a;
  border-radius: 6px;
  background: Floralwhite;
  color: #748e8a;
  text-decoration: none;
  transition: transform 0.2s ease;
  font-size: 10px;
}

 
.back-card-container:hover,
.back-card-container:focus {
  transform: translateY(-5px);
}

button.back-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 90px;
  height: 30px;
  padding: 4px;
  margin: 0;
  border: 1px solid #748e8a;
  background: Floralwhite;
  color: #748e8a;
  text-decoration: none;
  transition: transform 0.2s ease;
  font-size: 10px;
  cursor: pointer;
}
 

.notice-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 8px 16px;
  font-size: 12px;
  color: #4c6b71;
  background-color: #d1d5c8;
  border-top: 1px solid;
  z-index: 9999;
}

@media (max-width: 600px) {
        .file-card {
          display: block;
          width: auto;
          max-width: 300px;
          margin: 10px auto;
          }
}

  #draggable-box {
    position:relative ;
    width: fit-content;
    height: fit-content;
    padding: 10px;

    background: rgb(192, 255, 222);
    border-radius: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: grab;
    user-select: none;
    touch-action: none;
    z-index: 1;
}

#draggable-box:active {
    cursor: grabbing;
}

#gravity-box {
    position: relative;
    width: fit-content;
    height: fit-content;
    padding: 10px;

    background: rgb(212, 173, 230);
    border-radius: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: grab;
    user-select: none;
    touch-action: none;
    z-index: 1;
}

#north-pole {
    position: absolute;
    width: fit-content;
    height: fit-content;
    background-color: rgb(233, 114, 114);
    border-radius: 50px;
    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: grab;
    user-select: none;
    touch-action: none;
    z-index: 1;
}

#south-pole {
     position: absolute;
    width: fit-content;
    height: fit-content;
    background-color: rgb(114, 191, 233);
    border-radius: 50px;
    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: grab;
    user-select: none;
    touch-action: none;
    z-index: 1;
}

#heavy-box {
    position: absolute;
    width: fit-content;
    height: fit-content;
    background-color: rgb(84, 55, 94);
    color:rgb(255, 254, 255);
    padding: 10px;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: grab;
    user-select: none;
    touch-action: none;
    z-index: 1;
}

