/* General */
body {
    height: 100vh;
    margin: 0 !important ;
}

h1 {
    align-self: center;
    font-size: 9px;
    font-family: 'Press Start 2P', cursive;
}

h2 {
    align-self: center;
    font-size: 8px;
    font-family: 'Press Start 2P', cursive;
    padding:0rem;
    margin: 0rem;
    margin-bottom:.2rem;
}

#text {
    position: absolute;
    bottom: -10px;
    left: 20px;
    background-color: black,.9;
    border: none;
    z-index: 1;
    color:#fff
}

/* Pokedex styling */
.container {
    padding-top: 100px;
    position: relative;
    justify-content: center;
}

/* Left side of pokedex */
#first {
    background-image: url('../photos/leftpokedex.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 305px;
    height: 474px;
}

#first-text-info {
    position: absolute;
    left: 80px;
    top: 70px;
}

#generate {
    position: absolute;
    left: 21px;
    bottom: 98px;
}

#search {
    position: absolute;
    bottom: 22px;
    left: 50px;
    background-color: transparent;
    height: 8%;
    width: 45%;
    border: none;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
}

::placeholder {
    color:rgb(78, 78, 78);
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
}

#error {
    position: absolute;
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    left: 66px;
    top: 205px;
}

/* Pokemon image styling */
img {
    align-self: center;
    max-width: 105px;
    max-height: 125px;
    min-height: 125px;
}

#pokeimg {
    position: absolute;
    left: 20px;
    top: 85px;
    width: 200px;
    height: 200px;
}

.zoomed {
    transform: scale(3, 3);
    z-index: 3;
    box-shadow: 0px 0px 15px lightblue;
    border-radius: 5px;
}

#imagenum {
    position: absolute;
    width: 70px;
    left: 100px;
    top: 53px;
    direction: rtl;
}

/* buttons styling */
.pointer{
    cursor: pointer;
}

#generate {
    position: absolute;
    left: 14px;
    bottom: 90px;
    border-radius: 50%;
    font-size: 30px;
    font-family: 'Courier New', Courier, monospace;
    width: 41px;
    height: 41px;
    background-color: rgb(56, 56, 56);
    color: white;
    border: none;
}

.d-pad-buttons {
    height: 5%;
    width: 5%;
}

#left {
    position: absolute;
    left: 206px;
    bottom: 74px;
    width: 30px;
}

#right {
    position: absolute;
    left: 255px;
    bottom: 74px;
    width: 30px;
}

#up {
    position: absolute;
    left: 235px;
    bottom: 95px;
    height: 30px;
    width: 20px;
}

#down {
    position: absolute;
    left: 235px;
    bottom: 45px;
    height: 30px;
    width: 20px;
}

/* Right side of pokedex */
#second {
    background-image: url("../photos/rightpokedex.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 305px;
    height: 474px;
}


#second-text-info {
    position: absolute;
    left: 60px;
    top: 120px;
    width: 182px;
}

#togglecards {
    background-color: transparent;
    font-family: 'Press Start 2P', cursive;
    border: none;
    position: absolute;
    right: 30px;
    bottom: 38px;
}

#pokeinfo{
    display: flex;
    font-family: 'Press Start 2P', cursive;
    width: 100%;
    justify-content: space-between;
    font-size: 8px;
}

#loading {
    position: absolute;
    top: -16px;
    left: -1px;
    transform: scale(.85, .75);
}

.modal {
    position: fixed;
    background-color: rgb(0, 0, 0, .7);
    width: 100%;
    height: 100%;
    z-index: 2;
}