/* Reset CSS */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* Styles de base */
body {
	font-family: 'Roboto', sans-serif;
	line-height: 1.5;
}

header {
	/*background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(background.jpg) no-repeat center center/cover;*/
    background-color: coral;
	color: #fff;
	text-align: center;
	padding-top: 2.5%;
	padding-bottom: 0%;
	padding-left: 2%;
	padding-right: 2%;
	position: relative;
}

nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 2rem;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li a {
	color: #fff;
	text-decoration: none;
	padding: 1rem;
}

nav ul li a:hover {
	background-color: rgba(255,255,255,0.2);
	border-radius: 0.5rem;
}

.logo img {
	height: 50px;
}

.hero h1 {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.hero {
	/*background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(background.jpg) no-repeat center center/cover;*/
    background-color: coral;
	color: #fff;
	text-align: center;
	padding-top: 0%;
	padding-bottom: 2.5%;
	padding-left: 2%;
	padding-right: 2%;
	/*position: relative;*/
}

.hero p {
	font-size: 1.5rem;
	margin-bottom: 2rem;
}

.cta-btn {
	background-color: #fff;
	color: #000;
	padding: 1rem 2rem;
	border: none;
	border-radius: 0.5rem;
	text-decoration: none;
	font-weight: bold;
}

.cta-btn:hover {
	background-color: #000;
	color: #fff;
	cursor: pointer;
}


#glob-section {
	display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin: 4rem 0;
    flex-direction: column;
    align-items: center;
}

#featured-games {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0.7rem 0;
}

.game {
	background-color: #fff;
	border-radius: 0.5rem;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
	padding: 1rem;
	margin: 1rem;
	max-width: 300px;
	text-align: center;
}

.game img {
	max-width: 100%;
	height: auto;
	margin-bottom: 1rem;

    border-radius: 0.5rem;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.game h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
    /*color: #F44336;*/
    color: coral;
}

.game p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

#about {
	background-color: #f5f5f5;
	padding: 4rem 2rem;
	text-align: center;
}

#about h2 {
	margin-bottom: 2rem;
}


#contact {
	background-color: #fff;
	padding: 2rem;
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#contact h2 {
	font-size: 2rem;
	margin-bottom: 2rem;
	text-align: center;
}

/*#contact form {
	width: 550px;
	display: flex;
	flex-direction: column;
	align-items: center;
}*/

#contact form {
    /*width: 550px;*/
	min-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}

#contact label {
	display: block;
	font-size: 1.2rem;
	margin-bottom: 1rem;
	text-align: left;
	width: 100%;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
	padding: 0.5rem;
	font-size: 1rem;
	border-radius: 0.3rem;
    border: 2px solid #c5c5c5;
	margin-bottom: 1rem;
	width: 100%;
}

#contact input[type="submit"] {
	background-color: #98999a;
	color: #fff;
	padding: 0.5rem 1rem;
	border: none;
	border-radius: 0.3rem;
	font-size: 1rem;
	cursor: pointer;
	margin: 25px;
}

#contact input[type="submit"]:hover {
    background-color: #000;
}


form label {
	display: block;
	margin-bottom: 0.5rem;
}

form input[type="text"],
form input[type="email"],
form textarea {
	padding: 0.5rem;
	margin-bottom: 1rem;
	border: none;
	border-radius: 0.5rem;
	width: 100%;
}

form input[type="submit"] {
	background-color: #fff;
	color: #000;
	padding: 1rem 2rem;
	border: none;
	border-radius: 0.5rem;
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
}

form input[type="submit"]:hover {
	background-color: #000;
	color: #fff;
}

/* Media queries */
@media (max-width: 768px) {
	nav ul {
		flex-direction: column;
		position: fixed;
		top: 0;
		left: -100%;
		width: 100%;
		height
        : 100vh;
        overflow-y: scroll;
        background-color: #000;
        padding-top: 4rem;
        transition: all 0.5s ease-in;
    }
    
    nav ul li {
        margin-top: 1rem;
    }
    
    nav ul li a {
        font-size: 1.5rem;
    }
    
    nav.open ul {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .game {
        max-width: 100%;
        margin: 1rem 0;
    }
    
    #about {
        padding: 2rem;
    }
    
    #contact {
        padding: 2rem;
    }
}

footer {
	background-color: #343a40;
	color: #fff;
	padding: 2rem;
}

.footer-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.footer-logo img {
	/**height: 5rem;**/
    width: 50%;
    height: auto;
}

.footer-nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav li:not(:last-child) {
	margin-right: 2rem;
}

.footer-nav a {
	color: #fff;
	text-decoration: none;
	font-size: 1.2rem;
}

.social-icons a {
	color: #fff;
	margin-right: 1rem;
}

.social-icons i {
	font-size: 1.5rem;
	transition: all 0.2s ease-in-out;
}

.social-icons i:hover {
	transform: scale(1.2);
}


.playstore-link {
    transition: transform 0.2s ease-in-out;
}
.playstore-link:hover {
    transform: scale(1.2);
}

.popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: grid;
	z-index: 100000;
}

p.popup-title {
    color: black;
    font-size: 14px;
}

button.popup-button {
	color: #ffffff;
    font-weight: 600;
    width: 95%;
    padding: 5px;
    background: #FF5722;
    border-radius: 3px;
    border: 1px solid #9f9999;
    margin: 5px;
}
