* {
    font-family: "Open Sans", sans-serif;
    margin: 0;
}

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

.overlay {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100vh;
    background-color: rgb(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body {
    width: 100%;
    background-color: #0F0F0F;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
    margin-top: 156px;
    margin-bottom: 68px;
    padding: 0 80px 0 80px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

nav {
    height: 88px;
    width: 100%;
    box-sizing: border-box;
    background-color: rgb(0, 0, 0, 0.65);
    z-index: 2;
    padding: 0 80px 0 80px;
    position: fixed;
    backdrop-filter: blur(10px);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 24px;
    font-weight: 600;
    user-select: none;
}

.logo:hover {
    filter: drop-shadow(0px 0px 8px rgb(255, 255, 255, 0.65));
}

.logo-icon {
    height: 56px;
    width: 56px;
}

.input_container {
    height: 100%;
    margin-top: 13px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.max-input {
    height: 14px;
    color: #6BFF8B;
    font-size: 12px;
    user-select: none;
}

.search-input {
    height: 30px;
    width: 192px;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background-color: white;
    border-radius: 6px;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 10px white;
}

.search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 8px;
    background-image: url(./assets/icons/close_black.png);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.nothing-found {
    color: white;
    font-size: 24px;
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

@media (max-width: 430px) {
    .content {
        padding: 0;
    }

    .pokemon-detail-card {
        width: 300px;
    }

    .loading-bar {
        width: 130px;
    }

    .arrow-right {
        left: -60px !important;
    }

    .arrow-left {
        right: -60px !important;
    }

}

@media (max-width: 490px) {
    .arrow-right {
        left: -45px;
    }

    .arrow-left {
        right: -45px;
    }
}


@media (max-width: 624px) {
    nav {
        height: 156px;
    }

    .navbar {
        flex-direction: column;
        gap: 16px;
    }

    .content {
        margin-top: 230px;
    }

}

@media (min-width: 1440px) {
    nav {
        padding: 0 80px 0 80px;
    }

    .navbar {
        max-width: 1150px;
    }

    main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .content {
        max-width: 1440px;
    }
}