body{
    margin: 0;
    padding: 0;
    background: radial-gradient(rgb(17, 17, 17),rgb(0, 0, 0));
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    color: white;
    font-family: "Roboto", sans-serif;
    animation: fadeIn 0.6s linear;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    100% {
        opacity: 0;
    }
    0% {
        opacity: 1;
    }
}
.phone-container {
    border-top: 1px solid rgb(29, 29, 29);
    border-right: 1px solid rgb(29, 29, 29);
    border-left: 1px solid rgb(16, 16, 16);
    border-bottom: 1px solid rgb(16, 16, 16);
    border-radius: 10px;
    overflow: hidden;
}

.phone {
    display: flex;
    flex-direction: column;
    border-left: 12px solid black;
    border-right: 12px solid black; 
    border-radius: 12px;
}

.phone-top {
    background-color: black;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-speaker {
    background-color: rgb(23, 23, 23);
    margin-top: 15  px;
    height: 3px;
    width: 100px;
    border-top: 1px solid rgb(40, 40, 40);
    border-right: 1px solid rgb(40, 40, 40);
    border-radius: 4px;
}

.phone-navbar {
    background-color: black;
    height: 13px;
    text-align: right;
    color: rgb(167, 171, 171);
    padding: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    filter: saturate(60%);
}

.phone-navbar > p {
    font-size: 12px;
}

.phone-bottom {
    background-color: black;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-button {
    background-color: rgb(7, 7, 7);
    height: 27px;
    width: 50px;
    border-top: 1px solid rgb(33, 33, 33);
    border-right: 1px solid rgb(33, 33, 33);
    border-bottom: 1px solid rgb(21, 21, 21);
    border-left: 1px solid rgb(21, 21, 21);
    border-radius: 5px;
    cursor: pointer;
}

.phone > video {
    width: 300px;
    filter: brightness(0);
}

@keyframes turnOn {
    0% {
        filter:brightness(0)
    }
    40% {
        filter:brightness(0)

    }
    100% {
        filter:brightness(1)
        
    }
}
input {
    background-color: rgb(26, 26, 26);
    border: 0;
    color: white;
    padding: 5px 10px;
    flex-grow: 1;
}

input:focus {
    outline: 0;
}

button {
    background-color: rgb(26, 26, 26);
    border: 0;
    color: white;
    padding: 7px;
    cursor: pointer;
}

.center-container {
    display: flex;
    color: white;
    width: 100%;
    justify-content: center;
}

.chat-container > span {
    background: #40404042;
    padding: 1rem;
    border-radius: .5rem;
    box-shadow: 0px 3px 9px #000000, 0px -2px 6px #474747;
    animation: chatIn .5s ease;
}

@keyframes chatIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.chat-container {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    overflow: auto;
    max-height: 660px;
    mask-image: (180deg, #000, transparent);
    -webkit-mask-image: linear-gradient(180deg, #000 950%, transparent);

    scrollbar-width: thin;
    scrollbar-color: #242424 transparent;
}

/* FALLBACK in case scrollbar-width doesnt work */
.chat-container::-webkit-scrollbar {
    width: 8px;
}

.chat-container::-webkit-scrollbar-track {
    background: transparent
}

.chat-container::-webkit-scrollbar-thumb {
    background-color: #242424;
    border-radius: 10px;
    border: 2px solid transparent;
}

.rage-meter {
    position: absolute;
    top: 0;
    padding: 1rem 2rem;
    z-index: 20;
    opacity: 0;
    animation-fill-mode: forwards;

}

h2 {
    margin: 0;
    margin-bottom: 5px;
    text-align: center;
}
.rage-meter-inner {
    background-color: rgb(28, 28, 28);
    display: flex;
    gap: 5px;
    padding: 5px;
    width: 246px;
    flex-direction: row-reverse;
    box-shadow: 0px 2px 10px #000000;
}

.rage-meter-inner > div {
    background: linear-gradient(to right, rgb(221, 217, 2), rgb(176, 4, 4));
    background-size: 200px 30px;
    background-repeat: no-repeat;
    width: 20px;
    height: 30px;
    box-shadow: 0px 2px 6px #824a00c9 inset;
}

.actions {
    display: flex;
    gap: 5px;
    align-items: stretch;
    height: 33px;
    justify-content: center;
    width: 324px;
    opacity: 0;
    animation-fill-mode: forwards;
}
a.tip {
    position: absolute;
    background: #000000;
    padding: 17px;
    border-radius: 5px;
    top: 20px;
    left: 20px;
    animation: swipeLeft 3s ease;
}

@keyframes swipeLeft {
    0% {
        transform: translateX(-500px)
    }
    70% {
        
        transform: translateX(-500px)
    }
    100% {
        transform: translateX(0px);
    }
}

