body    {
    margin: 0;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}
html, body {
    margin: 0;
    height: 100vh;
    width: 100vw;
    min-height: 100vh;
    min-width: 100vw;
}


::-webkit-scrollbar {
    width: 7px;
  }
  

  ::-webkit-scrollbar-track {
    background: #f1f1f180;
    border-radius: 5rem;
  }
   

  ::-webkit-scrollbar-thumb {
    background: #ac9dff; 
  }
  

  ::-webkit-scrollbar-thumb:hover {
    background: #5f57fc; 
  }

  .home-content {
    display: flex;
    align-items: center;
    height: fit-content;
    margin-top: 1rem;
    flex-direction: column;
  }
  .home-buttons {
    margin-top: 1rem;
  }
  .home-buttons button:hover  {
    scale: 1.05;
    color: black;
    background-color: #ac9dff;
  }
  .home-content button  {
    max-width: 10rem;
    height: 2.5rem;
    margin: 1rem;
    border: 0.1rem solid #5f57fc;
    border-radius: 0.5rem;
    background-color: #5f57fc;
    color: white;
    font-size: 1.5rem;
    transition: 200ms;
  }
  .home-content h1 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 3rem;
    margin: 0;
    margin-bottom: 1rem;
    color: #5f57fc;
  }
  .home-content p  {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1rem;
    margin: 0;
    margin-bottom: 1rem;
  }
