html, body {
    height: 100vh;
}

body {
    font-family: 'Montserrat';
    margin: 0;
}

.noscript {
    display: flex;
    font-size: 2.5rem;
    font-weight: bold;
    justify-content: center;
    border-bottom: 1rem solid black;
    padding: 10px;
}

.background {
    position: fixed;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background css-doodle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container{
    min-height: 100vh;
    position: relative;

    background: radial-gradient(#00fffa7d, #1067d0);
}







.content-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}


.content-ad {
    justify-items: center;
}

.pr0m0-area {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ban-slot1 {
    width: 970px;
    height: 91px;
    border: 2px dashed rgba(255,255,255,0.3);
    background: rgb(91 91 91 / 20%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin: 10px;
}

.slot-text {
    color: #fff;
    font-weight: bold;
}

.ban-slot1:hover {
    opacity: 1;
}


#main-content-column-1{
    border-radius: 10px;
    margin: 10px;
    display: flex;
    flex-direction: column;

    height: auto;
    width: 100%;
}

.info-field {
    border: 6px solid #00c8ff;
    border-radius: 30px;
    background: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
}

.title-container {
    display: flex;
    justify-content: flex-end;
    margin: 7px 33px 30px 24px;
    position: relative;
}

.title-description-info{
    display: flex;
    width: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: absolute;
    top: -36px;
    left: 11%;
    transform: translateX(-50%);

    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 200, 255, 0.3);
    border: 2px solid #00c8ff;
}

.description-info{
    display: block;
    border-bottom: 2px solid;
    color: #00c8ff;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 5px 0px 5px 0px;
    margin: 3px 0px 25px 0px;
}

.how-to-play-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #1c2123;
    display: block;
}

.description-label {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(135deg, #4d77ff, #00c8ff);
    color: white;
    margin: 0;
    text-decoration: underline;
    padding: 10px 20px 10px 15px;
    display: flex;
}

.icon-home-how-to-play-title {
    width: 28px;
    height: 28px;
    margin-right: 4px;

    animation: pencilWrite 8s ease-in-out infinite;
    transform-origin: bottom right;
}

@keyframes pencilWrite {
    0%, 20% {
        transform: rotate(0deg) scale(1);
        filter: brightness(1);
    }
    30% {
        transform: rotate(-15deg) scale(1.1);
        filter: brightness(1.1);
    }
    45% {
        transform: rotate(5deg) scale(1.05);
        filter: brightness(1.15);
    }
    60% {
        transform: rotate(-10deg) scale(1.08);
        filter: brightness(1.1);
    }
    75% {
        transform: rotate(3deg) scale(1.02);
        filter: brightness(1.05);
    }
    85%, 100% {
        transform: rotate(0deg) scale(1);
        filter: brightness(1);
    }
}

.toolbox-icon-info-description {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 5px;
    background: white;
    border-radius: 3px;
    padding: 7px;
    border: 1px solid #9cd3e2;
    border-radius: 5px;
}

.toolboxInfoIcon {
    display: flex;
    padding: 2px;
}

.lobby-how-to-play-info-icon {
    border-radius: 4px;
    border: solid 1px #6962cd;
    background-color: rgb(236 225 247 / 77%);
}

.info-main-colors-container{
    display: flex;
    margin-top: 20px;
    background: white;
    border: 1px solid #9cd3e2;
    border-radius: 5px;
}

.color-button-main-container-info {
    padding: 6px 3px 6px 4px;
    background-color: rgb(255 255 255 / 30%);
    width: 15%;
    padding: 5px;

    pointer-events: none;
}

.color-button-container-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    padding: 5px;
    background-color: rgb(255 255 255 / 30%);

    border: 1px solid;
    border-color: #e5c0ff;
    border-radius: 4px;
}

.button-image-color-info {
    height: 100%;
    width: 100%;

    border: 1px solid;
    border-color: #434343;
    border-radius: 2px;
}

