/* General Styles */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
    background-color: #ccc;
}

.container {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Template Selection */
.template {
    display: inline-block;
    padding: 15px;
    margin: 5px;
    border: 2px solid black;
    border-radius: 8px;
    cursor: pointer;
    background-color: #fff;
    transition: 0.3s;
}

.template:hover {
    background-color: #e0e0e0;
}

.template.selected {
    border-color: #000;
    background-color: #8a99a9;
}

/* Input Fields */
.form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.input-container {
    position: relative;
    width: 90%;
    margin: 15px 0;
}

.input-container input {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
    background: transparent;
}

.input-container textarea{
    min-width: 100%;
    max-width: 100%;
    min-height: 50px;
    max-height: 100px;
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
    background: transparent;
}

/* Floating Label */
.input-container label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 5px;
    color: #aaa;
    transition: 0.3s ease-in-out;
    font-size: 16px;
    pointer-events: none;
}

/* Move label up when input is focused or has value */
.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label,
.input-container textarea:focus + label,
.input-container textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    color: #000;
}


/* Buttons */
button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
}

button:hover {
    background: #0056b3;
}

/* Preview Section */
#preview-section {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Profile Picture */
#preview-pic {
    max-width: 120px;
    height: auto;
    border-radius: 50%;
    margin-top: 10px;
    border: 3px solid #007BFF;
}
#preview-frame {
    width: 100%;
    height: 500px;
    border: 2px solid #000;
    border-radius: 10px;
    margin-top: 10px;
}
