@font-face {
  font-family: 'Flavors';
  src: URL('../fonts/Flavors-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  src: URL('../fonts/Poppins-Medium.ttf') format('truetype');
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Safari */
}

*{
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}

input{
  color: #000000;
}

input::placeholder{
  color: rgba(0, 0, 0, 0.20);
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
}

input:focus{
 border: 0;
}

.homeWrapper{
  width: 100%;
  height: 100%;
  background-color: #323E56;
  /* background image */
  background-image: url('../img/bg.png');
  background-size: cover;
  background-repeat: none;
  background-origin: center center;
  /* ---------------- */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.homeWrapper__logo{
  position: absolute;
  top: 44px;
  left: 44px;
}

.homeWrapper__iphone{
  z-index: 1;
  position: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.homeWrapper__iphone > img{
  max-width: 464px; 
  max-height: 981px;
  display: none;
}

#home{
  flex-direction: column;
  background-color: #32563A;
  color: #ffffff;
  /* background image */
  background-image: url('../img/bg.png');
  background-size: cover;
  background-repeat: none;
  background-origin: center center;
  /* ---------------- */
}

.home__ball{
  position: absolute;
  top:0;
  left:0;
}

.home__ball > img{
  Height: 110px;
}

.home__logo{
  width: 100%;
  text-align: center;
  padding-top: 20px;
  max-height: 90px;
}

.home__logo > img{
  Height: 100%;
}

.home__number{
  display: flex;
  flex-direction: column;
  padding: 16px 10px 0 10px;
  justify-content: center;
}

.home__number > input{
  height: 72px;
  padding: 0 20px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  margin-top: 10px;
  clip-path: polygon(100% 100%, 100% 17%, 94% 7%, 82% 0%, 13% 0%, 4% 4%, 0% 19%, 0% 88%, 4% 93%, 16% 100%);
  border-radius: 10px;
  border: 0;
}
.home__number > label{
  font-family: 'Flavors';
  font-size: 26px;
}

.home__age{
  padding: 0 32px;
  flex-grow: 1;
}

.home__age > input{
  width: 32px;
  height: 66px;
  padding: 0 20px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  margin: 0 10px;
  clip-path: polygon(100% 100%, 100% 17%, 94% 7%, 82% 0%, 13% 0%, 4% 4%, 0% 19%, 0% 88%, 4% 93%, 16% 100%);
  border-radius: 10px;
  border: 0;
}

.home__age > span{
  font-family: 'Flavors';
  font-size: 26px;
}

.home__button{
  display: flex;
  flex-direction: column;
  padding: 0 32px;
  flex-grow: 1;
  justify-content: flex-end;
}

.home__santa{
  display: flex;
  flex-direction: column;
  max-width: 268px;
  max-height: 130px;
  min-height: 50px;
}

.home__santa > img{
  height: 100%;
  align-self: flex-end;
  transform: translate(63px, 4px);
}

.home__table{
  margin: 0 32px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  flex-grow: 1;
  background-image: url('../img/bg-green.svg');
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  max-height: 245px;
}

.home__table p{
  text-align: center;
  font-size: 14px;
}

.home__table > h3{
  font-family: 'Flavors';
  font-size: 32px;
}

.home__button > button{
  height: 72px;
  background-color: transparent;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  color: #FFF;
  font-family: 'Flavors';
  font-size: 32px;
  border: 0;
  /* clip-path: polygon(100% 100%, 100% 17%, 94% 7%, 82% 0%, 13% 0%, 4% 4%, 0% 19%, 0% 88%, 4% 93%, 16% 100%); */
  background-image: url('../img/btn-red.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.home__footer{
  padding: 20px 32px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  text-align: center;
}
.home__footer > p > a{
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

/* Modal z wynikami */
#score{
  position: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: rgba(48, 48, 48, 0.80);
  color: #ffffff;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

.score__head{
  padding-top: 48px;
  width: 100%;
  flex-grow: 1;
}

.score__head > h2{
  font-family: 'Flavors';
  font-size: 32px;
  text-align: center;
}
.score__head > h1{
  font-family: 'Flavors';
  font-size: 64px;
  text-align: center;
}

.score__body{
  width: calc(100% - 64px);
  background-color: transparent;
  margin: 0 32px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 12px;

  flex-grow: 1;
  background-image: url('../img/bg-blue.svg');
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  max-height: 198px;
  max-width: 279px;
}

.score__body > p{
  text-align: center;
  font-size: 14px;
}

.score__body > h3{
  font-family: 'Flavors';
  font-size: 32px;
  text-align: center;
}

.score__body .game__identifier{
  font-size: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.yourscore{
  color: #ffbc00;
}

.score__number{
  display: flex;
  flex-direction: column;
  padding: 40px 0 48px 0;
  width: calc(100% - 64px);
}

.score__number > input{
  height: 72px;
  padding: 0 20px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  margin-top: 10px;
  clip-path: polygon(100% 100%, 100% 17%, 94% 7%, 82% 0%, 13% 0%, 4% 4%, 0% 19%, 0% 88%, 4% 93%, 16% 100%);
  border-radius: 10px;
  border: 0;
}
.score__number > label{
  font-family: 'Flavors';
  font-size: 26px;
}

.score__footer{
  width: calc(100% - 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
}

.score__footer > button{
  height: 72px;
  color: #FFF;
  font-family: 'Flavors';
  font-size: 24px;
  border: 0;
  background-image: url('../img/btn-blue.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.score__footer > .blue{
  background-color: transparent;
}

.score__footer > .empty{
  background-color: transparent;
  font-size: 24px;
}
@media (max-width: 200px) {
  .score__head > h1{
    font-size: 44px;
  }
}
@media (max-width: 266px) {
  .score__head > h1{
    font-size: 54px;
  }
}
@media (max-width: 350px) {
  .home__logo{
    max-height: 75px;
  }
  .home__ball > img{
    Height: 80px;
  }
}
@media (max-width: 350px) {
  .home__santa > img{
    transform: translate(-16px, 4px);
  }
  .score__table p{
    text-align: center;
    font-size: 12px;
  }
  .home__table p{
    text-align: center;
    font-size: 12px;
  }
  .home__footer{
    font-size: 10px;
  }
}
@media (max-height: 590px) {
  .home__santa > img{
    display: none;
  }
}