@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}


@font-face {
    font-family: 'Mail Sans Roman';
    src: url('./fonts/MailSansRoman-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Mail Sans Roman';
    src: url('./fonts/MailSansRoman-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Mail Sans Roman';
    src: url('./fonts/MailSansRoman-DemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Mail Sans Roman';
    src: url('./fonts/MailSansRoman-Bold.ttf') format('truetype');
    font-weight: 700;
}

body {
    margin : 0;
    padding : 0;
    font-family: 'Mail Sans Roman', sans-serif;
    user-select: none;
}

.death-background {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(17, 24, 29, 0.71) 0%, rgba(17, 24, 29, 0.71) 100%);
    display: none;
    user-select: none;
}

.death-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s;
    width: 100%;
    max-width: 1920px;
    max-height: 1080px;
    transform-origin: center center;
    transform: scale(calc(100vw / 1920));
    gap: 3vw;
}


.death-timer {
    color: white;
    font-size: 5vw;
    font-weight: 700;
}

.death-components {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 7vw;
}

.death-call {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.death-help {
    margin-left: auto;
    background: linear-gradient(90deg, #28292D 0%, rgba(40, 41, 45, 0.7) 103.76%);
    font-weight: 700;
    font-size: 0.8vw;
    padding: 0.3vw 0.4vw;
    color: white;
    border-radius: 0.2vw;
    text-align: center;
    margin-bottom: 1vh;
}

.death-call-button,
.death-respawn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(90deg, rgba(25, 26, 28, 0.81) 0%, rgba(40, 41, 45, 0.7) 103.76%);
    height: 5vw;
    border-radius: 0.5vw;
    transition: 0.3s;
}

.death-call-button:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.death-call-button img,
.death-respawn img {
    width: 5vw;
    height: 5vw;
    margin-right: 1vw;
}


.death-call-staff-text,
.death-call-ems-text {
    color: white;
    font-size: 1.5vw;
    font-weight: 700;
    text-align: center;
    padding: 1vw 1vw;
    margin-right: 2vw;
    
}

.death-call-button-component {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.death-call-button i {
    position: absolute;
    top: 0.4vw;
    right: 0.5vw;
    background: linear-gradient(180deg, #05B13E 0%, #026823 148.61%);
    color: white;
    font-size: 1vw;
    border-radius: 0.2vw;
    padding: 0.2vw;
    transition: 0.3s;
}

.death-call-button i:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.death-notif {
    position: absolute;
    top: 3vh;
    left: 3vw;
    background: linear-gradient(90deg, rgba(25, 26, 28, 0.81) 0%, rgba(40, 41, 45, 0.7) 103.76%);
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1vw 1vw;
    border-radius: 0.2vw;
    font-size: 1.5vw;
    font-weight: 700;
    gap: 0.4vw;
}

.death-notif-text {
    color: white;
    text-align: center;
}

.death-notif-text-colored {
    background: -webkit-gradient(linear, left top, left bottom, from(#00FF37), to(#005011));    
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.death-notif i {
    font-size: 1vw;
}
.icon-ems {
    background: -webkit-gradient(linear, left top, left bottom, from(#00FF37), to(#005011));    
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.icon-staff {
    background: -webkit-gradient(linear, left top, left bottom, from(#ff2626), to(#850000));    
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.death-respawn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #28292D 0%, rgba(40, 41, 45, 0.7) 103.76%);
    border-radius: 0.2vw;
    transition: 0.3s;
}

.death-respawn:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.death-respawn-component {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.death-respawn-text {
    color: white;
    font-size: 1.5vw;
    font-weight: 700;
    padding: 1vw 1vw;
    text-align: center;
}

#icon-ems {
    display: none;
}

#icon-staff {
    display: none;
}