/* Toranokotai style definitions, bh 02.11.2022 */

* {
  box-sizing: border-box;
}

@font-face {
  font-family: Noto;
  src: url(../fonts/NotoSansJP-Regular.otf);
}

/* mobile-first */
html {
  font-size: 16px;
  font-family: Noto;
}

body {
  font-family: Noto;
  font-size: 16px;
  height: 100%;
  margin: 0;
  color:black;
  background-color: white;
}
h1 {
  font-size: 2rem;
  font-family: Noto;
}

h2 {
  font-family: Noto;
  font-size: 1.5rem;
}

p {
  font-size: 1rem;
  font-family: Noto;
  text-align: left;
  margin-left: 5px;  
}

table, th, td {
  border: 2px solid #BF273E;
  border-collapse: collapse;
  background-color:LightGrey;
  font-family: Noto;
}
th {
  background-color:Grey;
  font-family: Noto;
}

/* Style the containers */
.div-hauptcontainer {
  margin: 0;
  width: 100%;
  height:100%;
  background-color: white;
  font-family: Noto;
}

#div-wrapper {
  margin: 0;
  width: 100%;
  height: auto;
  font-family: Noto;
}

#div-header {
  text-align: center;
  margin-left: 0px;
  margin-top: 0px;
  width:70%;
  font-family: Noto;
}

#div-sidebar {
  float: right;
  margin-left: 0px;
  margin-top: 0px;
  width:10%;
  font-family: Noto;
}

#div-content {
  clear: both;
  margin-left: 0px;
  margin-top: 0px;
  width:100%;
  font-family: Noto;
}

#div-footer {
  clear: both;
  margin-left: 10px;
  margin-top: 0px;
  width:100%;
  border-top: 1px solid black;
  font-size: 0.8em;
  padding: 10px;
  text-align: left;
  color: black;
  font-family: Noto;
}

/* The side navigation menu */
.sidebar {
  height: auto;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: LightGrey;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 40px;
  
}

.sidebar a, .dropdown-btn {
  font-family: Noto;
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 1rem;
  color: Black;
  border-top: 1px solid DarkGrey;
  border-bottom: 1px solid DarkGrey;
  background-color: LightGrey;
  display: block; 
  transition: 0.3s;
}

.sidebar a:hover, .dropdown-btn:hover {
  color: White;
  background-color: LightGrey;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 0px;
  font-family: Noto;
  font-size: 1rem;
  color: #BF273E;
  border: none;
  padding-right: 25px;
  padding-bottom: 0px;
}

.openbtn {
  font-size: 1rem;
  cursor: pointer;
  background-color: DarkGrey;
  color: white;
  padding: 10px 15px;
  border: none;
  float: right;
  font-family: Noto;
}

.openbtn:hover {
  background-color: Grey;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: LightGrey;
  padding-left: 0px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  align: right;
  padding-right: 8px;
  padding-top: 280px;  /* positioning of the caret as part of the Konzept button */
}

/* Add an active class to the active dropdown button */
.active {
  background-color: LightGrey;
  color: white;
}


/* Formatting of Accordion on index page */
.accordion {
  font-family: Noto;
  padding: 3px;
  text-decoration: none;
  font-size: 1rem;
  color: Black;
  background-color: White;
  max-width: 100%;
}

/* Formatting of advent calendar door sheet 

.adv_row {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 4px;
 
}

/* Create five equal columns that sits next to each other 
.adv_column {
  flex: 20%;
  max-width: 20%;
  padding: 0 4px;
}

.adv_column img {
  margin-top: 10px;
  vertical-align: middle;
}

.adv_column .btn {
  margin-top: 8px;
  vertical-align: middle;
  color: black;
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: solid black 2px;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  background-color: rgba(0, 0, 255, 0.0);
}

.adv_column .nobtn {
  margin-top: 8px;
  vertical-align: middle;
  color: white;
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: none;
  cursor: pointer;
  text-align: center;
  background-color: rgba(0, 0, 255, 0.0);
}

.adv_column .btn:hover {
  background-color: black;
}




/* Style all font awesome icons 
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

/* Add a hover effect if you want 
.fa:hover {
  opacity: 0.7;
}

/* Set a specific color for each brand 

/* Facebook
.fa-facebook {
  background: #3B5998;
  color: white;
}

*/

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  
  width: 95%;
}

/* On larger screens, where height is not small, change the style of the sidenav */
@media screen and (min-width: 30em) {
	  html {
			font-size: 18px;
			font-family: Noto;
			/* H1 hat dann Schriftgröße 3 * 18px = 54px */
			
	  }
	  table {width: 60%;}
}

/* Om small screens (less than 450px width) change sizes */

@media screen and (max-width: 30em) {
	  html {
			font-size: 12px;
			font-family: Noto;
			/* H1 hat dann Schriftgröße 3 * 12px = 36px */
			.accordion {max-width: 95%;}
			table {width: 100%;}
	  }
	  nav, header {
			width: 30%;
			height: 30%;
			font-family: Noto;
			.sidebar {padding-top: 15px; max-width: 10%;}
			.sidebar a {font-size: 1rem; max-width: 10%;}
	  }
	  
}
/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media screen and (min-width: 1920px; min-height: 1080px;) {
  nav, header {
    width: 80%;
    height: 30%;
	font-family: Noto;
	.sidebar {padding-top: 15px;}
	.sidebar a {font-size: 1.5em; width: 10%}
	.accordion {max-width: 50%;}
	
  }
  table {width: 60%;}
}

/* Create two equal columns that sits next to each other */
.column {
  flex: 50%;
  max-width: 50%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 2000px) {
  .column {
    flex: 33%;
    max-width: 33%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}