@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@200;300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+Double+Pica:ital@0;1&display=swap');
@font-face {
    font-family: 'Heavitas';
    src: url(../fonts/Heavitas.ttf);
}

html{
    background-color: black;
    background-image: url(../images/very_darkened.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    font-family: 'Heavitas', cursive;
    font-size: 1.3rem;
    color: #fff;
    user-select: none;
}

.containerHome{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.containerHome a{
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}
.containerHome a:hover{
    transform: scale(105%)
}
.containerHome .inputAnswer{
    width: 250px;
    height: 30px;
    padding: 10px;
    text-align: center;
    font-size: 32px;
    font-family: 'Barlow Condensed', sans-serif;
    color: #fff;
    border: 0px;
    margin-top: 20px;
    margin-left: 20px;
    background-color: transparent;
    transition: 0.5s;
}
.containerHome .inputAnswer::placeholder{
    color: #dfdfdf;
}
.containerHome h4{
    text-align: center;
    font-family: 'Heavitas', cursive;
    font-weight: 400;
}
.textoHome{
    text-align: center;
    margin: 30px 0 20px 0;
}
.button{
    position: relative;
    right: 10px;
    margin: 10px 0;
}
.button .button-title{
    font-family: 'Permanent Marker';
    font-size: 1.2rem;
    position: absolute;
    left: 115px;
    top: 5px;
}
.logo{
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo img{
    width: 500px;
    height: 250px;
    transition: 0.25s;
}
.logo img:hover{
    transform: scale(103%);
}

.perk-div{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 0.3s;
}

ul{
    list-style: none;
}
.list{
    display: flex;
    flex-direction: column;
}

.list-items{
    cursor: pointer;
    width: 218px;
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #2c2c2c;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin: 1px;
    border: 1px solid black;
    border-radius: 5px;
    transition: 0.3s;
    display: flex;
    align-items: center;
}
.list-items:hover{
    background-color: #1a1a1a;
}
.survivor-portrait{
    display: none;
}
.survivor-portrait.certo{
    color: green;
}
.survivor-portrait.errado{
    color: red;
}

.survivor-title{
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
    font-size: 28px;
    margin: 0px;
}
.submitBtn{
    cursor: pointer;
    display: inline-block;
    background-color: transparent;
    color: #FFF;
    border: 0px;
    font-size: 32px;
    margin-left: 5px;
    transition: 0.3s;
}
.submitBtn:hover{
    font-size: 36px;
}

@media (max-width: 500px){
    .containerHome{
        max-width: 500px;
    }
    .logo img{
        max-width: 375px;
        max-height: 175px;
    }
    .button .button-img{
        left: -5px;
    }
    .button .button-title{
        left: 110px;
    }
}

#survLoadDiv{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

#survLoad{
    width: 100%;
    height: auto;
}

#sve{
    visibility: hidden;
}

#surv-count,
#surv-count-text {
    font-size: 17px;
    font-family: 'Friz Quadrata Std', 'Mobilo', 'Helvetica', 'Arial', sans-serif;
    display: inline-block;
    margin: 0;
    padding-bottom: 10px;
    vertical-align:middle;
  }

#surv-count{
    font-size: 16px;
    color: yellow;
}

#nextgame{
    display: none;
    flex-direction: column;
    align-items: center;
    width: 300px;
    height: 220px;
    background-color: rgb(26, 26, 26);
    margin: auto auto;
    font-family: Arial, Helvetica, sans-serif;
    border-top: 4px solid black;
    color: white;
}

.nextgame{
    border-radius: 15px;
    margin: 1px;
}

#nextgame-ts-text{
    font-size: 20px;
    margin-top: 20px;
}

#nextgame-timestamp{
    font-size: 20px;
    margin-top: 5px;
}

#timer-separator {
    width: 53%;
    margin: 0 auto;
    margin-top: 15px;
    margin-top: 1rem;
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: 2px solid #ffff;
}

#nextgame-text{
    font-size: 25px;
    font-weight: bold;
    margin-top: 7px;
}

#nextgame input {
  background: gray;
  border: 1px solid gray;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 4px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: nunito,roboto,proxima-nova,"proxima nova",sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 16px;
  min-height: 40px;
  outline: 0;
  padding: 12px 14px;
  text-align: center;
  text-rendering: geometricprecision;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  margin-top: 13px;
}

