@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bitcount+Prop+Single:wght@100..900&display=swap');

* {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background-image: url("../images/vecteezy_create-a-simple-slightly-cartoonish-background_30657893.jpg");
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10%;

}

.hidden {
    display: none !important;
}

.clickable {
    pointer-events: auto !important;
}

h1 {
    text-align: center;
    margin-top: 30px;
    color: #ffde00;
}

#h1One {
    color: #cc0000;
}

#h1Two {
    color: #3b4cca;
}


img {
    display: block;
}

#pokedexContainer {
    position: relative;
}

#pokedex {
    max-width: 100%;
}

#input {
    position: absolute;
    top: 36%;
    right: 8%;
    max-width: 29.5%;
    height: 13.5%;
    /* background-color: rgb(51, 78, 63); */
    background-color: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    pointer-events: none;
}

#input:focus {
    outline: none;
}

#validateBtn {
    position: absolute;
    right: 27%;
    padding: 1%;
    width: 14%;
    bottom: 24%;
    background-color: rgb(209, 209, 110);
    border: none;
    border-radius: 6px;
    font-weight: 500;
    pointer-events: none;
}

#validateBtn:hover {
    cursor: pointer;
    background-color: rgb(87, 230, 87);
    color: white;
}

#imageContainer {
    position: absolute;
    top: 32%;
    left: 11%;
    width: 32%;
    height: 28%;
    border-radius: 7px;
    background-color: transparent;
    transition: 0.5s;
    font-family: "Bitcount Prop Single", system-ui;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pokeImg {
    position: absolute;
    top: 8%;
    left: 18%;
    width: 60%;
    filter: brightness(0);
    /* height: 80%; */
    z-index: 1;
    transition: 1s;
}

#message {
    position: absolute;
    top: 8%;
    left: 18%;
    width: 60%;
    /* height: 80%; */
    z-index: 1000;
}

#mainSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* height: 100%; */
}

.btn {
    padding: 4px 15px;
    background-color: black;
    border-radius: 7px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.btn:hover {
    cursor: pointer;
}

#btnsDiv {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

#paraScore {
    position: absolute;
    bottom: 14%;
    left: 17%;
    font-size: 15px;
    font-weight: 500;
}

.gg {
    background-color: rgb(87, 230, 87) !important;
}

.ohNo {
    background-color: rgb(245, 48, 48) !important;
}

#nextBtn {
    position: absolute;
    bottom: 12%;
    right: 25.5%;
    width: 14.5%;
    padding: 1.5% 0%;
    background-color: transparent;
    border: none;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.6rem;
    pointer-events: none;
}

#nextBtn:hover {
    background-color: rgb(255, 165, 40);
}

#restartBtn {
    position: absolute;
    bottom: 12%;
    right: 9%;
    width: 14.5%;
    padding: 1.5% 0%;
    background-color: transparent;
    border: none;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.6rem;
}


#restartBtn:hover {
    background-color: rgb(44, 174, 133);
}


#messageContainer {
    position: absolute;
    top: 52%;
    right: 8.7%;
    width: 32%;
    height: 13%;
    background-color: rgb(163, 221, 248);
    border: none;
    color: black;
    font-size: 0.8rem;
    border-radius: 6px;
    text-align: center;
}

#lives {
    position: absolute;
    top: 11%;
    left: 9.5%;
    font-weight: 700;
    font-size: 19px;
}

#musicBtn {
    position: absolute;
    right: 9.5%;
    padding: 1%;
    width: 14%;
    bottom: 23%;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    background-color: rgb(224, 203, 85);
}

#musicBtn:hover {
    background-color: gold;
    cursor: pointer;
}

.musicOff:hover {
    background-color: gold;
    cursor: pointer;
}

.musicOff {
    background-color: rgb(134, 122, 55);
}

.musicOn {
    background-color: gold;
}

.musicOn:hover {
    background-color: rgb(134, 122, 55);
    cursor: pointer;
}

@media screen and (max-width: 545px) {

    #nextBtn p,
    #restartBtn p {
        font-size: 8px;
    }
}


@media screen and (max-width: 542px) {

    #scoreSpan,
    #paraScore,
    #messageContainer,
    #validateBtn,
    #input,
    #lives {
        font-size: 12px;
    }
}

@media screen and (max-width: 437px) {
    #messageContainer {
        font-size: 10px;
    }
}

@media screen and (max-width: 416px) {

    #scoreSpan,
    #paraScore,
    #messageContainer,
    #validateBtn,
    #input,
    #lives {
        font-size: 10px;
    }
}

@media screen and (max-width: 365px) {

    #nextBtn p,
    #restartBtn p {
        font-size: 6px;
    }

    #messageContainer {
        font-size: 8px;
    }
}

@media screen and (max-width: 360px) {

    #nextBtn p,
    #restartBtn p {
        font-size: 5px;
    }
}

@media screen and (max-width: 310px) {

    #imageContainer {
        font-size: 10px;
    }
}

@media screen and (max-width: 285px) {

    #scoreSpan,
    #paraScore,
    #validateBtn,
    #input {
        font-size: 7px;
        border-radius: 2px;
    }

    #messageContainer {
        font-size: 6px;
        border-radius: 2px;
    }

    #musicBtn {
        height: 6px;
        width: 6px;
        font-size: 6px;
    }

    #lives {
        font-size: 8px;
    }
}