@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oxanium:wght@200..800&display=swap');

:root {
	--accent: #cf8347;
	--accent-dark: #a9622f;
	--card: #1f2226;
	--card-border: rgba(207, 131, 71, 0.18);
}

html {
	height: 100%;
	scroll-behavior: smooth;
}

body { 
	height: 100%;
	background-color: black;
	color: white;
	overflow-x: hidden;
}

#bg {
  position: absolute;
  top: 0px;
  left: 0px;
	background-image: url("../images/bg_s.png");
	background-repeat: no-repeat;
	width: 100px;
	min-height: 400px;
	background-size: 100% auto;
}

#center {
    margin: auto;
    width: 1024px;
    z-index: 200;
}

#title {
	position: relative;
	top: 100px;
	left: 100px;
	font-family: 'Bebas Neue', cursive;
	width: 800px;
	font-size: 44px;
	letter-spacing: 2px;
}

#title h1 {
	display: inline;
	padding: 0px;
	margin: 0px;
}

#subtitle {
	font-size: 20px;
	letter-spacing: 4px;
	color: var(--accent);
}

#menu {
	position: relative;
	font-family: 'Bebas Neue', cursive;
	top: 200px;
	left: 100px;
	font-size: 36px;
	word-spacing: 10px;
}

#menu a {
	text-decoration: none;
	color: white;
	padding-bottom: 2px;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

#menu a:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

#content {
    position: relative;
    top: 220px;
    left: 100px;
}

.newsitem {
    background-color: var(--card);
    font-family: 'Oxanium', cursive;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    color: #d3d3d3;
    letter-spacing: 2px;
    line-height: 30px;
    font-size: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.newsitemheader {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    height: 52px;
    padding-left: 40px;
    padding-right: 40px;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.newsitemcontent {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.newsitem h3 {
	font-family: 'Bebas Neue', cursive;
    font-size: 26px;
    color: white;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.media{
    width: 800px;
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 40px;
    border: solid black 0px;
}

#canvas{
	position: absolute;
	top: 0px;
	left: 0px;
	opacity: 0.2;
}

#one{
	position: relative; 
	cursor:pointer;
	font-family:arial;
	font-size: 18px;
	left:-530px;
	top: -55px;
}

#footer {
	font-family: 'Bebas Neue', cursive;
    position: relative;
    top: 50px;
    left: 480px;
    padding-bottom: 20px;
}

#footer a {
    color: grey;
    text-decoration: none;
}

body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

body a:hover {
    color: #f0a463;
}

#status {
	position: relative;
	top: 0px;
	left: 700px;
	font-family: 'Bebas Neue', cursive;
	font-size: 36px;
    color: white;
}

.media {
  width: 900px;
  height: 500px;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  #bg {
    position: absolute;
    top: 0px;
    left: 0px;
  }
  body {
    padding: 0px;
    margin: 0px;
  }
  #center {
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
    margin: 0px;
    padding: 0px;
  }
  #title {
    position: relative;
    top: 0px;
    left: 0px;
    margin: 0px;
    padding: 0px;
    width: 100%;
    text-align: center;
  }
  #menu {
    width: 100%;
    text-align: center;
  }
  .media {
    width: 100%;
    height: auto;
    position: relative;
    left: 0px;
    top: 0px;
    padding: 0px;
    margin: 0px;
  }
  .newsitem {
    position: relative;
    width: 100%;
    left: 0px;
  }
  .newitemcontent {
    position: relative;
    width: 100%;
    left: 0px;
  }
  #content {
    position: relative;
    width: 100%;
    left: 0px;
    top: 30px;
  }
  #menu {
    position: relative;
    width: 100%;
    left: 0px;
    top: 20px;
    width: 100px;
    margin: auto;
  }
}