.colorBox-info {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.toolbox-description-how-to-play {
    align-self: center;
    color: blueviolet;
    margin-left: 8px;
}

.color-palette-container-info {
    display: grid;
    grid-template-columns: 10% 90%;
    margin-top: 20px;
    pointer-events: none;

    background: white;

    padding: 5px;

    border: 1px solid #9cd3e2;
    border-radius: 5px;
}

#current-color-info {
    border: 1px solid white;
    width: 100%;
    height: 50px;
}

#color-wheel-button-info {
    border: 1px solid white;
    background: linear-gradient(305deg, rgb(110 95 193 / 11%) 0,30%, #ffffff 75%);
    height: 50px;

    border: 1px solid;
    border-color: #e8c5ff;
    border-radius: 4px;
    cursor: pointer;
}

.colorWheel-img-info {
    height: 100%;
    width: 100%;
}

.slider-container-info {
    pointer-events: none;
    background-color: #ffffff;

    padding: 5px;

    display: flex;
    column-gap: 3px;

    border-radius: 0px 0px 4px 4px;
    margin-top: 20px;

    border: 1px solid #9cd3e2;
    border-radius: 5px;
}

.slider-info {
    user-select: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 5%;
    background-color: rgb(255 255 255 / 30%);
    border: 1px solid;
    border-color: #e5c0ff;
    border-radius: 4px;
}

.arrow-sliders-info {
    display: block;
    margin: 0px 5px 0px 5px;
    height: 20%;
    color: #6b19db;
}

.icon-slider-info {
    opacity: 0.8;
    font-size: 1.5em;
    height: 30%;
    margin-top: 10px;
    display: flex;
    align-items: end;
    align-self: center;
}

.value-display-info {
    font-size: 12px;
    position: relative;
    align-self: center;
    height: 30%;
    color: #6b19db;
}

.toolbox-description-how-to-play-line-opacity {
    align-self: center;
    color: blueviolet;
    margin-left: 8px;
}

.wordhints-container-info {
    justify-content: center;
    text-align: center;
    position: relative;

    background: #ffffff;
    grid-column: 4;

    white-space: nowrap;
    display: grid;
    grid-template-columns: 0.2fr 1fr 0.2fr;
    border-radius: 5px;

    padding: 10px;
    pointer-events: none;

    border: 1px solid #9cd3e2;
    border-radius: 5px;
}

.guess-letter-underline-info {
    border-bottom: 0.2rem #6b19db solid;
    display: inline-block;
    width: 0.7rem;
    padding-bottom: 1.2px;
}

.guess-letter-info {
    color: #6b19db;
    font-family: monospace;
    font-size: 1.3rem;
    border-bottom: 0.2rem #6b19db solid;
}

#word-Length-Container-info {
    padding: 0.2rem;
    display: flex;
    grid-column: 1;
    align-self: center;
    margin-left: 2px;
    margin-right: 6px;
    color: #6b19db;
}

.word-length-div-info {
    align-self: center;
}

.word-length-info {
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
}

.hint-and-skip-buttons {
    align-self: center;
    margin-left: 8px;
    margin-right: 6px;
}

.hint-button, .skip-button {
    padding: 3px;
    color: #6b19db;
    background-color: transparent;
    user-select: none;
    border: 2px solid;
    border-color: #3c3ba3;
    border-radius: 4px;
    cursor: pointer;
}

.player-space-info{
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease-in-out;

    flex: 1;
    border-radius: 5px;

    padding-bottom: initial;

    overflow: hidden;

    pointer-events: none;
}

.player-info {
    background-color: rgb(255, 255, 255);
    display: grid;
    grid-template-columns: fit-content(100%) fit-content(100%) auto fit-content(100%);
    grid-template-rows: 1fr 1fr;

    align-items: center;
    height: 100%;

    border: 1px solid #9cd3e2;
    border-radius: 5px;
}

.player-info + .player-info {
    margin-top: 5px;
}

.player-photo-info {
    display: flex;
    grid-column: 2;
    grid-row-start: 1;
    grid-row-end: 3;
    justify-content: center;
    align-items: center;
    margin-right: 0.6rem;
    position: relative;
}

.player-photo-img-info {
    border-radius: 30%;
    object-fit: cover;
    width: 3.0rem;
}

.score-and-status-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    grid-column: 3;

    white-space: nowrap;
    overflow: hidden;

    margin-bottom: 3%;
}

