html {
    height: 100%;
}

body {
    margin: 0px;
    height: 100%;
    font-family: 'Comfortaa', sans-serif;
    /*background: url("../resources/samsung-galaxy-s10-wallpaper-2.jpg");*/
    color: black;
}

header {
    text-align: center;
}

h1,h2{
    font-family: 'Comfortaa', sans-serif;
    margin: 0px;
}

.vertical-align {
    align-self: flex-end;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.custom-input{
    display: inline-block;
    width: 88%;
    height: 70%;
    font-family: 'Comfortaa', sans-serif;
    top: 25px;
    font-size: 16px;
    border:0;
    border-bottom:1px solid grey;
    transition: border-color 200ms ease-in-out;
    background: transparent;
    outline:none;
    padding: 0;
    margin: 0;
    color: black;
    text-decoration-color: black;
}

.custom-input:focus{
    color: black;
    border-bottom:1px solid black;
}

button#send_message {
    display: inline-block;
    height: 70%;
    width: 10%;
}

.big-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    height: 100%;
}

.online-user-wrapper{
    flex-basis: 23%;
    height: 100%;
}


/* chat wrapper */
.chat-wrapper{
    flex-basis: 75%;
    margin: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 10px;

}

.super-chat-title-container{
    margin: 10px 0;
}

#chatroom{
    overflow: auto;
    flex-basis: 71%;
    margin: 10px;
    margin-bottom: 0;
    width: 93%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: flex-start;
    flex-wrap: nowrap;
    padding: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

/*messages style*/
.box3 {
    margin: 5px 20px;
    border-radius: 15px;
    background: #eee;
    color: #fff;
    padding: 20px;
    display: inline-block;
    position: relative;
    text-align: left;
}

.sb14:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 15px solid transparent;
    border-right: 15px solid #eee;
    border-top: 15px solid #eee;
    border-bottom: 15px solid transparent;
    left: -16px;
    top: 0px;
}

.chat-text{
    margin: 3px;
}

.user-nickname{
    font-weight: bold!important;
}

/*online users*/
.list-item{
    margin: 5px;
    padding: 5px;
    font-size: 20px;
    font-weight: bold;
}

#users-list{
    list-style-type: none;
}

.online-user-header-container{
    margin: 15px 0;
}

#input_zone{
    margin-top: 10px;
}

.btn {
    position: relative;

    display: block;
    margin: 20px 5px;
    padding: 0;

    overflow: hidden;

    border-width: 0;
    outline: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);

    background-color: transparent;
    color: black;

    transition: background-color .3s;
}


.btn:hover, .btn:focus {
    opacity: .8;
    background-color: transparent;
}

/* The Modal */
.modal {
    display: block;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.5);
}

/* Modal Content/Box */
.modal-content {
    color: black;
    max-width: 1000px;
    min-height: 150px;
    background-color: transparent;
    opacity: 2;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    text-align: center;
}

.modal-title{
    margin: 15px 0px;
    padding: 5px;
}

#nickname-input{
    margin-top: 20px;
    width: 50%;
    text-align: center;
    font-size: 26px;
    border-bottom: solid 1px black;
    -webkit-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
    transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
    background-size: 200px 100%;
    background: transparent no-repeat -200px 0;
}

#nickname-input:focus{
    border-bottom: 1px solid black;
}

/*MEDIA QUERIES*/

@media screen and (min-width: 375px) and (max-width: 568px)  {
    .custom-input{
        width: 80%;
    }
}

@media screen and (min-width: 568px) and (max-width: 768px)  {
    .custom-input{
        width: 75%;
    }

    button#send_message {
        display: inline-block;
        height: 70%;
        width: 15%;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px)  {
    .custom-input{
        width: 85%;
    }
}