@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed&display=swap');
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../image/welcomeBG.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    font-family: "Josefin Sans", sans-serif;
}

* {
    outline: none;
}

.new_user {
    position: absolute;
    font-family: 'Roboto Condensed', sans-serif;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(21, 21, 21, 0.9);
    color: white;
    user-select: none;
    letter-spacing: 2px;
    z-index: 2;
    box-shadow: 0 0 10px #000000;
    transition: 0.7s;
    transform: rotateX(90deg);
}

.new_user fieldset {
    display: block;
    width: 80%;
    text-align: center;
    line-height: 40px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #dddddd;
    font-weight: 700;
    border: 2px outset transparent;
    transition: 0.7s;
}

.new_user fieldset input {
    background-color: transparent;
    outline: none;
    height: 30px;
    line-height: 30px;
    color: #dddddd;
    width: 200px;
    border: 2px solid #777777;
    padding: 0;
    display: block;
    margin: 10px auto 20px auto;
    text-align: center;
    transition: 0.7s;
    border-radius: 17px;
}

::placeholder {
    text-align: center;
    color: #929292;
    font-weight: 600;
}

.new_user fieldset input[type="button"] {
    height: 34px;
    width: 204px;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 0;
    text-transform: uppercase;
    color: #dddddd;
    font-weight: 600;
}

.new_user fieldset input:focus,
.new_user fieldset input:hover {
    border-radius: 17px;
    border-color: #236ee2;
}

.display {
    height: calc(100vh - 90px);
    width: calc(100% - 40px);
    padding: 10px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    overflow: auto;
    user-select: none;
    color: white;
}

::-webkit-scrollbar {
    width: 0;
}

.display .user {
    float: right;
}

.display .bot span,
.display .user span {
    display: inline-block;
    background-color: #777;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 4px;
    padding-bottom: 4px;
    box-shadow: 0 0 4px white;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.display .bot span a {
    color: #ffffff;
}

.display .user span {
    background-color: #222;
}

.display .bot img {
    height: 40px;
    width: 40px;
    display: inline-block;
    user-select: none;
}

.question {
    display: flex;
    width: calc(100% - 40px);
    background-color: rgba(153, 153, 153, 0.5);
    margin: -10px auto 10px auto;
    overflow: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 20px;
    color: white;
}

.question .btn {
    background-color: #aaaaaa;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 10px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    box-shadow: 0 0 2px white;
    cursor: pointer;
    user-select: none;
    font-size: 17px;
    width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.7s;
    color: #212121;
    font-weight: 600;
}

#typing form {
    width: calc(100% - 40px);
    margin: 0 auto 0 auto;
}

#typing form input {
    display: inline-block;
    width: 70%;
    margin: 0 auto 0 auto;
    height: 23px;
    border: 1px solid transparent;
    box-shadow: 0 0 2px #236eee;
    transition: 0.7s;
    padding-left: 10px;
    border-radius: 7px;
    background-color: transparent;
}

#typing form input:hover,
#typing form input:focus {
    border-radius: 10px;
}

#typing form .typing_send {
    background-color: #cccccc;
    color: #212121;
    border-radius: 10px;
    min-width: 65px;
    width: 20%;
    cursor: pointer;
    height: 28px;
    float: right;
    border: 1px solid transparent;
    box-shadow: 0 0 2px #236eee;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
    transition: 0.3s;
}

#typing form .typing_send:hover,
#typing form .typing_send:focus {
    opacity: .7;
    box-shadow: 0 0 3px #236eee;
}

.question .btn:hover {
    box-shadow: 0 0 5px white;
}

@media only screen and (max-width: 699px) {
    .display {
        height: calc(100vh - 235px);
    }
    .question {
        display: block;
        position: absolute;
        width: 100%;
        border-radius: 0;
        height: auto;
        max-height: 235px;
        bottom: 0;
        margin: 0 auto;
    }
    .question .btn {
        display: block;
        width: 80%;
        margin-right: auto;
        margin-left: auto;
        margin: 10px auto;
    }
}