@font-face {
  font-family: "gropro";
  src: url('Gropro.otf') format('truetype');
}

a {
    text-decoration: none;
    color:inherit;
}

#mainarea {
    background-image: url(images/background2.png);
    background-repeat: repeat;
    background-position: center;
}

.flag {
    height:500px;
    width:250px;
    margin:10px;
    background-position:center;
    background-size:cover;
  	line-height:normal;
}

.flag div {
    padding-left: 70px;
    width: 150px;
    padding-top: 70px;
    font-family: Inter,sans-serif;
    color:white;
}

.flag div ul {
 font-size:14px;
}

#membershipForm input {
margin:10px;
outline:none;
padding:4px;
border-radius:4px;
border:1px solid white;
background-color:unset;
color:white;
}

#membershipForm select {
    margin:10px;
    outline:none;
    padding:4px;
    border-radius:4px;
    border:1px solid white;
    background-color:unset;
    color:white;
    }

  #membershipForm option {
        color:black;
        }

#membershipForm button {
    background-color:black;
    color:white;
    border:1px solid black;
    border-radius:4px;
    padding:4px;
    width:80px;
}

.dropdown {
    background-color: white;
    font-weight: normal;
    margin-top:10px;
    border: 1px solid grey;
    position: absolute;
    display:none;
    color:black !important;
}

.dropdown div:hover {
  background-color:#F2F2F2;
}

.dropdown div {
  padding:10px;
}
#logo {
    width: 100px;
    height: 40px;
    margin-top: 20px;
}
#logoContainer:hover {
    border-bottom:3px solid red;
    cursor:pointer;
}

.navigation {
    display:flex;
    gap:25px;
    font-family:Inter,sans-serif;
    margin: 15px;
    font-size:14px;
    font-weight: bold;
}
.navLink:hover {
    border-bottom:3px solid red;
    cursor:pointer;
    color:red;
}

#mobileHeader {
    display:none;
    z-index:3;
    height: 120px;
    width: 100%;
    position: fixed;
    background-color: white;
    top: 0px;
}

#mobileHeaderMenuBtn {
    margin-top:15px;
    font-weight:bold;
    font-family:Inter,sans-serif;
    border-bottom:3px solid red;
    font-size:24px;
}

#mobileLogo {
    margin-left:20px;
    width:150px;
    height:unset;
    margin-top:27px;
}

#dropdownMenu {
    padding:10px;
    background-color:white;
    text-align:center;
    display:none;
}

#dropdownMenu div {
    font-family:Inter,sans-serif;
    font-size:18px;
    margin:40px;
    font-weight:bold;
}

.mobileSubMenu {
    transition: height 0.2s linear;
    margin-top:-40px !important;
    color:grey;
    overflow:hidden;
    height:1px;
}


#header {
    transition: width 0.2s linear;
    -webkit-box-shadow: 0 4px 14px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, .2);
    padding-left:20px;
    padding-right:20px;
    display:flex;
    justify-content:space-between;
    width: 80%;
    height:76px;
    background-color:white;
    z-index:3;
}

#articleHeader {
    width: 80%;
    text-align: left;
    top: 350px;
    color: white;
    font-family:Inter,sans-serif;
    text-shadow: 1px 1px 4px #000000;
    z-index:2;
    position: absolute;
}

#newsBox {
    font-family:Inter,sans-serif;
    max-width: 400px;
    min-width: 400px;
    height: 400px;
    -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 8px rgba(0, 0, 0, .2);
    align-self:center;
  	background-color: white;
}

#headerTitle {
    text-transform: uppercase;
    top: 280px;
    position:absolute;
    font-weight: 900;
    font-family:Inter,sans-serif;
    text-shadow: 1px 1px 4px #000000;
    color: white;
}

#headerBG {
    background-position:center;
    background-size:cover;
    width:100%;
    height:450px;
    padding-top:100px;
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
}

#headerBlack {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.3;
}

.loadMore {
    width:200px;
    background-color:white;
    color:black;
    font-size:12px;
    height:45px;
    border:1px solid #CFCFCF;
    font-weight:bold;
}

.loadMore:hover {
    cursor:pointer;
    background-color:#E2E2E2;
    box-shadow: 0 3px 0px rgb(255, 0, 0);
}

#sliderBtns {
    width:100%;
    text-align:center;
    padding-bottom:50px;
}
.newsBoxPic {
    height: 200px;
    background-color: white;
    background-position:center;
    background-size:cover;
}

#newsBoxText {
    padding:20px;
}

#newsBoxTitle {
    margin:0;
    max-width: 270px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#newsBoxDate {
    text-align: right;
    font-size: 12px;
    margin: 0;
    font-weight: bold;
    color: grey;
}

#footer {
    padding:20px;
    height: 200px;
    background-color: black;
}

#footer p {
    color:grey;
    margin-left: 10px;
    font-family:arial;
    font-size:12px;
}

#sidebar {
    margin-top: 20px;
    width:5000px;
    margin-left:100px
}

.sidebox {
    font-family:Inter,sans-serif;
    margin-top: 20px;
    height: 100px;
    overflow: hidden;
    display:flex;
}

.sidepic {
    margin-right: 10px;
    min-width:100px;
    height:100%;
    background-size: cover;
    background-position: center;
}

#articleBody {
    margin-bottom:50px;
    display:flex;
    padding:30px;
    padding-left: 10%;
    padding-right: 10%;
    background-color: white;
    position: relative;
    min-height: 400px;
}

#text {
    min-width: 60%;
}

video {
    max-width:600px;
}

