@font-face {
  font-family: 'Japanese2020';
  src: url('/mmassets/fonts/JAPANESE_2020.ttf') format('truetype');
}

.titlefont {
  font-family: 'Japanese2020', sans-serif;
  text-align: center; /* Center the text within the div */
  font-size: 4vw; /* Scale the font size with the viewport width */
  color:#FF5900;
  text-shadow: 1.5px 1.5px #EAFF00;
}

.phonefont {
  font-family: 'Japanese2020', sans-serif;
  text-align: center; /* Center the text within the div */
  font-size: 2vw; /* Scale the font size with the viewport width */
  color:#dadada;
  text-shadow: 2px 2px #2c2c2c;
}

.non-selectable {
  user-select: none; /* Standard syntax */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
}

/* Styles for centering the div */
.centered-title {
  position: relative; /* Relative positioning */
  top: 20%; /* 30% from the top */
  width: 100%; /* Full width to ensure center alignment */
  display: flex; /* Use flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center text in the div if it's multiple lines */
}


#headerLinks {
	font-family: 'Montserrat', sans-serif;
  
	float: left;
	width: 95%;
	position: absolute;
	top: 0px;
	text-align: right;
	padding-top: 10px;
	padding-bottom: 10px;



}
#headerLinks a {
	text-decoration: none;
	color: rgb(73, 106, 250);
	padding: 10px 25px;
	font-size: 20px;
  background-color: rgba(36, 35, 35, 1);
  border-radius: 0 0 10px 10px;


}

.headeralert {
	text-decoration: none;
	color: rgb(0, 0, 0);
	width: 100%;
	font-size: 20px;
	position: absolute;
	background-color: rgba(255, 230, 0, 0.37);
}
#headerinfo {
	float: left;
	text-align: right;
}

header {
	color: rgba(0,0,0,1.00);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
    background-color: rgba(0, 0, 0, 0.8);	
	width: 50%;
}

body {
  background-image: url("https://kaneshiro.lossantoshosting.com//mmassets/images/bg_factory.webp");
  background-position: center top; /* Centers the image */
  background-size: cover; /* Cover the entire area */
  background-attachment: fixed; /* Fix the position relative to the viewport */
  background-repeat: no-repeat; /* Prevent image repetition */
  min-height: 100vh; /* New: Ensure it's at least as tall as the viewport */
  margin: 0; /* Removes default margin */
  padding: 0; /* Removes default padding */
  height: 100vh; /* New: Ensure body takes full viewport height */
  background-color: #000000; /* Your existing style */
  color: rgb(199, 199, 199); /* Your existing style */
}

.adspace-container {

	text-decoration: none;
	color: rgba(255, 0, 0, 1);
	margin-left: 50%;
	font-size: 20px;
	width: 500px;
	position: absolute;
			top: 20px;
	
}

.adspace-container img {
	height: auto;
	width: auto;
}

.logo {
	margin-right: 20px;
	padding-top: 50px;
	padding-bottom: 50px;
	width: 400px;
	top:200px;

}

.logo img {
width: 400px;
}


.table1 {
   overflow-x:scroll;
   max-width:400px;
   word-wrap:break-word;
   table-layout:fixed;
}

.materialtable thead th { 
position: sticky; 
top: 0; 
z-index: 1;
background-color: rgba(0, 0, 0, 1);
 }

.materialtable {
   overflow-y:scroll;
   height:fit-content;
   display:block;
   background-color: rgba(0, 0, 0, 0.5);
   width: fit-content;

}

.editusertable {
   background-color: rgba(255, 255, 255, 0.2);
      word-wrap:hidden;
}



content {
  width: 100vw;   /* 100% of the viewport width */
  height: 100vh;  /* 100% of the viewport height */
  position: absolute; /* Optional: to ensure it's placed relative to the viewport */
  top: 0;         /* Align top edge with the viewport */
  left: 0;        /* Align left edge with the viewport */
}


.materials {
  font-family: 'Montserrat', sans-serif;
  color: rgba(146,146,146,1.00);
  text-align: center;
  width: 66vw; /* 2/3 of the viewport width */
  position: absolute; /* Positioning relative to the viewport */
  top: 66%; /* Approximately 2/3 down the screen */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust position to truly center the box */
  padding: 20px; /* Optional: Add some padding inside the box */
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5); /* Optional: Add a subtle shadow for better visibility */
  background: rgba(0, 0, 0, 0.666); /* Optional: Background color for the box */
}


.materials img {
	height: 200px;
	width: 100%;	
}

.sidebar {
	font-family: 'Montserrat', sans-serif;
	color: rgba(146,146,146,1.00);
	float: right;
	width: 30%;
	padding-left: 1%;
	height: 90%;
	text-align: center;
	background-repeat: no-repeat;
    background-size: contain;
	padding-top: 36px;

}

.materials-grid {
  font-family: 'Montserrat', sans-serif;
  display: grid;
  grid-template-columns: repeat(auto-fill, 200px);
  color: rgb(51, 47, 47);
  grid-gap: 10px;


}
.materials-grid-item {
  text-align: center;
  font-size: 20px;
  padding: 10px 0;
  background-color: rgba(10, 10, 10, 0.8);
  
}

.materials-grid-item-buying {
  text-align: center;
  padding: 10px 0;
  font-size: 20px;
  color: rgb(51, 49, 49);
  background-color: rgba(93, 252, 30, 0.856);
}

.materials-table {
  width: 100%; /* Full width of the parent */
  max-width: 100%; /* Prevents the table from being wider than its parent */
  border-collapse: collapse;
  table-layout: fixed; /* Adds better control over column widths */
  /* Other styles... */
}


.materials-table td, .materials-table th {
  text-align: center;
  font-size: 20px;
  padding: 10px 0;
  background-color: rgba(10, 10, 10, 0.8);
  min-width: 200px; /* Mimic the grid's column width */
  border: 1px solid #00000069; /* Optional: add border */
}

/* Header row styling to mimic .materials-grid-item-buying */
.materials-table th {
  color: rgb(51, 49, 49);
  background-color: rgba(93, 252, 30, 0.856);
}

/* Optional: Adjust the last row or specific cells as needed */
.materials-table tr:last-child td {
  padding: 10px;
}

/* Responsive table: Ensures the table is not wider than the screen */
@media screen and (max-width: 600px) {
  .materials-table td, .materials-table th {
    padding: 10px 5px;
  }
}



.footerspace {
	width: 85%;
}

.footer-grid {
  font-family: 'Montserrat', sans-serif;
  display: grid;
  grid-template-columns: auto auto auto;
  color: rgba(146,146,146,1.00);
  grid-gap: 10px;
}

.footer-grid > div {
  text-align: center;
  padding: 10px;
  font-size: 20px;
}
.footer-grid div img {
	width: 70%;
	object-fit: cover;	
}

.footerbanner {
	font-family: 'Montserrat', sans-serif;
	color: rgba(146,146,146,1.00);
	width: 30%;
	text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
	padding-top: 36px;

}
