@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;1,300;1,400&display=swap');

:root {
	--dark: rgb(3, 24, 18);
	--light-bc: rgb(236, 244, 247);
	--intense-red: #08adad;
	--light-pink: rgb(183, 235, 236);
	--silver-pink: rgb(172, 236, 245);
}

::selection {
	background-color: rgb(115, 235, 205);
}

::-moz-selection {
	background-color: rgb(115, 235, 205);
}

/* -------------------- General */
* {
	color: var(--dark);
	margin: 0;
	padding: 0;
	font-family: 'Merriweather', serif;
}

body {
	max-width: 2000px;
	margin: 0 auto;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

h1 {
	font-weight: 900;
	font-size: 3rem;
	margin-bottom: 0!important;	
}

body {
	background-color: var(--light-bc)
}

/*----------------------Navbar*/
.container-fluid {
	padding: 0 1em;
	margin-top: 2em;
	margin-bottom: 1em;
	max-width: 100vw;
	line-height: 3.2em;
}

.container {
	max-width: 100vw;
}

.diff-letter {
	border: 2px solid var(--intense-red);
	border-radius: 5px;
	background-color: var(--intense-red);
	color: var(--light-bc);
	padding: 0 .2em;
	margin-right: 3px;
	font-size: 3.5rem;
}

#diff-letter {
	border: 2px solid var(--intense-red);
	border-radius: 5px;
	background-color: var(--intense-red);
	color: var(--light-bc);
	padding: 0 .2em;
	margin-right: 3px;
	font-size: 3.5rem;
}

.text-end,
.question {
	padding-top: 19px;
}

#btn-game-left {
	margin-left: auto;
	padding-top: 15px;	
}

#btn-game-right {
	padding-top: 15px;
	margin-left: 15px;
}

.fa-keyboard,
.fa-gamepad {
	font-size: 2rem;
	color: var(--intense-red);
	transition: transform .5s;
}

.fa-keyboard:hover,
.fa-gamepad:hover {
	transform: scale(1.3);
}

/* ---------------Landing page */

#welcome {
	width: 80vw;
	height: auto !important;
	padding: 2em;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5em;

}

.center-form {
	margin-left: auto;
	margin-right: auto;
	background-color: rgba(53, 241, 185, 0.6);
	border-radius: 10px;
	padding-top: 2em;
	padding-bottom: 2em;
	max-width: 800px;
}

.center-form > h1 {
	font-size: 2rem;
	text-align: center;
	padding-bottom: 1.5em;
}

.center-form > p {
	padding: 0 2em;
	line-height: 2em;
}	
	
#love-comp {
	color: var(--intense-red);
	font-weight: bolder;
	text-decoration: none;
}

.form-group {
	width: 100%;
	text-align: center;
	margin-bottom: 1.8em;
}

.form-group label {
	margin-bottom: 4px;
}

.user-input {
	border: 2px solid var(--intense-red);
	background-color: var(--light-bc);
	padding: .5em;
	font-size: 1.2rem;
	margin-left: auto;
	margin-right: auto;
	width: 60% !important;
}

.user-input:focus { 
	box-shadow: 0px 1px 11px 6px var(--intense-red);
	border:none;
}

.btn-cont {
	text-align: center;
	margin-top: 3em;
}

#nameButton {
	padding: .5em 1.2em;
	font-size: 1.2em;
	background-color: var(--intense-red);
	color: var(--light-bc);
	border: 1px solid var(--intense-red);
	border-radius: 5px; 
}

#nameButton:hover {
	background-color: var(--light-bc);
	color: var(--intense-red);
	font-weight: bold;
	box-shadow: 0 0 10px 5px var(--intense-red);
}

/* -------------------Footer*/
.info-footer {
	background-color: var(--dark);
	color: var(--light-bc);
	text-align: center;
	padding-top: 5px;
}

/* -------------------- Game / Index */

.help-modal-container {
	position: absolute;
	overflow: hidden;
	height: 100vh;
	width: 100vw;
	/* background-color: rgba(0, 0, 0, 1); */
	z-index: 4;
}

.help-modal-background-filter {
	background-color: rgba(0, 0, 0, .75);
	height: 100vh;
	width: 100vw;
	position: absolute;
	z-index: 5;
	overflow: hidden;

}

.help-modal-content {
	background-color: #a0d6d4;
	position: absolute;
	min-height: 50vh;
	top:50%;
	transform: translateY(-50%);
	z-index: 6;
}

.help-modal-content {

}

.game-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

.mn-container {
	width: 550px;
	max-width: 80%;
	position: relative;
}

.btn-help {
	background-color: var(--light-bc);
	border: 2px solid var(--intense-red);
	border-radius: 30px;
	padding: .3em .8em;
	transition: transform 1s;
}

.fa-question {
	color: var(--intense-red);
	font-weight: bold;
	font-size: 0.8rem;
}

.btn-help:hover {
	box-shadow: 0 0 10px 5px var(--intense-red) !important;
	transform: scale(1.3);
	border: none;
}

.message-container {
	height: 50px;
	min-width: 120px;
}

.message-container p {
	text-align: center;
	line-height: 30px;
	text-shadow: 1px 1px 2px #747474;
	background-color: var(--light-pink);
	color: var(--dark);
	font-family: 'Merriweather', serif;
}

.title-container {
	text-align: center;
	width: 510px;
	border-bottom: solid 1px #d6d6d6;
}

.tile-container {
	width: 330px;
	margin-bottom: 38px;
	flex-wrap: wrap;
	padding: 1.5em;
	border-radius: 3%;
	background-color: rgba(122, 245, 208, 0.363);
}

.tile {
	text-shadow: 1px 1px 1px #474747;
}

