@-ms-viewport{
    width:device-width
}
html{
    box-sizing:border-box;
    -ms-overflow-style:scrollbar;
}
*,::after,::before{
    box-sizing:inherit
}

html,body {
	font-family: 'PT Sans', sans-serif;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

hr {
	max-width: 25vw;
	margin: 3vh auto 3vh auto;
	border: none;
	border-top: 1px solid #39cae8;
}
.full-line {
	width: 100%;
	border: none;
	border-top: 1px solid #39cae8;
	margin: 1.5rem 0;
}
	max-width: fit-content;
}
p {
	font-family: 'Lato', sans-serif;
	margin: 0;
	padding: 0;
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'PT Sans', sans-serif;
	margin: 0;
	padding: 0;
}

.parallax {
    height: 100%; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Ensure background images adapt on phones/tablets */
@media screen and (max-width: 1024px) {
	.parallax {
		/* Disable fixed parallax on mobile to avoid rendering issues */
		background-attachment: scroll;
		background-position: center center;
		background-size: cover; /* keep full cover behavior */
	}
}

a {
	text-decoration: none;
	color: #5352ed;
	transition: all .2s ease-in;
	font-weight: bold;
}

a:hover {
	text-decoration: none;
	color: #192a56;
	transition: all .2s ease-in;
}
.white-link {
	color: #ff985c;
	transition: all .2s ease-in;
}
.white-link:hover {
	color: #39cae8;
	transition: all .2s ease-in;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #3498db;
    color: white;
    cursor: pointer;
    padding: 15px;
    padding-right: 19px;
    padding-left: 19px;
    font-size: 18px;
    transition: all .2s ease-in;
}

#myBtn:hover {
    background-color: #2980b9;
    transition: all .2s ease-in;
}

/* Navbar */

.topnav {
	list-style-type: none;
    overflow: hidden;
	background-color: #000; /* negative: black background */
    box-shadow: 0px 6px 13px -7px rgba(0,0,0,0.20);
    transition: all .2s ease-in;
    font-weight: 700;
    text-transform: uppercase;
}

/* Layout: logo left, menu right */
.topnav .max-width {
	display: flex;
	align-items: center;
}

.topnav a {
	float: none; /* use flex instead of floats */
    display: block;
	color: #fff; /* negative: white text */
    text-align: center;
    padding: 24px 26px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
	color: #3498db; /* accent on hover */
}

.topnav .icon {
  display: none;
}

/* Logo inside the navbar */
.topnav a.logo {
	padding: 12px 20px; /* slightly less vertical padding for better logo fit */
    margin-right: auto; /* push other links to the right */
}

.topnav a.logo img {
	display: block;
	height: 36px; /* adjust as needed */
	width: auto;
}
/* End Navbar */

#head {
	/* Use explicit background properties to avoid resetting parallax defaults */
	background-image: url("/minecraft/images/header-minecraft-gadlab-02.jpg");
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover; /* cover full width while keeping aspect ratio */
	margin: 0;
	/* Flex layout to place h1 at bottom */
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	/* Minimal edge spacing while keeping h1 near the bottom */
	padding: 1vh 0 3vh 0;
	text-align: center;
	color: white;
	min-height: 93vh;
}

#head h2 {
	font-weight: 700;
}

#about {
	background-image: url("https://i.imgur.com/XL2PAd3.png");
	padding: 75px 0px 75px 0px;
	background-color: #000000;
	color: #ffffff;
	margin: 0 auto;
	text-align: center;
	min-height: 93vh;
	}

#about h1 {
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 15px;
}

#about .features {
	max-width: 1280px;
	margin: 0 auto;
	padding-top: 66px;
}

#about .feature {
	font-size: 60px;
	color: #39cae8;
	margin-top: 17px;
}

#about h2 {
	margin-top: 5px;
	font-size: 20px;
}

#about p {
	margin-top: 3px;
	font-size: 18px;
}

#banner2 {
	background-image: url("https://i.imgur.com/8P27W9N.png");
	padding: 75px 0px 75px 0px;
	text-align: center;
}

#banner h1 {
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	color: white;
}

#banner h2 {
	margin-top: 5px;
	font-size: 20px;
	color: white;
}

#banner2 h1 {
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	color: white;
}

#banner2 h2 {
	margin-top: 5px;
	font-size: 20px;
	color: white;
}

#clan-gadimott {
	background-image: url("../images/header-minecraft-gadlab-03.jpg");
	padding: 75px 0px 75px 0px;
	text-align: center;
	min-height: 85vh;
}

#clan-gadimott h1 {
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	color: white;
	margin-top: 3vh;
}

#clan-gadimott h2 {
	margin-top: 5px;
	margin-bottom: 3vh;
	font-size: 20px;
	color: white;
}

#circle {
	margin: 10px;
	text-align: center;
	padding-top: 66px;
	padding-bottom: 66px;
}

#circle h1 {
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 15px;
}

#circle h2 {
	margin-top: 5px;
	font-size: 20px;
}

#circle p {
	margin-top: 3px;
	font-size: 18px;
}

#circle .circlelist {
	max-width: 1280px;
	margin: 0 auto;
	padding-top: 66px;
}

#circle .circleblock {
	transform: none;
	transition: all .2s ease-in;
	margin-bottom: 2vh;
}

#circle .circleblock:hover {
	transform: scale(1.1,1.1);
	transition: all .2s ease-in;
}

#rules {
	margin: 10px;
	text-align: center;
	padding-top: 66px;
	padding-bottom: 0;
}

#rules h1 {
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 15px;
}

#rules h2 {
	margin-top: 5px;
	font-size: 20px;
}

#rules p {
	margin-top: 3px;
	font-size: 18px;
}

#rules .gray {
	background-color: #ecf0f1;
    padding: 0;
    margin: -10px;
}

#rules .mode {
	margin: 15px;
	text-align: left;
	padding: 50px;
	max-width: 1280px;
}

#rules .mode-inv {
	margin: 15px;
	text-align: right;
	padding: 50px;
	max-width: 1280px
}

#rules .fixed-width {
	max-width: 1280px;
	margin: 0 auto;
}

.footer {
	background-color: #11171e;
	color: white;
	margin: 0 auto;
	float: none;
	padding-top: 66px;
	padding-bottom: 66px;
}

.copyright-notice {
	color: #30343a;
	margin: 0;
	margin-bottom: 0px;
	padding: 0;
	text-align: center;
	transition: all .2s ease-in;
	cursor: default;
}

.copyright-notice:hover {
	color: white;
	margin: 0;
	margin-bottom: 0px;
	padding: 0;
	text-align: center;
	transition: all .2s ease-in;
}

@media screen and (max-width: 799px) {
	#rules .img {
		padding: 50px 0px 50px 0px;
	}
}
@media screen and (max-width: 800px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
		display: block;
		margin-left: auto; /* keep hamburger on right in flex */
  }
}

@media screen and (max-width: 800px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
	/* Stack links vertically when menu is open */
	.topnav.responsive .max-width { display: block; }
	.topnav.responsive a { display: block; text-align: left; }
}

@media screen and (min-width: 800px) {
  div .max-width {
    max-width: 60%;
    margin: 0 auto;
    box-shadow: none;
  }
  #rules .img {
		margin: 15px;
		padding: 50px;
		max-width: 1280px
	}
	.res-img {
		width: 480px;
	}
	.res-img-sm {
		height: 110px;
	}
}

@media screen and (max-width: 799px) {
	.res-img {
		width: 100%;	}
	.res-img-sm {
		width: 100%;	}
}