/*---------------------------->
date created: April 11, 2026
version: 1.0
<----------------------------*/

/*****************/
/* Overall Style */
/*****************/
body{
	font-size: 25px;
	font-family: Midiet, sans-serif;
	background-color: #333;
	margin: 0px;
}
#body_min{
	background-color: lightblue;
	position: relative;
	padding: 8px;
}
.max100{
	max-width: 100%;
}
.waiting{
	cursor: wait;
}
.pwaiting{
	cursor: progress;
}
.loading{
	background-image: url('/img/loading.gif');
	background-repeat: repeat;
	cursor: wait;
}
.success{
	background-color: #99dd44;
}
.failure{
	background-color: #dd9944;
}
.group{
	display: inline-block;
}
a,.click{
	cursor: pointer; 
}
.noWrap {
	clear: both;
}
.hide {
	display: none;
}
.float {
    float: left;
}
.smaller{
	font-size: 14px;
	font-weight: normal;
}
.bold{
    font-weight: bold;
}
.small{
    font-size: 10px;
}
.center{
	text-align: center;
}
.center-flex{
	display: flex;
	justify-content: center;
}
.buffer{
	padding-top: 5px;
}
.lower_buffer{
	padding-bottom: 5px;
}
.small_buffer{
	padding-top: 2px;
}
.small_pad_top{
	padding-top: 3px;
}
.mpad_top{
	margin-top: 10px;
}
.border{
	border: 1px solid black;
}
.pad_bottom{
	display: inline-block;
	margin-bottom: 4px;
}
.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.clearfix {
  overflow-y: auto; /* TODO */
  overflow-x: hidden;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/***********/
/* Notices */
/***********/
#notice{
    display: none;
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0px;
	left: 0px;
	/*max-width: 1000px;*/
	font-family: serif;
	font-size: 14px;
	text-align: center;
}
#javascript_warning{
	font-family: serif;
	font-size: 14px;
}
#cookie_warning{
	font-family: serif;
	font-size: 14px;
}
.warning{
	color: #ff3333;
	background-color: #111;
	padding: 10px;
	margin: 0;
}
.notification{
	color: #33ff33;
	background-color: #111;
	padding: 10px;
	margin-top: 0px;
}


/************/
/* linebars */
/************/

div.imgbar{
    background-repeat: repeat-x;
	background-size: auto 70px;
	background-position: center;
	background-color: aliceblue; /*teal;*/
    /*background-size: 80px 70px; */
    border: 1px solid black;
    border-left-width: 0px;
    border-right-width: 0px;
	height: 90px;
}
div.imgbar1{
	background-image: url("img/cpu.png");
}
div.imgbar2{
	background-image: url("img/floppy.png");
}
div.imgbar3{
	background-image: url("img/gpu.png");
}
div.imgbar4{
	background-image: url("img/motherboard.png");
}
div.imgbar5{
	background-image: url("img/mouse.png");
}
div.linebar{
    border: 1px solid #000; /*5px dotted #000; /* rgb(87,99,1); /* rgb(126,182,250); /* rgb(82,205,245); /* rgb(114,137,233); /* rgb(5,5,177); /*#800002;*/
    border-bottom-width: 0px;
    margin: 20px 0px;
	clear: both;
}
p.legendbar{
    border: 1px solid black;
    border-width: 1px 0px;
}

/* Font */

@font-face {
  font-family: 'Midiet';
  font-style: normal;
  font-weight: 400;
  src: local('Midiet'), url(font/Midiet_Sans_Medium.otf); /* format('otf');
  /*unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;*/
}
@font-face {
  font-family: 'Midiet';
  font-style: normal;
  font-weight: 200;
  src: local('Midiet Light'), url(font/Midiet_Sans_Light.otf); /* format('otf');
  /*unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;*/
}
@font-face {
  font-family: 'Midiet';
  font-style: normal;
  font-weight: 700;
  src: local('Midiet Bold'), url(font/Midiet_Sans_Bold.otf); /* format('otf');
  /*unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;*/
}
@font-face {
  font-family: 'Midiet';
  font-style: italic;
  font-weight: 400;
  src: local('Midiet Italic'), url(font/Midiet_Sans_Italic_Medium.otf); /* format('otf');
  /*unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;*/
}
@font-face {
  font-family: 'Midiet';
  font-style: italic;
  font-weight: 200;
  src: local('Midiet Italic Light'), url(font/Midiet_Sans_Italic_Light.otf); /* format('otf');
  /*unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;*/
}
@font-face {
  font-family: 'Midiet';
  font-style: italic;
  font-weight: 700;
  src: local('Midiet Italic Bold'), url(font/Midiet_Sans_Italic_Bold.otf); /* format('otf');
  /*unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;*/
}


