body {
    background-color: #f5f5f5;
    /* display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0; */
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 10vh 0 10vh 0;
}
.invalid{
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}
.invalid-text {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.card {
    background-color: #fff;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 48vw;
}

.card h1 {
    margin: 0;
    font-size: 24px;
}
.card h1 .first{
    color: #3c88e5;
}
.card h1 span {
    color: #f26922;
}

.card h2 {
    font-size: 18px;
    margin: 10px 0;
}

.card p {
    font-size: 14px;
    color: #666;
    /* margin: 0; */
}

form {
    margin: 20px 0;
}

label {
    display: block;
    text-align: left;
    margin: 10px 0 5px;
    font-weight: bold;
}

textarea, input, select {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    resize: none;
}

textarea {
    height: 100px;
}

small {
    display: block;
    margin-bottom: 20px;
    text-align: left;
    color: #666;
}

.generate {
    background-color: #3c88e5;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;

    transition: background-color 2s;
    text-align: center;
    border: 1px solid #000;
    position: relative;
    overflow: hidden;
    margin: 11px 0 0 0;
}

.generate:hover {
    background-color: #f26922;
}

.generate::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    transform: skewX(-45deg);
    transition: left 0.5s;
}

.generate:hover::after {
    left: 125%;
    transition: left 0.5s;
}

.faq {
    display: block;
    margin-top: 20px;
    color: #666;
    text-decoration: none;
}

.faq:hover {
    text-decoration: underline;
}

footer {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}

.info-box {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
    margin: 13px 0;
}
.info-box h2 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}
.info-box p {
    font-size: 15px;
    color: #666;
    margin: 0;
}
