﻿@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

.main-body {
    padding-top: 5em;
    margin: 0px;
    left: 0;
    right: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #181919;
    color: #b0b3b8;
    overflow: hidden;
}

button {
    background-color: #0059ff;
    color: #e4e6eb;
    border: 1px solid black;
    cursor: pointer;
}

input {
    background-color: #3a3b3c;
    color: #e4e6eb;
    text-align: center;
    border: 1px solid black;
    text-transform: capitalize;
}

.loading-animation-wrapper {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.pokeball-loading-img{
    width: 100%;
}

.loading-img-wrapper {
    width: 6em;
}

.bounce-animation {
    animation-name: bounce;
    animation-timing-function: cubic-bezier(0.28, 0.84, 0.42, 1);
    animation-duration: 1.8s;
    animation-iteration-count: infinite;
}

.spin-animation {
    animation-name: spin;
    animation-timing-function: cubic-bezier(0.28, 0.84, 0.42, 1);
    animation-duration: 1.8s;
    animation-iteration-count: infinite;
}

@keyframes bounce {
    0% {
        transform: scale(1, 1) translateY(0);
    }

    10% {
        transform: scale(1.1, 0.9) translateY(0);
    }

    30% {
        transform: scale(0.9, 1.1) translateY(-100px);
    }

    50% {
        transform: scale(1.05, 0.95) translateY(0);
    }

    57% {
        transform: scale(1, 1) translateY(-7px);
    }

    64% {
        transform: scale(1, 1) translateY(0);
    }

    100% {
        transform: scale(1, 1) translateY(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(-6deg);
    }

    50% {
        transform: rotate(725deg);
    }

    57% {
        transform: rotate(715deg);
    }

    64% {
        transform: rotate(721deg);
    }

    70% {
        transform: rotate(720deg);
    }

    99% {
        transform: rotate(720deg);
    }

    100% {
        transform: rotate(720deg);
    }
}