.key-container {
	width: 510px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.key-container button {
	min-width: 43px;
	height: 58px;
	border-radius: 4px;
	border: none;
	background-color: var(--silver-pink);
	color: var(--dark);
	font-size: 1.12rem;
	margin: 4px;
}

.key-container button:nth-child(11) {
	margin-left: 30px;
}

.key-container button:nth-child(20),
.key-container button:nth-child(28) {
	width: 68px;
	height: 58px;
	border-radius: 10%;
}

.tile-container div {
	display: flex;
}

.tile-container .tile {
	width: 70px;
	height: 62px;
	border-radius: 5%;
	border: 2px solid var(--dark);
	margin: 4px 6px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.tile-flip {
	animation: 0.5s linear flipping;
}

@keyframes flipping {
	0% {
		transform: rotateX(0deg);
	}
	50% {
		transform: rotateX(90deg);
	}
	100% {
		transform: rotateX(0deg);
	}
}

.pink-overlay {
	background-color: #08adad;
}

.rose-overlay {
	background-color: rgb(183, 235, 236);
}

.silver-overlay {
	background-color: rgb(172, 236, 245);
}

/* -------------------- How To Play Modal */

.modal-header {
	justify-content: center;
}

.modal-body {
	font-size: 1.1rem;
}

h5#staticBackdropLabel {
	font-family: 'Merriweather', serif;
	font-weight: 900;
	font-size: 3rem;
	margin-bottom: 0!important;	
}

span.bold {
	font-weight: 700;
	color: #08adad;
	font-family: 'Futura-PT', sans-serif;
}

span.justbold {
	font-weight: 700;
}

p.modal-text {
	font-family: 'Futura-PT', sans-serif;
	text-align: center;
	font-size: 1.2rem;

}

p.modal-examples {
	font-size: 1.2rem;
}

.not-word {
	font-family: 'Merriweather', serif;
	background-color: rgb(214, 214, 214);
	color: #000;
	letter-spacing: 2px;
}

.in-word {
	font-family: 'Merriweather', serif;
	letter-spacing: 2px;
	background-color: rgb(183, 235, 236);
}

.in-place {
	font-family: 'Merriweather', serif;
	color: #000;
	letter-spacing: 2px;
	background-color: #08adad;
	color: #fafafa;
}

/* -------------------- Developer Page */
.developer-container {
	/*min-height: calc(100vh - 100px);*/
	margin-top: 7em;
	margin-bottom: 7em;
	margin-left: auto;
	margin-right: auto;
}

.card-custom {
	position: relative;
    box-shadow: 4px 4px 2px rgba(0, 0, 0, .35),
				inset 2px 2px 4px rgba(51, 51, 51, 0.493),
				inset -2px -2px 4px rgba(51, 51, 51, 0.493),
				inset 2px -2px 4px rgba(51, 51, 51, 0.493),
				-2px -2px 4px rgba(51, 51, 51, 0.699);
				border: 2px solid var(--intense-red);
	border-radius: 10px;
}

.card-filter {
	position: absolute;
	height: 100%;
	width: 100%;
	box-shadow:inset 2px 2px 4px rgba(51, 51, 51, 0.75),
				inset -2px 0px 4px rgba(51, 51, 51, 0.75);
	border-top-right-radius: 8px;
	border-top-left-radius: 8px;
}

.card-links a {
	position: relative;
	bottom: 0;
}

.card-custom img{
	/* max-height:5rem; */
	/* border-bottom: 1px solid #230005; */

	border-top-right-radius: 8px;
	border-top-left-radius: 8px;

}

.developer-content-spacing {
	display: flex;
	flex-direction: column;
	justify-content: space-between
}

.developer-content-spacing p {
	line-height: 1.5;
}

.name-text {
	color: var(--dark);
	font-family: 'Merriweather';
	text-align: center;
	text-shadow:
				1px 1px 0px var(--light-pink),
				2px 2px 1px var(--silver-pink);
}

.info-text {
	color: var(--dark);
	text-shadow:
	 /* -2px -2px 2px #faedc65b */
				1px 1px 2px #747474
				/* 2px 2px 1px rgba(0, 0, 0, .75), */
				/* 3px 3px rgba(0, 0, 0, 0.452) */
				;
	text-align: center;
	line-height: 20px;
	margin-top: 2em;
}

strong {
	color: var(--light-pink);
	font-weight: 900;
}

.media-icons {
	display: flex;
	justify-content: space-evenly;
}

.fa-linkedin,
.fa-github-square {
	color: var(--intense-red);
	font-size: 2rem;
	transition: transform .5s;
}

.fa-linkedin:hover,
.fa-github-square:hover {
	transform: scale(1.3);
}
/*For mobile screens*/
@media (max-width: 991px) {

	.container-fluid {
		margin-bottom: 0.8em;
	}
	.tile-container {
		transform: scale(.9);
		margin-bottom: 1px;
	}
    .key-container {
		transform: scale(.73);
		/* padding-left: 5px; */
	}
	footer {
		display: none;
	}

	#welcome {
		width: 100vw;
	}
	
	.center-form {
		width: 80vw;
	}

	.center-form  > p {
		text-align: justify;

	}

	.user-input {
		width: 70% !important;
	}
}

@media (max-width: 500px) {

	.container-fluid {
		padding: 0 0.5em;
		margin-bottom: 0;
	}

	.text-center > h1 {
		font-size: 1.65rem;
	}
	.text-end,
	.question {
		transform: scale(.7);
	}

	#btn-game-left {
		
		margin-left: 0;
		line-height: 5px;
	}

	#btn-game-right {
		line-height: 5px;
	}

	
	.user-input {
		width: 70% !important;
	}

	.center-form  > p {
		text-align: justify;

	}

}
