@font-face { font-family: 'SimSunB'; src: url('https://www.oteek.xyz/font/simsunb.ttf'); font-display: swap; } 
#manage-frame { display: block; width: 100%; height: 85vh; border: 0; }
.about-page { width: min(820px, calc(100% - 32px)); margin: 32px auto; }
.about-intro, .about-footer { text-align: center; }
.portfolio { margin: 36px 0; border-top: 1px solid #777; border-bottom: 1px solid #777; padding: 12px 0 24px; }
.portfolio > h2 { text-align: center; font-size: 21px; font-weight: normal; margin: 12px 0 24px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card { min-width: 0; border: 1px solid #777; background: rgba(0,0,0,.55); overflow-wrap: anywhere; }
.project-open { display: block; width: 100%; padding: 0; border: 0; outline: none; text-align: left; font: inherit; cursor: pointer; }
.project-card h3 { font-size: 19px; margin: 0; padding: 18px; }
.project-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-placeholder { display: flex; box-sizing: border-box; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: radial-gradient(ellipse at 20% 100%, #37243f, transparent 65%), linear-gradient(135deg, #1c1c22, #09090c); color: #eee; }
.project-placeholder > span { font-size: clamp(20px, 3vw, 36px); }
.project-placeholder small { font-size: 12px; color: #b09ab9; letter-spacing: .12em; }
.project-card:nth-child(even) .project-placeholder { background: radial-gradient(ellipse at 90% 100%, #1d3b43, transparent 65%), linear-gradient(135deg, #1c2227, #09090c); }
.project-open:hover h3 { color: #e3bbf2; }
.project-open:hover .project-cover { filter: brightness(1.15); }
.project-open:focus-visible, .project-dialog button:focus-visible, .project-gallery:focus-visible { outline: 2px solid #ca8ce5; outline-offset: 3px; }
body:has(.project-dialog[open]) { overflow: hidden; }
.project-dialog { box-sizing: border-box; width: min(1120px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); padding: 22px; border: 1px solid #777; color: #eee; background: #0b0b0e; overflow: auto; }
.project-dialog::backdrop { background: rgba(0,0,0,.85); }
.project-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.project-dialog-header h2 { margin: 0; font-size: 24px; }
.project-dialog button { font: inherit; border: 1px solid #666; outline: none; cursor: pointer; }
.project-dialog button:hover { border-color: #ca8ce5; }
.project-close { padding: 6px 10px; white-space: nowrap; }
.project-detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 22px; }
.project-gallery, .project-summary { min-width: 0; }
.project-stage { aspect-ratio: 16 / 9; background: #000; display: flex; align-items: center; justify-content: center; }
.project-stage .project-main-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.project-dialog .project-image-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.screenshot-dialog { box-sizing: border-box; width: min(1600px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 16px; border: 1px solid #777; background: #08080b; color: #eee; }
.screenshot-dialog::backdrop { background: rgba(0,0,0,.94); }
.screenshot-header { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.screenshot-header button { padding: 6px 10px; }
.screenshot-original { margin-right: auto; }
.screenshot-viewport { max-height: calc(100dvh - 150px); overflow: auto; }
.project-dialog .screenshot-image-toggle { display: block; margin: auto; padding: 0; border: 0; background: transparent; cursor: zoom-in; max-width: 100%; }
.screenshot-image { display: block; max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; }
.screenshot-actual-size .screenshot-image-toggle { max-width: none; margin: 0; cursor: zoom-out; }
.screenshot-actual-size .screenshot-image { max-width: none; max-height: none; }
.screenshot-viewport [hidden] { display: none; }
.screenshot-error { text-align: center; padding: 24px; }
.project-stage > .project-placeholder { width: 100%; height: 100%; }
.project-image-error { padding: 20px; text-align: center; color: #bbb; }
.project-stage [hidden] { display: none; }
.project-thumbnails { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px; scrollbar-color: #66546d #141418; }
.project-thumbnail { flex: 0 0 108px; padding: 0; opacity: .6; }
.project-thumbnail img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-thumbnail[aria-pressed="true"] { opacity: 1; border-color: #e3bbf2; box-shadow: 0 0 0 1px #e3bbf2; }
.project-gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #aaa; font-size: 13px; }
.project-gallery-controls button { min-width: 40px; padding: 2px 12px; font-size: 24px; }
.project-gallery-controls button:disabled { opacity: .3; cursor: default; }
.project-summary-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-summary .project-placeholder > span { font-size: 24px; }
.project-description { white-space: pre-wrap; line-height: 1.6; margin: 16px 0; overflow-wrap: anywhere; }
.project-links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 0; padding: 8px 0 0; list-style: none; }
.project-links a::before { content: '['; }
.project-links a::after { content: ']'; }
.about-footer { margin-top: 28px; }
@media (max-width: 700px) {
    .project-detail { grid-template-columns: 1fr; }
    .project-summary-cover, .project-summary > .project-placeholder { display: none; }
    .project-dialog { padding: 16px; max-height: calc(100dvh - 24px); }
    .project-dialog-header h2 { font-size: 20px; }
}
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }
.changelog-page { width: min(960px, calc(100% - 32px)); margin: 32px auto; padding-bottom: 90px; }
.changelog-page > h1, .changelog-picker { text-align: center; }
.changelog-page > hr { border: 0; border-top: 1px solid #777; margin: 24px 0; }
.changelog-picker select { max-width: 100%; background: #000; color: #ddd; font: inherit; border: 1px solid #888; padding: 5px; }
.changelog-picker label { display: block; margin-bottom: 8px; }
#entry-content { margin: 32px auto; min-height: 180px; overflow-wrap: anywhere; }
#entry-content img { max-width: 100%; height: auto; }
.changelog-line { margin: 10px 0; white-space: pre-wrap; }
.changelog-navigation { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10; display: flex; justify-content: center; gap: 28px; margin: 0; padding: 10px 14px; background: #000; }
.changelog-navigation button { color: #ca8ce5; font: inherit; border: 1px solid #777; padding: 4px 10px; outline: none; cursor: pointer; }
.changelog-navigation button:disabled { opacity: .35; cursor: default; }
.changelog-navigation button:focus-visible, .changelog-picker select:focus-visible { outline: 1px solid #ca8ce5; outline-offset: 3px; }
.contact-page { width: min(480px, calc(100% - 32px)); margin: 32px auto; }
.contact-page > h1, .contact-page > p { text-align: center; }
.contact-page > hr { border: 0; border-top: 1px solid #777; margin: 24px 0; }
.contact-page label { display: block; margin: 20px 0 6px; }
.contact-page input, .contact-page textarea { box-sizing: border-box; width: 100%; font: inherit; padding: 5px; border: 2px inset #888; border-radius: 0; }
.contact-page textarea { min-height: 150px; height: auto; resize: vertical; }
.contact-page #contact-captcha { margin: 16px 0; }
.contact-page button { font: inherit; border: 2px outset #aaa; border-radius: 0; padding: 4px 10px; outline: none; }
.contact-page button:disabled { opacity: .6; cursor: wait; }
.contact-page input:focus-visible, .contact-page textarea:focus-visible, .contact-page button:focus-visible { outline: 1px solid #ca8ce5; outline-offset: 2px; }
.contact-page #contact-status { min-height: 1em; }
.contact-page .contact-error { color: #ffaaaa; }
.contact-page .contact-note { font-size: 12px; color: #aaa; }
@font-face { font-family: 'Azeroy'; src: url('https://www.oteek.xyz/font/azeroyhd-regular.ttf'); font-display: swap; } 

.number {
  font-family: 'SimSunB', sans-serif;
}

body {
	  background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9) ), url('../../img/3gC.gif');
	  background-repeat: no-repeat;
	  background-attachment: fixed;
	  background-size: cover;
	  background-color: black;
    font-family: 'SimSunB', sans-serif;
	  
	  color: white;
	 /* text-align: center; */
	 /* xmas shit below */
	 /* overflow: hidden;
	  filter: drop-shadow(0 0 10px white);
	  height: 97vh; */

	-webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 3s; /* Firefox < 16 */
        -ms-animation: fadein 3s; /* Internet Explorer */
         -o-animation: fadein 3s; /* Opera < 12.1 */
            animation: fadein 3s;
}


@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.logmargin {
    margin-left: 150px;
}

.logmargin2 {
  margin-left: 30%;
}

.logmargin2-r {
  margin-right: 30%;
}

@media screen and (max-width: 810px) {
  .logmargin {
    margin-left: 15px;
  }
  .logmargin2 {
    margin-left: 30px;
  }
  .logmargin2-r {
    margin-right: 30px;
  }
}

.aligncenter {
    text-align: center;
}

.faded {
    color: #121014;
}

.gem {
    color: #569BBB;
}

#flash
{
	position:absolute;
	top:0px;
	//background-color: #000000;
	height: calc(100% - 160px);
	width: 100%;
	z-index: 3;
}

img.resized-moon{
  width: 120px;
  height: auto;
}

input {
  background-color: black;
  color: white;
}

button {
  background-color: black;
  color: white;
  outline-color: white;
  outline-style: solid;
}

textarea {
  resize: none;
  background-color: black;
  color: white;
  width: 450px;
  height: 120px;
}

@media screen and (max-width: 810px) {
  textarea {
    width: 300px;
    height: 100px;
  }
}

.txtarea_contact {
        resize: none;
        height: 100px;
        width: 350px;
}

.absolutecenter {
	width:270px;
	height:150px;
	position:absolute;
	left:50%;
	top:50%;
	margin:-75px 0 0 -135px;
	text-align: center;
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.centered-bottom {
  position: fixed;
  left: 50%;
  bottom: 40%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 810px) {
  .centered-bottom {
    position: fixed;
    left: 50%;
    bottom: 10%;
    transform: translate(-50%, -50%);
  }
}

.centeredabs {
  position: absolute;
  left: 50%;
  margin-top: 170px;
  transform: translate(-50%, -50%);
}

.alignbo {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, -50%);
  margin: 0 auto;
 
}
.container {
  position: relative;
  text-align: center;
  color: white;
}

/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

#footer {
    bottom: 0%;
    position: fixed;
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

a:link {
  color: lightblue;
  background-color: transparent;
  text-decoration: underline;
}

a:visited {
  color: mediumorchid;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: yellow;
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: red;
  background-color: transparent;
  text-decoration: underline;
}


/* xmas
a:link {
  color: red;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: red;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: red;
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: yellow;
  background-color: transparent;
  text-decoration: underline;
}
*/

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.largecock {
  font-size: 150%;
}
.absolutefuck {
	width:270px;
	height:150px;
	position:absolute;
	left:50%;
	top:50%;
	margin:-75px 0 0 -135px;
}

 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #101010;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 30%; /* Could be more or less, depending on screen size */
}

@media screen and (max-width: 810px) {
	 /* The Modal (background) */
	.modal {
	  display: none; /* Hidden by default */
	  position: fixed; /* Stay in place */
	  z-index: 1; /* Sit on top */
	  left: 0;
	  top: 0;
	  width: 100%; /* Full width */
	  height: 100%; /* Full height */
	  overflow: auto; /* Enable scroll if needed */
	  background-color: rgb(0,0,0); /* Fallback color */
	  background-color: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ); /* Black w/ opacity */
	}

	/* Modal Content/Box */
	.modal-content {
	  background-color: #101010;
	  margin: 50% auto; /* 15% from the top and centered */
	  padding: 20px;
	  /* padding: 20px; */
	  border: 1px solid #888;
	  width: 80%; /* Could be more or less, depending on screen size */
	}
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: yellow;
  text-decoration: none;
  cursor: pointer;
} 

.msgico {
	margin-left: 1px;
	margin-right: 10px;
	margin-top: 8px;
	float: left;
}

/* Scrolling */

.shoutouts-box {
  width: 300px;
  height: 500px;
  overflow: hidden;
  border: 2px solid #333;
  border-radius: 0px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  background-color: #0c0b0b8d;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* overflow-y: scroll;
  scroll-behavior: smooth; */
}

.shoutouts-content {
  text-align: center;
  position: absolute;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.shoutouts-box::-webkit-scrollbar {
  display: none;
}

.shoutouts-box {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.fade-out {
  position: absolute;
  width: 100%;
  height: 80px;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(249, 249, 249, 0) 0%, rgba(249, 249, 249, 1) 100%);
}

.top-right {
  position: absolute;
  top: 10px;
  right: 10px;
}
