:root {
    --primary-color: #FFFFFF;
    --accent-color: #007DFF;
    --background-color: #FFFFFF;
    --text-color-primary: #202C59;
    --text-color-secondary: #000000;
    --button-color: #DFEAF3;
    --border-color: #EBECEF;
    --gradient-color: radial-gradient(circle at left center, #0044FF, #0090FF);

}

/*_____________________[code]________________________*/

@font-face {
    font-family: 'Pinar';
    src: url('./font/Pinar-Medium.ttf') format('truetype');
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-family: Pinar, serif;
    outline: none;
    overscroll-behavior: contain;
}

    *{
        scroll-behavior: smooth;
    }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input::-webkit-input-placeholder {
    color: #212121;
    opacity: 50%;
}

input::-moz-placeholder {
    color: #212121;
    opacity: 50%;
}

* select:focus {
    border: 0;
}

* a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

* button {
    cursor: pointer;
}

button:focus-visible,
textarea:focus-visible,
input:focus-visible {
    outline: 1px solid #000000;
}

img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

body {
    -webkit-tap-highlight-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--basic-color);
    box-sizing: border-box;
    height: auto;
}

header {
    z-index: 4;
    position: sticky;
    height: 60px;
    padding: 0 15px;
    background-color: var(--background-color);
    border: solid var(--border-color) 1px;
    box-shadow: #00000015 0 5px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

header h1 {
    font-weight: bold;
    font-size: clamp(15px, 5vw, 20px);
    line-height: clamp(15px, 5vw, 20px);
    color: var(--accent-color);
    text-shadow: #00000010 0 2px 0;
}

.one-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2vw;
}

.one-header a {
    font-weight: normal;
    font-size: clamp(10px, 4vw, 15px);
    line-height: clamp(10px, 4vw, 15px);
    color: var(--text-color-primary);
    text-shadow: #00000010 0 2px 0;
}

