* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inter;
}

body{

    background-image: url("Media/Background.jpg");
    background-size: cover;  
 
}

a{
    text-decoration: none;
}

nav .img{
    width: 20%;
}


MsgBar .img{
    height: 70%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #17171F;
    opacity: 80%;
    padding: 1rem;
    color: #BEF7EC;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.Log{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 100%;
    width: 22%;
}

.Log p{
    font-size: 1rem;

}




nav a{
    display: flex;
    align-items: center;
    color: #BEF7EC;
    gap: 1rem;
    background-color: #17171F;
    opacity: 0,8;
    border: solid 3px #58857A;
    border-radius: 40px;
    padding: 0.4rem;
    font-size: 1.5rem;
    text-decoration: none;
    width: 50%;
    min-width: 130px;
    

}

.login{
    width: 30% !important;
}

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 6rem;
    

}

chatbox{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 85%;
    background-color: #1D1D25;
    opacity: 80%;
    border: solid 3px #58857A;
    border-radius: 40px 40px 0 0;
    padding-bottom: 12.5vh;
    padding-top: 1rem;
    margin-top: 1%;
}

chatbox p {
    color: #BEF7EC;
    font-size: 1.5rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
}

chatbox p1{
    color: #BEF7EC;
    font-size: 70%;
    padding-left: 1rem;
}

chatbox p2{
    color: #BEF7EC;
    font-size: 95%;
    padding-left: 1rem;

}

chatbox p3 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #BEF7EC;
    font-size: 1.5rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
}

Msgbar{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #100F1D;
    opacity: 80%;
    width: 84%;
    position: fixed;
    bottom: 0;
    left: 8%;
    height: 12.5vh;
    
}

form{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    opacity: 80%;
    width: 100%;
    

}

button{
    background-color: rgba(0, 0, 0, 0);
    border: none;
    height: 3rem;
    width: 3rem;
    background-size: cover;
    padding: 0.4rem;
    font-size: 1.5rem;
    text-decoration: none;
    cursor: pointer;

}


input{
    background-color: rgba(0, 0, 0, 0);
    border: none;
    height: 3rem;

    color: #BEF7EC;
    padding-left: 1%;
    
}

input#message{
    width: 100%;
}

inputfield{
    background-color: #1D1D25;
    width: 70%;
    height: 3rem;
    border-radius: 10px;
}


.delImg{
    width: 20px;
    height: 20px;
    margin: 0 0.4%;
    text-decoration: none;
}

/* Popup container */
.popup {
    display: inline-flex;
    position: absolute;
  }

  
  /* The actual popup (appears on top) */
  .popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    position: relative;
    border-radius: 6px;
    margin: 3%;
  }


  .popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
  }



.msgImg{
    border-radius: 10%;
    border: solid 3px #58857A;
    margin-left: 1%;
}

@media screen and (max-width: 484px) {
    MsgBar{
        height: 10%;

    }

    .Log{
        width: 50%;

    }

    MsgBar .img{
        height: 50%;
        padding: 0;
    }

    button{
        padding: 0;
    }
    
}

