/* For the About title */
@font-face {
  font-family: 'Old English Five';
  src: url('/fonts/OLDENGLISHFIVE.ttf');
}

/* For all text */
@font-face {
    font-family: 'DNP Shuei 6';
    src: url('/fonts/DNPshuei6.otf');
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'DNP Shuei 6';
    font-size: 14px;
}

/* !!! INTERACTIVE !!! */
#interactive-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 100;
}

/* Background - To transform when scrolls left and right */
#background {
    position: absolute;
    width: 2000px;
    height: 100%;
    background-image: url('/assets/about/Bedroom.png');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    will-change: transform;
    bottom: 0;
    left: 0;
    z-index: 1;
}

/* Profile Box - small profile box for basic abt me info */
.profile-box {
    position: fixed;
    width: 600px;
    height: 400px;
    display: flex;
    justify-content: space-between;
    z-index: 5;
    border: 1px solid #000000;
    padding: 15px;
    background-color: rgba(26, 26, 26);
    top: 1%;
    left: 39%;
    will-change: transform;
}

.left-panel {
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

.image-box {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #888;
    padding: 4px;
    margin-bottom: 10px;
}

.pfp {
    width: 100%;
    height: auto;
    display: block;
}

.italic-note {
    font-style: italic;
    font-size: 13px;
    text-shadow: px, black;
    color: #ffffff;
    margin-bottom: 10px;
    padding: 0 5px;
    text-align: center;
}

.highlight {
    color: #ff351a;
}

.info-table {
    font-size: 11px;
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 4px;
    color: #ffffff;
    border-bottom: 1px solid #444444;
    text-align: left;
}

.info-table th {
    width: 80px;
    color: #ff1818;
    align-content: center;
}

.right-panel {
    width: calc(100% - 195px); 
    display: flex;
    flex-direction: column;
}

.about-header {
    font-family: 'Old English Five';
    font-size: 28px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    width: 100%;
}

.bio-box {
    background-color: rgba(26, 26, 26); 
    border: 1px solid #444;
    padding: 12px;
    font-size: 13px;
    flex-grow: 1; 
    color: #ffffff;
    overflow-y: auto;
    max-height: 280px;
}

/* Character sprite - Pixelated so that it isnt blurred when sized bigger */
#character {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 400px;
    object-fit: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
    image-rendering: pixelated;
    pointer-events: none;
}

/* Interactive zone - interactive boxes around every object */
.interactive-zone {
    position: absolute;
    cursor: pointer;
    z-index: 5;
    will-change: transform;
}

.interactive-zone:hover {
    border: 1px dashed rgba(0, 0, 0);
}

/* Info boxes to appear when objects interacted with */
.info-box {
    position: absolute;
    width: 300px;
    background: rgb(44, 44, 44);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 20;
    display: none;
    color: white;
    border: 2px solid #fff;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.info-box.active {
    transform: scale(1);
    opacity: 1;
}

.box-content {
    padding: 10px;
}

.box-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

.box-text {
    min-height: 60px;
    line-height: 1.4;
}

.close-box {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-box:hover {
    background: rgba(255, 0, 0, 0.2);
}

/* Typing text w/i the boxes + animation sequence */
.typing {
    border-right: 2px solid white;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: white; }
}

#controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
}

#web-deck-player {
    position: fixed;
    top: 10%;
    left: 5%; 
    z-index: 4;
    width: 600px;
    background-color: rgba(0, 0, 0);
    border: 1px solid #7e0000; 
    border-radius: 5px; 
    padding: 10px;
    will-change: transform;
}