body {
    margin: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;      
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://whereintheworldisdino.neocities.org/background3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(0.5px);
}

/*crt effect*/

.crt-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    font-family: 'Courier New', monospace;
    padding: 20px;
    box-sizing: border-box;
}

.crt-container::before {
    content: " ";
    position: fixed;
    inset: 0;
    z-index: 11;
    pointer-events: none;
    background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.12) 50%);
    background-size: 100% 2px;
}

.crt-monitor::after {
    content: " ";
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.08), rgba(0, 255, 0, 0.06), rgba(0, 0, 255, 0.08));
    background-size: 1.5px 100%; 
    mix-blend-mode: screen; 
}

@keyframes crt-flicker {
    0% { opacity: 0.99; }
    50% { opacity: 1; }
    100% { opacity: 0.985; }
}

/*Navigation*/

.navigation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column: 2;
    grid-row: 1;
    width: 290px;
    gap: 5px;
    height: 150px;
    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease, visibility 0.3s ease;
}

.navigation a {
    display: inline-block;
    padding: 15px 0px;
    background: #BFCCDC;
    color: #1b2438;
    text-decoration: none;
    border: 2px solid #1b2438; 
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navigation a:hover {
    background: #8090B2;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.navigation a:active {
    transform: translateY(0px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Grid Container */

.master-container {
    display: flex;
    max-width: 1000px;
    gap: 20px;
    padding: 10px;
    position: relative;
    transform: translate(-50%, -15px);
    left: 50%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
    min-width: none;
}

.grid-container > div,
.grid-container > section {
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #ccc;
    text-align: center;
}

/* Index Grid */

.blog, .navigation{
    background: #f0f8ff;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.title-etc {
grid-row: 1;
width: 350px;
height: 150px;
margin: 0; 
gap: 20px;
background: rgba(255, 255, 255, 0.2); 
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); 
border-radius: 10px;
overflow-y: hidden;
overflow-y: scroll;
}

.grid-container img {grid-column: 1;
position: relative;}

.cool-sites-box{
    grid-column: 2;
    grid-row: 1;
    width: 190px;
    height: 150px;
    position: relative;
    background: #BFCCDC;
    border-radius: 8px;
    border: 10px solid #f0f8ff;
    overflow-y: scroll;
    scrollbar-width: none;
    margin-left: -255px;
}

.navigation {
display: grid;
grid-template-columns: repeat(2, 1fr); 
grid-column: 2;
grid-row: 1;
width: 290px;
gap: 5px;
height: 150px;
}

.blog {
    grid-column: 1;
    grid-row: 2;
    height: 270px;
    width: 600px;
}

.updates {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    height: 230px;
    width: 290px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    overflow-y: scroll;
    scrollbar-width: none;
}

.wrapper {
    grid-column: 2;
    grid-row: 2;
    margin-top: 270px;
    width: 290px;
    margin-inline: auto;
    position: relative;
    top: 0px;
    margin-right: 250px;
    height: 0px;
    overflow: hidden;
    border: #BFCCDC 1px solid;
    border-radius: 8px;
    background-color: #BFCCDC;
}

.webrings {
    grid-column: 2;
    width: 500px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    position: relative;
    right: 250px;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
}

/* Headings */

.blog-title, .updates-title,.listening {
    padding: 2px;
    display: block;
    font-size: 24px;
    color: #1b2438;
    position: relative;
    top: -25px;
    width: auto;
    border: 8090B2 1px solid;
    border-radius: 17px;
    background: #BFCCDC;
    margin: 15px 20px 0px 20px;
}

/* Updates Column */

.updates-content p {
  padding: 5px;
  display: block;
  font-size: 15px;
  color: #1b2438;
  width: auto;
  border: 8090B2 1px solid;
  border-radius: 17px;
  backdrop-filter: blur(10px);
  background: #f0f8ff;
  margin: 15px 20px 0px 20px;
}

.cool-sites-box p {
    position: relative; top: 15px;
}

.listening-photo {
    width: 150px;
    position: relative; 
    bottom: 20px; 
    border-radius: 17px;
}

/* Marquee */

@keyframes scrollleft {
    to {
        left: calc(-100% - (calc(9 * 12px)));
    }
}

.item {
    width: 35px;
    height: 31px;
    position: absolute;
    left: calc(45px * 9);
    animation-name: scrollleft;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: -10s;
}

.item1 {
    animation-delay: calc(30s / 9 * (9 - 1) * -1);
    top: 8px;
}
.item2 {
    animation-delay: calc(30s / 9 * (9 - 2) * -1);
    top: 8px;
}
.item3 {
    animation-delay: calc(30s / 9 * (9 - 3) * -1);
    top: 8px;
}
.item4 {
    animation-delay: calc(30s / 9 * (9 - 4) * -1);
    top: 8px;
}
.item5 {
    animation-delay: calc(30s / 9 * (9 - 5) * -1);
    top: 8px;
}
.item6 {
    animation-delay: calc(30s / 9 * (9 - 6) * -1);
    top: 8px;
}
.item7 {
    animation-delay: calc(30s / 9 * (9 - 7) * -1);
    top: 8px;
}
.item8 {
    animation-delay: calc(30s / 9 * (9 - 8) * -1);
    top:  8px;
}

.item9 {
    animation-delay: calc(30s / 9 * (9 - 9) * -1);
    top: 8px;
}

.wrapper:hover .item {
    animation-play-state: paused!important;
    top: 8px;
}

/* Blog Content */

.blog-content {
height: 220px;
overflow-y: auto;
border: 1px solid black;
background: #BFCCDC;
border-radius: 17px;
}

.blog-content article {
    margin: 0;
    padding: 0;
    display: block;
}

.blog-content p {
    margin: 15px 20px 15px 20px;
    width: 80%;
    position: relative;
    left: 30px;
    padding: 10px;
    color: #1b2438;
    font-size: 16px;
    line-height: 1.5;
    background: #f0f8ff;
    border-radius: 10px;
}

.blog-content::-webkit-scrollbar {
    width: 5px;
}
.blog-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 8px;
}
.blog-content::-webkit-scrollbar-thumb:hover {
    background: #BFCCDC;
    border-radius: 8px;
}
.blog-content::-webkit-scrollbar-button:vertical:start:increment,
.blog-content::-webkit-scrollbar-button:vertical:end:decrement {
    display: block;
    height: 5%;
    background: transparent;
}

/*photos and nametags*/

.tilt-cameras {
    position: relative; 
    top: 60px;
    margin-left: 30px;
    margin-right: 30px;
}

.tilt-cameras, .licenseplates {
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-decoration: underline;
}

.tilt-cameras::after {
  content: attr(data-nametags);
  position: absolute;
  bottom: 50%;
  left: 100%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.licenseplates::after {
  content: attr(data-nametags);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tilt-cameras:hover::after, .licenseplates:hover::after {
  opacity: 1;
}

.licenseplates:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
}

.tilt-cameras:hover {
    transform: scale(1.1);
}

.t50pic, .ektarh35pic, .cingularpic {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap; 
    row-gap: 15px;
    column-gap: 20px;
    padding: 15px;
}

.t50pic img {
    position: block;
    width: 275px;
    height: 183px;
}

.ektarh35pic img {
    width: 29.5%;
}

.cingularpic img {
    width: 29.5%;
}

[hidden] {
  display: none !important;
}


/*kaios content*/

.kaios-content {
    display: none;
}

@media screen and (max-width: 320px) and (max-height: 320px) {
  
  .desktop-content {
    display: show !important;
  }

  body {
    width: 100vw !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #0b0b0f !important;
    color: #ffffff !important;
    overflow-x: hidden !important;
    font-family: sans-serif;
    cursor: none;
  }
  
  .navigation {
    width: 240px;
  }

  .kaios-navigation {
    display: block !important;
    width: 100vw !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 8px 6px !important;
    overflow: hidden;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
    background: rgba(10, 10, 12, 0.9);
  }

  .kaios-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    width: 100%;
    height: auto;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    perspective: none;
    transform-style: flat;
  }

  .kaiosbutton {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    text-align: center;
    color: #d8d8d8;
    text-decoration: none;
    font-size: 8px;
    line-height: 1.1;
    font-weight: bold;
    padding: 6px 2px;
    border-radius: 10px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.8);
    box-sizing: border-box;
    white-space: nowrap;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    transform-origin: center center;
    cursor: default;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 
      inset 0 1px 0 rgba(255,255,255,0.28),
      0 2px 8px rgba(0, 0, 0, 0.22);
    
    transition: opacity 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
  }

  .kaiosbutton:focus, .kaiosbutton.active {
    color: #ffffff !important;
    opacity: 1 !important;
    outline: none !important;
    transform: none;
    
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 
      inset 0 1px 0 rgba(255,255,255,0.35),
      0 0 8px rgba(136, 136, 136, 0.25),
      0 2px 6px rgba(0, 0, 0, 0.24);
    background: rgba(255, 255, 255, 0.28);
  }

    .kaios-card {
    display: none !important;
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .kaios-card.visible {
    display: block !important;
  }

  .kaios-card:focus {
    outline: 2px solid #0078d4 !important;
    background-color: #252525;
  }

    .kaios-card:focus {
    outline: none !important;
    background-color: #252525;
  }

  .kaiosbutton.side-left,
  .kaiosbutton.side-right,
  .kaiosbutton.far-left,
  .kaiosbutton.far-right {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .kaios-content {
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
  }
}
