/* roboto-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2');
}

body {
    margin: 0;
    background: rgb(63, 94, 251);
    background: linear-gradient(0deg, rgba(63, 94, 251, 1) 0%, rgb(70, 234, 252) 100%);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.limitetView {
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    margin-bottom: 32px;
}

.pokeCard {
    text-align: center;
    background-repeat: no-repeat;
    width: 200px;
    height: 300px;
    border: 1px black solid;
    border-radius: 16px;
    box-shadow: 10px 5px 10px rgba(1, 1, 1, 0.2), 20px 10px 20px rgba(1, 1, 1, 0.7);
    margin: 16px;
    overflow: hidden;
    background-image: url("./img/normal.png");
    background-position: center;
    background-size: 200px 300px;
}

.pokeImage {
    margin-top: 30px;
    width: 180px;
    height: 180px;
    filter: drop-shadow(0px 0px 11px rgb(255, 255, 255));

}

.logo {
    width: 90vw;
    max-width: 1000px;
}

#cards {
    min-height: 10vh;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    margin-bottom: 32px;
}

.header {
    display: flex;
    justify-content: center;

}

.pokeCard:hover {
    scale: 1.25;
    transition: 100ms ease-out;
}

.pokeCard:hover img {
    transform: scale(1.2) translateY(-5px);
    transition: 50ms ease-in-out;
    animation: float 2s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

.pokeCard:hover h2 {
    margin: 4px;
}

.headLine {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    font-size: 1.3rem;
    text-shadow: 0px 0px 16px rgb(252, 252, 252),
        0px 0px 8px rgba(252, 252, 252, 0.641);
    background-color: rgba(255, 255, 255, 0.151);
    z-index: 11;
    cursor: pointer;
    backdrop-filter: blur(5px);
    font-family: 'Roboto';
}

.pokeCard:hover table {
    margin-top: 0px;
    height: 90px;
    border-spacing: 1px;
}

.pokeCard:hover .headLine {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    text-shadow: 0px 0px 6px rgb(252, 252, 252);
    cursor: pointer;
}

.pokeCard:hover table {
    display: block;
    bottom: 0;
}

h2 {
    font-size: 1.8rem;
    text-shadow: 0px 0px 8px rgb(252, 252, 252),
        0px 0px 4px rgb(58, 134, 249);
    font-family: 'Roboto';
}

#details {
    width: 310px;
    height: 155px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.151);
}

tr {
    line-height: 17px;
    backdrop-filter: blur(5px);
    text-shadow: 0px 0px 16px rgb(252, 252, 252);
    font-family: 'Roboto';
}

td:first-child {
    width: 100px;
    font-size: 1.1rem;
    text-align: right;
    height: 12px;
}

td:nth-child(2) {
    width: 180px;
    height: 12px;
    font-size: 1.2rem;
    text-align: left;
}

td:nth-child(3) {
    width: 20px;
    text-align: center;
    font-size: 12px;
    height: 12px;
}

.footer {
    height: 100px;
    background: linear-gradient(0deg, rgba(75, 75, 75, 0.5) 0%, rgba(75, 75, 75, 0.01) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    font-size: 16px;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
}

.stats {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.151);
}

#fullscreen {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 10;
    flex-direction: row;
}

.cardCenter {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 310px;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    background-image: url("./img/normal.png");
    background-position: center;
    border: 1px solid black;
    background-size: 100% 100%;
    flex-direction: column;
    box-shadow: 10px 5px 20px rgba(1, 1, 1, 0.7);
}

.scale1-3 {
    scale: 1.3;
}

.cardCenter img {
    transform: scale(1.2) translateY(-5px);
    transition: 50ms ease-in-out;
    animation: float 2s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(-15px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(-15px);
    }
}

.cardCenter h2 {
    top: 20px;
    font-size: 1.9em;
    letter-spacing: 0.2rem;
    text-shadow: 0px 0px 8px rgb(252, 252, 252), 0px 0px 4px rgb(58, 134, 249);
    font-family: 'Roboto';
}

canvas {
    height: 100px;
    margin: 0;
    backdrop-filter: blur(5px);
}

.searchField {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 10px;
    left: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 5px;
    transition: 500ms;
}

.searchField input::placeholder {
    color: transparent;
    transition: 400ms ease-in-out;
}

.searchField:hover input::placeholder {
    color: #4670F1;
}

.searchField:hover {
    width: 150px;
}

.searchField input {
    border-radius: 25px;
    padding-left: 10px;
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: linear-gradient(180deg, rgb(206, 212, 243) 0%, rgba(70, 85, 252, 0.269) 100%);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2),
        10px 10px 10px rgba(0, 0, 0, 0.4),
        15px 15px 15px rgba(0, 0, 0, 0.6);
    color: transparent;
    transition: 500ms;
    text-decoration-color: transparent;
}

.searchField:hover input {
    color: beige;
}

.searchField img {
    position: absolute;
    right: 15px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.morePoke {
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2),
        10px 10px 10px rgba(0, 0, 0, 0.4),
        15px 15px 15px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: linear-gradient(180deg, rgb(206, 212, 243) 0%, rgba(70, 85, 252, 0.269) 100%);
    transform: translateY(-3px);
    transition: 50ms ease-in-out;
    animation: float 2s infinite ease-in-out;
    cursor: pointer;
}

@media(max-width: 660px) {
    .header {
        margin-top: 2.6rem;
        margin-bottom: 1rem;
        transition: 240ms ease-in-out;
    }
}

body::-webkit-scrollbar {
    width: 5px;
}

body::-webkit-scrollbar-track {
    background-color: #4672F4;
}

body::-webkit-scrollbar-thumb {
    background-color: #FFFA0F;
}

#left {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    backdrop-filter: blur(5px);
    background-color: #fffb0f8e;
    text-align: center;
    animation: color 2s infinite linear;
    cursor: pointer;
    text-shadow: 
    0 0 1px #fff, /* Innerer Schatten (optional) */
    0 0 2px #ccc, /* Zweiter Schatten (optional) */
    0 0 4px #999, /* Dritter Schatten (optional) */
    0 0 8px #666, /* Vierter Schatten (optional) */
    0 0 16px #333, /* Fünfter Schatten (optional) */
    0 0 32px #000, /* Sechster Schatten (optional) */
    10px 10px 64px rgba(255, 255, 0, 0.5);
    border-left: #4672F4 2px solid;
    border-top: #4672F4 2px solid;
    border-bottom: #4672F4 2px solid;
}

@keyframes color {
    0% {
      color: #4672F4;
    }
    50% {
      color: #FFFA0F;
    }
    100% {
      color: #4672F4;
    }
  }

#right {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    backdrop-filter: blur(5px);
    background-color: #fffb0f8e;
    align-self: auto;
    text-align: center;
    animation: color 2s infinite linear;
    text-shadow: 
    0 0 1px #fff, /* Innerer Schatten (optional) */
    0 0 2px #ccc, /* Zweiter Schatten (optional) */
    0 0 4px #999, /* Dritter Schatten (optional) */
    0 0 8px #666, /* Vierter Schatten (optional) */
    0 0 16px #333, /* Fünfter Schatten (optional) */
    0 0 32px #000, /* Sechster Schatten (optional) */
    10px 10px 64px rgba(255, 255, 0, 0.5);
    cursor: pointer;
    border-right: #4672F4 2px solid;
    border-top: #4672F4 2px solid;
    border-bottom: #4672F4 2px solid;
}