@media (max-width: 758px) {

    .grid-box {
    grid-template-columns: repeat(3, 1fr);
}

    header button {
        display: none;
    }

    .one-header a {
        display: none;
    }

    .top-site-overlay {
        width: 100%;
    }

    .top-site-overlay img {
        width: 90%;
        margin-right: 5%;
    }

    .button-flex button {
        border-radius: 100px;
    }

    .grid-photo {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-page img {
        display: none;
    }

    .menu-button {
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    .subscribers-grid {
        display: flex;
        width: 100%;
        overflow-y: scroll;
    }

    .subscribers-box {
        min-width: 220px;
    }

    header {
        top: 0;
    }

}


@media (min-width: 758px) {

        .grid-box {
    grid-template-columns: repeat(6, 1fr);
}

    header button {
        font-weight: normal;
        font-size: clamp(10px, 4vw, 15px);
        line-height: clamp(10px, 4vw, 15px);
        border-radius: 100px;
        height: 30px;
        width: 120px;
        box-sizing: border-box;
        border: none;
        background: var(--gradient-color);
        color: var(--background-color);
        text-shadow: #00000010 0 2px 0;
    }

    header {
        top: 15px;
    }

    .button-flex button {
        border-radius: 10px;
    }

    header h1 {
        width: 120px;
    }

    header {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        max-width: 1000px;
        height: 60px;
        margin-top: 50px;
        border-radius: 100px;
    }

    .top-site-overlay {
        padding-top: 30px;
        width: 70%;
    }

    .top-site-overlay img {
        width: 90%;
        margin-right: 5%;
    }

    .grid-photo {
        grid-template-columns: repeat(4, 1fr);
    }

    .info-page {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .info-page img {
        border-radius: 15px;
        object-fit: cover;
        width: 100%;
    }

    .menu-button {
        display: none;
    }

    .subscribers-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

}

header a:hover {
    transform: scale(0.8);
}

header a {
    transition: transform 0.5s cubic-bezier(0.42, 1.5, 0.58, 1);

}


.top-site {
    position: relative;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.top-site h2 {
    font-weight: bold;
    font-size: clamp(20px, 7vw, 40px);
    line-height: clamp(20px, 7vw, 40px);
    color: var(--text-color-primary);
    text-align: center;
    text-shadow: #00000010 0 2px 0;
}

.top-site p {
    font-weight: normal;
    font-size: clamp(10px, 4vw, 15px);
    line-height: clamp(10, 4vw, 15px);
    color: var(--text-color-primary);
    text-align: center;
    text-shadow: #00000010 0 2px 0;
}

.shape-grid {
    position: absolute;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}

.top-site-overlay {
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    top: 0;
    max-width: 900px;
}

.top-site-overlay img {
    object-fit: cover;
    border-radius: 25px;
    box-shadow: #00000010 0 2px 0;
}

.button-flex {
    display: flex;
    gap: 10px;
    margin-right: auto;
    margin-left: auto;
}

.next {
    background-color: var(--text-color-primary);
    color: #FFFFFF;
}

.one-next {
    background-color: var(--button-color);
    color: var(--text-color-primary);
}

.button-flex button {
    width: 150px;
    border: solid var(--border-color) 2px;
    font-weight: normal;
    font-size: clamp(10px, 4vw, 15px);
    line-height: clamp(10, 4vw, 15px);
    text-align: center;
    box-shadow: #00000005 0 2px 0;
}

.line {
    background-color: var(--border-color);
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    max-width: 900px;
    height: 2px;
    flex-shrink: 0;
    margin-top: 50px;
    margin-bottom: 25px;
}

.next-part {
    font-weight: bold;
    font-size: clamp(15px, 4vw, 20px);
    line-height: clamp(15px, 4vw, 20px);
    color: var(--text-color-secondary);
    text-align: center;
    margin-bottom: 25px;
}

.grid-photo {
    display: grid;
    gap: 10px;
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.grid-photo img {
    object-fit: cover;
    width: 100%;
    border-radius: 15px;
    box-shadow: #00000010 0 2px 0;
}

.box-flex-gap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-page {
    gap: 5px;
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.info-page p {
    color: var(--text-color-secondary);
    text-align: right;
}

.info-page-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.title-page {
    font-weight: 500;
    font-size: 20px;
    line-height: 20px;
}

.text-page {
    font-weight: normal;
    font-size: 15px;
    line-height: 25px;
}

.menu {
    gap: 15px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100vh;
    padding: 80px 15px 0 0;
    box-sizing: border-box;
    background-color: var(--background-color);
    border-right: solid var(--border-color) 1px;
    transform: translatex(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 3;
    box-shadow: #00000015 5px 0 25px;
}

.menu.active {
    transform: translatex(0);
    opacity: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    z-index: 2;
    background-color: #00000050;
    backdrop-filter: blur(5px);
    transition: all 0.35s ease-in-out;
    pointer-events: none;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

.menu a {
    font-weight: normal;
    font-size: clamp(15px, 5vw, 20px);
    line-height: clamp(15px, 5vw, 20px);
    color: var(--text-color-primary);
}

.subscribers-grid {
    gap: 10px;
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
}

.subscribers-box {
    box-shadow: #ffffff30 5px 5px 15px inset;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    background-color: var(--text-color-primary);
    padding: 15px;
    box-sizing: border-box;
    border-radius: 15px;
    border: solid var(--border-color) 2px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.point {
    width: 100%;
    font-weight: normal;
    font-size: 13px;
    line-height: 15px;
    color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.point img {
    width: 15px;
    height: 15px;
}

.line-mini {
    background-color: var(--background-color);
    width: 100%;
    height: 2px;
    opacity: 20%;
}

.line-med {
    background-color: var(--text-color-primary);
    width: 100%;
    height: 2px;
    opacity: 20%;
}

.title-point {
    text-align: right;
    font-weight: normal;
    font-size: clamp(15px, 5vw, 20px);
    line-height: 25px;
    color: var(--background-color);
}

.end-site {
    border-radius: 15px 15px 0 0;
    padding: 25px;
    box-sizing: border-box;
    background-color: var(--text-color-primary);
    width: 100%;
    height: 150px;
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.link-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 15px;
}

.link-box a {
    width: 25px;
    height: 25px;
}

.link-box a img {
    width: 100%;
    height: 100%;
    filter: brightness(100);
}

.cover-grid {
    box-shadow: #00000005 0 2px 0;
    border: solid var(--border-color) 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background-color: var(--background-color);
    width: 100%;
    height: 250px;
    border-radius: 15px;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: var(--text-color-primary);
    padding: 15px;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.cover-grid img {
    width: auto;
    height: 50px;
    border-radius: 0;
    box-shadow: none;
}

.no {
    color: #FF8A8A;
}

.grid-box {
    display: grid;
    gap: 10px;
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.grid-box a{
    width: 100%;

}

.grid-box a img{
    width: 100%;
    border-radius: 15px;
            box-shadow: #00000005 0 2px 0;
    border: solid var(--border-color) 2px;
}