:root{
 --main-color:#75947f;
 --second-color:#97b19e;
}
@font-face {
  font-family: "RnsMiles";
  src: local("RnsMiles"),
    url("/theme/fonts/RNS-Miles/RNSMiles-light.woff2") format("woff"),
    url("/theme/fonts/RNS-Miles/RNSMiles-medium.woff2") format("woff"),
    url("/theme/fonts/RNS-Miles/RNSMiles-Regular.woff2") format("woff"),
    url("/theme/fonts/RNS-Miles/RNSMiles-bold.woff2") format("woff");
}

body {
  font-family: "RnsMiles";
  font-size: 1.2rem;
}


 button#install{
  margin-top: 150px;
 height: fit-content;
 padding: 10px 20px;
 text-transform: uppercase;
    position: absolute;
    top: 120px;
    left: 50%;
    z-index: 10;
    transform: translateX(-50%);
}
button#install::before{
  content: 'Installer l\'application';
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0%;
  transform: translateX(-50%);
  left: 50%;
  border: 1px solid #fff;
  border-radius: 25px;
  padding:0px 15px;
}
button#install::after{
  content:'';
  position: absolute;
    top: -50px;
    left: calc( -50% - 5px);
   background-color:var(--main-color);
    width: calc(100vw + 1px);
    height: calc(100vh - 210px);
    z-index: -1;
}
main {
  /* background: rgb(229, 231, 235); */
  /* height: calc(100vh - 28px); */
  height: calc(100% - 36px);
  /* height: 100vh ; */
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  overflow-y: scroll;
  padding-block: 0px !important;

-webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scroll-behavior: smooth;

}

main.top{
  top:28px;
}

 .logo {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.home .logotitle{
  color: white;
}
.logotitle{
  text-align: center;
  color: black;
  font-size: 1.3rem;
  margin-top: 8px;
  margin-bottom:20px;
}

 .logo img {
  max-width: 155px;
}
.home main{
    background: url(/theme/imgs/palm.svg) no-repeat bottom right var(--main-color);
    background-size: contain;
    height: 100vh;
}
.home .logo{
  filter:brightness(0) invert(1);
}

header{
   position: absolute;
    right: 10px;
    top: 0;
    z-index: 10;
    text-align: right;

}
header .langs {
  width: 100%;
}

header .langs span {
  display: block;
  margin-bottom: 30px;
}

header .langs a {
  display: inline-block;
    color: rgb(94, 94, 94);
    padding: 2px 5px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: .8rem;
}
header .langs a.active{
  background-color: white;
  color:var(--main-color);
}
.back{
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 100;
}
.back img{
  width: 15px;
}
.separator{
  position: relative;
  width: 100%;
  padding: 30px 0;
}
.separator:before{
  content: '';
  width: 80%;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: white;
  transform: translateX(-50%);
}

main .code{
  text-align: center;
  color: white;
  margin-bottom: 30px;
}
main .code label{
  display: block;
  padding-bottom: 10px;
}

main .code input{
  background-color: transparent;
  border: 1px solid white;
  color: white;
  font-size: 1.2rem;
  padding: 8px;
  width: 150px;
  outline: none;
}


main .info{
    color: white;
    text-align: center;
    padding: 0 30px;
    font-size: 1.2rem;
    margin-bottom: 30px;
}
main .start {
  text-align: center;
}

main .start button {
  display: inline-block;
  min-width: 150px;
  background-color: var(--main-color);
  border: solid 1px #fff;
  border-radius: 16px;
  color: #fff;
 padding: 5px 25px;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'RnsMiles';
}
main .map {
  background-color: #fff;
  padding: 0px;
  position: relative;
}

main .map img {
  width: 100%;
  object-fit: cover;
}
main .map button.fullScreen {
  background: #ffffff59;
  border: 0;
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
  box-sizing: initial;
  border-radius: 4px;
}

main .map button.fullScreen img {
  width: 25px;
  padding: 2px 0px;
  filter: invert(1);
}

main .map button.forintime,
main .map button.backintime{
  background: #ffffff59;
  border: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%);
  z-index: 1000;
  box-sizing: initial;
  border-radius: 4px;
}

main .map button.backintime{
  left: calc( 50% - 25px);
}

main .map button.forintime{
  left: calc( 50% + 25px);
}

main .map button.forintime img ,
main .map button.backintime img {
  width: 25px;
  padding: 2px 0;
  filter: invert(1);
}
main .map button.forintime img {
  transform: scaleX(-1);
}



main .map  .overlay{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 10000;
        background-color: rgba(0, 0, 0, 0.459);
    }
.container-fluid {
  padding-inline: 20px;
}
main .body {
  display: grid;
  grid-template-columns: auto auto;
  padding: 0 20px;
}
main .body .item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  /* width: 200px; */
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  position: relative;
    padding: 10px;
    text-align: center;
}

main .body .item .headphone{
    display: block;
    position: absolute;
    bottom: 20px;
}

main .body .item .headphone img{
  width: 25px;
}
main .open {
  margin-top: 40px;
  width: 100%;
  text-align: center;
}
main .open a {
  display: inline-block;
  background-color: var(--main-color);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 16px;
  font-size: 1rem;
}

.bg-main{
  background-color: var(--main-color);
}
.bg-second{
  background-color: var(--second-color);
}
.copyright{
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-size: .9rem;
}

.tracks {
  margin: 10px 0;
}
.track {
  width: 100%;
  padding: 10px 0;
  border-bottom: solid 1px #ddd;
  display: flex;
  justify-content: space-between;
  align-items:center;
}
.track .num {
  align-items: center;
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 10px;
  width: 30px;
}
.track .title {
  align-items: left;
  display: inline-flex;
  flex-direction: column;
  font-weight: 600;
  margin-right: 10px;
  width: 100%;
}

.track .title sub{
  color:#777;
}
.track .player {
  align-items: center;
  display: inline-flex;
  /* text-align: right; */
  width: 50px;
  /* font-size: 1.6rem; */
}
.track .player button {
  /* background-color: #000; */
  border: none;
  background: transparent;
  padding: 5px 10px;
  /* color: white; */
  /* font-weight: bold; */
}

.track .player button.active{
   filter: brightness(0) saturate(100%) invert(26%) sepia(11%) saturate(3473%) hue-rotate(65deg) brightness(97%) contrast(95%);
}

.track .player button img {
  width: 15px;
}

.track .player .time {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
}

.track .player .time b {
  font-size: .8rem;
  font-weight: 100;
}
.grid {
  display: grid;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  background-color: #fff;
  padding-block: 10px !important;
}
footer nav {
  height: 40px;
  grid-template-columns: 1fr 1fr !important;
  align-items: center;
  gap: 5px;
  padding-inline: 20px;
}
footer nav div {
  text-align: center;
  /* border: solid 1px #ccc; */
  padding: 0 3px;
}

footer nav > div img {
  width: 20px;
}

footer nav > div a {
  text-decoration: none;
  font-size: 2rem;
}

