take this whole code in css and beautify it significantly with brilliant UI "* {
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
  }



body{
    background-color: #FBFBFB;
    font-family: sans-serif;
    
}

.user-name{
    color: yellow;
    font-weight: bold;
}
.home-container {
    display: grid;
    grid-template-columns: 1fr 4fr ; 
    gap: 20px;
}

.profile-container {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr; 
    gap: 20px;
}

.topic-list{
 
    display: flex;
    flex-direction: column;
   
}
.topic-box{
    margin: 5px 2px 5px 12px ;
    padding: 5px 10px 5px 10px;
    text-align: center;
    border-radius: 5px;
    transition: 0.5s;
}

.topic-box:hover {
    background: grey;
  }

.topic-box a {
text-decoration: none;
color: black;
font-weight: 300;
}

.room_container {
    display: grid;
    grid-template-columns: 3fr 1fr; 
    gap: 20px;
    padding: 20px;
}
.room-desc{
    font-size: 20px;
}
.center-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 10vh;  
}


.search-box {
    margin-bottom: 10px;
    height: 35px;
    width: 250px;
    padding: 18px 10px;
    border: 1px solid grey;
    border-radius: 0px;
    outline: none;
    font-size: 16px;
}

.search-result{
    margin-left: 40%;
}

.search-button {
    background-color: grey;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.search-button:hover {
    background-color: black;
}

.main-feed{
    padding: 5px 15px;

}


.logout-button {
    background-color: #dc3545; 
    color: white;
    margin-right : 8px;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.logout-button:hover {
    background-color: #b02a37; 
}




.login-button {
    background-color: #007bff; 
    color: white;
    margin-right : 8px;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; 
    display: inline-block;
}

.login-button:hover {
    background-color: #0056b3; 
    transform: scale(1.05);
}

.login-button:active {
    background-color: #004494; 
    transform: scale(0.98);
}

.signup-button {
    background-color: #28a745; 
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; 
    display: inline-block;
}

.signup-button:hover {
    background-color: #218838; 
    transform: scale(1.05); 
}

.signup-button:active {
    background-color: #1e7e34; 
    transform: scale(0.98); 
}


.topic-container{
    height: 850px;
    overflow-y: auto;
    padding: 20px 10px 20px 10px;
    margin-top : 10px;
    margin-left: 6px;
    border-style : none
    background-color: yellow;
}

.activity-container{
    position: relative;
    height: 850px;
    overflow-y: auto;
    padding: 20px 10px 20px 10px;
    margin-top : 10px;
    margin-right: 6px;
    border-style : inset;
    border-radius: 15px;
    border-color: black;
    background-color:#F0F8FF;
}

.activity-box{
    background-color: white;
    padding: 5px 10px 10px 10px;
    margin-top: 3px;
    margin-bottom: 3px;
    border-style: groove;
    border-color: black;
    
}

.activity-box-option{
    display: flex;
    justify-content: space-between;    
}

.paricipants-container{
    
    height: 450px;
    overflow-y: auto;
    padding: 20px 10px 20px 10px;
    margin-left: 6px;
    margin-right: 6px;
    border-style : inset;
    border-radius: 15px;
    border-color: black;
    background-color:#F7F9F7;
}
.headings{
    font-weight: bold;
}
.headings a{
    color: black;  
    text-decoration: none;
    transition: color 0.3s ease;  
}
.headings a:hover{
    color: blue;
}

.room-box{
    border: none;
    padding: 10px 20px 10px 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}




.login-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


.login-box{
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
}



.login-box input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}


.login-box button {
    width: 30%;
    padding: 10px;
    background-color: #3787b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 5px;
}

.login-box button:hover {
    background-color: #286d8a;
}

.signup-container{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top:20px;
    
 
}

.signup-box{
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 800px; 
}

.signup-box input {
    width: 60%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.signup-box .helptext {
    display: block;  
    font-size: 12px; 
    color: #666;
    margin-top: 5px;
}

.signup-box button {
    width: 10%;
    padding: 10px;
    background-color: #3787b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.signup-box button:hover {
    background-color: #286d8a;
}

.message-container{
    
    min-height: 200px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    border-style :ridge ;
    margin-bottom: 10px;
    padding: 10px 20px 10px 20px;

}

.message-container-top{

    flex: 5;
    height: 80%;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 10px 20px 10px 20px;
}

.message-container-bottom{
    flex: 0.5;
    margin-bottom: 10px;
    padding: 10px 20px 10px 20px;

}
.message-box-self {
    display: flex;
    flex-direction: column;
    justify-content:space-between;   
    padding: 10px;
    border-radius: 8px;
    background: #ede9e9;
    margin-bottom: 10px;
    position: relative;
    width: 60%; 
    max-width: 800px; 
    word-wrap: break-word;
    float: right; 
    clear: both;
}

.message-box-other {
    display: flex;
    flex-direction: column;
    justify-content: space-between;   
    padding: 10px;
    border-radius: 8px;
    background: #ede9e9;
    margin-bottom: 10px;
    position: relative;
    width: 60%; 
    max-width: 800px; 
    word-wrap: break-word;
    float: left; 
    clear: both;
    
}

.message-content{
    width: 70%; 
    max-width: 800px; 
    word-wrap: break-word;
}

.message-text{
color: rgb(18, 17, 17);
font-size:larger;
}

.message-time{
    font-size: 13px;
    text-align: right;
}
.message-input {
    width: 85%;
    padding: 8px;
    margin-right: 5px;
    margin-left: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.message-send-button{
    background-color: #3430a7;
    color: white;
    height: 40px;
    border-radius: 20px;
    width: 70px;
}

.delete-icon{
    position: relative;
    cursor: pointer;
    color: red;
    margin-left: 5px;
    border-style: none;
    
}

.edit-icon{
    border-style: none;
    color : blue
}

.create-room-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    background-color: #f4f4f4; 
}

.create-room-box {
    width: 50%;
    background: #fff; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.create-room-box h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    text-align: left;
}


.form-control{
    width: 100%;
    padding: 6px;
    margin-bottom: 15px;
    border: 1px solid #161414;
    border-radius: 5px;
    background: #f9f9f9;
}

.create-room-box button {
    width: 20;
    background-color: #007bff; 
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.create-room-box button:hover {
    background-color: #0056b3; 
}

.create-room-box div {
    text-align: left;
    margin-bottom: 10px;
}


.scrollable-dropdown {
    max-height: 200px; 
    overflow-y: auto; 
    overflow-x: hidden; 
    width: 100%;
}

.dropdown-toggle{
    width: 100%;
}

.topic-checkbox{
    
    border-color: black;
}

.delete-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;   
    width: 50vw;    
    
    border-style:groove ;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;            
    left: 50%;           
    transform: translate(-50%, -50%);  

}

.login-from-room{
    display: flex;
    font-size: larger;
    font-weight: bold;
    justify-content: center;
}

.delete-box{
    
    justify-content: center;
    margin: 15px 10px 15px 10px;
    
    
}

.delete-option{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 80%;
}

.message-update-container{

    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 55vh;   
    width: 50vw;    
    position: absolute;
    top: 50%;            
    left: 50%; 
    transform: translate(-50%, -50%);
    border-style:groove ;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding-top: 3%;
}



.msg-update-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease-in-out;
    margin: 2% 50% 5% 33%;
}


.update-btn:hover {
    background-color: #0056b3;
}



.navbar-cus{
    background: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px;
  }
  
  .navbar-cus .container {
    padding-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items:center;
    width: 100%;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
  }

  

.navbar-brand:hover {
    color : white;
    font-weight: bold; 
}
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
  }
  
  .nav-item-to-edit {
    display: inline;
    margin-top: 10px;
  }

  .nav-user-name{
    display: inline;
    margin-top: 10px;
  }

  .nav-user-name a{
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
  }
  .nav-user-name a:hover{
    color: rgb(76, 76, 233);
    font-weight: bold;
  }
  
  .nav-links .nav-item-to-edit a {
    text-decoration: none;
    color: white;
    padding: 8px 12px;
    transition: font-weight 0.2s ease;
  }
  
  #nav-logout-button{
    margin-top: 5px;
  }

  .nav-links .nav-item-to-edit a:hover {
    font-weight: bold;
  }
  
  #username-link{
    color: rgb(76, 76, 233);
    text-decoration: none; 
}
  
  .menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
  

  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      gap: 10px;
      position: absolute;
      background: #333;
      width: 100%;
      left: 0;
      top: 50px;
      padding: 10px;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }
  }

.profile-detail-container {
  display: flex;
  flex-direction: column;  
  align-items: center;
  

}

.profile-pic{
    width: 100px;  
    height: 100px;
    border-radius: 100%;  
    object-fit: cover; 
    border: 3px solid #ddd; 
    display: block;
    
}

.navbar-profile-pic{
    width: 40px;  
    height: 40px;
    border-radius: 100%;  
    object-fit: cover; 
    margin-top: 5px;
    border: 3px solid #ddd; 
    transition: transform 0.3s ease-in-out;
}

.navbar-profile-pic:hover{
    transform: scale(1.2);
}

.Admin:hover{
    color: lightgreen;
}

.pagination-option{
    display: flex;
    justify-content: center;
}
.pagination-option > * {
    padding: 10px;
  }

.deleted-or-edited-message {
    color: #656262;
    font-style: italic;
    margin: 0;
}

.message-line {
    display: flex;
    justify-content: space-between;
    align-items: end;
   
}

.modify-div-container{
    display: flex;
    justify-content: right;
    align-items: end;
}

.message-title{
    color: blue;
    line-height: 20px;
}





/* my code goes here */

.room-box {
    border: none;
    background: pink;

}"