@charset "utf-8";

@font-face{
	font-family: Rubric;
	font-style: normal;
	font-weight: normal;
	src:url(../__fonts/Cabin-Bold.ttf);
}

@font-face{
	font-family: Ans;
	font-style: normal;
	src:url(../__fonts/Roboto-Regular.ttf);
}
@font-face{
	font-family: Title;
	font-style: normal;
	font-weight: normal;
	src:url(../__fonts/MyriadPro-Semibold_2.otf);
}

div, input{
    font-variant-ligatures: none;
}

body{
	margin:0px;
	padding:0px;
	user-select: none;
	-webkit-user-select:none;
	-moz-user-select:none;
}

#gameBoard{
	margin: 0 auto;
}

h1, h2, h3{
	margin: 0;
	display: flex;
}

#slectedWord{
	position: absolute;
	top: 200px;
    width: 100%;
    text-align: center;
	font-size: 1.8rem;
}

#wrdcontainer{
	position: absolute;
	text-align: center;
    top: 8%;
    width: 100%;
    font-size: 1.8rem;
    text-transform: uppercase;
}

#wrdcontainer span{
	display: inline-block;
    border: 2px solid #756fdb;
    padding: 5px 15px;
    margin-left: 5px;
    margin-bottom: 5px;
    border-radius: 12px;
}

#hud {
    position: absolute;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    padding: 12px;
    box-sizing: border-box;
    background-color: rgb(28 45 11);
    font-family: Ans;
    font-size: 1.7rem;
    font-weight: bold;
    color: #ffffff;
}

#chooseScr{
	position: absolute;
	top: 0;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08), inset 0 0 0 0 rgba(0,0,0,0.10), inset 0 0 0 0 rgba(255,255,255,0.50);
	background-image: url('../Assets/images/background.jpg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

#container{
	position: relative;
	top: -90px;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: sans-serif;
    font-size: 1.4rem;
    line-height: 1.6rem;
}

#instruction{
	max-width: 700px;
    color: #000000;
    text-align: center;
}

#lstScreen{
	position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
	flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    background-image: url(../Assets/images/background.jpg);
    background-size: cover;
}

#lstScreen div{
	font-size: 1.5rem;
}

#rePlay{
	width: 100px;
	height: 40px;
	margin-top: -150px;
}

.timerDiv{
	position:absolute;
	box-shadow: 3px 3px 7px #726d6d, inset 0px 0px 7px rgb(192, 178, 157);
	border: 2px solid #FFF;
	border-radius:5px;
	width:50px;
	padding: 20px;
	margin-left: 87%;
	background-color:rgba(255, 218, 150, 0.6);
	text-align:center;
	font-size:2rem;
	font-weight:bold;
	-webkit-transition: border-radius 0.6s, background-color 1s;
	transition: border-radius 0.6s, background-color 1s;
}

.blink{
    animation:blink 1s infinite;
}

.fastBlink{
    animation:blink 0.3s infinite;
}

@keyframes blink {
    from {background-color:#fff;}
    to {background-color:red;}
}

.shake {
	animation: shake 0.8s ease-in-out infinite;
}
  
@keyframes shake {
	0%, 100% { transform: translateX(0); }
	10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
	20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.customButton{
	margin-top: 50px;
    background-image: url(../Assets/images/start-button.png);
    background-size: contain;
    cursor: pointer;
    background-color: transparent;
    outline: none;
    box-shadow: none;
    background-repeat: no-repeat;
	width: 100px;
    height: 50px;
    border: none;
}