.self-icon-info {
    position: absolute;
    width: 1rem;
    height: 1rem;
    right: 1px;
    bottom: 1px;
    background: white;
    border: 1px solid white;
    border-radius: 50%;
}

.playername {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
    margin-top: 3%;

    color: #5A12A3;
}

.playername-self {
    font-weight: bold;
}

.playerscore-group {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.playerscore {
    color: #5A12A3;
    margin-right: 4px;
}

.player-icon-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 0.2rem;
    flex: 2;
}

.victory-icon-container {
    position: relative;
    display: flex;
    align-items: center;

    margin-right: 10px;
}

.player-special-icon-img {
    width: 1rem;
    height: 1rem;
}

.victory-counter {
    position: absolute;
    top: 3px;
    left: 5px;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 0.7rem;
    color: #160229;
    font-weight: bold;
}

.draws-in-some-turns-icon-container {
    position: relative;
    display: flex;
    align-items: center;

    margin-right: 10px;
}

.draws-in-some-turns-counter {
    position: absolute;
    top: 3px;
    left: 5px;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 0.7rem;
    color: #160229;
    font-weight: bold;
}

.silence-icon-container {
    position: relative;
    display: flex;
    align-items: center;

    margin-right: 10px;
}

.silence-counter {
    position: absolute;
    top: 3px;
    left: 5px;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 0.7rem;
    color: #160229;
    font-weight: bold;
}

.expand-button {
    grid-column: 4;
    grid-row-start: 1;
    grid-row-end: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin-right: 15px;
}

.button-icon {
    transition: transform 0.3s ease-in-out;
}

.player-info-header {
    display: grid;
    grid-template-columns: min-content auto min-content;
    margin: 6px;
}

.player-info-photo {
    display: flex;
    grid-column: 1;
    justify-content: center;
    align-items: center;
    margin-right: 0.4rem;
    border-radius: 30%;
    box-shadow: 0 4px 99px rgb(42 0 255 / 37%);
}

.player-info-photo-img {
    width: 3.6rem; 
    height: 3.6rem; 
    border-radius: 30%;
    object-fit: cover;
}

.player-name-header{
    grid-row: 1;
    grid-column: 2;
    color: #5A12A3;
}

.player-full-profile-link {
    display: flex;
    grid-column: 3;
    justify-content: center;
    align-items: center;
    margin-left: 0.4rem;
    margin-right: 0.4rem;
    cursor: pointer;
}

.player-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 6px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 14px;
}

