body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(#a8c4b3, #c6dace);
    cursor: url("assets/Imagens/CursorSelect.png"), auto;
    font-family: "Confortaa", sans-serif;
}
a,
button {
    cursor: url("assets/Imagens/CursorClick.png"), pointer;
}
body,
html {
    pointer-events: auto;
}

.background {
    position: absolute;
    top: 0;
    left: 1;

    max-width: 100%;
    max-height: 100vh;

    object-fit: contain;
    z-index: -1;
}
.scene {
    width: 1920px;
    height: 1080px;
    margin-left: auto;
    margin-right: auto;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.personagem {
    position: absolute;
    top: 61%;
    left: 60%;

    transform: translate(-41%, -74%);
    z-index: 20;
}
.cadeira {
    width: 545px;
    position: relative;
    z-index: 12;
}
.eu {
    position: absolute;
    bottom: -417px;
    left: 56%;
    transform: translateX(-64%);

    width: 491px;
    z-index: 10;
    pointer-events: none;
}

.frame {
    position: absolute;
    width: 200px;
    top: 300px;
    left: 500px;
}
.art {
    width: 100%;
    display: block;
}
.frame-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.pc {
    position: absolute;
    top: 30.5%;
    left: 42%;
    width: 321px;

    transition: transform 0.3s ease;
    z-index: 5;
}
.pc:hover {
    transform: scale(1.05);
}
.pc-content {
    position: relative;
    width: 800px;
    height: 500px;
}
.pc-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}
.pc-window {
    position: fixed;
    width: 850px;
    height: 450px;

    border-radius: 15px;
    overflow: hidden;
    z-index: 1000;

    transform: scale(0.8);
    transition: transform 0.3s ease;
}
.pc-window * {
    pointer-events: none;
}

.folder {
    position: absolute;
    width: 60px;
    cursor: pointer;
    z-index: 99999;
    pointer-events: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.folder-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;

    width: 800px;
    height: 650px;

    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

    z-index: 999999;
    display: flex;
    flex-direction: column;
}
.folder img {
    width: 60px;
}
.folder span {
    margin-top: 5px;
    font-size: 14px;
    color: white;
}

.window-topbar {
    background: #222;
    color: white;
    padding: 10px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}
.window-content {
    padding: 20px;
    overflow-y: auto;

    height: calc(100% - 50px);
}
.window-topbar button {
    background: red;
    border: none;
    color: white;
    cursor: pointer;
}
.pasta1 {
    top: 50px;
    left: 50px;
}
.pasta2 {
    top: 50px;
    left: 135px;
}
.trabalho {
    margin-bottom: 25px;
}
.trabalho-imagens {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.trabalho-img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.caneca {
    position: absolute;
    top: 44.8%;
    left: 33%;
    width: 129px;
    z-index: 10;

    transition: transform 0.3s ease;
}
.caneca:hover {
    transform: scale(1.05);
}
.caneca-window {
    position: relative;
    top: 37%;
    left: 27%;
    transform: translate(-50%, -50%);

    width: 747px;
    height: 500px;

    border-radius: 20px;
    overflow: hidden;
}
.caneca-grande {
    width: 625px;
    border-radius: 20px;
}
.sticky-note {
    position: absolute;

    top: 303px;
    right: 223px;

    width: 66px;
    padding: 15px;

    background: #f2c865;
    border-radius: 10px;

    z-index: 2;
    transform: rotate(6deg);
}
.sticky-note a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}
.sticky-note a:hover {
    text-decoration: underline;
}
.close-caneca {
    position: fixed;
    top: 20px;
    right: 20px;

    width: 40px;
    cursor: pointer;
    z-index: 999999;
}
.papelada {
    position: absolute;
    top: 44.5%;
    left: 25%;
    width: 115px;
    transform: rotate(-113deg);

    transition: transform 0.3s ease;
}
.papelada:hover {
    transform: rotate(-113deg) scale(1.05);
}
.postal-window {
    position: relative;
    width: 600px;
    margin: auto;

    transform: translateX(-166px);
}
.postal-img {
    width: 160%;
}
.close-postal {
    position: absolute;
    top: 25px;
    right: 25px;

    width: 45px;
    cursor: pointer;
}
.livros {
    position: absolute;
    top: -83.8%;
    left: 80.2%;
    width: 127px;

    transition: transform 0.3s ease;
    z-index: 6;
}
.livros:hover {
    transform: scale(1.05);
}
.livro-window {
    position: fixed;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);

    width: 900px;
    height: 579px;

    border-radius: 1px;
    overflow: hidden;
    pointer-events: auto;
}
#livro-overlay {
    pointer-events: auto;
}
.overlay:not(.hidden) .livro-window {
    transform: translate(-50%, -50%) scale(1);
}
.livro-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;

    pointer-events: none;
}
.livro-content {
    position: relative;
    z-index: 2;
    padding: 40px;
}
.livros,
.eu {
    position: absolute;
}

.moldura {
    position: absolute;
    width: 120px;
    pointer-events: none;
}
.moldura1 {
    top: 2%;
    left: 41%;
    width: 10%;
}
.moldura2 {
    top: 6%;
    left: 53%;
    width: 5%;
}
.moldura3 {
    top: 18%;
    left: 52.5%;
}
.moldura4 {
    top: 18%;
    left: 74.5%;
}
.moldura4 {
    transform: rotate(5deg);
}
.moldura5 {
    top: 4%;
    left: 67.8%;
}
.moldura6 {
    top: 5%;
    left: 60%;
    width: 7%;
}

.controles-audio {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    pointer-events: auto;
}
.controles-audio img {
    pointer-events: auto;
}
#btnPlayPause {
    position: relative;
    z-index: 99999;
    pointer-events: auto;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.4);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 999;
    pointer-events: auto;
}
.overlay:not(.hidden) .pc-window {
    transform: scale(1);
}
.hidden {
    display: none !important;
    pointer-events: none !important;
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 50px;
    height: 50px;

    cursor: pointer;
    pointer-events: auto;

    z-index: 9999;
    display: block;
    padding: 10px;
    margin: 0;
}
.close-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
}
.close-livro {
    position: fixed;
    top: 20px;
    right: 20px;

    width: 50px;
    cursor: pointer;
    z-index: 999999;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
    body {
        transform: rotate(90deg);
        transform-origin: center center;

        position: absolute;
        top: 0;
        left: 0;
        width: 100vh;
        height: 100w;

        overflow-x: hidden;
        overflow-y: auto;

        display: flex;
        justify-content: center;
        align-items: center;
    }
}
