﻿/* === RESET === */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

@font-face {
    font-family: 'Flexo-Thin';
    src: url("../fonts/285B7A_0_0.eot");
    src: url("../fonts/285B7A_0_0.eot?#iefix") format("embedded-opentype"),url("../fonts/285B7A_0_0.woff") format("woff"),url("../fonts/285B7A_0_0.ttf") format("truetype")
}

@font-face {
    font-family: 'Flexo-Regular';
    src: url("../fonts/285B7A_1_0.eot");
    src: url("../fonts/285B7A_1_0.eot?#iefix") format("embedded-opentype"),url("../fonts/285B7A_1_0.woff") format("woff"),url("../fonts/285B7A_1_0.ttf") format("truetype")
}

@font-face {
    font-family: 'Flexo-Medium';
    src: url("../fonts/285B7A_2_0.eot");
    src: url("../fonts/285B7A_2_0.eot?#iefix") format("embedded-opentype"),url("../fonts/285B7A_2_0.woff") format("woff"),url("../fonts/285B7A_2_0.ttf") format("truetype")
}

@font-face {
    font-family: 'Flexo-Light';
    src: url("../fonts/285B7A_3_0.eot");
    src: url("../fonts/285B7A_3_0.eot?#iefix") format("embedded-opentype"),url("../fonts/285B7A_3_0.woff") format("woff"),url("../fonts/285B7A_3_0.ttf") format("truetype")
}

@font-face {
    font-family: 'Flexo-Demi';
    src: url("../fonts/285B7A_4_0.eot");
    src: url("../fonts/285B7A_4_0.eot?#iefix") format("embedded-opentype"),url("../fonts/285B7A_4_0.woff") format("woff"),url("../fonts/285B7A_4_0.ttf") format("truetype")
}

@font-face {
    font-family: 'Flexo-Bold';
    src: url("../fonts/285B7A_5_0.eot");
    src: url("../fonts/285B7A_5_0.eot?#iefix") format("embedded-opentype"),url("../fonts/285B7A_5_0.woff") format("woff"),url("../fonts/285B7A_5_0.ttf") format("truetype")
}

@font-face {
    font-family: "icons";
    src: url("../fonts/icons.eot?456e640c93ca1d54e86948898799edfa");
    src: url("../fonts/icons.eot?#iefix") format("embedded-opentype"),url("../fonts/icons.woff?456e640c93ca1d54e86948898799edfa") format("woff"),url("../fonts/icons.ttf?456e640c93ca1d54e86948898799edfa") format("truetype"),url("../fonts/icons.svg?456e640c93ca1d54e86948898799edfa#icons") format("svg");
    font-weight: normal;
    font-style: normal
}


/* === BASE === */
body {
    background: #424242 url(https://assets.pokemon.com/static2/_ui/img/chrome/body_bg.png);
    font-family: "Flexo-Bold", "Exo 2", sans-serif;
    font-size: 16px;
    color: #fff;
    height: 100%
}

::backdrop {
    background: rgba(0, 0, 0, 0.8)
}

/* === БЕЛЫЙ БЛОК === */
.container {
    background-color: #fff;
    width: 100%;
    min-height: 200px;
    color: #333
}

/* === ВЕРХНИЙ ПЕРЕХОД (body_bg → белый) === */
.top-divider {
    clear: both;
    display: block;
    margin: 0 auto;
    max-width: 1024px;

    width: 41.96%;
    margin-left: 29.0225%;

    position: relative;

    float: none;
    margin-right: auto;
}



.pokedex-top {
    clear: both;
    background: #616161;
    border-color: #212121;
    border-style: solid;
    border-width: 1px 0 0 0;
    width: 100%;
    /* padding-bottom: 2em; */
}



.top-divider .top-notch {
    float: left;
    margin-right: -100%;
    width: 85.49%;
    margin-left: 7.2525%;
    background-color: #616161;
    height: 16px;
    position: relative
}

.top-divider .top-notch::before,
.top-divider .top-notch::after {
    content: '';
    /* height: 6px; */
    /* position: absolute; */
    /* bottom: 0; */
    /* width: 12px; */
    background-size: 38px 18px;
    content: " ";
    height: 18px;
    left: -36px;
    position: absolute;
    width: 38px;
    top: -2px;
    -webkit-transform: scaleY(-1);
    -ms-transform: scaleY(-1);
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    transform: scaleY(-1);
}

