@font-face {
    font-family: 'Default';
    src: url('../fonts/default.woff') format('woff');
}


.background {
    position: fixed;
    inset: 0;
    background-image: url("../images/background_checkers.png");
    height: 10024px;
    background-color: #277CE0;
    background-repeat: repeat;
    z-index: -3;
    animation: scroll-bg 80s linear infinite;
}

@keyframes scroll-bg {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -1024px -1024px;
    }
}

body {
    background: #222;
    color: white;
    font-family: 'Default', sans-serif;
    font-size: 18px;
}

.dex {
    width: 600px;
    height: 550px;
    margin: 40px auto;
  background: #22C1C3;
  background: linear-gradient(0deg, rgba(45, 59, 253, 1) 0%, rgba(34, 193, 195, 1) 100%);
    border: 4px solid white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 5px 5px 0px black;
}


.portrait {
    width: 300px;
    height: 300px;
    margin: auto;
    display: block;
    border: 4px solid white;
    image-rendering: pixelated;
    border-radius: 12px;
    filter: drop-shadow(5px 5px 0px black); 
    box-shadow: 5px 5px 0px black;
}

.info {
  text-align: center;
}



#creature-number {
    color: #ffffff71;
}

#creature-description {
    margin: 20px;
    padding: 15px;
    box-shadow: 5px 5px 0px black;
    line-height: 1.5;
    border-radius: 12px;
    height: 80px;
    border: 4px solid white;
}

.controls {
    margin-top: 20px;
    width: 600px;
    display: flex;
    justify-content: space-between;
    bottom: 80px;
}

.footer {
  display: block;
  text-align: center;
  padding: 40px;
  margin: 0px;
  background: rgba(0, 0, 0, 0.6);
}

button {
    border: 4px solid white;
    background: transparent;
    color: white;
    border-radius: 12px;
    font-size: 24px;
    padding: 8px 18px;
    cursor: pointer;
    box-shadow: 5px 5px 0px black;
}