* {
  box-sizing: border-box;
}
@font-face {
  font-family: "PixelOperator";
  src: url(./Fonts/pixel_operator/PixelOperator.ttf);
}
html {
  overflow-x: hidden;
}
.header,
h1,
h2,
h3,
h4,
h5,
.footer {
  font-family: "PixelOperator";
}
body {
  background-image: url(./Background-Imgs/Misc/windowsxp.webp);
  background-size: cover;
  cursor: url(./Cursors./default_twist_gif.gif), auto;
  margin: 0px;
  overflow-x: hidden;
}

.date_p {
  font-size: small;
  text-decoration: underline;
  margin-top: 0px;
  margin-bottom: 0px;
}

.title_p {
  font-size: medium;
  font-weight: bold;
  margin-top: 5px;
}

.main_p {
  font-size: 13px;
  font-weight: 600;
}

.span_paragraph {
  margin-right: 10px;
}

#barrikada-title {
  height: 104px;
  width: 287px;
}
#barrikada-main {
  display: flex;
  flex-direction: row;
}
#barrikada-text {
  display: flex;
  flex-direction: column;
}

.window {
  /* Config for all the windows  */
  background: rgb(204, 203, 203);
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf,
    inset -2px -2px grey, inset 2px 2px #fff;
  padding: 3px;
  width: min-content;
}

#main-window {
  left: 550px;
  top: 17px;
  z-index: 1;
  position: absolute;
  height: 90%;
}

/* Gifs and Images size: 160px */
#ri {
  /* Random Image */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}
#ri img {
  border: 2px groove transparent;
  border-image: url(./download.svg) 2;
  height: 160px;
  width: 160px;
}
#rg {
  /* Random Gif */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}
#rg img {
  -border: 2px groove transparent;
  -border-image: url(./download.svg) 2;
  height: 160px;
  width: 160px;
}

#linegif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

#stamps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap; /* Prevent the stamps from wrapping */
}
#stamps-move {
  border: 2px groove transparent;
  border-image: url(./download.svg) 2;
  z-index: 5;
  overflow: hidden; /* Hide the stamps as they move out of the container */
}
#stamps-move img {
  display: inline-flex;
  flex-direction: row;
  height: 55px;
  width: 99px;
  animation: scrollStamps 10s linear infinite;
  z-index: 4;
}
/* Keyframes for infinite scrolling */
@keyframes scrollStamps {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-1030%);
  }
}

#totw {
  /* Topic of the Week */
  position: absolute; /* Change from relative */
  height: 408px;
  width: 300px;
  left: 218px;
  top: 137px; /* Adjust to make sure it's visible */
  z-index: 10; /* Ensure it stays on top */
}

.totw-main {
  /* Topic of the Week Main */
  background-color: white;
  border: 2px groove transparent;
  border-image: url(./download.svg) 2;
  width: 277px;
  height: 367px;
  overflow: scroll;
  overflow-x: hidden;
  padding: 5px;
}
.topmenu {
  display: flex;
  font-size: 14px;
  padding: 1px 0px 5px 1px;
  letter-spacing: 1px;
  gap: 20px;
}
.topmenu-text {
  margin: 0px;
}

.title-bar-text {
  display: flex;
  flex-direction: row;
}
#button-1 {
  text-transform: none;
  text-indent: 0px;
  text-shadow: 1px;
  display: inline-block;
  text-align: center;

  margin: 0em;
  padding-block: 1px;
  padding-inline: 6px;
}

/*Left Column*/

.left-column-header {
    display: flex;
    flex-direction: column;
    width: auto;
    height: 100px;

}

.left-column-header * {
    margin: 0px;
}

.left-column {
  height: auto;
  width: 65%;
    padding: 20px;
}

/*Right Column*/

.right-column {
  height: auto;
  width: 35%;
}

#main_title {
    margin-top: 0px;
}

.window-body {
  display: flex;
  height: 90%;
  flex-direction: column;
  width: min-content;
}
.ms-body {
  display: flex;
  width: min-content;
  overflow-y: hidden;
  flex: 1;
}
.main {
  display: flex;
  flex-direction: row;
  background-color: white;
  border: 2px groove transparent;
  border-image: url(./download.svg) 2;
  height: auto; /* Allow main to take up available height */
  overflow: scroll;
  overflow-x: hidden;
  padding: 10px;
  width: 850px;

  background-size: 10%;
  background-attachment: local;
  background-position: top right;
  background-repeat: no-repeat;
}

.footer {
  background-image: url(./Background-Imgs/Misc/start.png);
  background-color: rgb(203, 203, 203);
  background-size: contain; /* Ensure image is fully visible */
  background-repeat: no-repeat;
  background-position: left center; /* Adjust as needed */

  height: 35px;
  width: 100%;

  border-top: 2px solid white;
  text-align: left;
  padding: 5px 0;

  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 98;

  display: flex;
}
.start-button {
  line-height: normal;
  border: none;
  position: relative;
  z-index: 98;
  width: 70px;
  height: 22px;
}
.footer-text {
  margin-top: 5px;
  margin-left: 30px;
  color: black;
  z-index: 98;
}

#madeby {
  float: right;
  text-align: right;
  padding: 0 10px;
  border: 2px groove transparent;
  border-image: url(download.svg) 2;
  position: absolute;
  right: 10px;
  top: 5px;
}

#musicplayer {
  background: white;

  width: 200px;
}

.songtitle {
  padding: 5px;
  border: 2px groove transparent;
  border-image: url(./download.svg) 2;
  display: block;
}

.controls {
  font-size: 18px !important;
  background-color: rgb(203, 203, 203);
  text-align: center;
  width: 100%;
}

.controls td {
  padding: 8px 5px 0px 5px;
}

.seeking {
  background-color: rgb(203, 203, 203);
  display: flex;
  justify-content: space-evenly;
  padding: 5px;
}

.current-time {
  padding-right: 5px;
}

.total-duration {
  padding-left: 5px;
}

i.fas:hover {
  cursor: url(./Cursors./default_dvd.cur), auto;
}

i.fas.fa-pause,
i.fas.fa-play,
i.fas.fa-forward,
i.fas.fa-backward {
  color: #000000;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background-color: rgb(203, 203, 203);
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 2px;
  background: #000000;
}

input[type="range"]::-webkit-slider-thumb {
  height: 10px;
  width: 10px;
  background-image: url(./Icons./cd_audio_cd_a-4.png);
  background-size: contain;
  cursor: url(./Cursors./pointer_wd.cur), auto;
  -webkit-appearance: none;
  margin-top: -4.5px;
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 2px;
  background: #000000;
}

input[type="range"]::-moz-range-thumb {
  height: 10px;
  width: 10px;
  background: #000000;
  cursor: pointer;
}
