@font-face {
    font-family: undertale-papyrus;
    src: url("../images/papyrus-font-undertale.ttf");
}

@font-face {
    font-family: icicles;
    src: url("../images/IceCaps-7rLD.ttf");
}

body {
    background-color: #202225;
    font-family: Arial;
    border-width: 0px;
}

button {
    cursor: pointer;
    box-shadow: 2px 5px 0px 0px rgb(0,0,0);
    border-radius: 10px;
    background-color: #5864f1;
    color: white;
    font-size: 15;
}

button:hover {
    background-color:#949494;
    transition: 0.2s;
}

button:active {
    box-shadow: 0px 0px 0px 0px rgb(0,0,0);
    transition: 0.2s;
}

/* h2 {
    color: rgb(96, 153, 238);
    -webkit-text-stroke: 1px rgb(33, 0, 95);
} */

.wrapper {
    width: 100%;
    overflow: visible;
}

.login-wrapper {
    width: 800px;
    height: 400px;
    margin: auto;
}

.register-wrapper {
    width: 800px;
    height: 530px;
    margin: auto;
    display: none;
}

.channel-list {
    background-color: #2f3135;
    width: 20%;
    height: 100%;
    border-radius: 10px;
    float: left;
    align-content: center;
}

.server-name {
    font-size: 30px;
    color: white;
    text-align: center;
    padding-top: 5px;
    height: 15%;
}

.channels {
    height: 15%;
}

.permaAnnouncements {
    margin: 5%;
    padding-right: 3%;
    padding-left: 3%;
    color: rgb(82, 162, 236);
    background-color: black;
    height: 56%;
    overflow: hidden;
    transition: overflow 3s ease;
    outline: 5px solid rgba(0, 0, 0, 0.2);
}

.permaAnnouncements:hover{
    overflow: auto;
}

.channel {
    border-radius: 5px;
    background-color: #2f3135;
    width: 90%;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 5%;
    margin-left: 5%;
    margin-top: 5.1px;
    color: #8d9297;
    text-decoration: none;
    float: left;
}

.channel-button {
    width: auto;
    vertical-align: middle;
    color: #8d9297;
    text-decoration: none;
    float: left;
}

.category-button {
    width: auto;
    font-size: 15px;
    vertical-align: middle;
    color: #8d9297;
    text-decoration: none;
    float: left;
}

.category {
    border-radius: 5px;
    background-color: #2f3135;
    width: 90%;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 5%;
    margin-left: 5%;
    margin-top: 5.1px;
    color: #8d9297;
    text-decoration: none;
    float: left;
}

.channel:hover {
    background-color: #42464d;
}

.category:hover {
    background-color: #42464d;
}

a {
    margin-left: 5px;
}

.member-list {
    background-color: #2f3135;
    width: 19%;
    height: 98%;
    float: right;
    position: absolute;
    margin-left: 79.4%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: auto;
}

.member {
    color: white;
    padding-bottom: 3%;
    padding-left: 5%;
    display: inline-flex;
}

#medianAdmin {
    float: right;
    color: rgb(0, 195, 255);
}

#admin-level {
    color: white;
    float: right;
    padding-right: 5%;
}

.member-channel {
    margin: 5%;
    font-size: 25px;
    width: 90%;
    color: white;
}

.message-box {
    width: 55%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    height: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #35393f;
    float: left;
}

.profile {
    height: 9.6%;
    width: 100%;
    background-color: #292b2f;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.message-channel {
    border-radius: 10px;
    height: 7.5%;
    width: 100%;
    background-color: #2f3135;
}

.message-area {
    height: 85%;
    width: 100%;
    overflow: auto;
}

.text-area {
    height: 7.5%;
    width: 100%;
    background-color: #2f3135;
}

.box-message {
    font-size: 70%;
    font-family: Arial;
    background-color: #292b2f;
    border-radius: 30px;
    width: 85%;
    height: 70%;
    margin-left: 1.5%;
    margin-top: 1%;
    padding-left: 2%;
    padding-top: 1.5%;
    border-width: 0px;
    color: white;
    float: left;
    /* min-height: 40px;
    max-height: 2000px;
    resize: none;
    overflow-y: auto;
    box-sizing: border-box;
    bottom: 0;
    transform: translateY(0); */
}

.send-message {
    color: white;
    background-color: #5864f1;
    border-radius: 10px;
    margin-right: 2%;
    width: 4.5%;
    height: 65%;
    float: right;
    margin-top: 1%;
}

.message {
    width: 95%;
    height: auto;
    margin-left: 2.5%;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}

