@import url('https://fonts.googleapis.com/css?family=Lexend+Deca|Dosis&display=swap');

body {
    margin: 0;
    padding: 16px;
    flex: 1;
    background: #5698c4;
    justify-content: center;
    align-items: center;
    font-family: 'Lexend Deca', sans-serif;
    overflow-y: none !important;
}

.title1{
    text-align: center;
}

button img {
    transition: transform 0.25s;
}

button:hover img {
    transform: scale(1.2);
}

button:focus {
    outline: none;
}

input {
    font-family: 'Lexend Deca', sans-serif;
}

input::placeholder {
    font-family: 'Lexend Deca', sans-serif;
}

input:focus {
    outline: none;
}

.searchBox {
    height: 60px;
    width: 450px;
    max-width: 100%;
    background: white;
    border-radius: 10px;
    position: relative;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 50px;
    display: flex;
}

.searchBox .btn-menu {
    padding: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.searchBox .search {
    border: none;
    width: 100%;
}

.searchBox .btn-search {
    padding: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* check de display: none; */
.search-modal {
    height: 400px;
    background-color: rgb(214, 252, 252);
    width: 450px;
    max-width: 100%;
    border-radius: 10px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 230px;
    animation: slideInUp 0.5s;
    display: none;
}

.search-modal-header {
    display: flex;
    padding: 10px;
    border-bottom: 1px solid black 17;
}

.search-modal-header h3 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    float: left;
}

.search-modal-header span img {
    float: right;
    position: absolute;
    right: 16px;
    top: 25px;
    margin: 0 auto;
    cursor: pointer;
    transition: 0.5s all;
}

.search-modal-header span img:hover {
    transform: scale(1.1);
}

.search-modal-body {
    padding: 20px;
    height: 285px;
    overflow-y: scroll;
}

.search-modal-body .message {
    display: flex;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 10px;
}

.search-modal-body .message-avatar {
    margin-right: 16px;
    margin-top: 10px;
}

.search-modal-body .message-avatar img {
    background-color: rgb(64, 138, 74);
    height: 60px;
    width: 60px;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 4px 8px black;
}

.search-modal-body .message-body {
    margin-left: 0;
    margin-top: 0;
}

.search-modal-body .message-body p {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.search-modal-body .message-body small {
    font-weight: 400;
    font-family: Dosis;
    color: #777;
}

.search-modal-body .message:hover {
    background-color: #5698c4 17;
}

.search-modal-body::-webkit-scrollbar {
    width: 5px;
}

.search-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.search-modal-body::-webkit-scrollbar-thumb {
    background: #5698c4;
    border:1px solid #a4c5db ;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: -1px 0 5px rgba(0, 0, 0, 0.15);
}

.search-modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@keyframes slideInUp {
    from {
        -webkit-transform: translate3d(0, 15%, 0);
        transform: translate3d(0, 15%, 0);
        visibility: visible;
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}