/*
Copyright 2022 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.
*/

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

@media (hover: none) {
  .pttCallView {
    user-select: none;
  }
}

.center {
  width: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.participants {
  display: flex;
  flex-direction: column;
  margin: 20px;
  text-align: center;
}

.participants > p {
  color: var(--secondary-content);
  margin-bottom: 8px;
}

.facepile {
  align-self: center;
}

.talkingInfo {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  height: 88px;
}

.speakerIcon {
  margin-right: 8px;
}

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

.actionTip {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: var(--font-size-subtitle);
}

.footer {
  position: relative;
  display: flex;
  justify-content: center;
  height: 64px;
  margin-bottom: 20px;
}

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

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

@media (min-width: 800px) {
  .participants {
    margin-bottom: 67px;
  }

  .talkingInfo {
    margin-bottom: 38px;
  }

  .center {
    margin-top: 48px;
  }

  .actionTip {
    margin-top: 42px;
    margin-bottom: 45px;
  }

  .pttButtonContainer {
    flex: 0;
    margin-bottom: 0;
    justify-content: flex-start;
  }

  .footer {
    flex: auto;
    order: 4;
  }
}
