* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: rgb(32, 32, 32);
    font-family: 'Roboto Mono';
    transition: 100ms;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

#intro {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.96);
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 24px;
}

#intro img {
    height: 350px;
}

#intro h1 {
    font-family: 'Honk';
    font-size: 48px;
}

header {
    height: 200px;
    background-color: rgb(32, 32, 32);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 1920px;
}

header img {
    height: 67%;
}

.headline {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    gap: 24px;
}

.headline h1 {
    font-family: 'Honk';
    font-size: 148px;
}

main {
    max-width: 1920px;
    height: 100%;
    margin-bottom: 16px;
    background-color: rgb(32, 32, 32);
    color: black;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#search {
    font-family: 'Roboto Mono';
    width: 350px;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 16px;
    margin-bottom: 24px;
    background-color: rgb(255, 246, 235);
}

#pokemon-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 16px;
}

#pokemon-box {
    height: 300px;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    padding-bottom: 16px;
    margin: 8px;
}

.type-field {
    border: hidden;
    border-radius: 10px;
    padding: 4px 8px;
    font-size: 12px;
    margin: 4px;
}

#pokemon-box h3 {
    margin-top: 16px;
    font-size: 18px;
}

#pokemon-box:hover {
    transform: scale(1.02);
    cursor: pointer;
}

#pokemon-box img {
    height: 170px;
}

#pokemon-box img:hover {
    transform: scale(1.1);
}

.load-more-button {
    width: 418px;
    padding: 16px 40px;
    margin-top: 16px;
    background-color: rgb(47, 167, 214);
    border-radius: 10px;
    color: white;
    border: hidden;
    font-family: 'Roboto Mono';
    font-size: large;
}

.load-more-button:hover {
    background-color: rgba(47, 167, 214, 0.815);
    cursor: pointer;
}

#loading-gif {
    height: 96px;
}

#single-pokemon-bg {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#single-pokemon-box {
    height: 600px;
    width: 400px;
    border-radius: 10px;
    z-index: 10;
}

h2 {
    margin-top: 0;
}

.single-pokemon-type-field {
    border: hidden;
    border-radius: 10px;
    padding: 4px 8px;
    width: min-content;
    margin-bottom: 4px;
}

.single-pokemon-box-top {
    padding: 16px;
    height: 45%;
    border-radius: 10px 10px 0px 0px;
}

.single-pokemon-box-bottom {
    padding: 32px 16px;
    height: 55%;
    background-color: white;
    border-radius: 25px 25px 10px 10px;
}

.single-pokemon-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-pokemon-img img{
    height: 250px;
    position: absolute;
    object-fit: cover;
    margin-top: 200px;
}

.stats-header {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.stats-header img {
    height: 40px;
    margin-right: 16px;
    margin-left: 16px;
}

.stats-header img:hover {
    cursor: pointer;
    transform: scale(1.1);
}

#stats-content {
    height: 100%;
    width: 100%;
    max-width: 600px;
    min-width: 260px;
    position: relative;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    width: 100% !important;
    height: 100% !important;
}

table {
    width: 100%;
    height: 50px;
    border-collapse: collapse;
    background-color: #fff;
    margin: 8px 0px;
}
th, td {
    padding: 2px;
    text-align: left;
    border-bottom: 1px solid rgb(75, 192, 192);
}
th {
    background-color: rgb(211, 245, 245);
    color: #555;
}
tr:hover {
    background-color: #f1f1f1;
}
td {
    color: #555;
}

.arrow-buttons {
    height: 80px;
    z-index: 10;
    margin: 0 48px;
}

.arrow-buttons:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.responsive-arrows {
    display: none;
}

footer {
    height: 150px;
    max-width: 1920px;
    width: 100%;
    background-color: rgb(32, 32, 32);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer img {
    height: 80px;
    margin-left: 32px;
    margin-right: 32px;
    border-radius: 50px;
}

footer img:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#git-logo img{
    background-color: rgb(233, 241, 244);
}

footer a {
    text-decoration: none;
    color: lightgrey;
}

footer a:hover {
    color: rgb(150, 150, 150);
}

.imprint-links {
    display: flex;
    flex-direction: row;
}

.seperator {
    height: 20px;
    width: 2px;
    margin: 0 40px;
    background-color: lightgray;
}

::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(133, 107, 107);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgb(160, 237, 34);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(2, 190, 0);
    cursor: pointer;
}

.d-none {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
}

.row-sa {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.row-sb {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 80%;
}

.row-sb-width100 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.greyscale {
    filter: grayscale(100%);
}