/*Typografia*/

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  src: url('../../lib/fonts/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].woff2') format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 2.5rem;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

.icon-small {
   font-size: 0.8rem; 
}

@font-face {
  font-family: QRfont;
  src: url('../../lib/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: QRheader;
  src: url('../../lib/fonts/GemunuLibre-VariableFont_wght.ttf') format('truetype');
}

h1, h2, h3, h4, h5, h6 {
  font-family: QRheader;
}

/* Licznik czasu */

#counter {
  height: 15vh
}

div.status {
  animation:blinkingText 1.5s infinite;
}

/* Infromacja o GPS */

div.position span#latitude, div.position span#longitude {
  font-size: xx-small;
  color: #74a333;
}

/*Ogólne*/

html {
  scroll-behavior: smooth;
}

body {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e7e4e7+0,fffefe+100,fffefe+100 */
  background: #e7e4e7; /* Old browsers */
  background: -moz-linear-gradient(top, #e7e4e7 0%, #fffefe 100%, #fffefe 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #e7e4e7 0%,#fffefe 100%,#fffefe 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #e7e4e7 0%,#fffefe 100%,#fffefe 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e7e4e7', endColorstr='#fffefe',GradientType=0 ); /* IE6-9 */
  font-family: 'QRfont', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/*Layout*/

.container-fluid {
  padding: 0;
  margin: 0;
}

section {
  display: flex;
  flex-wrap: wrap;
  /*height: 100vh;*/
}

section#start {
  background-repeat: no-repeat;
  background-size: cover;
  background: -moz-linear-gradient(rgba(110,156,64,1) 0%, rgba(62,106,63,1) 100%);
  background: -webkit-linear-gradient(rgba(110,156,64,1) 0%, rgba(62,106,63,1) 100%);
  background: linear-gradient(rgba(110,156,64,1) 0%, rgba(62,106,63,1) 80%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6e9c40",endColorstr="#3e6a3f",GradientType=1);
}

section.dev {
  display: block;
}

  /*Nagłówek z logo i nazwą */

  .header {
    margin-bottom: 1rem;
  }

 .header-element {
    display: flex;
    margin: 0;
    padding: 0;
 }

 .header-element-left {
    max-width: 40%;
 }

 h2.hdr {
    width: 100%;
    padding: 0;
    margin: 0;
 }

 .header-element-left h2.hdr{
    text-align: right;
 }

 .header-element-center {
    max-width: 20%;
 }

 .header-element-right {
    max-width: 40%;
 }

 .header-element-right h2.hdr{
    text-align: left;
 }

/*
Primary
rgb(68,105,61);
rgb(163,178,164);

Secondary
rgb(198,146,20);
rgb(110,156,64);

*/

section#helper1 {
  background-color: #f7f7f7;
}

section#helper2 {
  background-color: #ffffff;
}

section#helper3 {
  background-color: #f7f7f7;
}

div.section-content {
  width: 100%;
  overflow: hidden;
  padding: 6%;
  /*background-color: rgba(255,255,255,0.4);*/
}

footer {
  background-color: #3d693e;
}

/*Inne*/

table.team-rank {
  background-color: rgb(255,255,255);
  border: rgb(68,105,61);
  border-radius: 0.375rem;
}

.team-rank .team-rank-name {
  text-align: left;
  word-wrap: break-word;
  max-width: 55px;
}

.team-rank-score {
  max-width: 25px;
}

img.logo {
  width: 48px;
  margin-top: 0;
}

option.placeholder {
  font-style: italic;
}

.table>:not(caption)>*>* {
  padding: .3rem .3rem;
  line-height:normal;
}

@media (max-width: 991px) {
.table-responsive {
  width: 100% !important;}
}

/* Interfejs AR*/

.ar-info {
  width: 80vw;
  background-color: rgb(13,202,240);
  margin: 0 auto;
  margin-top: 2vw;
  padding: 3%;
  border-radius: 8px;
  border: 1px solid black;
}

#scanning-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: transparent;
  z-index: 2;
}

@media (min-aspect-ratio: 1/1) {

  #scanning-overlay .inner {
    width: 50vh;
    height: 50vh;
  }
}

@media (max-aspect-ratio: 1/1) {
  #scanning-overlay .inner {
    width: 80vw;
    height: 80vw;
  }
}

#scanning-overlay .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    linear-gradient(to right, white 10px, transparent 10px) 0 0,
    linear-gradient(to right, white 10px, transparent 10px) 0 100%,
    linear-gradient(to left, white 10px, transparent 10px) 100% 0,
    linear-gradient(to left, white 10px, transparent 10px) 100% 100%,
    linear-gradient(to bottom, white 10px, transparent 10px) 0 0,
    linear-gradient(to bottom, white 10px, transparent 10px) 100% 0,
    linear-gradient(to top, white 10px, transparent 10px) 0 100%,
    linear-gradient(to top, white 10px, transparent 10px) 100% 100%;
  background-repeat: no-repeat;
  background-size: 40px 40px;
}

#scanning-overlay.hidden {
  display: none
}

#scanning-overlay img {
  opacity: 0.6;
  width: 90%;
  align-self: center;
}

/* Interfejs AR - Koniec*/