@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: #2a3352;
    color: #ffffff;
}

::-moz-selection {
    background-color: #2a3352;
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f111a;
}

::-webkit-scrollbar-thumb {
    background: #1e2335;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2a314a;
}

body {
    background-color: #0f111a;
    color: #c9d1d9;
    font-family: 'Inter', sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;

    height: 100vh;
    overflow: hidden;

    zoom: 1.1;
}

.layout {
    width: 100%;
    max-width: 900px;

    display: flex;
    align-items: center;
    gap: 60px;

    padding: 20px;
}

.sidebar {
    width: 180px;
    flex-shrink: 0;

    opacity: 0.9;

    user-select: none;
    -webkit-user-drag: none;
}

.sidebar-image {
    width: 100%;
    height: auto;
    display: block;
}

.content {
    flex-grow: 1;
}

.title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;

    margin-bottom: 25px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #8b949e;

    margin-bottom: 18px;
}

.description a {
    color: #ffffff;
    text-decoration: none;

    border-bottom: 1px solid #30363d;

    transition: border-color 0.2s;
}

.description a:hover {
    border-color: #ffffff;
}

.separator {
    width: 100%;
    height: 1px;

    background-color: #30363d;

    margin: 45px 0;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;

    margin-bottom: 20px;
}

.item {
    display: flex;
    align-items: center;

    margin-bottom: 14px;

    text-decoration: none;

    cursor: pointer;

    transition:
        opacity 0.2s,
        transform 0.2s;
}

.item:hover {
    opacity: 0.7;
    transform: translateX(5px);
}

.item-dot {
    width: 14px;
    height: 14px;

    margin-right: 14px;

    border-radius: 2px;

    flex-shrink: 0;
}

.item-label {
    flex-grow: 1;

    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
}

.item-meta {
    margin-left: 15px;

    color: #ffffff;
    font-weight: 400;
}

.item-arrow {
    margin-left: 10px;

    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 400;
}

@media (max-width: 768px), (max-height: 650px) {
    body {
        height: auto;
        min-height: 100vh;

        overflow-y: auto;

        align-items: flex-start;

        padding: 40px 20px;

        zoom: 1;
    }

    .sidebar {
        display: none;
    }

    .layout {
        flex-direction: column;
        gap: 30px;

        padding: 0;
    }

    .content {
        width: 100%;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}
