h1 {
    text-align: center;
    font-size: clamp(2em, 5vw, 3em);
    letter-spacing: 2px;
}

main {
    max-width: 1400px;
    margin: auto;

    & > * {
        margin-top: 30px;
    }

    .resized {
        position: relative;
        width: 150px;
        height: 150px;
        padding: 20px;

        outline: 1px dashed var(--color-yellow);
        overflow: hidden;
        resize: horizontal;
        margin-inline: auto;
    }

    section {
        display: flex;
        gap: 20px;

        @media (width <= 800px) {
            flex-direction: column;
        }

        .icons {
            outline: 1px dashed var(--color-cyan);
            padding: 20px;
        }
        .row {
            margin-top: 20px;
            &:first-child {
                margin-top: 0PX;
            }
            
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
        }
    }

    #fetch-log {
        position: relative;
        background: #0d1117;
        border: 1px solid #30363d;
        border-radius: 12px;
        overflow: hidden;

        font-family: Consolas, monospace;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);

        display: flex;
        flex-direction: column;

        height: 500px;

        h3 {
            background: #161b22;
            color: #8b949e;
            font-size: 13px;
            padding: 12px 16px;
            border-bottom: 1px solid #30363d;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .content {
            overflow: auto;
            flex-grow: 1;

            .logs {
                min-width: fit-content;

                .log {
                    padding: 10px 16px;
                    color: #747d88;
                    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                    font-size: 14px;

                    p {
                        line-height: 1.8;
                        white-space: nowrap;

                        a {
                            display: inline-block;
                            color: #58a6ff;
                            text-decoration: none;
                        }

                        span {
                            color: #7ee787;
                        }
                    }

                    p:first-child::before {
                        content: ">";
                        color: #58a6ff;
                        margin-right: 10px;
                        font-weight: bold;
                    }
                }

                .log:last-child {
                    border-bottom: none;
                }
            }
        }
    }
}