*{
     margin: 0px;
    padding: 0px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
@media screen and (max-width:720px){
    .logoimg{
    background-color:white;
    position: fixed;
}
.logo{
     background-color:white;
     padding-left: 35%;
     padding-top: 10px;
     padding-bottom: 10px;
     width:30%;
    display:flex;
    justify-content:center;
    align-items:center;
    }
    .image-modal {
        display: none;
        position: fixed;
        z-index: 999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.9);
        align-items: center;
        justify-content: center;
    }
    
    .modal-content {
        margin: auto;
        display: block;
        max-width: 90%;
        max-height: 90%;
        border-radius: 10px;
        box-shadow: 0 0 20px #000;
    }
    
    .close-btn {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        z-index: 1000;
    }
    
    .close-btn:hover {
        color: #ccc;
    }
    
    .image-preview {
        width: 120px;
        height: auto;
        border-radius: 8px;
        cursor: pointer;
        transition: transform 0.2s;
    }
    
    .image-preview:hover {
        transform: scale(1.05);
    }
.inputm {
    flex-grow: 1;  /* Takes maximum space */
    height: 45px;
    width: 60%;
    margin-left: 10px;
    border: 3px solid #000;
}
.chat-box {
    margin-bottom: 20px;
   height:82vh; /* Or any height */
        overflow-y: auto;
        padding-top: 20%;
  }
.send {
    color: white;
    background-color: black;
    height: 40px;
    width: 18%;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 3%;
}
.send:hover {
    background-color: rgb(200, 0, 40);
}
.chat-header{
     color: white;
    background-color: black;
    height:50px;
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    position:fixed;
    border-style:groove;
    cursor:pointer;
    margin-top: 9%;
}
 .imagein{
    margin-left: 30%;
    margin-top: 2%;
    color: white;
    background-color: rgb(241, 10, 10)
 }
 
 .image-preview{
    height:250px;
    width:95%;
    padding-right: 5px;
    border-radius: 10px;
 }
 .image-receive{
    height:200px;
    width:95%;
    border-radius: 10px;
 }
 .receive{
    margin-top: 20px;
    font-weight: bolder;
    background-color: #001C57;
    white-space:break-spaces;
    width: fit-content;
    border-radius: 20px;
    padding-top: 8px;
    padding-bottom: 2px;
    padding-left: 8px;
    padding-right: 2px;
    word-wrap: break-word; 
    color: #ccc;
    overflow-wrap: break-word;
}
.message{
    text-align: right;
    margin-top: 8px;
    margin-left: auto;
    font-weight: bolder;
    background-color: rgb(193, 245, 159);
    width: fit-content;
    border-radius: 20px;
        padding-top: 4px;
        padding-bottom: 3px;
        padding-right: 2px;
        padding-left: 2px;
        word-wrap: break-word; 
        overflow-wrap: break-word;
    }
}
@media screen and (min-width: 720px) {
        .image-modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.9);
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 90%;
            border-radius: 10px;
            box-shadow: 0 0 20px #000;
        }
        
        .close-btn {
            position: absolute;
            top: 20px;
            right: 35px;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 1000;
        }
        
        .close-btn:hover {
            color: #ccc;
        }
    .inputm {
        flex-grow: 1;  /* Takes maximum space */
        height: 45px;
        width: 70%;
        margin-left: 20px;
        border: 3px solid black
    }
    .chat-box {
        margin-bottom: 20px;
        height:75vh; /* Or any height */
        overflow-y: auto;
        padding-top: 12%;
      }
    .send {
        color: white;
        background-color:#000;
        height: 40px;
        width: 18%;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        font-size: 16px;
        margin-left:2%;
    }
    .send:hover {
        background-color: rgb(200, 0, 40);
    }
    .chat-header{
        text-align: center;
        padding-top: 2%;
        font-weight: bolder;
        background-color: black;
        color: white;
        width: 100%;
        padding-bottom: 2%;
        font-size: 30px;
        margin-top: 5%;
        position: fixed;
    }
     .imagein{
        margin-left: 30%;
        margin-top: 2%;
        color: white;
        background-color: rgb(241, 10, 10)
     }
     
     .image-preview{
        height:400px;
        width:95%;
        padding-right: 7px;
        border-radius: 10px;
     }
     .receive{
        margin-top: 20px;
        margin-left:20px;
        font-weight: bolder;
        background-color: #001C57;
        color: #ccc;
        width: fit-content;
        border-radius: 20px;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 8px;
        word-wrap: break-word; 
        overflow-wrap: break-word;
        padding-right: 8px;
    } 
    .message{
    text-align: right;
    margin-top: 20px;
    margin-right: 20px;
    margin-left: auto;
    font-weight: lighter;
    background-color: rgb(193, 245, 159);
    width: fit-content;
    font-family: "HelveticaNeue-Light";
    border-radius: 20px;
        padding-top: 8px;
        padding-bottom: 3px;
        padding-right: 1px;
        padding-left: 1px;
        word-wrap: break-word; 
        overflow-wrap: break-word;
    }
    .image-receive{
        height:400px;
        width:300px;
        border-radius: 10px;
}
.logoimg{
    background-color: white;
    width: 100%;
    position: fixed;
}
.logo{
     background-color:white;
     padding-left: 37%;
      padding-top: 10px;
     padding-bottom: 10px;
    width:25%;
    display:flex;
    justify-content:center;
    align-items:center;
    }
}
