@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200&display=swap');
html{
	scroll-behavior: smooth;
	touch-action: manipulation;
	 user-select: none;
}

body{
	font-family: "Mukta";
	background-color:#55759E;
	font-size:12pt;
	overflow-x:hidden;
	overflow-y:hidden;
	margin:5px;
	padding:2px;
	background: url(../images/fondo2.png);
	background-repeat: no-repeat;
	background-size: cover;
	max-height: 100%;
	max-width: 100%;
	overflow: hidden;
	zoom: 1;
}
#container{
	width:99vw;
	height: 98vh;
	max-width:1920px;
	max-height:1080px;
	margin:auto auto;
	padding:0;
	overflow-x:hidden;
	overflow-y:hidden;
		box-shadow: 0px 2.1px 2.6px rgba(0, 0, 0, 0.087),
        0 5.9px 7.1px rgba(0, 0, 0, 0.105), 0 14.2px 27.2px rgba(0, 0, 0, 0.13),
        0 28px 40px rgba(0, 0, 0, 0.2);
	border-radius: 1em;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
		 
}

#grid{
	display: grid;
	/*grid-template-columns: minmax(140px,20vw) auto;*/
	grid-template-columns: minmax(80px,384px)minmax(320px,1536px);
	margin: 0;
	padding: 1vh 1vw;
	background-color:#353535;
	color:#fff;
	overflow-x:hidden;
	overflow-y:hidden;
}
#menu-left,#menu-right {
	text-align: left;
	padding:0;
	margin:0;
}
.menu-right2 {
  display: flex;
  align-items: center;
  text-align: left;
  margin: auto 10px;
}

#menu-top, .menu-right2 {
  height: 11vh;
  max-height: 125px;
  min-height: 55px;
  
}

.menu-left2{
  display: flex;
  align-items: center;
  height: 11vh;
  min-height: 90px;
  max-height:170px;
  width:95%;
}
#persons,.messages {

	margin: 2vh 0;
	padding: 2vh 2vw;
	background-color:#fff;
	color:#000;
}

#persons{
	display: flex;
	flex-direction: row; 
	flex-wrap:wrap;
	justify-content:  space-around;
}
.messages {
	background-image: background-image: linear-gradient(#E5E5EA 10%, #E7FED2 ) ;
	background-color: #cccccc;
	text-align: left;
	height:81vh;
}
#imessage0, #imessage1{
	overflow-y:scroll;
	overflow-x:hidden;
	scroll-behavior: smooth;
}

#info_top{
	width:120px;
	display: inline-block;
	font-size:12pt;
}

.material-symbols-outlined {
	font-size: 14px !important;
}

.normal{
	height:70vh;
}

.grande{
	height:100%;
}
#menuContainer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right:25px;
  width: 95%;
}
#menuContainer ul{
  list-style:none;

}
#menuContainer ul li a{
  text-decoration:none;
  color:#fff;
  font-size:24pt;
  background-color: #353535;
  line-height: 0;
}
#avatar_user,#avatar_top{ 
	 border-radius: 50%;
	 
	 width:10vh;
	 min-width:50px;
	 max-width:120px;
	 margin:0 10px;
	 object-fit: cover; /* ajusta la imagen al centro */
}
.avatar{
	 border-radius: 50%;
	 height:10vh;
	 min-height:50px;
	 max-height:120px;
	 width:10vh;
	 min-width:50px;
	 max-width:120px;
	 margin:0 10px;
	 object-fit: cover; /* ajusta la imagen al centro */
}
.avatar2{
	 border-radius: 30%;
	 width:3vw;
	 min-width:55px;
	 max-width:120px;
}
.avatar3{
	 border-radius: 50%;
	 width:5vh;
	 max-width:120px;
	 min-width:40px;
	 margin-top:-3vh;
}
.avatar4,.avatar5{
	 border-radius: 50%;
	 width:5vh;
	 min-width:40px;
	 float:right;
	 margin-top:-3vh;
	 max-width:120px;
}
.logo3{
	 width:10vw;
	 min-width:55px;
	 max-width:320px;
}
.logo4{
	 width:12vw;
	 min-width:75px;
	 max-width:370px;
	 border-radius: 50%;
}
.material-icons{
	font-size: 40pt !important;
}

.portada{
	height:60vh;
	max-height:500px;
}

#grupos{
	 margin-top: 2vh;
}

#grupos2{
	
}

#2grupo1{
	display:flex;
}

