* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Albert Sans', sans-serif;
    background-color: #f6f7f9;
    color: #1a1a1a;
    display: grid;
    grid-template-columns: auto auto auto auto;
    justify-content: center;
    align-content: center;
    align-items: center;
    column-gap: 0.8rem;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

h1 {
    grid-column: 1 / -1;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

p {
    grid-column: 1 / -1;
    font-size: 1rem;
    color: #666666;
    margin-bottom: 2rem;
}

#input-text {
    grid-column: 1 / -1;
    font-family: 'Albert Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
    border: 2px solid transparent;
    border-radius: 20px;
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

#input-text:focus {
    outline: none;
    border: 2px solid #d0d0d0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

#input-text::placeholder {
    color: #d4d4d4;
    font-weight: 500;
    font-size: 2.2rem;
}

#generate-btn {
    grid-column: 1 / -1;
    font-family: 'Albert Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 1.2rem 3.5rem;
    margin-bottom: 1.5rem;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    justify-self: center;
}

#generate-btn:hover {
    background-color: #262626;
    transform: translateY(-3px);
}

#generate-btn:active {
    transform: translateY(1px) scale(0.97);
}

#copy-btn {
    grid-column: 1 / -1;
    font-family: 'Albert Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.9rem 2.5rem;
    margin-top: 1.5rem;
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
    justify-self: center;
}

#copy-btn:hover {
    background-color: #f0f0f0;
    border-color: #b0b0b0;
    transform: translateY(-2px);
}

#copy-btn:active {
    transform: translateY(1px) scale(0.97);
}

input[type="checkbox"] {
    appearance: none;
    width: 1.6rem;
    height: 1.6rem;
    border: 2px solid #b3b3b3;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
    background-color: #000000;
    border-color: #000000;
}

input[type="checkbox"]:checked::after {
    content: "\2714";
    color: #ffffff;
    font-size: 1.1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

label {
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    color: #333333;
    text-align: left;
}

#symbols-id {
    margin-left: 2rem;
}

@media (max-width: 768px) {
    body {
        grid-template-columns: auto auto;
        row-gap: 1.2rem;
        column-gap: 1rem;
    }

    #input-text {
        font-size: 2.2rem;
        padding: 1.2rem 0.5rem;
        border-radius: 16px;
        margin-bottom: 1rem;
    }

    #input-text::placeholder {
        font-size: 1.5rem;
    }

    #generate-btn {
        font-size: 1.4rem;
        width: 100%;
        padding: 1.2rem 1rem;
        margin-bottom: 1rem;
    }

    #copy-btn {
        font-size: 1.1rem;
        width: 100%;
        padding: 1rem 1rem;
        margin-top: 1rem;
    }

    #symbols-id {
        margin-left: 0;
    }

    input[type="checkbox"] {
        justify-self: end;
    }
    
    label {
        justify-self: start;
    }
}