@font-face {
    font-family: 'Spectral';
    src: url('../fonts/Spectral-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --roundedAmount: 10px;
    --backgroundLight: #1e2939;
    --backgroundMedium: #172030;
    --backgroundDark: #0f1726;
    --textLight: #CCCCCC;
    --textDark: #949494;
    --textDarker: #535353da;
    --borderColor: #343e4b;
    --buttonColor: #0092D1;
    --buttonColorHover: #66c5ee;
    --inputBackground: #10141e;
}

* {
    box-sizing: border-box;
}

.backgroundLight{ background-color: var(--backgroundLight); }
.backgroundMedium{ background-color: var(--backgroundMedium); }
.backgroundDark{ background-color: var(--backgroundDark); }
.textLight{ color: var(--textLight); }
.textDark{ color: var(--textDark); }
.textDarker{ color: var(--textDarker); }

input, .borderAround{
    border: 1px solid var(--borderColor);
}

.borderRounded{
    border-radius: var(--roundedAmount);
}

.borderUnder{
    border-bottom: 1px solid var(--borderColor);
}

.roundedTop{
    border-top-left-radius: var(--roundedAmount);
    border-top-right-radius: var(--roundedAmount);
}
.roundedBottom{
    border-bottom-left-radius: var(--roundedAmount);
    border-bottom-right-radius: var(--roundedAmount);
}

button, .button{
    background-color: var(--buttonColor);
    color: var(--textLight);
    border-radius: var(--roundedAmount);
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

button:hover, .button:hover {
    background: var(--buttonColorHover);
    cursor: pointer;
}

.redButton{
    background-color: #C21800;
    color: var(--textLight);
    border-radius: var(--roundedAmount);
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.redButton:hover {
    background: #C2493A;
    cursor: pointer;
}

.grayButton{
    background-color: #595959;
    color: var(--textLight);
    border-radius: var(--roundedAmount);
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.grayButton:hover {
    background: #ABABAB;
    cursor: pointer;
}

.greenButton{
    background-color: #27c400;
    color: var(--textLight);
    border-radius: var(--roundedAmount);
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.greenButton:hover {
    background: #30e802;
    cursor: pointer;
}


select{
    border: 1px solid var(--borderColor);
    border-radius: var(--roundedAmount);
    background-color: var(--inputBackground);
    color: var(--textLight);
}

input[type="text"], .inputStyle{

    background-color: var(--inputBackground);
    resize: none;
}


::-webkit-scrollbar {
    display: none;
}

input:focus {
    outline: 0 solid
}

dialog[open] {
    display: flex;
    position: fixed;
    inset-block: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    max-height: none;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
    height: 100%;
    width: 100%;

}

.fa-arrow-left:hover
{
    cursor: pointer;
}

.messageContainer:hover {
    background: var(--backgroundMedium);
}
.repliedMessageContainer:hover{
    background: var(--backgroundMedium);
}

.borderColor {
    border-color: var(--borderColor)
}

.hoverUrl:hover {
    color: var(--textLight); !important;
}
