body, html {
	background: #efefef;
	color: #333;
	overflow-x: hidden;
	position: relative;
}

@font-face {
	font-family: 'Satoshi';
	src: url('./data/Satoshi-Medium.otf');
}

* {
	box-sizing: border-box;
	font-family: 'Satoshi', sans-serif;
}
.title {
	width: 250px;
	height: 40px;
	overflow: hidden;
	margin: auto;
}

.title-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.externalLinksContainer {
	display: flex;
    position: absolute;
    right: 1%;
    top: 1%;
    flex-direction: column;
    align-items: flex-end;
}

.externalLink:after {
	content: "\2197";
}

h1 {
	text-align: center;
}

.login-form {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  background: white;
  padding: 25px;
  width: 70%;
  max-width: 500px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  border-radius: 5px;
  min-width: 350px;
  text-align: center;
  margin: 50px 0;
}

.password-input {
  width: 50%;
  margin-top: 2%;
}

.login-button {
  width: 50%;
  margin-top: 2%;
}

.logout {
  position: absolute;
  left: 1%;
  top: 1%;
}

#newUserForm {
	display: none;
}

button {
	cursor: pointer;
}

#meetingsListTitle {
	display: flex;
    position: relative;
    height: 40px;
    margin: 0 2% 0 2%;
    justify-content: space-between;
    padding: 4px;
}

#meetingsList {
    margin: 0 2% 0 2%;
    overflow-y: auto;
    scroll-behavior: smooth;
    border: solid 1px;
    border-color: rgb(0 0 0 / 21%);
    height: 65cqh;
}

#newMeetingButton {
    border: none;
    border-radius: 5px;
    position: relative;
    background: #428BFF;
    color: white;
    padding: 0 10px 0 10px;
}

.meetingListElement {
    display: flex;
    height: 5cqb;
    text-align: center;
    justify-content: space-between;
    margin: 4px;
    background: #ffffff;
    align-items: center;
    border-radius: 5px;
    font-size: min(2cqw, 20px);
    padding: 0 8px 0 8px;
}

.meetingListElement div {
	flex: 1;
}

.meetingListElementButtonContainer {
	height: 100%;
    width: 30%;
    min-width: 201px;
    align-content: center;
}

.editButton {
	border: none;
    border-radius: 5px;
    background: #428BFF;
    color: white;
    height: 70%;
    width: 30%;
}

.removeMeetingButton {
	border: none;
    border-radius: 5px;
    background: #dd1718;
    color: white;
	position: relative;
    width: 30px;
    height: 30px;
    padding: 5px;
    top: 5px;
}

.removeMeetingButton img {
    width: 100%;
    height: 100%;
}

.startMeetingButton {
	width: 42% !important;
}

#editPanel {
	display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.movablePanel {
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    bottom: 0;
    box-shadow: 0px 0px 15px black;
    background: #efefef;
    padding: 20px;
    -webkit-transform-origin: 100% 50%;
    -webkit-transform: translateX(102%);
    -webkit-transition: all 0.5s ease-in-out;
    transform: translateX(102%);
    transform-origin: 100% 50%;
    transition: all 0.5s ease-in-out;
}

.movablePanel.show {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
}

#editPanelTitle {
    font-size: 5cqw;
}

.editPanelForm {
    border: solid 1px;
    border-color: rgb(0 0 0 / 21%);
    height: 10%;
    width: 65%;
    min-width: 485px;
    align-content: center;
    text-align: center;
    padding: 10px;
}

#editPanelParticipants {
	height: 60%;
    align-content: start;
}

.editPanelParticipantInput {
	margin: 2px;
}

.editPanelParticipantInput input {
	width: 45%;
    max-width: 250px;
}

.removeParticipantButton {
	border: none;
    background: #dd1718;
    border-radius: 5px;
    color: white;
}

#addParticipantButton {
	border: none;
    border-radius: 5px;
    background: #428BFF;
    color: white;
    height: 25px;
    width: calc(26px + 90%);
    max-width: 532px;
    margin: 2px;
}

#saveCancelButtons {
	position: relative;
    bottom: 0;
    justify-self: center;
    height: 40px;
}

#cancelButton {
	border: solid 1px;
    border-color: #00000052;
    border-radius: 5px;
    background: #ffffff;
    color: black;
    height: 100%;
    width: 150px;
}

#saveButton {
    border: none;
    border-radius: 5px;
    background: #428BFF;
    color: white;
    height: 100%;
    width: 150px;
}

#wrongDataMessage {
    position: absolute;
    bottom: 0;
    color: red;
}

#playPanel {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#qrCode {
	display: flex;
    flex-direction: column;
    align-items: center;
    height: 50%;
}

.playSection {
    height: 95%;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

#playLobby {
	height: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#playParticipantList {
    column-count: 2;
    column-gap: 7%;
    width: 100%;
    margin-bottom: 10px;
    height: 100%;
    align-content: center;
}

.playParticipantListElem {
    text-align: left;
    margin-bottom: 10px;
}

.waiting::before {
    content: url(data/waiting.svg);
    padding: 0 10px;
}

.ready {
	color: green;
}

.ready::before {
    content: "";
    background-image: url(data/ready.svg);
    background-repeat: no-repeat;
    background-size: 35px 20px;
    padding: 0px 18px;
}

.inPlayButton {
	border: none;
    border-radius: 5px;
    background: #428BFF;
    color: white;
    height: 30px;
    width: 95px;
}

.sectionTitle {
	height: 30%;
	font-size: 30px;
    font-weight: bold;
}

.sectionTitle img{
	height: 100%;
}

.playCountdown {
    font-size: 70px;
}

.menuChoiceButton {
    border: none;
    border-radius: 5px;
    background: #facc0d;
    color: #1d2f6f;
    height: 30px;
    width: 225px;
    margin: 10px;
}

#playMenuChoice, #playCasStart, #playSouffleStart {
    display: flex;
    flex-direction: column;
}

#playMenuQuestionQuestion {
    margin-bottom: 4%;
    font-size: 3cqb;
}

.playQuestionButton {
    width: 5cqh;
    height: 5cqh;
    border-radius: 7px;
    border-width: 2px;
    border-color: #00000047;
}

.playQuestionButton img {
    width: 100%;
    height: 100%;
}

.playQuestionButton.selected {
    border-color: #428BFF;
    background-color: #428bff38;
}

.qOk {
    border: none;
    border-radius: 5px;
    background: #428BFF;
    color: white;
    height: 30px;
    width: 40px;
    margin-top: 1%;
}

.qOk:disabled {
    background: #aab4c3;
}