body {
    background-color: #272727;

    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    color: white;
    font-family: "Inter", serif;
    font-optical-sizing: auto;

    font-style: normal;


}

.site-header {
    position: absolute;
    height: 7%;
    width: 100%;
    background-color: black;
    background-color: rgba(0, 0, 0, .44);
    /* blur */
    backdrop-filter: blur(13px);
    display: flex;
    justify-content: space-between;
    align-items: center;



}

.main-frame {
    position: absolute;
    top: 7%;
    width: 100%;
    height: 93%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.image-view {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,.2);
    backdrop-filter: blur(10px);
    z-index: 5;
}

.error-frame {
    z-index: 1;
    position: absolute;
    width: 32%;
    min-width: 300px;
    height: 60%;
    /* display: flex; */
    display: none;
    align-items: center;
    justify-content: space-between;

    background-color: rgba(0, 0, 0, .2);
    border-radius: 13px;
    border-style: solid;
    border-color: rgba(255, 255, 255, .2);
    border-width: 1px;
    backdrop-filter: blur(10px);
    flex-direction: column;

    opacity: 0%;
    transition: all 0.5s ease;

}

.error-message {
    font-size: 40px;
    text-align: center;
    display: flex;
}

.error-submit-button {
    border: none;
    outline: none;
    background-color: #EE3746;
    color: white;
    font-size: 20px;
    border-radius: 7px;
    width: 45%;
    height: 50px;
    margin-bottom: 30px;
}

.login-frame {
    width: 32%;
    min-width: 300px;
    height: 80%;
    display: flex;

    align-items: center;


    background-color: rgba(0, 0, 0, .2);
    border-radius: 13px;
    border-style: solid;
    border-color: rgba(255, 255, 255, .2);
    border-width: 1px;
    backdrop-filter: blur(10px);
    flex-direction: column;
}

.signup-frame {
    width: 32%;
    min-width: 300px;
    height: 80%;
    display: flex;

    align-items: center;


    background-color: rgba(0, 0, 0, .2);
    border-radius: 13px;
    border-style: solid;
    border-color: rgba(255, 255, 255, .2);
    border-width: 1px;
    backdrop-filter: blur(10px);
    flex-direction: column;
}


.login-frame-header {
    width: 100%;
    height: 13%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.login-frame-header h2 {
    font-weight: normal;
    font-size: 30px;
}

.login-input {
    width: 80%;
    height: 12%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 106px;
    border-style: solid;
    border-color: rgba(255, 255, 255, .56);
    border-width: 1px;
    background-color: rgba(1, 1, 1, 0);
    font-size: 15px;
    color: white;

    font-weight: 100;
    padding-left: 20px;

}

.login-submit-button {
    width: 80%;
    height: 12%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 106px;
    border-style: solid;
    border-color: rgba(255, 255, 255, .56);
    border-width: 1px;
    background-color: white;
    font-size: 15px;
    color: black;
    font-weight: 100;
    cursor: pointer;
}

.site-name {
    margin-left: 20px;
    font-size: 10px;
    font-weight: 200;
    cursor: pointer;

}

.site-name h1 {
    font-weight: 300;
}

.login-buttons {
    margin-right: 30px;
    /* width: 18%; */
    width: 250px;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;



}

.header-user-dropdown {
    position: absolute;
    top: 90%;
    right: 0;

    display: flex;
    justify-content: center;

    flex-direction: column;
    background-color: rgba(0, 0, 0, .2);

}

.header-user-icon {
    display: none;
    margin-right: 1%;
}

.header-user-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 100%;
}

.login-button {
    position: relative;
    display: flex;
    width: 40%;

    height: 70%;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: transparent;
    stroke: none;

    border-style: none;
    cursor: pointer;

}

.seperator-buttons-frame {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 10%;
    align-items: center;
    font-weight: 100;

}

.checkbox-frame {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 30%;
    height: 100%;
    font-weight: 100;
}

.login-error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 5px;
    display: none;
}

.remember-me {
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    vertical-align: middle;
    border: 1px solid #ddd;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    margin-right: 10px;
}

.remember-me:checked {
    background-color: blue;
}

.forgot-password {
    text-decoration: none;
    color: white;
}

.login-button p {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 100;
}

.login-button-important {}

.login-button-important-background {
    position: absolute;
    width: 100%;
    height: 100%;

    border-radius: 5px;

    background-color: #EE3746;
    filter: blur(1px);
    z-index: -1;
}



