@import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap');

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    background: linear-gradient(to bottom, #4b5a41 0%, #fff 40%, #fff 60%, #6d9652 100%);
    background-attachment: fixed;
    color: #222;
}

/* Header */
header {
    background: linear-gradient(to bottom, #285786 0%, #3a5964 100%);
    color: white;
    padding: 30px;
}

header h1 {
	font-family: 'Bungee', sans-serif;
    font-size: 56px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 3px 3px 0 #1d3f63, 0 0 16px rgba(255, 255, 255, 0.35);
    margin-top: 0;
    margin-bottom: 10px;
}

header h3 {
    font-weight: normal;
}

.room-code {
    font-size: 48px;
    font-weight: bold;
}

/* Main section */
main {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rules-main p {
    font-size: 150%;
}

.home-main > .btn-primary {
    align-self: center;
}

/* Buttons */
.btn-primary {
    min-width: 200px;
    min-height: 64px;
    padding: 18px 36px;
    margin: 20px;
    border: 1px solid rgb(0, 3, 3) !important;
    border-radius: 60px;
    background: linear-gradient(0deg, rgb(34, 46, 116), rgb(97, 150, 172));
    color: white;
    font-size: 20px;
}

.btn-primary:hover {
    background: linear-gradient(0deg, rgb(33, 43, 107),rgb(73, 111, 128));
}


.join-game {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 36px;
        letter-spacing: 1px;
    }

    .join-game {
        flex-direction: column;
    }
}

#game-code {
	max-width: 100%;
    width: 240px;
    height: 76px;
    padding: 10px 16px;
    box-sizing: border-box;
    text-align: center;
    font-size: 36px;
    letter-spacing: 12px;
    text-transform: uppercase;
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 20px;
    background: linear-gradient(to top, #285786 0%, #3a5964 100%);
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

footer nav .btn-primary {
    margin: 0;
}


footer p {
    margin: 5px;
}

#Github {
    text-decoration: underline;
}

footer nav a {
    text-decoration: none !important;
}