/* styles.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base font size - all em units will be relative to this */
}

body {
    font-family: -apple-system, system-ui, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: #202021;
}

/* Container */
.container {
    max-width: 75em; /* 1200px at base font size */
    margin: 0 auto;
    padding: 0 1.5em;
}

/* Header */
.header {
    background-color: #313136;
    color: white;
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 0.125em 0.5em rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    height: 4em; /* Adjust based on your logo size */
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2em;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #FFAB00;
}

/* banner Section */
.banner {
    background: linear-gradient(135deg, #4a3e26 0%, #212120 100%);
    color: white;
    padding: 6em 0;
    text-align: center;
}

.banner h1 {
    font-size: 5em;
    margin-bottom: 0.5em;
}

.banner p {
    font-size: 1.25em;
    margin-bottom: 0.5em;
}

/* Middle Button */
.btn {
    background-color: #313136;
    color: white;
    border: none;
    padding: 0.75em 2em;
    font-size: 1em;
    border-radius: 0.25em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #FFAB00;
    transform: translateY(-0.125em);
}

/* Content Section */
.content {
    display: flex;
	padding: 4em 0;
    background-color: #2b2a28;
	color: white;
}

.content h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: white;
}

.content p {
    font-size: 1.125em;
    line-height: 1.8;
    max-width: 50em;
}

/* Buttons section */
.buttons {
	padding: 4em 0;
	background-color: #202021;
}


.button-grid {
    display: flex;
	justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
    gap: 3em;
}
.button-grid a {
	text-decoration: none;
}

.big-button:hover {
	transform: translateY(-0.5em);
	box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.5);
}
.button-grid h1 {
	font-size: 3em;
    margin-bottom: 0.3em;
    color: white;
	text-align: center;
}

#youtube:hover h1 {
	color: #FFAB00;
}
#discord:hover h1 {
	color: #FFAB00;
}	
#twitch:hover h1 {
	color: #FFAB00;
}

/* Footer */
.footer {
    background-color: #313136;
    color: white;
    text-align: center;
    padding: 2em 0;
    margin-top: 4em;
}

.footer p {
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 48em) { /* 768px */
    html {
        font-size: 14px;
    }
    
    .nav {
        flex-direction: column;
        gap: 1em;
    }
    
    .nav-menu {
        gap: 1em;
    }
    
    .banner h1 {
        font-size: 2em;
    }
    
    .banner p {
        font-size: 1em;
    }
}
