@import url("https://fonts.googleapis.com/css2?family=Questrial&display=swap");

*,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  align-items: center;
  background: radial-gradient(
    circle,
    rgba(120, 120, 120, 1) 0%,
    rgba(5, 5, 5, 1) 100%
  );
  display: flex;
  flex-direction: column;
  font-family: "Questrial", sans-serif;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
}

h1 {
  color: white;
  font-size: 2em;
}

.screen {
  cursor: pointer;
  width: 60%;
  background-color: #000000 !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.control {
  display: flex;
  width: 60%;
}

.controls {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  justify-content: end;
  padding: 0.5em;
  width: 100%;
}

.controls button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

#fullscreen{
  color: white;
  margin-right: 2.25px;
}

.controls #timestamp {
  color: white;
  margin-left: 10px;
  width: 6em;
}

.controls select {
  background: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 3px;
  font-size: 14px;
  margin-left: 10px;
}

.controls select option{
  color: black;
}

#volume {
  width: 30%;
}

.custom{
  margin-top: 0.25em;
  margin-bottom: 0.5em;
  width: 60%;
}

.custom label, .mess {
  color:white;
  padding-right: 4px;
}

.hidden{
  visibility: hidden;
}

@media (max-width: 800px) {
  body {
    justify-content: flex-start;
  }

  h1 {
    text-align: center;
    font-size: 1.5em;
  }

  .control {
    display: flex;
    width: 90%;
    flex-direction: column;
  }

  .screen {
    width: 90%;
  }

  .controls {
    width: 100%;
  }

  #volume {
    width: 15%;
  }
}