#delete-button {
    position: absolute;
    top: 0;
    right: 0;
}

#edit-button {
    position: absolute;
    top: 0;
    right: 5%;
}

.username {
    height: auto;
    margin-top: 5px;
    margin-left: 5px;
    font-size: 15px;
    color: #00ffff;
    display: inline-block;
}

.message-text {
    width: 99%;
    word-wrap: break-word;
    height: auto;
    color: white;
    margin-left: 5px;
    font-size: 12px;
    margin-top: 2.5px;
}

#ping-text {
    background-color:  rgba(80, 114, 0, 0.5);
    border-radius: 5px;
    padding: 1%;
}

.user-changer {
    padding-left: 5%;
    padding-top: 2%;
    border-radius: 10px;
    width: 100%;
    height: 40%;
    color: white;
}

.login-content {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    float: left;
}

.login-container {
    width: 100%;
    height: 100%;
    background-color: #35393f;
    text-align: center;
}

.login-input {
    margin: auto;
    margin-left: 5px;
    border-radius: 10px;
    width: 90%;
    height: 30px;
    color: white;
    margin-top: 0.5%;
}

.register-input {
    margin: auto;
    margin-left: 5px;
    border-radius: 10px;
    width: 90%;
    height: 30px;
    color: white;
    margin-top: 0.5%;
}

.login-text {
    color: white;
    font-size: 12px;
    margin-left: 6%;
    float: left;
}

.login-button {
    width: 90%;
    height: 50px;
    background-color: #5864f1;
    border-radius: 10px;
    color: white;
    margin-top: 1%;
    margin-bottom: 1%;
    font-size: 20px;
}

.register-container {
    width: 100%;
    height: 100%;
    background-color: #35393f;
    text-align: center;
}

input {
    border-width: 0px;
    background-color: #292b2f;
    padding-left: 10px;
}

input:focus {
    outline: none;
}

textarea {
    width: 100%;
    height: 30px;
    font-size: 16px;
    resize: none;
    overflow-y: hidden;
}

textarea:focus {
    outline: none;
}

.profile-button {
    background-color: #5864f1;
    border-radius: 10px;
    color: white;
    margin-left: 5px;
    height: 40%;
}

#logoutButton {
    float: left;
    display: none;
}

.profile-button:hover {
    background-color:#949494;
    transition: 0.2s;
}

.profile-img {
    max-width: 3%;
    height: 3%;
}

.sidebar {
    width: 4.5%;
    height: 100%;
    float: left;
}

.sidebar-button {
    max-width: 90%;
    background-color: #5864f1;
    text-align: center;
    border-radius: 15%;
    margin-bottom: 10%;
}

.sidebar-logo {
    max-width: 100%;
    align-self: center;
    padding-top: 10%;
    padding-bottom: 10%;
}

.sidebar-line {
    max-width: 90%;
    margin-left: 0%;
}

.game-area {
    width: 35%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    height: 100%;
    background-color: #35393f;
    float: right;
    display: none;
}

.messagechannelimg {
    max-height: 100%;
    text-align: center;
}

#commands-menu {
    z-index: 1;
    width: 30%;
    height: auto;
    max-height: 60%;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: 5%;
    text-align: center;
    border-radius: 10px;
    border: solid;
    border-color: #1f2124;
    color: white;
    background-color: #35393f;
    overflow: auto;
    padding: 1%;
    display: none;
}

#commands-menu li {
    margin-bottom: 5%;
}

#commands-list {
    text-align: left;
}

#command-close {
    margin-bottom: 2%;
    padding: 1.5%;
}

#commandments-menu {
    z-index: 1;
    width: 50%;
    height: auto;
    max-height: 60%;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: 5%;
    text-align: center;
    border-radius: 10px;
    border: solid;
    border-color: #1f2124;
    color: white;
    background-color: #35393f;
    overflow: auto;
    padding: 1%;
    display: none;
}

#commandments-menu li {
    margin-bottom: 5%;
}

#commandments-list {
    text-align: left;
}

#commandments-close {
    margin-bottom: 2%;
    padding: 1.5%;
}

/* Positioning for the container */
.menu-controls {
    position: relative;
    float: right;
    margin-right: 3%;
}

/* Style the 3-dot button */
#menu-btn {
    width: 100%;
}

/* Menu content (hidden by default) */
.menu-content {
    display: none;
    position: absolute;
    bottom: 140%; /* Spawns ABOVE the button */
    width: 570%;
    right: 0; /* Aligns to the right */
    background-color: #5864f1;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 1;
    overflow: hidden;
}