#articleBody p {
    font-family:Inter,sans-serif;
    font-size:15px;
    line-height:30px;
}

#articleList {
    display:grid;
    grid-template-columns: auto auto auto auto;
    gap: 42px;
    min-height: 500px;
}

#articleListContainer {
  	display: flex;
  	justify-content: center;
    padding:30px;
    padding-left: 10%;
    padding-right: 10%;
    background-color: white;
    position: relative;
    min-height: 319px;
}

#gridContainer {
    display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 20px;
}

#flagGridContainer {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-gap: 20px;
}

#adminContainer {
    padding:30px;
    background-color: white;
    position: relative;
    min-height: 319px;
}

#typeTabs {
    margin-bottom:25px;
    display: flex;
    justify-content: center;
    font-family:gropro;
    color:grey;
    font-size:20px;
  	backdrop-filter: blur(5px);
}

.selectedTab {
    color:black;
    box-shadow: 0 3px 0px rgb(255, 0, 0);
}

#typeTabs p {
    margin:10px;
    height:25px;
}

#typeTabs p:hover {
    color:black;
    box-shadow: 0 3px 0px rgb(255, 0, 0);
    cursor:pointer;
}
 
.scrollList {
    padding-left:10px;
    padding-bottom:10px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.bladeBox {
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    box-shadow: 0 2px 8px rgba(99, 91, 99, .4);
    flex: 0 0 auto;
    margin-right:20px;
    font-family:arial;
    max-width: 350px;
    align-self:center;
  background-color: white;
}

.bladeBoxTitle h3 {
    border-top-left-radius:10px;
    border-top-right-radius:10px;
    background-color: black;
    padding: 10px;
    color: white;
    margin:0;font-family:gropro;
  	overflow: hidden;
  	white-space: nowrap;
  	text-overflow: ellipsis;
}

.bladeImage {
    height:143px;
    width:143px;
    background-size: cover;
    background-position:center;
    border-radius: 10px;
}

.statBar {
    margin-bottom:5px;
    border-radius: 20px;
    display:flex;
}

.gripStatBar {
    margin-bottom:5px;
    border-radius: 10px;
    min-width:150px;
}

.statStars {
    width:80px;
    margin: 4px;
    margin-left:10px;
}

.statLabel {
    margin:0;
    font-size:15px;
    font-family:gropro;
    color:white;
    margin-left: 10px;
}

.smallImages div {
    margin-right:10px;
    border-radius:10px;
    background-size: contain;
    background-repeat:no-repeat;
    background-position:center;
    height:42px;
    width:42px;
}

.smallImages {
    display: flex;
    margin-top: 10px
}

.bladeDesc {
    max-height: 89px;
    overflow: auto;
}

.bladeDesc p {
    margin:10px;
    text-wrap: balance;
    font-size:13px;
    font-family:Inter,sans-serif;
    font-weight:bold;
}

.hide {
    display:none;
}

.show {
    display:flex;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    font-size:13px;
  }
  
  td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
  }

td {
    max-width:500px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.modImage{
    background-position:center;
    background-size:cover;
}

.modText {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.modSearch {
    outline:none;
    border: 1px solid #CFCFCF;
    height: 41px;
    margin-right: -5px;
}

#editModal {
    font-family:Inter,sans-serif;
    background-color: white;
    position: fixed;
    font-size:12px;
    left: 51%;
    top: 51%;
    z-index: 5;
    padding: 20px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    display:none;
}

#editModal h1 {
    margin-top: 0px;
}

#editText {
    display:none;
}

.editForm {
    display:none;
}

.editForm input {
    border: 1px solid #CFCFCF;
padding: 5px;
outline:none;
}

.bladerStat {
    margin: 0;
    background-color: black;
    border-radius: 6px;
    padding: 5px;
    color:white;
    font-size: 13px;
    width:fit-content;
    margin-top:4px;
}

@media (max-width: 780px) {
.modText {
    max-width:0px;
}
#mobileHeader {
    display:block;
}
#header {
    display:none;
}
#headerTitle {
    margin-left: 40px;
    margin-right: 40px;
}
#articleList {
    grid-template-columns: auto;
    margin-top:30px;
}
  #gridContainer {
    grid-template-columns: auto;
}
  #flagGridContainer {
    grid-template-columns: auto;
}
#newsBox {
    max-width:unset;
  	min-width:unset;
    height: 438px;
    width:100% !important;
}
#newsBoxPic {
    height: 230px;
}
#articleBody {
    display:block;
}
#sidebar {
    margin-left:0px;
    width:unset;
}
#articleHeader {
    top:240px;
}
#typeTabs {
    font-size:15px;
    flex-wrap: wrap;
}
.scrollList {
    justify-content:center;
    flex-wrap:unset;
    flex-direction:column;
    overflow-x:unset;
    padding-left: 17px;
}
.bladeBox {
    margin-bottom:30px;
    height:unset;
    width:100% ;
}
.bladeDesc {
    max-height:unset;
}
#sliderBtns {
    display:none;
}
#typeTabs p:hover {
    box-shadow:0.7px 3px 0px rgb(255, 0, 0);
}
#articleListContainer {
    min-height:600px;
  background-color: unset;
}
#headerBlack {
    height:70%;
}
video {
    max-width:100%;
}
#beybladesTab {
    overflow: auto;
}
#weightsTab {
    overflow: auto;
}
td button {
    font-size:20px;
    margin-bottom:4px;
}
}

/*@media (min-width: 1500px) {
    #articleList {
    grid-template-columns: auto auto auto auto auto;
    }
}*/