/* cursors,base */
* {
    box-sizing: border-box;
    cursor: url(cursor.cur), auto;
}

a, button, .clickable {
    cursor: url(hover.cur), pointer !important;
}

:root {
    --primary-color:   #fff4e0;
    --secondary-color: #d69e2d;
    --tertiary-color:  #67a43e;
}

body {
    background-image: url(/img/bg.png);
    font-family: "DotGothic16", sans-serif;
    font-weight: 500;
    font-style: normal;
    word-break: break-word;
    margin: 0;
}

/* page wraper */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
    overflow-x: hidden;
}

/* decorations */
.bg-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
}

.clover-left {
    position: absolute;
    right: 83.9%;
    bottom: -11%;
    width: 210px;
    transform: rotate(23deg);
}

.charm {
    position: absolute;
    right: 3%;
    top: -5%;
    transform: rotate(-15deg);
    width: 250px;
}

.seal {
    position: absolute;
    right: 4%;
    top: 56%;
    width: 80px;
}

.glass-clover {
    position: absolute;
    right: 9%;
    bottom: -6%;
    width: 150px;
}

.konoe-back {
    position: absolute;
    left: -10%;
    height: 100%;
    width: auto;
    z-index: -1;
}

/* main container */
.main-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 900px;     
    max-width: 90vw;
    background-color: rgba(255, 255, 255, 0.8);
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
}

/* sidebar */
.main-left {
    flex: 1 1 0;
    min-width: 0;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
}

/* music player */
.player {
    width: 600px;
    height: 20px;
    color: var(--secondary-color);
    font-size: 20px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.player-container {
    width: 600px;
    height: 30px;
    overflow: hidden;
    position: relative;
}

.player-button {
    width: 40px;
    text-align: end;
    cursor: pointer;
}

.ico {
    padding-right: 900px;
    color: var(--secondary-color)
    transition: 0.3s;
    font-size: 20px;
}

.song-info {
    display: flex;
    white-space: nowrap;
    align-items: center;
    height: 100%;
}

.song-info-cont {
    display: inline-block;
    padding-left: 100%;
    animation: song-info 11s linear infinite;
}

@keyframes song-info {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* header imageee */
.main-img {
    position: relative;
}

.main-img img {
    width: 98%;
    height: 200px;
    margin: 10px;
    /* padding: 3px; */
    object-fit: cover;
    display: block;
    /* mayb change to border img later? */
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
}

.main-img span {
    position: absolute;
    bottom: 1px;
    right: 14px;
    font-size: 77px;
    color: #fff;
    text-shadow: 4px 4px 4px rgba(0,0,0,0.5);
}

.main-img span:hover {
    transform: scale(110%);
    user-select: none; 
}

.main-img span:active {
    transform: rotate(-10deg);
    user-select: none; 
}

/* navigation buttons */
.nav {
    background-color: transparent;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: 50px;
    margin: 15px;
    flex-wrap: wrap;
    border-radius: 20px;
}

.nav button {
    font-family: "DotGothic16", sans-serif;
    background: transparent;
    border-bottom: 2px solid #d69e2d;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 15px;
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 500;
    /* box-shadow: rgba(0, 0, 0, 0.053) 0px 20px 25px -5px, rgba(0, 0, 0, 0.046) 0px 10px 10px -5px; */
    cursor: pointer;
}

.nav button:hover  { transform: translateY(-2px); }
.nav button:active { transform: translateY(0); }

/* content */
.main-content-area {
    margin-top: -35px;
    padding: 16px;
}

.content h3 {
    color: var(--secondary-color);
    font-size: 25px;
    margin-bottom: 0px;
}

.content p {
    color: #333;
    padding-left: 10px;
    padding-bottom: 10px;
}

/* gallery */
.arts {
    column-count: 2;
    column-gap: 16px;
    width: 100%;
}

.arts img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 16px;
    object-fit: contain;
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
}

/* comments */
iframe {
    width: 100%;
    height: 350px;
    padding: 15px;
    border: 2px dashed var(--secondary-color);
    border-radius: 20px;
    scrollbar-width: none;
}

/* other */
.kononolink {
    margin-left: 170px;
    width: 200px;
    height: 200px;
}

.kononolink:hover {
    transform: scale(115%);
}

/* table */
table {
    border-collapse: separate;
    width: 100%;
    font-size: 10px;
    margin: 10px 0;
}

table td {
    border-bottom: 2px solid var(--secondary-color);
    padding: 4px 8px;
}

/* right sidebar */
.main-right {
    flex: 0 0 300px;
    width: 300px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    top: 0;
    align-self: flex-start;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none
}

/* poll wrapper */
.sidebar-poll {
    width: 280px;
    padding: 15px;
    background-color: #ffffff00;
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    font-family: 'DotGothic16', sans-serif;
    color: #333;
}

.poll-header {
    margin-bottom: 12px;
    font-size: 20px;
    text-align: center;
    color: var(--secondary-color);
    text-transform: uppercase;
    border-bottom: 2px dashed var(--secondary-color);
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
}

.poll-options label {
    transition: color;
}

.poll-options label:hover {
    color: var(--secondary-color);
}

.poll-actions {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.poll-btn {
    padding: 4px 10px;
    font-family: 'DotGothic16';
    border-radius: 4px;
    transition: opacity 0.2s;
}

.poll-btn:hover {
    opacity: 0.7;
}

.btn-vote {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: none;
}

.btn-view {
    background-color: #ffffff;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

/* links */
.smth-right, .smth-rightx2 {
    width: 280px;
    height: 230px;
    display: flex;
    flex-direction: column;
    background-color: #ffffff00;
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    position: relative; 
}

.smth-right img, .smth-rightx2 img {
    width: 269px;
    height: 230px;
    padding: 10px;
    display: block;
}

.smth-right span, .smth-rightx2 span {
    font-family: 'DotGothic16', sans-serif;
    color: #333;
    position: absolute; 
    top: 10px; 
    left: 15px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.833); 
    padding: 2px 5px;
    border-radius: 20px;
}

.smth-right:hover, 
.smth-rightx2:hover {
    transform: translateY(-5px);
}

.smth-right:hover span, 
.smth-rightx2:hover span {
    color: var(--secondary-color);
}