/* ======== ======== ======== ======== ======== ======== ======== ======== */
/*                                                                         */
/*                            ADJUST THE STYLES                            */
/*                                                                         */
/* ======== ======== ======== ======== ======== ======== ======== ======== */

/* ======== ======== IMPORT THE FONST ======== ======== */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');

/* ======== ======== GLOBAL STYLES ======== ======== */
* {
    margin: 0;
    padding: 0;
    outline: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Merriweather', serif;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* ======== ======== MAIN CONTAINER ======== ======== */
main {
    width: calc(100vw - 20px);
    max-width: 768px;
    height: calc(100vh - 20px);
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;

    font-size: 16px;
    color: #0c0c0c;
    background-color: #f0f8ff80;

    display: flex;
    flex-direction: column;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

main h1,
main form,
main p {
    flex: 1;
}

/* ======== ======== CONTENTS ======== ======== */
h1 {
    margin: 20px auto;
    min-height: 1em;
    font-size: 30px;
    line-height: 1em;
    word-spacing: 5px;
    text-align: center;
    letter-spacing: 1px;
    font-family: 'Pacifico', cursive;
}

form * {
    line-height: 20px;
}

form div {
    margin: 12px 0;
}

form div>span {
    margin: 8px 0;
}

form div label:first-child {
    font-weight: 600;
}

form input[type=text],
form input[type=email],
form input[type=tel],
form input[type=date],
form input[type=number],
form textarea {
    width: calc(100% - 20px);
    resize: none;
    padding: 4px 8px;
    font-size: 0.9em;
    border: 1px solid #0c0c0c;
    background-color: transparent;
}

form input[type="radio"],
form input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    margin: 0 5px 0 0;
    border: 1px solid #0c0c0c;
}

form input[type="radio"] {
    border-radius: 50%;
}

form input[type="checkbox"] {
    border-radius: 0;
}

form input[type="radio"]:checked,
form input[type="checkbox"]:checked {
    background-color: #0c0c0c;
    border-color: #0c0c0c;
}

form input::placeholder,
form textarea::placeholder {
    color: rgba(12, 12, 12, var(--placeholder-opacity, 1));
    transition: color 0.3s linear;
}

form button {
    display: block;
    margin: auto;
    padding: 5px;
    width: 60%;
    max-width: 180px;
    border-radius: 10px;
    text-transform: uppercase;
    background-color: #f0f8ff;
    border: 2px solid #0c0c0c;
}

form button span {
    font-weight: 600;
    color: #0c0c0c;
    letter-spacing: 2px;
}

/* ======== ======== COPYRIGHT ======== ======== */
p#copyright {
    margin-top: 8px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    align-content: end;
}

/* ======== ======== ======== ======== ======== ======== ======== ======== */
/*                                                                         */
/*                                 THE END                                 */
/*                                                                         */
/* ======== ======== ======== ======== ======== ======== ======== ======== */