:root {
  --background-color: #7700c1;
  --border-color: #ffcf3e;
  --highlight-color: white;
}

body {
  margin: 0;
  width:100%; 
  height:auto;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  padding: 0;
}
body {
  background: url('images/kingitransparent.png');
  background-repeat: no-repeat;
  object-fit: fill;
  background-attachment: fixed;
  background-position: center;
}

* {
  box-sizing: border-box;
}

a {
  font-family: 'Crete Round';
  font-weight: 500;
  color: #ffcf3e;
  margin: 0px;
  font-size: 1.5rem;
  text-decoration: none;
}

a:hover {
  color: var(--highlight-color);
}

h2, h3, p, span {
  font-family: 'Crete Round';
  font-weight: 500;
  color: #ffcf3e;
  margin: 0px;
  font-size: 1rem;
}

h1 {
  font-family: 'Crete Round';
  font-weight: 500;
  color: #ffcf3e;
  margin: 0px;
  font-size: 2rem;
}

@keyframes navmenu {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

li {
display: inline;
}

.topnav {
display: block;
list-style-type: none;
float: left;
text-align: left;
overflow: hidden;
background:linear-gradient(90deg, #7700c1 0%, #6c00b0 100%);
border: 1px solid var(--border-color);
top: 0;
z-index: 999;
width: 100%;
position: sticky;
height: 60px;
}

.topnav a {
padding: 14px 16px;
text-decoration: none;
}

.topnav a.icon {
padding: 14px 16px;
background: transparent;
position: absolute;
}

.topnav a:hover {
  background: linear-gradient(270deg, #4a007d, #7700c1);
  background-size: 400% 400%;
  animation: navmenu 1s ease 1;
}

.logo a {
font-size: larger;
padding-left: 2rem;
}


.logo img{
  font-size: larger;
  height: 35px;
  width: 35px;
}

body {
  margin: 0;
  height: 100%;
  overflow-y: scroll; 
  overflow-x: hidden;
}

main {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

.content {
  background: linear-gradient(90deg, rgba(74,0,125,1) 0%, rgba(119,0,193,1) 100%);
  color: #ffcf3e;
  padding: 0px;
  margin-bottom: 0.625rem;
  display: flex;
  flex-flow: column;
  align-items: stretch;
  text-align: left;
  align-content: center;
  float:left;
  margin: 0px;
  position: relative;
  width: 100%;
}

.content-main {
  background: linear-gradient(90deg, rgba(74,0,125,1) 0%, rgba(119,0,193,1) 100%);
  padding: 0px;
  margin-bottom: 0.625rem;
  display: flex;
  flex-flow: column;
  align-items: stretch;
  text-align: left;
  align-content: center;
  float:left;
  margin: 1rem;
  position: relative;
  width: 100%;
}
.content img {
  object-fit: fit;
  height: 12rem;
  display: block;
  width: 100%;
  height: auto;
  margin: auto;
}


.rosters {
  background: transparent;
  min-height: fit-content;
  flex-direction: row;
  flex-wrap: wrap;
  color: #ffcf3e;
  padding: 1%;
  margin-bottom: 0.625;
  margin: auto;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
  align-items: center;
  justify-content: center;
  height: auto;
  margin: auto;
}

.rosters h2 {
  font-size: 2rem;
  padding-left: 3rem;
  background-color: #7700c1;
  width: 100%;
  height: auto;
  margin: auto;
}
.rosters p {
  text-align: center;
  font-size: larger;
  width: 100%;
  height: auto;
  margin: auto;
}
.rosters img {
  background: linear-gradient(270deg, rgba(74,0,125,1) 0%, rgba(119,0,193,1) 100%);
  object-fit: cover;
  height: 12rem;
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: auto;
}
.news
 {
  background: transparent;
  min-height: fit-content;
  flex-direction: row;
  flex-wrap: wrap;
  color: #ffcf3e;
  padding: 1%;
  margin-bottom: 0.625;
  margin: auto;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
  align-items: center;
  justify-content: center;
  height: auto;
  margin: auto;
}

.news h2 {
  font-size: 2rem;
  padding-left: 3rem;
  background-color: #7700c1;
  width: 100%;
  height: auto;
  margin: auto;
}

.news p {
  text-align: center;
  font-size: larger;
  width: 100%;
  height: auto;
  margin: auto;
}

.news img {
  background: linear-gradient(270deg, rgba(74,0,125,1) 0%, rgba(119,0,193,1) 100%);
  object-fit: cover;
  height: 12rem;
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: auto;
}

.flex-container {
  border: 1px solid var(--border-color);
  background: linear-gradient(270deg, rgba(74,0,125,1) 0%, rgba(119,0,193,1) 100%);
  display: flex;
  justify-content: space-between;
  gap: 1px;
  width: 100%;
  text-align: center;
  flex-basis: 100%;
}

.flex-container2 {
  width: 100%;
  display: flex;
  text-align: center;
  align-items: center;
  flex-basis: 100%;
}


section {
  min-height: 25vh;
  width: 100%;
  padding: 0px;
  line-height: 1.6rem;
  margin-bottom: 0px; 
  opacity: 1;
}
footer{
  text-align: center;
  background: linear-gradient(90deg, rgba(74,0,125,1) 0%, rgba(119,0,193,1) 100%);
  border: 1px solid var(--border-color);
  bottom: 1px;
  left: 0px;
  height: 6rem;
  width: 100%;
  clear: both;
  padding: 1rem;
  z-index: 999;
  overflow: hidden;
}
.copyright {
  text-align: center;
}
.row {
  background: linear-gradient(270deg, rgba(74,0,125,1) 0%, rgba(119,0,193,1) 100%);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  list-style-type: none;
  padding: 0px;
  margin: 1rem;
}
.row h2, h3, p, span {
  font-family: 'Crete Round';
}
::-webkit-scrollbar {
  width: 10px;
  background-color: var(--background-color);
}
::-webkit-scrollbar-track {
  background-color: #333; 
}
::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 1vmin;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}
.nav-up {
  top: -83px;
}