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

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #ffffff;
    color: #202020;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

/* Main content */

.search-page {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 100%;
    max-width: 760px;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 20px;
}

/* GronnFalk logo */

.logo {
    width: 600px;
    max-width: 92%;
    height: auto;

    display: block;

    margin-bottom: 32px;

    object-fit: contain;
}

/* Search form */

.search-form {
    width: 100%;
    max-width: 700px;
}

/* Search box */

.search-box {
    width: 100%;
    height: 60px;

    display: flex;
    align-items: center;

    background: #ffffff;

    border: 1.5px solid #bdbdbd;
    border-radius: 32px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search-box:hover {
    border-color: #999999;
}

.search-box:focus-within {
    border-color: #888888;

    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Search input */

.search-box input {
    flex: 1;

    width: 100%;
    height: 100%;

    border: none;
    outline: none;

    background: transparent;

    padding: 0 24px;

    color: #202020;

    font-size: 18px;
}

.search-box input::placeholder {
    color: #888888;
}

/* Search button */

.search-box button {
    width: 56px;
    height: 56px;

    margin-right: 2px;

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

    border: none;
    border-radius: 50%;

    background: transparent;

    color: #333333;

    cursor: pointer;

    transition: background 0.2s ease;
}

.search-box button:hover {
    background: #f1f1f1;
}

.search-box button svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
}

/* Lime green corner triangles */

.corner {
    position: fixed;

    width: 0;
    height: 0;

    z-index: 2;

    pointer-events: none;
}

.corner-top-left {
    top: 0;
    left: 0;

    border-top: 100px solid #7CFC00;
    border-right: 100px solid transparent;
}

.corner-top-right {
    top: 0;
    right: 0;

    border-top: 100px solid #7CFC00;
    border-left: 100px solid transparent;
}

.corner-bottom-left {
    bottom: 0;
    left: 0;

    border-bottom: 100px solid #7CFC00;
    border-right: 100px solid transparent;
}

.corner-bottom-right {
    bottom: 0;
    right: 0;

    border-bottom: 100px solid #7CFC00;
    border-left: 100px solid transparent;
}

/* GitHub footer */

footer {
    position: fixed;

    left: 0;
    bottom: 20px;

    width: 100%;

    display: flex;
    justify-content: center;

    z-index: 5;
}

.github-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #666666;

    text-decoration: none;

    font-size: 16px;

    transition: color 0.2s ease;
}

.github-link:hover {
    color: #222222;
}

.github-icon {
    width: 19px;
    height: 19px;

    fill: currentColor;
}

/* Mobile */

@media (max-width: 600px) {

    .search-page {
        max-width: 100%;
        padding: 20px;
    }

    .logo {
        width: 92%;
        max-width: 500px;

        margin-bottom: 26px;
    }

    .search-form {
        max-width: 100%;
    }

    .search-box {
        height: 54px;
    }

    .search-box input {
        font-size: 16px;
        padding: 0 18px;
    }

    .search-box button {
        width: 50px;
        height: 50px;
    }

    .search-box button svg {
        width: 19px;
        height: 19px;
    }

    .corner-top-left {
        border-top-width: 68px;
        border-right-width: 68px;
    }

    .corner-top-right {
        border-top-width: 68px;
        border-left-width: 68px;
    }

    .corner-bottom-left {
        border-bottom-width: 68px;
        border-right-width: 68px;
    }

    .corner-bottom-right {
        border-bottom-width: 68px;
        border-left-width: 68px;
    }

    footer {
        bottom: 14px;
    }

    .github-link {
        font-size: 14px;
    }

    .github-icon {
        width: 17px;
        height: 17px;
    }
}
