* {
    padding: 0px;
    margin: 0px;
    border: none;
}

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

a,
a:link,
a:visited {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

aside,
nav,
footer,
header,
section,
main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: inherit;
}

ul,
ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

    input::-ms-clear {
        display: none;
    }

    button,
    input[type="submit"] {
        display: inline-block;
        box-shadow: none;
        background-color: transparent;
        background: none;
        cursor: pointer;
    }

        input:focus,
        input:active,
        button:focus,
        button:active {
            outline: none;
        }

        button::-moz-focus-inner {
            padding: 0;
            border: 0;
        }

label {
    cursor: pointer;
}

legend {
    display: block;
}

body {
    font-family: "Heebo", sans-serif;
    font-size: 18px;
    font-weight: 400;
    background: #EFF1F8;
}

html,
body {
    width: 100%;
    height: 100%;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

main {
    flex-grow: 1;
}

header,
main,
footer {
    flex-shrink: 0;
}



.header {
    background-color: #000;
    padding-bottom: 50px;
    position: relative;
}

    .header .candle-block {
        position: relative;
    }

    .header .candle {
        width: 100%;
        height: 238px;
    }

    .header .war-message {
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        bottom: 20px;
        color: #fff;
        font-size: 36px;
        font-weight: 700;
        line-height: 24px;
    }

    .header .cavalry-message {
        color: #fff;
        font-size: 36px;
        font-weight: 700;
        line-height: 24px;
        padding: 14px 20px;
        background: #a91119;
        width: fit-content;
        margin: 0 auto;
    }

    .header .description {
        margin-top: 20px;
        max-width: 600px;
        font-size: 20px;
        line-height: 24px;
        color: #fff;
        text-align: center;
        margin: 0 auto;
        padding-top: 20px;
    }

    .header .search-block {
        padding-top: 30px;
        display: flex;
        justify-content: center;
        position: relative;
        display: inline-flex;
    }

        .header .search-block input.search {
            width: 380px;
            height: 36px;
            border-radius: 5px;
            padding-right: 15px;
            background-color: #fff;
            max-width: 90vw;
            padding-right: 30px;
        }


.victim-card {
    height: 160px;
    border: 1px solid rgba(15, 66, 122, 0.2);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 1);
    overflow: hidden;
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    transition: background-color 0.5s ease-out;
    position: relative;
    z-index: 10;
}

    .victim-card .image-block {
        min-width: 129px;
    }

    .victim-card .image {
        width: 129px;
        object-fit: fill;
    }

    .victim-card .text-block {
        margin-right: 16px;
        margin-top: 16px;
        font-size: 20px;
        line-height: 1.2;
        opacity: 1;
        padding-bottom: 12px;
    }

        .victim-card .text-block .name-rank {
            margin-bottom: 4px;
        }

        .victim-card .text-block hr {
            margin: 0 0 12px 0;
            border-top: 2px solid rgba(169, 17, 25, 1);
            opacity: 1;
            width: 77px;
            transition: all 0.5s ease-out;
        }

        .victim-card .text-block .details {
            font-weight: 100;
        }

    .victim-card .description {
        opacity: 0;
        transition: all 0.5s linear;
        font-weight: 100;
        display: none;
    }

    .victim-card.has-description:hover {
        background-color: #000;
        color: #FFF;
    }

        .victim-card.has-description:hover hr {
            border-color: #FCDB43;
        }

        .victim-card.has-description:hover .image-block {
            width: 0;
            min-width: 0 !important;
        }

        .victim-card.has-description:hover .unit {
            opacity: 0;
        }

        .victim-card.has-description:hover .details {
            opacity: 0;
            height: 0;
        }

        .victim-card.has-description:hover .description {
            display: block;
            transition: all 0.1s linear;
            opacity: 1;
        }




.unit-icon {
    align-self: end;
    margin-bottom: 10px;
    margin-right: auto;
    margin-left: 11px;
    min-width: 40px;
}



.name {
    font-weight: 500;
}

.rank {
    font-weight: 300;
}

.unit-icon .unit {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

header .container-fluid {
    text-align: center;
}

.search-block button {
    position: absolute;
    left: 16px;
    top: 39px;
    border-right: 1px solid rgba(156, 156, 156, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 12px;
}

    .search-block button#clear-search {
        left: unset;
        right: -6px;
        border: unset;
        top: 36px;
        display: none;
    }

.mobile-description-block {
    display: none;
}

#items-container {
    padding-bottom: 100px;
}

.site-icon {
    position: absolute;
    top: 32px;
    right: 24px;
    z-index: 20000;
}

.scroller {
    position: fixed !important;
    left: 20px;
    top: 500px;
    width: 66px;
    height: 66px;
    z-index: 200;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

    .scroller img {
        position: absolute;
        object-fit: cover;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
    }

        .scroller img.arrow {
            width: 24px;
            height: 24px;
        }

.toggle-card {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(-160px) translateY(125px);
    z-index: 200;
    transition: all 0.4s ease-out;
    width: 16px;
    height: 16px;
}

    .toggle-card.open {
        transform: translateX(-160px) translateY(125px) scaleY(-1)
    }

.loader {
    display: none;
    text-align: center;
    margin-top: -75px;
}
/* For Chrome */
input[type="search"]::-webkit-search-clear-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    width: 0;
    height: 0;
}

/* For other browsers, if they have similar behavior */
input[type="search"]::-ms-clear {
    display: none;
}