#grupo1 {
  order: 1;
}

#grupo2, #grupo3, #grupo4 {
  order: 2;
}

#messages4{
	background-image: url("../images/pastilla.png");
	background-color: white;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size:14pt;
}

#info-mar,#info-elia{
	background-image: url("../images/pastilla.png");
	background-color: white;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size:18pt;
}

#expand_top{
	font-size:20pt !important;
	display:none;
}
.social{
	 width:5vh;
	 min-width:80px;
}

.social2{
	 width:4vh;
	 min-width:40px;
}

a{
	 text-decoration: none;
	 font-weight: bold;
	 text-decoration:none;
	color:#876AB7;
	line-height: 0;
}


.imessage {
  background-color: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 0.25rem;
  display: flex;
  flex-direction: column;
  font-family: "Mukta";
  font-size: 1.25rem;
  margin: 0 auto 1rem;
  max-width: 98vw;
  padding: 0.5rem 1.5rem;
}

.imessage p {
  border-radius: 1.15rem;
  line-height: 1.25;
  max-width: 75%;
  padding: 0.5rem .875rem;
  position: relative;
  word-wrap: break-word;
  white-space: pre-line;
}

.imessage p::before,
.imessage p::after {
  bottom: -0.1rem;
  content: "";
  height: 1rem;
  position: absolute;
}

p.from-me {
  align-self: flex-end;
  background-color: #E7FED2;
  color: #000;
}

p.from-me2 {
  align-self: flex-end;
  background-color: #cc8177;
  color: #000;
}


p.narrator {
  align-self: center;
  background-color: #55759E;
  color: #000; 
}

p.from-me::before {
  border-bottom-left-radius: 0.8rem 0.7rem;
  border-right: 1rem solid #E7FED2;
  right: -0.35rem;
  transform: translate(0, -0.1rem);
}

p.from-me::after {
  background-color: #fff;
  border-bottom-left-radius: 0.5rem;
  right: -40px;
  transform:translate(-30px, -2px);
  width: 10px;
}

p.from-me2::before {
  border-bottom-left-radius: 0.8rem 0.7rem;
  border-right: 1rem solid #cc8177;
  right: -0.35rem;
  transform: translate(0, -0.1rem);
}

p.from-me2::after {
  background-color: #fff;
  border-bottom-left-radius: 0.5rem;
  right: -40px;
  transform:translate(-30px, -2px);
  width: 10px;
}

p[class^="from-"] {
  margin: 0.5rem 0;
  width: fit-content;
}

p.from-me ~ p.from-me {
  margin: 0.5rem;
}

p.from-me ~ p.from-me:not(:last-child) {
  margin: 0.5rem;
}

p.from-me ~ p.from-me:last-child {
  margin-bottom: 0.5rem;
}

p.from-me2 ~ p.from-me2 {
  margin: 0.5rem;
}

p.from-me2 ~ p.from-me2:not(:last-child) {
  margin: 0.5rem;
}

p.from-me2 ~ p.from-me2:last-child {
  margin-bottom: 0.5rem;
}

p.from-them {
  align-items: flex-start;
  background-color: #e5e5ea;
  color: #000;
}

p.from-them:before {
  border-bottom-right-radius: 0.8rem 0.7rem;
  border-left: 1rem solid #e5e5ea;
  left: -0.35rem;
  transform: translate(0, -0.1rem);
}

p.from-them::after {
  background-color: #fff;
  border-bottom-right-radius: 0.5rem;
  left: 20px;
  transform: translate(-30px, -2px);
  width: 10px;
}

p[class^="from-"].emoji {
  background: none;
  font-size: 2.5rem;
}

p[class^="from-"].emoji::before {
  content: none;
}

.no-tail::before {
  display: none;
}

.margin-b_none {
  margin-bottom: 0 !important;
}

.margin-b_one {
  margin-bottom: 1rem !important;
}

.margin-t_one {
  margin-top: 1rem !important;
}


.comment {
  color: #222;
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  max-width: 100%;
  padding: 0;
}

#input_msg1, #input_msg2{
	width:94%;
	font-size: 1.5rem;
	height:  2.5rem;
	vertical-align:top;
}
.delete{
	position:absolute;
	top:0px;
	right:0px;
	cursor:pointer;
	color:#ff6464;
	font-weight:bold;
}

 #expandIcon2{
	 display:none;
 }