.button-throw-paint, .button-silence, .button-unsilence {
    grid-row: 2;
    display: flex;
    flex: 1;
    align-items: center;
    padding: 6px 4px;
    justify-content: center;
    border: 1px solid #b9b9b9;
    box-shadow: 0 4px 8px rgb(42 0 255 / 37%);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-throw-paint-icon, .button-silence-icon {
    margin-left: 5px;
    width: 30px;
}

.button-throw-paint-text {
    white-space: nowrap;
}

.button-silence-text {
    white-space: nowrap;
    margin-left: 7px;
}

.button-unsilence-text {
    white-space: nowrap;
    margin-right: 5px;
    width: 120px;
    text-align: center; 
}

.button-throw-paint:hover, .button-silence:hover, .button-unsilence:hover {
    background-color: rgb(42 0 255 / 10%);
    transform: scale(0.96);
    transition: background-color 0.5s ease, transform 0.5s ease-in-out;
}

.emoji-container {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    grid-row: 3;
    padding-left: 12px;
    padding-right: 12px;
}

.player-popup-info {
    background: linear-gradient(327deg, #ddeeff 0, 50%, #ffffff 75%);
    border: 1px solid #b9b9b9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px;

    pointer-events: none;
}

.player-icon-info {
    display: flex;
    grid-row-start: 1;
    grid-row-end: 3;
    justify-content: center;
    align-items: center;

    width: 1.5rem;
    margin-left: 0.3rem;
}

.popup-content-info {
    display: grid;
    flex-direction: column;
    align-items: center;
}

.emoji-container-info {
    display: flex;
    gap: 10px;
    grid-row: 3;
    padding-left: 12px;
    padding-right: 12px;
}

.tooltip-container-info {
    position: relative;
    display: inline-block;
    align-self: center;
}




#main-content-column-2 {
    margin: 10px;
}

.ban-slot2 {
    width: 300px;
    height: 250px;
    border: 2px dashed rgba(255,255,255,0.3);
    background: rgb(91 91 91 / 20%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin: 10px;
}

.slot-text {
    color: #fff;
    font-weight: bold;
}

.ban-slot2:hover {
    opacity: 1;
}

.ban-slot3 {
    width: 729px;
    height: 91px;
    border: 2px dashed rgba(255,255,255,0.3);
    background: rgb(91 91 91 / 20%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin: 10px;
}

.slot-text {
    color: #fff;
    font-weight: bold;
}

.ban-slot3:hover {
    opacity: 1;
}


@media only screen and (orientation: portrait), (max-aspect-ratio: 4/3) {

    .content-container{
        flex-direction: column;
        max-width: 100%;
        margin: 0;
        padding: 0 5px;
    }

    #main-content-column-1{
        width: initial;
        margin: 5px 5px 0px 5px;
        order: 1;
    }

    .pr0m0-area {
        grid-column: none;
        width: 100%;
        justify-content: center;
        padding: 5px 0;
    }

    .ban-slot1 {
        width: 320px;
        height: 50px;
        max-width: 100%;
        font-size: 11px;
    }

    .info-field {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .title-description-info {
        left: 50%;
        transform: translateX(-50%);
        top: -40px;
    }

    .description-label {
        text-wrap: nowrap;
    }

    .toolbox-icon-info-description {
        display: flex;
        flex-direction: column;
    }

    .color-button-main-container-info {
        width: 30%;
    }

    .color-palette-container-info {
        grid-template-columns: 15% 85%;
    }

    .slider-info {
        width: 20%;
    }

    .hint-button, .skip-button {
        height: 30px;
        border: 1px solid;
        border-radius: 5px;
    }

    .popup-content-info {
        display: flex;
        align-items: initial;
    }
    
    .player-info-header {
        width: 100%;
    }

    .tooltip-container-info {
        align-self: center;
    }

    .player-buttons {
        display: flex;
        margin-top: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .button-throw-paint-icon, .button-silence-icon {
        margin-left: 1px;
    }

    .player-special-icon-img {
        width: 20px;
        height: 20px;
    }

    .ban-slot3 {
        width: 320px;
        height: 50px;
        max-width: 100%;
        font-size: 11px;
    }

}

@media only screen and (max-width: 1024px) and (orientation: landscape) {

    .content-container{
        flex-direction: column;
        max-width: 100%;
        margin: 0;
        padding: 0 5px;
    }

    #main-content-column-1{
        width: initial;
        margin: 5px 5px 0px 5px;
        order: 1;
    }

    .pr0m0-area {
        grid-column: none;
        width: 100%;
        justify-content: center;
        padding: 5px 0;
    }

    .ban-slot1 {
        width: 970px;
        height: 91px;

        max-width: 100%;
        font-size: 11px;
    }

    .info-field {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .title-description-info {
        left: 50%;
        transform: translateX(-50%);
        top: -40px;
    }

    .description-label {
        text-wrap: nowrap;
    }

    .toolbox-icon-info-description {
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .color-button-main-container-info {
        width: 30%;
    }

    .color-palette-container-info {
        grid-template-columns: 15% 85%;
    }

    .slider-info {
        width: 20%;
    }

    .hint-button, .skip-button {
        height: 30px;
        border: 1px solid;
        border-radius: 5px;
    }

    .popup-content-info {
        display: flex;
        align-items: initial;
    }
    
    .player-info-header {
        width: 100%;
    }

    .tooltip-container-info {
        align-self: center;
    }

    .player-buttons {
        display: flex;
        margin-top: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .button-throw-paint-icon, .button-silence-icon {
        margin-left: 1px;
    }

    .player-special-icon-img {
        width: 20px;
        height: 20px;
    }

    .ban-slot3 {
        width: 970px;
        height: 91px;
        
        max-width: 100%;
        font-size: 11px;
    }
}