.spinner {
    -webkit-animation: rotator 1.4s linear infinite;
    animation: rotator 1.4s linear infinite;
}

@-webkit-keyframes rotator {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }
}

@keyframes rotator {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }
}

.path {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
    animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}

@-webkit-keyframes colors {
    0% {
        stroke: var(--secondary);
    }
    25% {
        stroke: var(--primary);
    }
    50% {
        stroke: var(--secondary);
    }
    75% {
        stroke: var(--primary);
    }
    100% {
        stroke: var(--secondary);
    }
}

@keyframes colors {
    0% {
        stroke: var(--secondary);
    }
    25% {
        stroke: var(--primary);
    }
    50% {
        stroke: var(--secondary);
    }
    75% {
        stroke: var(--primary);
    }
    100% {
        stroke: var(--secondary);
    }
}

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }
    50% {
        stroke-dashoffset: 46.75;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 187;
        -webkit-transform: rotate(450deg);
        transform: rotate(450deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }
    50% {
        stroke-dashoffset: 46.75;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 187;
        -webkit-transform: rotate(450deg);
        transform: rotate(450deg);
    }
}

html, body {
    background-color: var(--secondary-medium);
    color: var(--black-xlight);
}

main {
    min-height: 80vh;
}


/*HEADER*/
.header {
    background-color: var(--black);
    position: relative;
    z-index: 1000;
}

.header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 6rem
}

.header > .container > div {

}

.header-links {
    display: flex;
    flex-direction: column;
}

.header-link {
    color: var(--black-xlight);
    margin-bottom: 3rem;
    font-size: 18px;
    font-family: Raleway;
    text-decoration: none;
}

.header-link:hover {
    text-decoration: none;
    color: var(--black-light);
}

.header-link.active {
    color: var(--primary);
}

@media (max-width: 991px) {
    .header-logo > img {
        max-width: 5rem;
    }

    .header-links {
        position: fixed;
        background: var(--black);
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        padding: 6rem 4rem;
        text-align: center;
        transition: right 0.35s;
        z-index: 1000;
    }

    .header-links.show {
        right: 0;
    }

    .header-links .toggleSidebar {
        display: inline-block;
        position: absolute;
        background: transparent;
        color: var(--black-xlight);
        padding: 0;
        line-height: 27px;
        border: 0;
        outline: none;
        font-size: 42px;
        top: 1.5rem;
        right: 1.2rem;
    }

    .toggleSidebar.sm {
        color: var(--black-xlight);
        border: none;
        background: transparent;
        font-size: 20px;
    }

    #startVote {
        transform: scale(0.75);
    }
}

@media (min-width: 992px) {
    .header-links .toggleSidebar {
        display: none;
    }

    .header-links {
        flex: 1;
        flex-direction: row;
        justify-content: center;
    }

    .header-link {
        margin: 0 1rem;
    }

    .toggleSidebar.sm {
        display: none;
    }
}

.page-header {
    background: url("../images/header-bg.png") no-repeat center;
    background-size: cover;
    padding: 4rem 0;
    min-height: 182px;
    position: relative;
    box-shadow: 0 0 13px #000;
}

.page-header:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #00000080;
}

.breadcrumb {
    padding: 0;
    background: transparent;
    font-size: 15px;
    position: relative;
    z-index: 10;
}

.page-title,
.breadcrumb {
    position: relative;
    z-index: 10;
}

.breadcrumb-item a {
    color: var(--black-xlight);
}

.breadcrumb-item a:hover {
    color: var(--light);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">"
}

/* contestant index and show pages */
.cont-card .img-wrapper {
    height: 18rem;
    background-size: cover;
    background-position: top;
    border-right: 3px solid var(--primary);
    position: relative;
}
.cont-card small {
    font-size: 12px;
    line-height: 16px;
}
.cont-card .img-wrapper.img-overlay::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 10;
    background: rgba(255, 255, 255, 0.4);
    top: 0;
    left: 0;
}
.cont-card .img-wrapper.img-overlay::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
}
.cont-card .eliminated {
    background-color: white;
    color: black;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    border-radius: 20px;
    padding: 4px;
    z-index: 10;
}
.show-contestant {
    background-image: url('/assets/images/migrophone-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 100%;
}
.show-contestant .shareon > a {
    background: var(--secondary-medium) !important;
}
.show-contestant .shareon > a:hover {
    background: var(--primary) !important;
    opacity: 1;
}
.border-black{
    border: 5px solid rgba(0, 0, 0, 0.25);
}
.number-input {
    background-color: var(--secondary-light) !important;
    color: var(--white) !important;
    opacity: 0.7;
    padding: 20px;
    max-width: 9rem;
    height: 50px;
    border-radius: 7px;
    border: 0;
    z-index: 10;
}
.number-input::placeholder {
    color: var(--white) !important;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button{
    opacity: 1;
}
.show-contestant .contestant-mobile-image{
    display: none;
}
.back-home-btn {
    font-weight: bolder;
}

.not-found {
    padding: 5rem 0;
}

.not-found h1 {
    font-size: 10rem;
}

@media (min-width: 992px) {
    .not-found h1 {
        font-size: 20rem;
    }
}

@media all and (max-width: 1000px) {
    .show-contestant .detail-header .p-5, 
    .show-contestant .text-description .p-5 {
        padding: 0 !important;
    }
    .show-contestant .detail-header .status {
        display: flex !important;
    }
}

@media screen and (max-width: 992px) {
    .show-contestant .contestant-desktop-image{
        display: none;
    }
    .show-contestant .contestant-mobile-image {
        display: block;
    }
}
@media screen and (max-width: 500px) {
    .success-dialog {
        width: 90%;
    }
    .cont-card .img-wrapper {
        height: 14rem;
        background-size: cover;
        background-position: top;
        border-right: 3px solid #FEFE38;
        position: relative;
    }
    .contestants .btn-secondary {
        font-size: 14px;
    }
    .back-home-btn {
        font-size: 12px;
    }
}