/*
Copyright 2021 New Vector Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.inRoom {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  position: fixed;
  height: 100%;
  width: 100%;
}

.centerMessage {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.centerMessage p {
  display: block;
  margin-bottom: 0;
}

.footer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(50px + 2 * 8px);
}

.footer > * {
  margin-right: 30px;
}

.footer > :last-child {
  margin-right: 0px;
}

.maximised .footer {
  position: absolute;
  width: 100%;
  bottom: 0;
}

.avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (min-height: 300px) {
  .footer {
    height: calc(50px + 2 * 24px);
  }
}

@media (min-width: 800px) {
  .footer {
    height: calc(50px + 2 * 32px);
  }
}