.desk-header    {
    display: flex;
    justify-content: space-between;
    height: 10vh;
}
nav {
    align-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hr-break hr   {
    background: linear-gradient(to right, #5f57fc , #ac9dff, #5f57fc);
    height: 0.2rem;
    margin: 0;
}
nav a {
    margin-right: 2rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    color: black;
    transition: 200ms;
}
nav a:hover  {
    color: #5f57fc;
    transform: scale(1.1);
}
#desk-logo  {
    width: auto;
    height: 10vh;
}
.desk-content   {
    display: flex;
    justify-content: space-between;
    bottom: 0;
    height: 89vh;
    margin-left: 10rem;
    margin-right: 10rem;
    flex-direction: column;
}
.input-forum    {
    position: absolute bottom;
}
.input-forum form {
    display: flex;
    margin-top: 1rem;    
}
input[name="name"]   {
    height: 1rem;
    border: 0.1rem solid #5f57fc;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-right: 1rem;
}
input[name="message"]   {
    height: 1rem;
    border: 0.1rem solid #5f57fc;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-right: 1rem;
    display: flex;
    flex: 1;
}
button[name="submit"]   {
    max-width: 5rem;
    height: 2rem;
    border: 0.1rem solid #5f57fc;
    border-radius: 0.5rem;
    background-color: #5f57fc;
    color: white;
    font-size: 1rem;
    transition: 200ms;
}
input[type="file" i]    {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.buttons-form input button  {
    max-width: 5rem;
    height: 2rem;
    border: 0.1rem solid #5f57fc;
    border-radius: 0.5rem;
    background-color: #5f57fc;
    color: white;
    font-size: 1rem;
    transition: 200ms;

}
.chat-container {
    display: flex;  
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.incoming-message {
    align-self: flex-start;
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    max-width: 60rem;
}

.outgoing-message {
    align-self: flex-end;
    background-color: #5f57fc;
    color: white;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    max-width: 60rem;
}
.date {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.7rem;
    margin-top: 0;
    margin-bottom: 0;
    }
.incoming-message hr   {
    margin-top: 0.2rem;
}
.incoming-message h3    {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.1rem;
    margin: 0;
    margin-bottom: 0.5rem;
}
.outgoing-message hr   {
    margin-top: 0.2rem;
}
.outgoing-message h3    {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.1rem;
    margin: 0;
    margin-bottom: 0.5rem;
}
.incoming-text  {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1rem;
}
.outgoing-text  {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1rem;
}
#uploaded-images {
    max-width: 20rem;
    max-height: 20rem;
    border-radius: 0.3rem;
}
.message    {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin-top: 1rem;
    margin-right: 1rem;
    margin-left: 1rem;
    background-color: #8a76ff52;
    border-radius: 1rem;
}
.message hr {
    display: flex;
    justify-content: start;
    margin-top: 0.2rem;
    margin-left: 1rem;
    border: #5f57fc 0.05rem solid;
    width: 20rem;
}
.message h3 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
    margin: 0;
    margin-bottom: 0.2rem;
    margin-top: 0.2rem;
    color: #5f57fc;
}
.message p  {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1rem;
    margin: 0;
    margin-bottom: 1rem;
}
.timestamptext p {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.7rem;
    margin: 0;
}
.date  {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.8rem;
    color: black;
    margin-left: 1rem;
    margin-bottom: 1rem;
}
.input[type="fileToUpload"] {
    color: #5f57fc;
}
@media(min-width: 950px)    {
    .mobile-header  {
        display: none;
    }
}
@media(max-width: 950px)    {

    .home-content {
        margin-top: 0;
        margin-right: 1rem;
        margin-left: 1rem;
    }
    .home-content h1 {
        font-size: 2rem;
    }
    .home-buttons  button {
        margin: 0rem;
        margin-right: 1rem;
        margin-left: 1rem;
    }
    .home-content p {
        margin-bottom: 0rem;
    }
    .desk-content   {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        height: 87vh;
        overflow-y: hidden;
    }
    .input-forum form {
        display: flex;
        flex-direction: column;
        margin-top: 0.5rem;    
    }
    .buttons-form   {
        display: flex;
        justify-content: space-between;
        margin-top: 0.5rem;
    }
    button[name="submit"] {
        margin-right: 1rem;
    }
    input[name="message"]   {
        margin-top: 0.5rem;
    }
    .desk-header    {
        display: none;
    }
    .mobile-header  {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 10vh;
    }
    .hamburger-menu {
        margin-right: 2rem;
        margin-bottom: 1.5rem;
    }
    .message    {
        margin-right: 0.2rem;
        margin-left: 0.2rem;
    }
    #uploaded-images {
        max-width: 10rem;
        max-height: 10rem;
    }
    #desk-logo  {
        width: auto;
        height: 7vh;
    }

    /* ------------------burger menu------------------ */

    #menu__toggle {
        opacity: 0;
      }
      #menu__toggle:checked + .menu__btn > span {
        transform: rotate(45deg);
      }
      #menu__toggle:checked + .menu__btn > span::before {
        top: 0;
        transform: rotate(0deg);
      }
      #menu__toggle:checked + .menu__btn > span::after {
        top: 0;
        transform: rotate(90deg);
      }
      #menu__toggle:checked ~ .menu__box {
        left: 0 !important;
      }
      .menu__btn {
        margin-right: 1rem;
        cursor: pointer;
        z-index: 1;
      }
      .menu__btn > span,
      .menu__btn > span::before,
      .menu__btn > span::after {
        display: block;
        position: absolute;
        width: 2rem;
        height: 2px;
        background-color: #616161;
        transition-duration: .25s;
      }
      .menu__btn > span::before {
        content: '';
        top: -8px;
      }
      .menu__btn > span::after {
        content: '';
        top: 8px;
      }
      .menu__box {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 70vw;
        height: 100%;
        margin: 0;
        padding: 20px 0;
        list-style: none;
        background-color: #ECEFF1;
        box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
        transition-duration: .25s;
      }
      .menu__item {
        display: block;
        padding: 12px 24px;
        color: #333;
        font-family: 'Roboto', sans-serif;
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
        transition-duration: .25s;
      }
      .menu__item:hover {
        background-color: #CFD8DC;
      }
      .mobile-header li a  {
        text-decoration: underline #5f57fc;
      }
}