@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');
@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%);
}
.panelSurv{
    display: flex;
    align-items: center;
    width: 170px;
    height: 170px;
    background-color: rgb(26, 26, 26);
    border: 2px solid black;
    border-radius: 10px;
}
.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;
}
.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: 20px;
}
#survivor-img,
#survivor-ttl{
    padding: 15px;
}

#survivor-img{
    width: 230px;
    height: auto;
    border-radius: 22px;
    padding-top: 17px;
}

.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;
}

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

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

#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;
    }
}