@media screen and (max-width: 1500px) {
	#input_msg1, #input_msg2{
		width:91%;
	}
}

@media screen and (max-width: 1200px) {
	#input_msg1, #input_msg2{
		width:87%;
	}
}

@media screen and (max-width: 445px) {
	#expand_top{
		font-size:18pt !important;
		display:block;
	}
	#avatar_user,#avatar_top{ 
		border-radius: 50%;
		width:5vh;
		min-width:50px;
		max-width:75px;
		margin:0 10px;
		object-fit: cover; /* ajusta la imagen al centro */
	}
	
	#avatar_user{
		margin-top:15px;
	}
	/*#expandIcon{
			margin-top:0;
	}*/
}

@media screen and (max-width: 825px) {
	#expand_top{
		font-size:20pt !important;
		display:block;
        z-index: 100;
	}
	#grupos {
		display:none;
		position: fixed;
		left: 25px;
		top: 75px;
	 }
	.resaltado{
		display:none;
	}

	 #expandIcon2{
		 display:inline;
	 }
	#persons{
		display: none;
	}
	body{
		font-size:14pt;
	}
	#grid {
		display: grid;
		grid-template-columns: 95vw;
		margin: 10px 10px;
		padding: 0;
		color:#fff;
		
	}


	#menu-top{
		font-size:14pt;

	}
	#menu-left{
		position:fixed;
		right:0;
		top:10px;
		display:flex;
        z-index: 100;
	}
	.material-icons{
		font-size: 6.5vh !important;
	}
	.messages {
		height:77vh;
		margin: 2vh 0;
	}
	#imessage0, #imessage1{
		height:65vh;
	}
	#send{
		margin-top:-1vh;
	}
	#persons{
		width:92vw;
	}
	.avatar3{
	 border-radius: 50%;
	 width:5vh;
	 min-width:40px;
	 margin-top:-4vh;
	 margin-left:-6vw;
	}
	.avatar4,.avatar5{
		 border-radius: 50%;
		 width:5vh;
		 min-width:40px;
		 margin-top:-4vh;
		 margin-right:-6vw;
		 float:right;
	}
	#input_msg1, #input_msg2{
		width:80%;
	}
	
	
	.delete{
		top:0px;
		right:-30px;
	}
	
	#menuContainer {
	  width: 87%;
	}
	.info_person{
		display:none;
	}
	

}


@media screen and (min-width: 2000px) {
	body{
		font-size: 18pt;
	}


	#input_msg1, #input_msg2{
		width:94%;
		font-size: 1.25rem;
		height:  2rem;
		vertical-align:top;
	}
}


.icon {
  position: absolute;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size:20pt!important;
}

#folder-icon {
	top: -11vh;
	left: 30pt;
	font-size: 4vh !important;
	position:relative;
}

#trash-icon {
	top: -9vh;
	left: 30pt;
	font-size: 5vh !important;
	position:relative;
}



#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  z-index: 9999;
  transition: opacity 5s ease-in-out;
}

#splash-screen img {
  max-width: 100%;
  max-height: 100%;
}



#splash-screen {
  /* ... */
  transition: opacity 2s ease-in-out;
}

#splash-screen.fade-out {
  opacity: 0;
}

#splash-screen.fade-out img {
  animation: fade-out 2s ease-in-out;
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

table.info_person {
  border-spacing: 0;
  border-collapse: separate;
  /* cellspacing = border-spacing * 2 */
  /* cellpadding = padding */
  /* Por ejemplo, cellspacing=5 y cellpadding=10 */
  padding: 0px;
  border-spacing: 0px;
  line-height:15pt;
}

table.info_person .minicon{
  width:5vw;
  max-width:75px;
  text-align:center;
}

table.info_person .minicon span{
  font-size:20pt !important;
  font-variation-settings:
  'FILL' 0,
  'wght' 200,
  'GRAD' 0,
  'opsz' 40;
   transform: rotate(45deg);
}

.resaltado{
	background-color:#d1d1e8;
	border-radius: 10px;
	margin-right:10px;
}


/* Define la animación brillo */
    @keyframes glowing {
      0% { box-shadow: 0 0 5px #f4ff6e; }
      50% { box-shadow: 0 0 20px #f4ff6e, 0 0 40px #f4ff6e; }
      100% { box-shadow: 0 0 5px #f4ff6e; }
    }

    /* Aplica la animación al elemento deseado */
    .brillo {
      animation: glowing 2s infinite;
    }