@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: Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
    color: #fff;
    user-select: none;
}

.logo{
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo img{
    width: 500px;
    height: 250px;
    transition: 0.25s;
    padding-bottom: 50px;
}
.logo img:hover{
    transform: scale(103%);
}

@media (max-width: 500px){
    .logo img{
        max-width: 375px;
        max-height: 175px;
    }
}

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

#gw{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(130, 130, 131, 0.3);
    margin: 0 37%;
    border-radius: 8px;
    padding-bottom: 20px;
}

p{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: large;
}

#tt {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 4px;                           
  border-radius: 8px;
  margin: 15px 0px;
  cursor: pointer;
}

#tt_logo {
  width: 40px;
  height: auto;
  margin-right: 4px;
  margin-top: 5px;
}

#tt_user {
  color: white;
  font-weight: bold;
  cursor: pointer;
}

#email,#tt_username{
    border: solid #838383 2px;
    width: 250px;
    height: 25px;
    background-color: initial;
    background-position: 0 0;
    border-radius: 8px;
    color: gray;
    text-align: center;
    font-size: 16px;
    transition: 0.5s;
}

#email:hover,#tt_username:hover{
 border: solid #5e5e5e 2px;
 width: 270px;
 height: 27px;
 font-size: 17px;
}

#tt_username{
    margin-top: 6px;
}

#enterBTN{
    border: solid #838383 2px;
    font-size: large;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background-color: initial;
    color: rgb(175, 175, 175);
    transition: 0.5s;
    margin-top: 10px;
    margin-left: 2px;
}

#enterBTN:hover{
    border: solid #5e5e5e 2px;
    background-color: #5e5e5e;
    padding: 15px;
    font-size: 19px;
    cursor: pointer;
}

#enterBTN:active{
    background-color: #5e5e5e;
}

img{
    width: 300px;
    height: auto;
    border-radius: 8px;
    padding-bottom: 6px;
}

label{
    font-size: 17px;
}

#ended{
    text-align: center;
    font-weight: bold;
    display: none;
    padding-top: 150px;
}

#message1, #message2 {
  margin-top: 10px;
  padding: 10px;
  color: white;
  background-color: #28a745; /* success green */
  border-radius: 5px;
  display: none;
}
#message2 {
  background-color: #dc3545; /* error red */
}

#count{
    font-weight: bold;
}

@media(max-width:1255px){
    #gw{
        margin: 0 28%;
    }
}

@media(max-width:990px){
    #reklama,#reklama2{
        display: none;
    }
    #reklama-dole{
        display: block;
    }
    #message1,#message2{
        font-size: 15px;
        padding: 10px;
        margin: 15px 10%;
    }
}

@media(max-width:820px){
    #gw{
        margin: 0 20%;
    }
}

@media(max-width:540px){
    #gw{
        margin: 0 7%;
    }
}

@media(min-width:1400px){
    #gw{
        margin: 0 40%;
    }
}

@media(min-width:2000px){
    #gw{
        margin: 0 42%;
    }
}