*{
    transition: 0.3s;
}

body{
    background: #3B4353;
}

#main-logo{
  width: 10%;
  position: absolute;
  top: 2%;
  left: 5%;
  user-select: none;
}

.toast-holder{
  position: fixed;
    left: 10px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    max-width: 30%;
}

.toast{
  font-weight: bold;
    padding: 8px 16px;
    font-size: 16px;
    color: black;
    background: white;
    max-width: 100%;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: #ff000000 0px 0px 0px 3px;
}

.loading{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    z-index: 10;
}

.spinner-box {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
  }

.configure-border-1 {
    width: 115px;
    height: 115px;
    padding: 3px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fb5b53;
    animation: configure-clockwise 3s ease-in-out 0s infinite alternate;
  }
  
  .configure-border-2 {
    width: 115px;
    height: 115px;
    padding: 3px;
    left: -115px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(63,249,220);
    transform: rotate(45deg);
    animation: configure-xclockwise 3s ease-in-out 0s infinite alternate;
  }
  
  @keyframes configure-clockwise {
    0% {
      transform: rotate(0);
    }
    25% {
      transform: rotate(90deg);
    }
    50% {
      transform: rotate(180deg);
    }
    75% {
      transform: rotate(270deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes configure-xclockwise {
    0% {
      transform: rotate(45deg);
    }
    25% {
      transform: rotate(-45deg);
    }
    50% {
      transform: rotate(-135deg);
    }
    75% {
      transform: rotate(-225deg);
    }
    100% {
      transform: rotate(-315deg);
    }
  }

  .configure-core {
    width: 100%;
    height: 100%;
    background-color: #1d2630;
  }

.login{
  background-image: linear-gradient(#000000, #111111);
    background-repeat: repeat;
    position: absolute;
    overflow-x: hidden;
    overflow-y: auto;
    transition: 0.3s;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

#login-card{
  position: relative;
    top: 15vh;
    padding: 25px;
    left: 35vw;
    display: flex;
    background: white;
    flex-direction: column;
    width: 25vw;
    transition: 0.3s;
    text-align: center;
    border-radius: 10px;
    align-items: center;
}


.loader-bar{
  display: none;
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 98%;
  height: 4px;
  background: rgba(0, 130,255, 0.31);
  overflow: hidden;
  border-radius: 20px;
}

.loader-bar:before {
  content:"";
  position:absolute;
  top:0px;
  left:0px;
  bottom:0px;
  background:#2196f3;
  animation:box-1 2100ms cubic-bezier(0.65,0.81,0.73,0.4) infinite;
}
.loader-bar:after {
  content:"";
  position:absolute;
  top:0px;
  left:0px;
  bottom:0px;
  background:#2196f3;
  animation:box-2 2100ms cubic-bezier(0.16,0.84,0.44,1) infinite;
  animation-delay:1150ms;
}
@keyframes box-1 {
  0% {
    left:-35%;
    right:100%;
  }
  60%,100% {
    left:100%;
    right:-90%;
  }
}
@keyframes box-2 {
  0% {
    left:-200%;
    right:100%;
  }
  60%,100% {
    left:107%;
    right:-8%;
  }
}

.login input{
  display: block;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  padding: 15px;
  transition: 0.3s;
  margin-left: 20px;
  margin-right: 20px;
  outline: none;
  width: 20vw;
  margin-bottom: 20px;
}


.login input:focus{
  border: 1px solid #555;
  transition: 0.3s;
  -webkit-transition:0.3s;
  -moz-transition: 0.3s;
  }

button{
  border: 0px;
  border-radius: 15px;
  background: #3B4353;
  color: #fff;
  border: 1px solid transparent;
  padding: 15px;
  display: block;
  margin-left: 30px;
  margin-right: 30px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  }

  button:hover{
    cursor: pointer;
    transform: scale(1.1);
    border-color: #55555541;
  }

  button:active{
    transform: scale(0.8);
    border-color: #555;
  }

.login button{
  border: 0px;
  border-radius: 15px;
  background: #5d8ffc;
  color: #fff;
  border: 1px solid #5d8ffc;
  padding: 15px;
  display: block;
  width: 20vw;
  margin-left: 30px;
  margin-right: 30px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
}

.login button:hover{
  background: #fff;
  color: #5d8ffc;
  border: 1px solid #5d8ffc;
  cursor:pointer;
  transform: scale(1.15);
    transition: 0.3s;
  }
  
  .login button:active{
  transform: scale(0.98);
  box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);	
    transition: 0.3s;
  }

.side-nav-bar{
  position: fixed;
  top: 20vh;
  left: 0vw;
  background:  #F1F3F4;
  padding: 10px 5px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  height: 25vh;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-around;
  align-items: center;
}

.side-nav-bar div{
  border-radius: 50%;
  padding: 10px;
}

.side-nav-bar div:hover{
  background: #00000021;
}

.main{
    width:80vw;
    height:80vh;
    border-radius: 12px;
    position: relative;
    top: 10vh;
    left: 10vw;
}

.container{
    position: absolute;
    top: 0;
    left: 0;
    height: -webkit-fill-available;
    width: 100%;
    overflow: hidden;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    border-radius: 12px;
    background: #F1F3F4;
}

.slide{
    background: #9B9CA4;
    position: relative;
    left:-45px;
    margin-bottom: 1vh;
    width: fit-content;
    user-select: none;
    border-radius: 8px;
    top: 5vh;
    padding: 8px 16px;
    z-index: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    display: none;
}

.slide img{
  margin-right: 5px;
}

.slide:hover{
    cursor: default;
    text-decoration: solid;
}


.resource-window{
  padding: 10px 20px;
    color: white;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tab-section{
  display: flex;
  flex-direction: row;
  overflow: auto;
  width: 100%;
}

.tab{
  background: #9B9CA4;
    color: white;
    padding: 10px 20px;
    border-radius: 16px;
    margin: 0px 4px;
    border: 1px solid transparent;
}

.tab:hover{
  background: white;
  color: #9B9CA4;
  cursor: default;
  box-shadow: 0px;
}

.grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  width: -webkit-fill-available;
  height: -webkit-fill-available;
  grid-gap: 10px;
  padding: 16px 32px;
  overflow: auto;
}

@media only screen and (max-width: 600px) {
  .grid{
    grid-template-columns: repeat(1, minmax(0,1fr));
  }
}

@media only screen and (min-width: 600px) and (max-width: 1100px) {
  .grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

.grid a{
  background: #9CA4AA;
  border-radius: 8px;
  display: flex;
  text-transform: uppercase;
  flex-direction: row;
  text-decoration: none;
  color: white;
  justify-content: center;
  padding: 5px 10px;
  text-align: center;
  align-items: center;
  font-size: large;
  user-select: none;
}

.grid a:hover{
  transform: scale(1.03);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.resource-container div{
  background: #9CA4AA;
  border-radius: 8px;
  display: flex;
  text-transform: uppercase;
  flex-direction: row;
  justify-content: center;
  text-overflow: ellipsis;
  align-items: center;
  font-size: larger;
  user-select: none;
}

.resource-container div:hover{
  transform: scale(1.03);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.data-container{
  display: flex;
    flex-direction: column;
    top: 0%;
    position: absolute;
    left: 0%;
    padding: 10px 20px;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    background: whitesmoke;
}

.data-container img{
  position: absolute;
    right: 8px;
    top: 5px;
}

#data-tabs{
  display: flex;
  flex-direction: row;
}

#data-window{
  display: flex;
}

.noEvents{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: -webkit-fill-available;
}

.event-window{
  width: -webkit-fill-available;
  height: -webkit-fill-available;
}

.event-holder{
  display: flex;
  flex-direction: column;
  height: fit-content;
  background: white;
  border-radius: 12px;
  gap: 0.5rem;
  align-items: center;
  width: min-content;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  overflow: hidden;
}

.event-holder img{
  width: -webkit-fill-available;
    height: 200px;
    object-fit: cover;
    object-fit: contain;
    aspect-ratio: 16/9;
}

.event-holder .info{
  display: flex;
  flex-direction: row;
  box-shadow: 0px -13px 35px -20px #000000b8;
  justify-content: space-between;
  width: 100%;
  align-items: baseline;
  align-self: flex-start;
}

.event-holder .info #title{
  font-size: 1.25rem;
  font-weight: bold;
  max-width: 60%;
  text-overflow: ellipsis;
  margin-left: 5px;
}

.event-holder .info #time{
  max-width: 40%;   
   margin-right: 5px;
}

.event-holder .desc{
  color: #777;
    text-overflow: ellipsis;
    display: -webkit-box;
    padding: 4px 8px;
    width: -webkit-fill-available;
    overflow: hidden;
    align-self: flex-start;
    word-break: break-word;
}


#dtu-naksha{
  position: fixed;
  border: 0px;
  right: 1px;
  top: 1%;
  border-radius: 15px;
  background: #5d8ffc;
  color: #fff;
  border: 1px solid #5d8ffc;
  padding: 15px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: block;
  width: fit-content;
  margin-left: 30px;
  margin-right: 30px;
  transition: 0.3s;
  text-decoration: none;
  -webkit-transition: 0.3s;
}

.chat-window{
  width: -webkit-fill-available;
  height: -webkit-fill-available;
}

.all-chat-container{
  width: -webkit-fill-available;
  height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
}

.all-message-window{
  width: -webkit-fill-available;
  display: flex;
  height: -webkit-fill-available;
  overflow: auto;
  flex-direction: column;
}

.all-message-input{
  width: 100%;
  display: flex;
  padding: 3px 6px;
  flex-direction: row;
  justify-content: center;
  background: white;
  align-items: center;
  border-radius: 8px;
}


[contentEditable=true]:empty:not(:focus):before{
  content:attr(data-text);
  color:gray;
}



.all-message-input .input{
  width: -webkit-fill-available;
  margin: 0 5%;
  border: 0;
  outline: none;
  text-size-adjust: auto;
}

a.all-message-input .input:focus{
  outline: none;
}

.all-message-input img{
  border-radius: 50%;
  display: block;
  width: 30px;
  height: 30px;
  padding: 5px;
  background: #3B4353;
}

.message-holder{
  display: flex;
  width: fit-content;
  margin: 5px 10px;
  padding: 5px 10px;
  align-items: center;
}

.message-info{
  margin-left: 10px;
}

.message-info{
  border: 1px solid transparent;
  border-radius: 12px;
  background: white;
  color: black;
  padding: 5px 10px;
}

.other{
  background: transparent;
}



.self .message-info{
  margin-left: 0px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  background: #3B4353;
  color: white;
}

.self{
  flex-direction: row-reverse;
  align-self: flex-end;
}

.self .message-name{
  display: none;
}

.self img{
  display: none;
}

.message-holder img{
  width: 30px;
  border: 1px solid black;
  height: 30px;
  border-radius: 50%;
}

.message-name{
  font-family: cursive;
}

#delete-dialog{
  position: absolute;
  top: 32vh;
  display: none;
  background: #3B4353;
  padding: 10px 20px;
  border-radius: 12px;
  left: 35vw;
}