body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(../img/bg.jpg);
    background-attachment: fixed;
    background-position: 1650px 4701px;
}

.x {
    position: absolute;
    top: 28px;
    right: 13px;
    width: 32px;
    height: 32px;
    object-fit: cover;
    cursor: pointer;
}

.x:hover {
    scale: 1.2;
}

input {
    width: 20%;
    height: 50%;
    border-radius: 10px;
    border: none;
    text-align: center;
    background-color: unset;
    border: 1px solid rgb(255 255 255 / 80%);
}

input:focus {
    outline: none;
}

input:hover {
    background-color: rgb(255 255 255 / 10%);
}

nav {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 8px;
    gap: 40px;
    background-color: rgb(0 0 0 / 80%);
    text-shadow: 2px 2px 0 #4074b5, 2px -2px 0 #4074b5, -2px 2px 0 #4074b5, -2px -2px 0 #4074b5, 2px 0px 0 #4074b5, 0px 2px 0 #4074b5, -2px 0px 0 #4074b5, 0px -2px 0 #4074b5;
    color: #FECA1B;
    position: fixed;
}

.content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    margin-top: 65px;
}

.pokemon-cards {
    height: fit-content;
    width: 200px;
    border-radius: 20px;
    padding: 24px;
    margin-right: 15px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgb(255 255 255 / 70%);
    cursor: pointer;
    gap: 8px;
}

.for-width {
    width: 100%;
}

.pokemon-cards:hover {
    box-shadow: rgba(50 50 93 / 5%) 0px 30px 60px -12px inset, rgba(0 0 0 / 5%) 0px 18px 36px -18px inset;
}

.pokemon-cards img {
    width: 190px;
    height: 190px;
}

.img-div {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: center;
    background-color: rgb(0 0 0 / 20%);
    width: 100%;
    border-radius: 20px;
    height: 220px;
    justify-content: center;
}

.name-div {
    gap: 8px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.types {
    width: 100%;
    display: flex;
    gap: 6px;
}

.type-div {
    width: 48%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.id-nr {
    font-size: 13px;
    font-weight: 800;
    color: rgba(128, 128, 128, 0.727);
}

.name {
    font-size: 24px;
    font-weight: 700;
    color: rgb(255 255 255 / 80%);
}

.btn {
    padding: 15px;
    border: 0;
    width: 200px;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    background-color: rgb(27, 130, 177);
    font-weight: 700;
    margin-top: 26px;
    margin-bottom: 16px;
    cursor: pointer;
    z-index: 2;
}

.btn:hover {
    background-color: rgb(10, 120, 171);
}

.bg1 {
    margin: 0px;
    background-color: rgb(0 0 0 / 90%);
    height: 100vh;
    width: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.one-pokemon {
    width: 100%;
    height: 100%;
    cursor: auto;
    background-image: url(../img/pokemon-g481d2d567_1920.jpg);
    background-position: 1000px -460px;
    position: relative;
    background-color: white;
}

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

.overlay-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

.overlay-img {
    width: 250px;
}

.overlay-content {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.description-div {
    border-radius: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.description {
    text-align: center;
    color: white;
    font-weight: 700;
    width: 60%;

}


.weakness-div {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}


.right {
    display: flex;
    flex-direction: column;
    width: 50%;
}


.my-weakness {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.overlay-content-parent {
    height: 40%;
    width: 100%;

}

.overlay-img-div {
    display: flex;
}

.overlay-title {
    font-weight: 700;
    padding-top: 22px;
}


.overlay-name {
    color: white;
    font-size: 40px;
}

.overlay-id {
    color: white;
    font-size: 40px;
}

.pokemon-data {
    display: flex;
    flex-direction: column;
    width: 58%;
}

.height {
    justify-content: space-between;
    border-radius: 6px;
    color: white;
    display: flex;
    font-weight: 700;
    margin-bottom: 5px;

}

.weight {
    justify-content: space-between;
    border-radius: 6px;
    color: white;
    display: flex;
    font-weight: 700;
    margin-bottom: 5px;

}

.abilities {
    justify-content: space-between;
    border-radius: 6px;
    color: white;
    display: flex;
    font-weight: 700;
    margin-bottom: 5px;
}

.habitat {
    justify-content: space-between;
    border-radius: 6px;
    color: white;
    display: flex;
    font-weight: 700;
    margin-bottom: 5px;

}

.move {
    justify-content: space-between;
    color: white;
    display: flex;
    font-weight: 700;
}


hr {
    width: 60%;
    height: 2px;
    background-color: white;
    border: 0;
    border-radius: 10px;
}

.move-data,
.habitat-data,
.ability-data,
.weight-data,
.height-data {
    color: white;
}

.arrows-div {
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.left-arrow {
    position: absolute;
    left: 16px;
    top: 50%;
}

.right-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
}


.arrows {
    width: 39px;
    height: 39px;
    cursor: pointer;
}

.arrows:hover {
    width: 45px;
    height: 45px;
}

.btn-div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0 0 0 / 5%);
}

.normal1:hover {
    background-color: rgb(188 189 175 / 30%);
}

.poison1:hover {
    background-color: rgb(164 91 159 / 30%);
}

.psychic1:hover {
    background-color: rgb(245 96 177 / 30%);
}

.grass1:hover {
    background-color: rgb(136 210 79 / 30%);
}

.ground1:hover {
    background-color: rgb(239 202 88 / 30%);
}

.ice1:hover {
    background-color: rgb(149 241 255 / 30%);
}

.fire1:hover {
    background-color: rgb(250 85 66 / 30%);
}

.rock1:hover {
    background-color: rgb(206 188 114 / 30%);
}

.dragon1:hover {
    background-color: rgb(132 115 254 / 30%);
}

.water1:hover {
    background-color: rgb(87 173 255 / 30%);
}

.bug1:hover {
    background-color: rgb(195 210 31 / 30%);
}

.dark1:hover {
    background-color: rgb(138 103 83 / 30%);
}

.fighting1:hover {
    background-color: rgb(169 85 65 / 30%);
}

.ghost1:hover {
    background-color: rgb(120 116 213 / 30%);
}

.steel1:hover {
    background-color: rgb(195 194 217 / 30%);
}

.flying1:hover {
    background-color: rgb(120 164 251 / 30%);
}

.electric1:hover {
    background-color: rgb(254 235 53 / 30%);
}

.fairy1:hover {
    background-color: rgb(251 173 255 / 30%);
}

.chart-weakness {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 85%;
    height: 36%;
    margin-bottom: 12px;
}

.canvas-div {
    height: 100%;
    width: 60%;
    display: flex;
    border-radius: 22px;
    color: white;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    font-weight: bold;
}

.canvas {
    display: block;
    box-sizing: border-box;
    object-fit: contain;
}

.weakness-parent {
    width: 250px;
    height: 100%;
    color: white;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    gap: 30px;
}

.weakness-parent span {
    font-size: 25px;
}