.top-divider .top-notch::before {
    background: transparent url(	https://assets.pokemon.com/static2/_ui/img/chrome/notches/large-notch-darkgray.png) no-repeat;
    left: -38px
}

.top-divider .top-notch::after {
    background: transparent url(https://assets.pokemon.com/static2/_ui/img/chrome/notches/large-notch-darkgray.png) no-repeat;
    left: auto;
    right: -38px;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* === НИЖНИЙ ПЕРЕХОД (белый → body_bg) === */
.bottom-divider {
    clear: both;
    display: block;
    height: 36px;
    margin: 0 auto;
    max-width: 1024px;
    width: 100%
}

.bottom-divider .bottom-notch {
    float: left;
    margin-right: -100%;
    width: 85.49%;
    margin-left: 7.2525%;
    background-color: #fff;
    height: 6px;
    position: relative
}

.bottom-divider .bottom-notch::before,
.bottom-divider .bottom-notch::after {
    content: '';
    height: 6px;
    position: absolute;
    bottom: 0;
    width: 12px
}

.bottom-divider .bottom-notch::before {
    background: transparent url(https://assets.pokemon.com/static2/_ui/img/chrome/notches/notch-top-left.png) no-repeat;
    left: -11px
}

.bottom-divider .bottom-notch::after {
    background: transparent url(https://assets.pokemon.com/static2/_ui/img/chrome/notches/notch-top-right.png) no-repeat;
    right: -11px
}

/* === КОНТЕНТ-ОБЁРТКА === */
.content-wrapper,
.section {
    background: transparent url(https://assets.pokemon.com/static2/_ui/img/chrome/content_bg.png) left top;
    background-size: 100% 1px;
    display: block;
    margin: 0 auto;
    overflow: hidden;
    max-width: 1024px;
    width: 100%
}

.pokemon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    padding: 22px;
    align-content: stretch;
    justify-content: space-evenly;
    align-items: baseline;
    flex-direction: row;
}

.pokemon-card {
    width: 220px;
    background-color: #fff;
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    padding: 16px;

}
.id {
    /* font-family: "Flexo-Bold", arial, sans-serif; */
    color: #919191;
    font-size: 80%;
    padding-top: 2px;
    font-weight: 500;
    line-height: 125%;
    margin: 0.5em 0;
}
.number-prefix {
    color: #919191;

}
h3, h4, h5, h6 {
    font-size: 125%;
    line-height: 125%;
    text-transform: none;
    
    
}
.pokemon-info h5 {
    color: #313131;
    text-transform: none;
    font-size: 145%;
    margin-bottom: 5px;
}
div {
    display: block;
    unicode-bidi: isolate;
}

img {
    float: left;
    width: 100%;
    position: absolute;
    top: 0;
}
a {
    background: #F2F2F2;
    display: block;
    position: relative;
    border-radius: 5px;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}


a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.pokemon-info {
    padding-left: 7.2525%;
    position: relative;
}



.container {
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff url(https://assets.pokemon.com/static2/_ui/img/chrome/container_bg.png);
    clear: both;
    display: block;
    margin: 0 auto;
    max-width: 1280px;
    overflow: hidden;
    position: relative;

    margin-top: -15px;
    z-index: -1;

    border-bottom-right-radius: 5%;
    border-bottom-left-radius: 5%;
}

.container::before {
    content: "";
    display: block;
    clear: both;
}
.top-divider::after {
    content: "";
    display: block;
    clear: both;
}
.top-divider {
    overflow: hidden;
}

.global-footer {
    background: #1f1f1f;
    clear: both;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 3em;
    width: 100%;
}

.top-lights {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    padding: 15px;
    top: -22px;
    position: relative;
}

.circle {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    position: relative;
}
.circle2 {
    width: 22px;
    height: 22px;
    background: #a3dbfa;
    border-radius: 50%;
    position: absolute;
    top: 54px;
    left: 34px;
}
.circle::before {
    content: "";
    position: absolute;
    inset: 6px;
    background: #2cadfa;
    border-radius: 50%;
    margin-bottom: 4px;
    margin-left: 4px;
}
.circle::after {
    content: "";
    position: absolute;
    inset: 22px;
    background: #1c689c;
    border-radius: 50%;
    margin-bottom: 11px;
    margin-left: -54px;
    left: 85px;
    top: 14px;
}
.small-lights {
    display: flex;
    gap: 12px;

    margin-top: 2px;
}

.small-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.red {
    background: #fd0230;
}

.yellow {
    background: #f9df39;
}

.green {
    background: #6bc38f;
}

.pokedex-title {
    color: #fff;
    font-size: 44px;
    text-align: center;
    position: relative;
    top: 144px;
    margin: 0;
}

.pokedex-description {
    position: absolute;

    top: 25px;
    left: 50%;
    transform: translateX(-50%);

    width: 500px;

    color: #919191;
    font-size: 18px;

    text-align: center;

    background-color: #1f1f1f;
    border-radius: 8px;
    padding: 16px;
    
}

@media (max-width: 768px) and (pointer: coarse) {
  /* вероятно телефон */
  .pokedex-description {
    position: relative;
    
    width: 90%;
    top: 20px;
    font-size: 10px;
  }
  .container {
    border-bottom-right-radius: 0%;
    border-bottom-left-radius: 0%;
  }
}

.username {
    position: absolute;
    color: #d4d4d4;
    font-size: 18px;
    position: relative;
    top: -100px;
    left: 126px;
    margin: 0;
}
.username-highlight {
    position: absolute;
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    margin: 0;
}
.hm {
    position: absolute;
    background: #1f1f1f;
    clear: both;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 2em;
    width: 100%;
}