body {

    

    background-image: url("images/cloud.png");
    background-size: 15%;
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;

    color: white;
    font-family: "Courier New", monospace;
    line-height: 1.6;

    margin: 0;
    padding: 0;
}
/*cursor*/
body, a, button, input, textarea {
    cursor: url("images/pointer.png") 8 8, auto;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
   
    width: 220px;
    background-image: url("images/Rainbow.png");
    background-size: 20%;
    background-position: top left;
    background-repeat: repeat;
    background-attachment: fixed;
    border: 9px double #EF24C4;
    border-radius:10px;
    padding: 20px;
    flex-shrink: 0;

}
.sidebar ul {
    list-style: none;
    padding: 0;
}

/* Links inside sidebar */
.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px;
    margin-bottom: 5px;
    transition: 0.2s;
    font-weight: bold;
     background: #003D39;
    border: 2px solid #EF24C4;
    border-radius: 8px;
    
}

.sidebar a:hover {
    background: #EF24C4;
    transform: translateX(5px);
}

/* Center content */
.main {
    padding: 40px;
    flex: 1;
    text-align: center
}

.main > * {
    margin-bottom: 30px;
}

.special2 {
    color: #EF24C4;
  font-weight: bold;
  font-size: 20px;
  text-shadow: 2px 2px grey;
  text-align: center;

}

.textbox p {
    text-indent: 30px;
}

.spinning-image {
    width: 400px;
    animation: spin 20s linear infinite;
    image-rendering: pixelated;
}

/* Rotation animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* RIGHT PANEL */
.rightpanel {

    width: 220px;
    overflow-y:auto;
    min-height: 100vh;
    background-image: url("images/Grassbackground.png");
    background-size: 20%;
    background-position: top right;
    background-repeat: repeat;
    background-attachment: fixed;
    color: #003D39;
    padding: 20px;
    flex-shrink: 0;
    border: 9px double #EF24C4;
    border-radius:10px;
}
/*update cards*/
.update-card {
    background: lightblue;
    border-left: 3px solid #EF24C4;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.update-card:hover {
    transform: translateX(4px);
}

.update-date {
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 1px;
}

.tag {
    display: inline-block;
    background: white;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    margin-top: 8px;
}

/* hoverglow panels */
.sidebar,
.rightpanel,
.textbox {
    transition: box-shadow 0.3s ease;
}

.sidebar:hover,
.rightpanel:hover,
.textbox:hover {
    box-shadow: 0 0 20px #EF24C4;
}
/* sprite */
.sidebar-sprite {
    width: 240px;
    image-rendering: pixelated;
    display: block;
    margin-top: auto;
    animation: float 2s ease-in-out infinite;
    
}


h1 {
    color: #003D39;
    border: 9px double #EF24C4;
    border-radius:10px;
    background-image: url("images/flowers.png");
    background-size: 20%;
    text-align: center;
    
}
.special {
  font-weight: bold;
  font-size: 64px;
  color: #EF24C4;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    text-shadow:
      0 0 5px #ff7de9,
      0 0 10px #ff7de9;
  }

  
}

.typewriter {
  overflow: hidden;
  white-space: nowrap;
  
  width: 0;

  animation:
    typing 5s steps(30, end) forwards;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}


h2 {
   color: #EF24C4;
    padding: 10px;
    text-align: center; 
    text-shadow: 2px 2px grey;
    font-family: "Courier New", monospace;
    font-weight: bold;
    font-size: 50px;
    border: 9px double #EF24C4;
    border-radius:10px;
    background-color: white;
    width: fit-content;
    margin: auto;
}

.special3 {
  color: #ff7de9;

  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    text-shadow:
      0 0 5px #ff7de9,
      0 0 10px #ff7de9;
  }

  to {
    text-shadow:
      0 0 10px #fff,
      0 0 20px #ff7de9,
      0 0 30px #ff7de9;
  }
}
.textbox {
width: 100%;
max-width: 600px;
    padding: 20px;
    border: 6px solid #EF24C4;
    background-color: lightblue;
    text-align: left;
    max-height: 400px;
    overflow-y: auto;
    color: #003D39;
    border-radius: 10px;
    font-family: "Courier New", monospace;
    line-height: 1.6;
    margin: 20px auto;
    position:relative;
    z-index: 10;
    box-shadow: 0 0 10px grey;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h3 {
   color: #EF24C4;
   text-align: center;
    border: 9px double #EF24C4;
    border-radius:10px;
    background-color:  white; 
    width: fit-content;
    padding: 10px;
    text-shadow: 2px 2px grey;
    font-family: "Courier New", monospace;
    font-weight: bold;
    font-size: 30px;
}


/* mobile content*/

@media (max-width: 700px) {
    .container {
        flex-direction: column;
    }
    .sidebar,
    .rightpanel {
        width: auto;
        min-height: auto;
    }
}

/* Custom scrollbar */

/* Chrome/Safari */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #003D39;
}

::-webkit-scrollbar-thumb {
    background: #EF24C4;
    border-radius: 10px;
}