/* Navigation */
nav{
	float: right;
	user-select: none;
}
nav li{
	float: right;
	list-style-type: none;
	margin: 10px;
	padding: 10px;
	cursor: pointer;
}

#main_nav{
	margin-top: -15px;
	margin-right: 20px;
}
#main_nav li{
	background-color: rgb(150,200,220);
	border-radius: 5px;
}
#main_nav li:hover {	
	background-color: rgb(160,210,230);
}
#main_nav li:active { /* button press down */
	position:relative;
	top:1px;
}
footer nav li{
	margin-top: -20px;
	font-size: 25px;
}
footer nav li a{
	color: #bbb;
}
footer nav li a:hover{
	color: #fff;
}

/* Footer */
footer{
	background-color: #333;
	color: #aaa;
	padding: 10px;
	position: absolute;
	bottom: 0;
	/*width: calc(100vw - 36px);*/
	width: calc(100% - 18px);
	margin: 0 -10px;
	font-size: 20px;
}
#copyright{
	text-align: center;
	margin-top: 20px;
}
#bottom_decoration{
	position: absolute;
	bottom: 60px;
	width: 0;
	height: 0;
	border-left: 10vw solid transparent;
	border-right: 30vw solid transparent;
	border-top: 20px solid lightblue;
	left: 10vw;
	z-index: 3;
}

/* Pages */
.page{
	font-size: 23px;
	min-height: 580px;
}
#page_intro{
	min-height: 50px;
}
.page div:nth-last-child(2){
	min-height: 270px;
}
svg{
	position: absolute;
	top: 0;
	left: 5vw;
	width: 30vw;
	font-size: 30px;
	z-index: 0;
}
@media screen and (max-width: 1400px){
	svg{
		font-size: 40px;
		top: 20px;
	}
}
@media screen and (max-width: 750px){
	svg{
		width: 50vw;
	}
}
@media screen and (max-width: 600px){
	svg{
		top: 70px;
	}
}
path {
  fill: transparent;
}
text:hover{
	filter: invert(15%) sepia(0%) saturate(1955%) hue-rotate(136deg) brightness(94%) contrast(85%);
}
#page_intro{
	/*position: relative;*/
	font-size: 25px;
}
#page_image{
	/*background-image: url("img/computerbackground.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;*/
}
#big_colour_background{
	position: fixed;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-left: 500px solid rgb(100,215,200);
	border-bottom: 200px solid transparent;
}
#big_title{
	margin-top: 140px;
	margin-left: 15%;
	font-size: 50px;
}
.big_intro{
	margin: 0% 20%;
}
.big_intro img{
	width: 200px;
	height: 200px;
	border-radius: 20px;
	user-select: none;
	margin: 5px 5px 0 0;
	cursor: pointer;
	position: relative;
	z-index: 1;
}
#big_websites img, #big_opensource img{
	border-radius: 5px;
}
.big_intro img:hover{
	 filter: brightness(120%); 
}
.big_intro img:active { /* button press down */
	position:relative;
	top:1px;
}
#big_apps, #big_websites, #big_opensource{
	text-align: center;
	margin: 0px -50px;
}
#big_spacer{
	padding: 20px;
}
.subpage{
	position: fixed;
	top: 10vh;
	max-height: 80vh;
	overflow-y: auto;
	overflow-x: hidden;
	margin: auto;
	max-width: 80vw;
	left: calc(10vw - 16px);
	background-color: rgba(230,230,230,0.99);
	padding: 20px;
	border-radius: 5px;
	animation: 1s slide-in;
	cursor: pointer;
	width: 80vw;
	max-width: 1000px;
	z-index: 2;
}
@media screen and (min-width: 1200px){
	.subpage{
		left: calc(50vw - 516px);
	}
}
.big_subtitle{
	text-align: center;
}
.subpage img{
	max-height: 300px;
	border-radius: 5px;
}
.img_div{
	text-align: center;
}

@keyframes slide-in {
  from {
	left: 100vw;
	overflow-y: hidden;
	max-height: 30vh;
  }
  to {
	left: 10vw;
	overflow-y: hidden;
  }
}
@media screen and (min-width: 1200px){
	@keyframes slide-in {
	  from {
		left: 100vw;
		overflow-y: hidden;
		max-height: 30vh;
	  }
	  to {
		left: calc(50vw - 516px);
		overflow-y: hidden;
	  }
	}
}
