* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #397e88;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(./images/santa-draven.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
}

.image-container {
    position: relative;
    text-align: center;
    color: #fff;
}

.left-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

p {
    font-size: 35px;
}

img {
    position: relative;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    margin: 50px;
    background-color: #884A39;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 75px 75px 75px 75px;
    padding: 50px;
    gap: 20px;
    background-color: #fff;
}


h1 {
    margin-left: 40px;
}

input {
    line-height: 2em;
    padding-left: 5px;
}

button {
    border: none;
    padding: 10px;
    padding-left: 70px;
    padding-right: 70px;
    border-radius: 25px;
    background-color: #884A39;
    color: #fff;
    font-weight: 900;
}

.chatbot-container {
    display: none;
}

.chatbot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.chatbot > div {
    background-color: #fff;
}

.chatbot > h2 {
    color:#fff;
    text-align: center;
    width: 100%;
    margin-top: 15px;
}

#chat {
    width: 90%;
    margin: 15px auto 15px auto;
}

#userInput {
    width: 50%;
}

.user-message {
    width: 50%;
    float: left;
    clear: both;
}

.chatbot-message {
    width: 50%;
    float: right;
    clear: both;
    overflow: hidden;
}

.chatbot-container button {
    background-color: #fff;
    color:#884A39;
    padding: 5px 20px 5px 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    p {
        font-size: 20px;
    }

    .form-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
    }

    form {
        width: 100%;
        margin-top: 50px;
        margin-left: auto;
        padding: 15px 10px 15px 10px;
    }

    input {
        line-height: 1em;
    }

    button {
        width: 80%;
        font-weight: 600;
        padding: 15px;
    }
}

@media (max-width: 530px) {
    form {
        margin-right: auto;
    }
}

@media (max-width: 300px) {
    form {
        width: 70%;
    }

    input {
        width: 90%;
    }

    p {
        font-size: 12px;
    }
}
