@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,100;1,300;1,500;1,600;1,700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,700&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
    color: #fff;
}
body,html
{
    height: 100%;
    width: 100%;
    background-color: #111;
}
#main
{
    min-height: 100vh;
}
#main
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 72px;
    gap: 12px;
}
@media (min-height: 900px)
{
    #main
    {
        padding-bottom: 120px;
    }
}
#main
{
    width: 100%;
    background-color: #111;
    text-align: center;
}
#head
{
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
#head .arrow
{
    padding-bottom: 0;
    display: inline-block;
    will-change: transform;
    width: 1.25em;
    text-align: center;
    line-height: 1;
    transform: translateZ(0);
}
#head h1
{
    font-size: clamp(34px, 6vw, 50px);
    line-height: 1.05;
}
#option
{
    background-color: #1f1f1f;
    margin-bottom: 20px;
    border-radius: 12px;
    width: max-content;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
}
#option button
{
    background-color: transparent;
    padding: 10px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    color: #dadada;
    font-size: 16px;
    border: none;
    justify-content: center;
}
#option button i
{
    font-size: 16px;
}
#option .encrypt
{
    background-color: #3a3a3a;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
}
#card
{
    width: min(92vw, 480px);
    padding: 30px;
    padding-bottom: 0px;
    margin: 0 auto;
    /* background-color: yellow; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
}
#card textarea
{
    overflow: auto;
    resize: vertical;
}
#card h3
{
    color: #5a5a5a;
    font-size: 16px;
    margin-bottom: 5px;
}
#card .field
{
    width: 100%;
    padding: 10px;
    font-size: 15px;
    font-family: 'Ubuntu', system-ui, -apple-system, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    background-color: #3a3a3a;
    border-radius: 8px;
    color: #fff;
    border: 1px solid #595959;
    margin-bottom: 20px;
}
#card textarea
{
    resize: vertical;
    width: 100%;
}
#card button
{
    background-color: #3a3a3a;
    color: #fff;
    padding: 14px 20px;
    width: 100%;
    font-size: 15px;
    font-weight: bold;
    border-radius: 7px;
    border: none;
    margin-bottom: 20px;
}

@media (max-width: 420px)
{
    #card
    {
        padding: 22px;
    }
    #option button
    {
        font-size: 14px;
        padding: 8px 10px;
    }
    #card button
    {
        padding: 12px 16px;
    }
}
#notice
{
    width: 100%;
    min-height: 18px;
    margin-top: -6px;
    margin-bottom: 16px;
    text-align: left;
    font-size: 14px;
    line-height: 1.2;
    color: #a7a7a7;
}
#notice.error
{
    color: #ffb3b3;
}
#notice.success
{
    color: #b6ffcb;
}
#result
{
    display: none;
    text-align: left;
    width: 100%;
}
#result-text
{
    position: relative;
    /* display: none; */
    align-items: center;
}
#result-text i
{
    position: absolute;
    right: 10px;
    top: 10px;
    border: 2px solid #595959;
    padding: 4px;
    border-radius: 6px;
    z-index: 4;
    background-color: #3a3a3a;
}
#result-text h3
{
    font-size: 20px;
    font-family: 'Ubuntu', system-ui, -apple-system, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    background-color: #3a3a3a;
    color: #fff;
}
#card h2
{
    margin-top: 30px;
    position: relative;
    bottom: 10px;
    text-align: center;
    font-size: 15px;
    left: 50%;
    transform: translate(-50%);
    color: #5a5a5a;
}
#card h2 a
{
    text-decoration: none;
}