* {
    max-height: 100vh;
    max-width: 100vw;
    margin: 0px;
    padding: 0px;
    /*overflow-x: hidden;*/
}
:root {
    --bg-color: #F4F5FF;
    --text-color: black;
    --button-bg: #f0f0f0;
    --button-text: #333;
    --button-border: #ccc;
}
body {
    max-height: 100vh;
    max-width: 100vw;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: sans-serif;
    transition: background-color 0.3s, color 0.3s;
}
body.dark-mode {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --button-bg: #f0f0f0;
    --button-text: #333;
    --button-border: #ccc;
}

    .main {
            flex: 1;
            padding: 2rem;
        }
        .sidebar {
            width: 300px;
            background: #f0f0f0;
            border-left: 1px solid #ccc;
            padding: 1rem;
            overflow-y: auto;
        }
        textarea {
            width: 100%;
            height: 120px;
            margin-bottom: 10px;
        }
        button {
            padding: 8px 14px;
        }
        .success {
            color: green;
            margin-top: 10px;
        }
        .note {
            background: white;
            border: 1px solid #ccc;
            border-radius: 6px;
            padding: 10px;
            margin-bottom: 10px;
            font-size: 14px;
        }
p {
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: top;
    color: #727586;
}
.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    overflow: hidden;
    height: 20vh;
}
.nav-space{
}
.opening {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.opening-theme{
}
img {
    height: 5vh;
    width: 3.75vw;
    margin-top: 18%;
    margin-bottom: 18%;
}

h1 { font-size: 1.5rem; }

table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 1rem;
  background: white;
}

td, th {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}
 
.section {
  margin: 2rem auto;
  max-width: 800px;

  /* Hidden by default */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#php-section{
    left: 0;
    font-size: 10px;
}

#js-section{
    font-size: 10px;
    right: 0;
}

.draggable{
position: absolute;
}

.resizable {
  resize: both;
  overflow: auto;
  min-width: 100px;
  min-height: 100px;
  border: 1px solid #aaa;
  padding: 5px;
}

#hover-info {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-family: monospace;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 9999;
  white-space: pre;
}
