@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.select-disable {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

body::-webkit-scrollbar {
    width: 5px;
}

body::-webkit-scrollbar-thumb {
    width: 5px;
    background-color: #ffe26e;
}

body::-webkit-scrollbar-track {
    background-color: #000;
}

body {
    width: 100%;
    color: #FFF;
    font-family: 'Open Sans', sans-serif;
    background: #2B2B2B;
    overflow-x: hidden;
}

.yellow {
    color: #FDFD96;
}

main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    background: #000;
}

#left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 50%;
    height: 100vh;
    padding: 2rem;
}

#right {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: 50%;
    height: 100vh;
    padding: 0 8vw 4vh 0;
}

#right::before {
    content: '';
    position: absolute;
    width: 10vw;
    height: 100vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 69.79%, rgba(255, 222, 144, 0.05) 100%);
    left: -10vw;
    top: 0;
}

#img3D {
    position: fixed;
    width: 50%;
    float: right;
    right: 0;
}

#info_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 3vh;
}

#intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3vh;
}

#intro h1 {
    font-size: 32px;
}

#intro p {
    width: 65%;
    font-size: 15px;
}

#sum {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
}

#mode_container {
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-self: flex-start;
    width: 100%;
    padding: 1rem;
}

.now {
    text-shadow: 2px 1px 4px #000;
}

#mode_container h2:first-of-type,
#mode_container h2:last-of-type {
    z-index: 2;
}

.line {
    content: '';
    position: absolute;
    width: 20vw;
    height: 18px;
    background-color: #ffe26e;
    top: 6.5vh;
    left: 0;
    transform: skew(-20deg);
    z-index: 1;
}

#mode_container button {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 3;
}

#mode_container button img {
    display: flex;
    max-width: 40px;
    transition: 0.6s;
}

/* #mode_container button img:hover {
    -webkit-transform: scale(1.1) !important;
    -moz-transform: scale(1.1) !important;
    -o-transform: scale(1.1) !important;
    -ms-transform: scale(1.1) !important;
    transform: scale(1.1) !important;
} */

#page_crossword,
#page_list {
    transition: 0.8s;
}

#list_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: 0.6s;
    gap: 1vh;
}

.rows {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    font-size: 11px;
}

.item-row {
    position: relative;
    text-align: end;
    width: 25%;
    padding: 0.6rem;
}

.num-guia {
    position: absolute;
    color: #FDFD96;
    font-size: 14px;
    font-weight: 500;
    bottom: -5px;
    left: -5px;
    animation: shake 1.1s infinite;
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-5deg);
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        transform: rotate(0deg);
    }
}

#crossword_container {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 60vh;
    transition: 0.6s;
    gap: 1vh;
}

table {
    border: 0;
}

td {
    width: 21px;
    height: 21px;
    color: #FDFD96;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 2px;
    margin: 0;
}

#none {
    width: 21px;
    height: 21px;
    background-color: #ffe26e;
    border: none;
}

input {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    border: 1px solid #000;
    outline: none;
}