html {
  transform: scale(0.75);
  transform-origin: top;
}
	
  	  .crt::before {
              content: " ";
              display: block;
              position: absolute;
                      margin:none;
                      padding:none;
                       width:180%;
                            height:185%;
                      top: 0;
              left: 0;
              bottom: 0;
              right: 0;
              background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
              z-index: 99;
              background-size: 100% 2px, 3px 100%;
              pointer-events: none;
            }
                    

p {
  z-index:100;
}



::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
}

::-webkit-scrollbar-thumb {
  background: #ffffdc;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

body {
  background-color: #000;
  background-image: url(components/ok.png);
  background-size: cover;
  background-position: center;
  transform: scale(0.92);
}

@font-face {
  font-family: "Crostan-Bold";
  src: url("Crostan-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
font-family: "JMH Typewriter";
src: url("JMH Typewriter.ttf") format("truetype");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "War of 1930";
src: url("War of 1930.ttf") format("truetype");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "punkbabe";
src: url("PUNKBABE TRIAL.ttf") format("truetype");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "La Machine Company";
src: url("La Machine Company.ttf") format("truetype");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "1942";
src: url("1942.ttf") format("truetype");
font-weight: bold;
font-style: normal;
}
body,
html {
  padding: 0;
  margin: 0;
  height: 100%;
  width: auto;
  color: #d2a578;
          font-family: "JMH Typewriter" !important;
  box-sizing: border-box;
}

.webcontainer {
  box-sizing: border-box;
  border: 20px double #d2a578;
  position: absolute;
  left: 155%;
  top: 2%;
  width: 250px; /* Retaining original width */
  height: 1065px; /* Retaining original height */
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.building {
  position: absolute;
  left: 32.5%;
  bottom: 45%;
  transform: translate(-46.5%, -69%);
  width: 600px;
  height: auto;
  display: flex;
  justify-content: flex-start;
  z-index: 3;
}

.corner-square {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 5px solid #d2a578;
  background: transparent;
  box-sizing: border-box;
  z-index: 150;
}

.corner-square::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 40px;
  height: 40px;
  border: 5px solid #d2a578;
  box-sizing: border-box;
  pointer-events: none;
}

.corner-square.top-left::before {
  top: -5px;
  left: -5px;
}

.corner-square.top-right::before {
  top: -5px;
}

.corner-square.bottom-left::before {
  left: -5px;
}

.corner-square.top-left {
  top: -9px;
  left: -10px;
}

.corner-square.top-right {
  top: -9px;
  right: -10px;
}

.corner-square.bottom-left {
  bottom: -9px;
  left: -10px;
}

.corner-square.bottom-right {
  bottom: -9px;
  right: -10px;
}

.page h1:first-child {
  margin-top: 0;
}

iframe {
  border: none;
  height: 100%;
  width: 100%;
}

.page {
  padding: 24px;
}

a {
  color: #e7b16d;
}

.wrapper {
  right: 22%;
  position: relative;
  top: 35%;
  margin: auto;
  margin-top: -200px;
  width: 850px;
  height: 400px;
}

.homemenu {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  justify-content: space-evenly;
}

.homemenu a {
  font-family: "Crostan-Bold", sans-serif;
  text-transform: uppercase;

  font-size: 40px;
  background: #d2a578;
  color: #000000;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 2px;
  text-align: center;
  padding: 25px; /* Reduce padding to make the items smaller */
  margin: 15px 0; /* Add a slight gap between each homemenu item */
  flex-grow: 1;
  border: 10px solid #000000;

  border-left: 20px double #000000;
  border-right: 20px double #000000;
}

.homemenu a:hover {
  border-top: 10px solid #000000;
  border-bottom: 10px solid #000000;
  border-left: 20px double #d2a578;
  border-right: 20px double #d2a578;
  background: #000000;
  color: #d2a578;
}

.main {
  display: flex;

  overflow: hidden;
 
  z-index: 6;
  position: relative;
  width: 1300px;
  height: 1000px;
  border: 10px solid;
  box-sizing: border-box;
  background: repeating-linear-gradient(
    
            to bottom, 
            black, 
             black 4px,
            #121212 2px, 
            #121212 9px 
        );
}

.main::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 5px solid #d2a578;
  pointer-events: none;
}

.content {
  width: 1600px;
  overflow-y: auto;
  overflow-x: hidden;
}

.menu {
  margin-left: auto;
  width: 1290px;
  padding: 9px;
  display: flex;
  justify-content: flex-end;
}

.menu a {
  z-index: 9;
  background: #d2a578;
  padding: 15px 60px;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  text-align: center;

}

.menu a:hover {
  background: #000000;
  color: #f3f3f3;
}

h1,
h2,
h3,
h4 {
  color: #d2a578;
}

h1 {
  font-size: 40px;
  background: #d2a578;
  color: #000;
  text-transform: uppercase;
}

h3 {
  font-family: "Crostan-Bold", sans-serif;
  font-size: 56px;
  color: #ffffdc;
  font-weight: bold;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@font-face {
  font-family: "Crostan-Bold";
  src: url("Crostan-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

.menu a,
.webcontainer {
  font-family: "Crostan-Bold", sans-serif;
}

.webcontainer img {
  width: 194px;
  height: auto;
  margin-top: 17px;
  transform: translate(0, 34px);
  filter: sepia(1) contrast(1);
  transition: filter 0.3s ease;
  user-select: none;
}

.webcontainer img:hover {
  filter: sepia(0) contrast(1);
}

.menu {
  padding: 10px;
}
.box {
  top: 75%;
  right: -17.5%;
  position: relative;
  margin-right: 5px;
  width: 400px;
  height: 1400px;
  display: flex;

  flex-direction: column;
  justify-content: flex-start;
}
.hometext {
  font-family: "Crostan-Bold", sans-serif;
  font-size: 147px;
  width: 370px;
  height: auto;
  color: #ffffdc;
}
.textcontainer {
  font-size: 32px;
      text-shadow: 0 0 8px #d2a578 !important;

  position: relative;
  left: 21%;
  top: 17%;
  margin: auto;
  padding-right: 30px;
  min-width: 135%;
  height: 210%;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-left:1%;
}
.home-body {
  color: #ffffdc;
  width: 1024px;
  height: 625px;
  transform: scale(0.65);
  transform-origin: top;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border: none;
}
.titletext {
  font-family: "Crostan-Bold", sans-serif;

  font-size: 147px;
  margin-top: 34px;
  position: relative;
}
.updatebox {
  border: 20px double #d2a578;
  position: relative;
  width: 82%;
  overflow-y: auto;
  padding: 10px;
  font-size: 30px;
  margin-top: 10px;
  overflow-x: hidden;
}
.card {
  position: relative;
  width: 98%;
  border: 10px solid #d2a578;
  border-bottom: 30px double #d2a578;

}

.comment-box {
  margin-top: 15px;
  position: relative;
  width: 86%; /* Fixed width for the comment box */
}
.comment-box iframe {
  width: 100%;
  height: 345%;
  border: 20px double #d2a578;
}

@media screen and (max-width: 500px) {
  h1, h2, h3, .titletext {
    font-size: 100%;
  }
  h3 {
    font-size: 100%;
  }
  body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  
    
  }

  .corner-square::before {
    display: none;
  }
  .content {
    width: 100%;
    overflow-y: hidden;
    
  }
  .home-body {
    width: 150%;
    height: 100%;
    margin-left: -25%;
    flex-direction: column-reverse;
    
    
  }
  .fade {
  animation-name: fade;
  animation-duration: 1s;
}



@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
  .building {
    width:100%;
    margin:0;
    margin-left:16%;
    margin-bottom:55%;
  }
  .wrapper {
    left: -4%;
    width: 125%;
    height: 100%;

  }
  .menu {
    justify-content: center;
  }
  .webcontainer {
    width: 0;
    height: 0;
    display: none;
  }
  .homemenu {
    flex-direction: column;

  }
  .homemenu a {
    margin-bottom: -3%;
    padding: 1% 0%;
    width:94.3%;
    font-size: 25px;
    text-align: center;
    
  }
  .box {
    flex-direction: column;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 101%;
    height: auto;
    margin-bottom: -40%;
  }
  
  .main {
    left: 0;
    right: 0;
    margin: none;
    padding: none;
    width: 108%;
    border: solid 5px #d2a578;
    margin-left: -1%;
overflow-y: scroll !important;
    height: 130%;
  }
  .main:before{
    border:solid 3px #d2a578;
  }
  .corner-square{
    display:none;
  }
  .textcontainer {
    left: 0;
    top: 0;
    bottom: 0;
    width: 60%; 
    max-width: 105%;
    height: 200%; 
    margin: 0;
    margin-left: 5%;
    padding: 19%; /* Clean padding */
    padding-right: 25%;
    box-sizing: border-box; 
    font-size: 140%;
      overflow-y: scroll;

  }
  .card {
    margin-top: -15%;
    width: 96.5%;
  }
  .line {
    width: 100%;
  }
  .comment-box {
    height: 19%;
    width: 91%;
    margin-top: 5%;
  }
  .updatebox {
    font-size: 150%;
    height: 50%;
    max-height: 90%;
        width: 87%;
    margin-bottom:-60%;
    top: 5%;
    margin-left: 4%;
      border: 10px solid #d2a578;


  }
  .updatebox img{
    width:80%;
  }
  .comment-box iframe {
    border: none;
    margin-left: 5%;
  }
  .menu {
    width: 108%;
    right: 0;
    margin: 0;
    display: flex;
    justify-content: space-evenly;
    margin-left: -4%;
  }
  .menu a {
    line-height: 300%;
    font-size: 15px;
    margin: 0;
    left: 0;
    right: 0;
    padding: 0;
    text-align: center;
    flex: 1;
  }
  .char-container {
            	left:12%;
    width:50%;
        	}
  .iframe-container {
            	width:150%;
        	}
}