/* Menu items */
.menu-content a {
    color: white;
    text-decoration: none;
    background-color: #2f3135;
    padding: 10px;
    display: block;
}

/* Change background on hover */
.menu-content a:hover {
    background-color: #292b2f;
}

/* Show menu when .show class is added */
.show {
    display: block;
}

#time {
    vertical-align: middle;
    width: auto;
    word-wrap: break-word;
    height: auto;
    color: gray;
    font-size: 12px;
    margin-top: 0px;
    float: right;
    padding: 0;
    position: relative;
}

iframe {
    pointer-events: none;
}

.subway-surfers-clips {
    position: absolute;
    top: 20%;
    width: 15%;
    height: 67.5%;
    left: 9%;
    border: 5px;
    transform: translate(-9%);
}

.family-guy-clips {
    position: absolute;
    top: 13%;
    width: 15%;
    height: 17%;
    left: 9%;
    transform: translate(-9%);
}

.brainrot-frame {
    position: absolute;
    border-style: solid;
    border-width: 2%;
    border-color: rgb(82, 146, 165);
    top: 13%;
    width: 14.8%;
    height: 61.4%;
    left: 9%;
    transform: translate(-9%);
}

.cover {
    background-color: #2f3135;
    position: absolute;
    top: 75%;
    width: 15.2%;
    height: 13%;
    left: 9%;
    transform: translate(-9%);
    display: none;
}

.votebutton {
    margin-bottom: 7px;
}

.voteheader {
    margin-left: 10px;
    margin-top: 3px;
    border-bottom: gray solid 1px;
}

.votecontent {
    margin-left: 20px;
}

.send-image {
    float: left;
    color: white;
    background-color: #5864f1;
    border-radius: 10px;
    margin-left: 1.5%;
    width: 4.5%;
    height: 65%;
    margin-top: 1%;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

#god-border {
    width: 99%;
    color: white;
    font-size: 1em;
    font-weight: bold;
    margin: 5 auto;
    padding: 0.2em;
    border-radius: 16px;
    background-image: conic-gradient(from var(--angle), transparent, blue, transparent, cyan, transparent);
    background-size: 100% 100%;
    background-position: 50%, 50%;
    animation: 3s spin linear infinite;
}

#god-text {
    margin: auto;
    background-color: black;
    width: 97%;
    padding: 0.8em;
    border-radius: 12px;
}

#papyrus {
    float: left;
    vertical-align: middle;
    margin-top: 50%;
    margin-bottom: 50%;
}

#papyrus-text {
    width: 97.5%;
    background-color: black;
    border-style: solid;
    border-width: 0.2em;
    font-size: 100%;
    border-color: white;
    font-family: undertale-papyrus;
    padding-left: 2.5%;
    text-align: left;
    display: grid;
    grid-template-columns: max-content auto;
    column-gap: 3%;
    align-items: center;
}

#fuyukai {
    color: #720000;
    text-shadow:
    0 3px 20px red,
    0 0 20px red,
    0 0 10px orange,
    4px -5px 6px yellow,
    -4px -10px 10px yellow,
    0 -10px 30px yellow;
    animation: flametext 2s infinite alternate linear;
    font-family: icicles;
    font-size: 150%;
}

@keyframes flametext {
    0% {
    text-shadow:
      0 3px 20px red,
      0 0 20px red,
      0 0 10px orange,
      0 0 0 yellow,
      0 0 5px yellow,
      -2px -5px 5px yellow,
      4px -10px 10px yellow;
  }
  25% {
    text-shadow:
      0 3px 20px red,
      0 0 30px red,
      0 0 20px orange,
      0 0 5px yellow,
      -2px -5px 5px yellow,
      3px -10px 10px yellow,
      -4px -15px 20px yellow;
  }
  50% {
    text-shadow:
      0 3px 20px red,
      0 0 20px red,
      0 -5px 10px orange,
      -2px -5px 5px yellow,
      3 -10px 10px yellow,
      -4px -15px 20px yellow,
      2px -20px 30px rgba(255,255,0,0.5);
  }
  75% {
    text-shadow:
      0 3px 20px red,
      0 0 20px red,
      0 -5px 10px orange,
      3 -5px 5px yellow,
      -4px -10px 10px yellow,
      2px -20px 30px rgba(255,255,0,0.5),
      0 -25px 40px rgba(255,255,0,0);
  }
  100% {
    text-shadow:
      0 3px 20px red,
      0 0 20px red,
      0 0 10px orange,
      0 0 0 yellow,
      0 0 5px yellow,
      -2px -5px 5px yellow,
      4px -10px 10px yellow;
  }
}

@keyframes spin{
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}