#nextgame input:hover,
#nextgame input:active {
  background-color: initial;
  background-position: 0 0;
  color: gray;
}

#nextgame input:active {
  opacity: .5;
}

#survivor-portrait{
    background-color:rgb(26, 26, 26);
    border: 2px solid black;
    border-radius: 10px;
    text-align: center;
    margin-top: 30px;
}
#survivor-ttl{
    padding-top: 15px;
    padding-bottom: 5px;
}

#survivor-img{
    width: 260px;
    height: auto;
}

.perk{
    width: 170px;
    height: auto;
    margin: 0;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

#perk{
    position: absolute;
}

.survName{
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
}

#survNameDiv{
    display: block;
    text-align: center;
    
}

#survivorText{
    margin-bottom: -13px !important;
    margin-top: 8px !important;
    color: white;
    font-size: 22px;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
}

.spacer{
    display: block;
    height: 3px;
}

table{
    border-collapse: separate;
    border-spacing: 7px;
}

table td {
    background-color: rgb(26, 26, 26);
    border: 1px solid white;
    width: 70px;
    height: 70px;
    overflow: hidden;
    position: relative;
    text-align: center;
    font-size: 15px;
    font-family: Friz Quadrata Std,Mobilo,Helvetica,Arial;
}

.animacija{
    opacity: 0;
    transform: rotateY(-90deg);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slika-killera{
    background-size: 130%;
    background-position: center;
    background-repeat: no-repeat;
}

.strelica{
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.prvi-red{
    height: 10px;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid white;
    padding-bottom: 1px;
    font-size: 15px;
    font-weight: bold;
}

#prvi-tr{
    visibility: hidden;
}

#perk-div {
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
}

@media only screen and (max-width: 500px) {
    #killers-history {
        margin-left:400px;
        
    }
    #killers-history td {
    min-width: 100px;
    height: 100px;
}
}

@media only screen and (max-width: 450px) {
    #killers-history {
        margin-left:450px;
        
    }
}

@media only screen and (max-width: 430px) {
    #killers-history {
        margin-left:480px;
        
    }
}

@media only screen and (max-width: 405px) {
    #killers-history {
        margin-left:500px;
    }
}

@media only screen and (max-width: 380px) {
    #killers-history {
        margin-left:520px;
    }
}

@media only screen and (max-width: 360px) {
    #killers-history {
        margin-left:540px;
    }
}

.slika-lista{
    width: 50px;
    height: auto;
    float: left;
}

.tekst-lista{
    padding-left: 10%;
    font-size: 22px;
}

#helper{
    width: 300px;
    height: 125px;
    background-color: rgb(26, 26, 26);
    border: 2px solid gray;
    color: white;
    border-radius: 15px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    margin-top: 40px;
}

#indicators{
    flex-direction: row;
    row-gap: 1rem;
    justify-content: space-evenly;
    display: flex;
    vertical-align: center;
    align-content: center;
    justify-self: center;
    align-items: center;
    justify-content: space-around;
    position: relative;
}

.indicator-slika{
    width: 30px;
    height: auto;
}

#indicator-title{
    font-weight: bold;
    font-size: 17px;
}

.close-helper{
    position: absolute;
    background: #ad1d1d;
    border: 2px solid #af9767;
    color: #fff;
    top: -15px;
    right: -12px;
    padding: .3rem;
    border-radius: 2px
}

.close-helper:hover {
cursor: pointer;
background: #c72929
}

.indicators-colors{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: normal;
    margin-top: 2px;
    margin-right: 10px;
}

.indicators-colors2{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: normal;
    margin-top: 2px;
    margin-right: 0px;
}

#reklama{
    position: absolute;
    top: 50%;
    left: 92%;
    transform: translate(-50%, -50%);
    max-width: 90%;
}

#reklama2{
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translate(-50%, -50%);
    max-width: 90%;
}

#reklama-dole{
    display: none;
    text-align: center;
    margin-top: 15px;
}

@media(max-width:990px){
    #reklama,#reklama2{
        display: none;
    }
    #reklama-dole{
        display: block;
    }
}