.chat-frame {
    /* --angle: 0deg; */
    width: 50%;
    height: 90%;
    
    border-radius: 13px;
    overflow: hidden;
    border-style: solid;
    border-color: rgba(255, 255, 255, .2);
    border-width: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(11px);
    /* border-image: conic-gradient(from var(--angle), red, yellow, lime, aqua, blue, magenta, red) 1; */
    /* animation: 10s rotate linear infinite; */
}



.chat-message-frame {
    width: 90%;
    height: 80%;
    display: flex;
    flex-direction: column;

    align-items: center;

    overflow-y: scroll;


    border-style: solid;
    border-color: rgba(255, 255, 255, 1);
    border-width: 1px;
    border-radius: 12px;
}

.chat-message-frame::-webkit-scrollbar {
    width: 10px;
}


.chat-message {
    width: 100%;

    display: flex;

}

.chat-message.self {
    flex-direction: row-reverse;
}

.chat-message.self .chat-split-frame {
    flex-direction: row-reverse;
}

.chat-message.self .chat-message-header {
    flex-direction: row-reverse;
}

.chat-split-frame {
    max-width: 500px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin-top: 15px;

}

/* .chat-attachment {
    display: flex;
    width: 100%;
    height: 30%;
    background-color: white;
} */

.chat-message .self .chat-split-frame  {
    flex-direction: row-reverse;
}

.person-frame {
    width: 10%;
    min-width: 45px;
    height: 100%;
    margin-left: 10px;
    margin-right: 3%; 
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: end;
    
}

.image-view-header {
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
   
    

}

.user-view-frame {
    width: 10%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.image-view-frame {
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.image-view-frame img {
    width: 50%;
    height: 80%;
    object-fit: cover;
    align-items: center;
    justify-content: center;
}

.user-view-image {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 100%;
    margin-bottom: 5px;
}

.user-view-name {
    font-size: 12px;
    font-weight: 100;
    color: white;
    opacity: 70%;
    margin: 0;
}

.person-frame img {
    height: 45px;
    width: 45px;
    object-fit: cover;

    border-radius: 100%;
   
}

.chat-message-right {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;

    /* height: 100px; */

    /* background-color: white;
    border-radius: 7px; */
}

 
.chat-message-header {
    display: flex;
}

.chat-message .self .chat-message-header  {
    flex-direction: row-reverse;
}

.chat-message-header h3 {
    font-size: 12px;
    font-weight: 100;
    color: white;
    opacity: 70%;
    margin: 0;
}

.chat-message-content {
    width: 100%;
    min-height: 50px;
    background-color: white;
    border-radius: 7px;
    color: black;
    display: flex;
    justify-content: left;;
    /* align-items: center; */


}

.chat-attachment-content {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 7px;
    color: black;
    margin-top: 10px;
    margin-bottom: 10px;
}

.chat-attachment-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.chat-attachment-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.chat-message.self .chat-message-content {
    background-color: #3a3a3a;
    color: white;

}

.chat-message-content p {
    display: flex;
    margin: 0;
    width: 98%;
   
    margin: auto;
    text-align: left;
 
    justify-content: left;
    word-break: break-all;

}

.message-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.not-logged-in-overlay {
    width: 90%;
    font-size: 13px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.message-form {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    overflow-y: auto;
    padding: 10px;
}


.attachment-button {
    width: 30px;
    height: 30px;
    background-image: url("images/attachment.png");
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    cursor: pointer;

    border-width: 0px;


}

.attachment-button::file-selector-button {
    display: none;
  }

  

.send-button {
    width: 40px;
    height: 40px;
    background-image: url("images/send-button.png");
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    margin-right: 10px;

    border-width: 0px;
}

.message-input {
    width: 80%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;



    font-size: 18px;
    color: white;

    font-weight: 100;
    background-color: transparent;
    border-style: none;
}

.message-input:focus {
    outline: none;
}

.message-frame {
    margin-top: 15px;
    width: 90%;
    height: 10%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;


    border-radius: 11px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 1);
    border-width: 1px;
}

@media screen and (max-width: 800px) {
    .login-button p {
        font-size: 15px;
    }

    .chat-frame {
        width: 90%;
    }

    .login-buttons {
        margin-right: 10px;
    }

    
.person-frame img {
    width: 100%;
    height: 100%;
}

}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

a {
    text-decoration: none;
    color: white;
}

@keyframes rotate {
	to {
		--angle: 360deg;
	}
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
