/* MainStyle for MEshort
Site written by CodCatDev 
MeShort owner - CodCatDev */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Huninn&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #0c0c0c;
    color: white;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    h2 {
        font-family: 'JetBrains Mono', monospace;
    }
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 15px;
    margin: 10px;
    .logo {
        width: 70px;
        height: 70px;
        border-radius: 100%;
    }
    .ff {
        font-family: 'JetBrains Mono', monospace;
        color: #a06afe;
    }
    h1 {
        font-family: 'JetBrains Mono', monospace;
        font-size: 70px;
    }
}
.content {
    display: flex;
    background-color: #121212;
    width: 500px;
    height: 300px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    margin: 10px;
    border: 2px solid #211534;
    border-radius: 15px;
    .inp {
        display: flex;
        background-color: #121212;
        width: 450px;
        height: 50px;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: 5px;
        margin: 10px;
        input {
            background-color: #1E1E1E;
            font-family: "Huninn", sans-serif;
            font-size: 20px;
            border: 1px solid #a06afe;
            border-radius: 15px;
            width: 95%;
            padding-left: 5px;
            height: 50px;
            outline: none;
            transition: all 0.2s ease-in-out;
            &:focus {
                border-width: 3px;
            }
        }
        button {
            background-color: #1E1E1E;
            border: 2px solid #a06afe;
            border-radius: 5px;
            min-width: 50px;
            height: 50px;
            font-size: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.2s ease-in-out;
            cursor: pointer;
            img {
                background: transparent;
            }
            &:hover {
                background-color: #a06afe;
                border-color: #1E1E1E;
            }
            &:active {
                background-color: #a06afe;
                border-color: #1E1E1E;
                transform: scale(1.1);
            }
        }
    }
    .result.off {
        transition: all 0.2s ease-in-out;
        display: none;
        width: 0px;
    }
    .result.on {
        transition: all 0.2s ease-in-out;
        width: 95%
    }
    .result {
        transition: all 0.2s ease-in-out;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 10px;
        margin: 10px;
        background: #0f0f0f;
        height: 180px;
        border-radius: 15px;
        border: #1e1e1e 2px solid;
        width: 95%;
        .ff {
            font-family: 'JetBrains Mono', monospace;
            color: #a06afe;
        }
        .icon {
            width: 17px;
            height: 17px;
            border-radius: 100%;
        }
        h1 {
            font-family: "Huninn", sans-serif;
            font-size: 27px;
        }
        h2 {
            font-family: "Huninn", sans-serif;
            font-size: 17px;
        }
        .link {
            min-width: 80%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: row;
            gap: 5px;
            margin: 10px;
            span {
                background-color: #1E1E1E;
                font-family: "Huninn", sans-serif;
                font-size: 17px;
                border: 1px solid #a06afe;
                border-radius: 15px;
                min-width: 95%;
                padding-left: 5px;
                display: flex;
                justify-content: center;
                align-items: center;
                height: 50px;
                outline: none;
                transition: all 0.2s ease-in-out;
                h1 {
                    background-color: #1E1E1E;
                    margin: 0;
                    font-size:20px;
                }
                &:focus {
                    border-width: 3px;
                }
            }
            button {
                background-color: #1E1E1E;
                border: 2px solid #a06afe;
                border-radius: 5px;
                min-width: 50px;
                height: 50px;
                font-size: 50px;
                display: flex;
                justify-content: center;
                align-items: center;
                transition: all 0.2s ease-in-out;
                cursor: pointer;
                img {
                    background: transparent;
                }
                &:hover {
                    background-color: #a06afe;
                    border-color: #1E1E1E;
                }
                &:active {
                    background-color: #a06afe;
                    border-color: #1E1E1E;
                    transform: scale(1.1);
                }
            }
        }
    }
}

::selection {
    color: #121212;
    background-color: #a06afe;
}