/* CSS Document Metal Mania Oswald Barriecito IBM Plex Sans*/


body {
	/*background: #f7f7f7;*/
	color: rgb(0, 0, 0);
	background: rgb(255, 255, 255);
}

.topcorner{
	position: absolute;
    top:10px;
	right: 10px;
 }


html.darkmode body {
	background: #141d26;
	color: rgba(255, 255, 255, 0.87);
	background: linear-gradient(#1f1e3a, #243447);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center top;
  }


/* Headings */

h1 {
	  font-size:21px;
	  font-family: 'Spectral', 'Lato', Verdana, Helvetica, sans-serif;
	  text-align: left;
}

h2 {
	font-size:17px;
}


h3 {
  	font-size:14pt;
}

.profile_name{
	font-size:27px;
	font-family: 'Spectral', 'sans-serif', 'IBM Plex Sans', 'Lato', Verdana, Helvetica, sans-serif;
    font-weight: 300;
}

.profile_about{
	font-size:17px;
    font-family: 'Spectral','IBM Plex Sans', 'Lato', Verdana, Helvetica, sans-serif;
	font-weight: 300;
	margin-bottom: 5px;
}

.profile_links img {
	width: 13%;
  }

/* Hyperlinks */
  
a:link, a:visited {
  color: #3a71d6;
  text-decoration: none;
}

a:hover, a:active {
	color: #f09228;
  text-decoration: none;
}


.pseudolink { 
	cursor:pointer; 
	}
  
  

/* Main page container */

.profile {
	width: 90%;
	max-width: 800px;
	margin: 0 auto; /* top and bottom, right and left */
	/* border: none; */
	text-align: center;
	background: rgba(187, 187, 187, 0);
}


.noselect {
	-webkit-touch-callout: none; /* iOS Safari */
	  -webkit-user-select: none; /* Safari */
	   -khtml-user-select: none; /* Konqueror HTML */
		 -moz-user-select: none; /* Old versions of Firefox */
		  -ms-user-select: none; /* Internet Explorer/Edge */
			  user-select: none; /* Non-prefixed version, currently
									supported by Chrome, Opera and Firefox */
  }

  .topcorner{
	position: absolute;
    top:10px;
	right: 10px;
	-webkit-transform: scale(0.4);
	-moz-transform: scale(0.4);
		 transform: scale(0.4);
 }

.post {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
	width: 80%;
	margin: 20px auto; /* top and bottom, right and left */
	/* border: none; */
	text-align: center;
	padding: 10px 20px 10px 20px; /* top, right, bottom, left */
}

.post_header {
	border-bottom: 1px solid rgba(160, 160, 160);
	width: 80%;
	margin: 20px auto; /* top and bottom, right and left */
	/* border: none; */
	text-align: left;
}

.post:hover {
	opacity: .5;
	}


.post_date{
	font-size:12px;
	font-family: "Times New Roman", Times, serif;
	text-align: right;
	opacity: 0.7;
	padding-top: 5px;
}

.instructorphoto {
	position: relative;
	height: 120px;
  }
.instructorphoto img {
	border-radius: 220px;
	width: 120px;
	transition: opacity .4s ease;
	position: absolute;
	top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
  }
  .instructorphoto img:hover {
	opacity: 0;
  }

/* Not being used */

.container_img {
	width: 100%;
	height: 15vw;
	overflow:hidden;
	position: relative;
	text-align: left;
	color: white;
 }
 
.container_img:hover {
opacity: .5;
}

html {
	font-size: 20%;
	}

@media(min-width: 640px) {
	/* Screens larger than 768px will use the following CSS */
	h1 {
		font-size:40px;
	}
	h2 {
		font-size:25px;
	}
	.profile_name{
		font-size:43px;
	}
	.profile_about{
		font-size:24px;
		margin-bottom: 10px;
	}
	.instructorphoto {
		position: relative;
		height: 220px;
	  }
	.instructorphoto img {
		width: 220px;
		border-radius: 220px;
		margin-bottom: 10px;
	  }
	.post {
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
		width: 90%;
		max-width: 800px;
		margin: 40px auto; /* top and bottom, right and left */
		/* border: none; */
		text-align: center;
		padding: 20px 50px 25px 50px; /* top, right, bottom, left */
	}
	.post_header {
	border-bottom: 2px solid;
	width: 90%;
	max-width: 800px;
	margin: 40px auto; /* top and bottom, right and left */
	}

	.post_line{
		border-bottom: 1px solid;
		opacity: 0.7;
		width: 90%;
		margin: 20px auto; /* top and bottom, right and left */
		/* border: none; */
		text-align: left;
		clear: both;
	}


	.post_date{
		font-size:17px;
		padding-top: 15px;
	}
	.profile_links img {
		width: 9%;
	  }
	html {
	font-size: 35%;
	}


	.topcorner{
		position: absolute;
		top:10px;
		right: 10px;
		-webkit-transform: scale(.9);
		-moz-transform: scale(.9);
			 transform: scale(.9);
	 }
}

/* toggle switch*/



* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
  }
  *::before, *::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
  }
  
  
  #container {
	width: 12.25rem;
	height: 5.5rem;
	margin: 0;
	grid-area: main;
	-ms-flex-item-align: center;
	-ms-grid-row-align: center;
	align-self: center;
	-ms-grid-column-align: center;
	justify-self: center;
  }
  
  .toggle {
	position: absolute;
	width: 12.25rem;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
  }
  
  [type="checkbox"] {
	display: none;
  }
  
  .check-label {
	display: block;
	width: 12.25rem;
	height: 5.5rem;
	border: none;
	border-radius: 3rem;
	background: #d7d7d781;
	cursor: pointer;
	overflow: hidden;
  }
  .check-label .face {
	display: block;
	position: absolute;
	content: '';
	top: 0.45rem;
	bottom: 0;
	right: 7.25rem;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0;
	border: none;
	border-radius: 3rem;
	background: -webkit-linear-gradient(45deg, #dedede 0%, #fff 70%);
	background: -o-linear-gradient(45deg, #dedede 0%, #fff 70%);
	background: linear-gradient(45deg, #dedede 0%, #fff 70%);
	-webkit-transition: all 0.45s ease-in-out;
	-o-transition: all 0.45s ease-in-out;
	transition: all 0.45s ease-in-out;
	overflow: hidden;
  }
  
  [type="checkbox"] + .check-label #background {
	width: inherit;
	height: inherit;
	border: none;
	border-radius: inherit;
	background: -webkit-gradient(linear, right top, left top, from(#2b5bdf), to(#a02abe));
	background: -webkit-linear-gradient(right, #2b5bdf, #a02abe);
	background: -o-linear-gradient(right, #2b5bdf, #a02abe);
	background: linear-gradient(to left, #2b5bdf, #a02abe);
	opacity: 0;
	-webkit-transition: all 0.45s ease-in-out;
	-o-transition: all 0.45s ease-in-out;
	transition: all 0.45s ease-in-out;
  }
  [type="checkbox"]:checked + .check-label #background {
	opacity: 1;
  }
  
  .face-container {
	position: absolute;
	width: 4.5rem;
	height: 4.5rem;
  }
  
  .face {
	-webkit-box-shadow: 0 0.3rem 0.3rem 0 rgba(0, 0, 0, 0.25);
	box-shadow: 0 0.3rem 0.3rem 0 rgba(0, 0, 0, 0.25);
  }
  
  .eye {
	position: absolute;
	top: 2.25rem;
	height: 0.25rem;
	width: 0.625rem;
	background: #8e8e8e;
	border-radius: 0 0 100% 50%;
  }
  .eye.left {
	left: 0.75rem;
  }
  .eye.right {
	left: 2.125rem;
  }
  
  .mouth {
	position: absolute;
	top: 3.125rem;
	left: 1.45rem;
	width: 0.475rem;
	height: 0.25rem;
	background: #8e8e8e;
	border-radius: 40% 40% 100% 50%;
  }
  
  [type="checkbox"]:checked + .check-label .face {
	right: 0.6rem;
  }
  [type="checkbox"]:checked + .check-label .face .face-container {
	-webkit-animation: rotateElement forwards 0.3s;
	animation: rotateElement forwards 0.3s;
  }
  [type="checkbox"]:checked + .check-label .face .eye.left, [type="checkbox"]:checked + .check-label .face .eye.right {
	-webkit-animation: changeFace forwards 0.3s 0.075s;
	animation: changeFace forwards 0.3s 0.075s;
  }
  [type="checkbox"]:checked + .check-label .face .mouth {
	-webkit-animation: changeMouth forwards 0.3s 0.075s;
	animation: changeMouth forwards 0.3s 0.075s;
  }
  [type="checkbox"]:checked + .check-label .face .eye.left {
	left: 1rem;
  }
  [type="checkbox"]:checked + .check-label .face .eye.right {
	left: 2.5rem;
  }
  [type="checkbox"] + .check-label .face .face-container {
	-webkit-animation: rotateElementReverse forwards 0.3s;
	animation: rotateElementReverse forwards 0.3s;
  }
  [type="checkbox"] + .check-label .face .eye.left, [type="checkbox"] + .check-label .face .eye.right {
	-webkit-animation: changeFaceReverse forwards 0.3s;
	animation: changeFaceReverse forwards 0.3s;
  }
  [type="checkbox"] + .check-label .face .mouth {
	-webkit-animation: changeMouthReverse forwards 0.3s;
	animation: changeMouthReverse forwards 0.3s;
  }
  
  @-webkit-keyframes rotateElement {
	0% {
	  left: 0;
	}
	25% {
	  left: 4rem;
	}
	30% {
	  opacity: 0;
	}
	50% {
	  opacity: 0;
	  left: -4rem;
	}
	90% {
	  opacity: 1;
	}
	100% {
	  left: 1rem;
	  opacity: 1;
	}
  }
  @keyframes rotateElement {
	0% {
	  left: 0;
	}
	25% {
	  left: 4rem;
	}
	30% {
	  opacity: 0;
	}
	50% {
	  opacity: 0;
	  left: -4rem;
	}
	90% {
	  opacity: 1;
	}
	100% {
	  left: 1rem;
	  opacity: 1;
	}
  }
  @-webkit-keyframes changeFace {
	100% {
	  top: 1.7rem;
	  width: 0.375rem;
	  height: 0.375rem;
	  background: #8e8e8e;
	  border: none;
	  border-radius: 100%;
	}
  }
  @keyframes changeFace {
	100% {
	  top: 1.7rem;
	  width: 0.375rem;
	  height: 0.375rem;
	  background: #8e8e8e;
	  border: none;
	  border-radius: 100%;
	}
  }
  @-webkit-keyframes changeMouth {
	100% {
	  top: 2.55rem;
	  left: 1.125rem;
	  height: 0.625rem;
	  width: 1.625rem;
	  background: #8e8e8e;
	  background-image: -webkit-gradient(linear, left top, left bottom, from(#8e8e8e), to(#a4a4a4));
	  background-image: -webkit-linear-gradient(top, #8e8e8e, #a4a4a4);
	  background-image: -o-linear-gradient(top, #8e8e8e, #a4a4a4);
	  background-image: linear-gradient(to bottom, #8e8e8e, #a4a4a4);
	  border-radius: 0.2rem 0.2rem 1rem 1rem;
	}
  }
  @keyframes changeMouth {
	100% {
	  top: 2.55rem;
	  left: 1.125rem;
	  height: 0.625rem;
	  width: 1.625rem;
	  background: #8e8e8e;
	  background-image: -webkit-gradient(linear, left top, left bottom, from(#8e8e8e), to(#a4a4a4));
	  background-image: -webkit-linear-gradient(top, #8e8e8e, #a4a4a4);
	  background-image: -o-linear-gradient(top, #8e8e8e, #a4a4a4);
	  background-image: linear-gradient(to bottom, #8e8e8e, #a4a4a4);
	  border-radius: 0.2rem 0.2rem 1rem 1rem;
	}
  }
  @-webkit-keyframes rotateElementReverse {
	0% {
	  left: 0;
	}
	25% {
	  left: -4rem;
	}
	30% {
	  opacity: 0;
	}
	50% {
	  opacity: 0;
	  left: 4rem;
	}
	90% {
	  opacity: 1;
	}
	100% {
	  left: 0;
	  opacity: 1;
	}
  }
  @keyframes rotateElementReverse {
	0% {
	  left: 0;
	}
	25% {
	  left: -4rem;
	}
	30% {
	  opacity: 0;
	}
	50% {
	  opacity: 0;
	  left: 4rem;
	}
	90% {
	  opacity: 1;
	}
	100% {
	  left: 0;
	  opacity: 1;
	}
  }
  @-webkit-keyframes changeFaceReverse {
	0% {
	  top: 1.7rem;
	  width: 0.375rem;
	  height: 0.375rem;
	  border: none;
	  border-radius: 100%;
	  background: #8e8e8e;
	}
  }
  @keyframes changeFaceReverse {
	0% {
	  top: 1.7rem;
	  width: 0.375rem;
	  height: 0.375rem;
	  border: none;
	  border-radius: 100%;
	  background: #8e8e8e;
	}
  }
  @-webkit-keyframes changeMouthReverse {
	0% {
	  top: 2.55rem;
	  left: 0.9rem;
	  height: 0.625rem;
	  width: 1.625rem;
	  background: #8e8e8e;
	  background-image: -webkit-gradient(linear, left top, left bottom, from(#8e8e8e), to(#a4a4a4));
	  background-image: -webkit-linear-gradient(top, #8e8e8e, #a4a4a4);
	  background-image: -o-linear-gradient(top, #8e8e8e, #a4a4a4);
	  background-image: linear-gradient(to bottom, #8e8e8e, #a4a4a4);
	  border: none;
	  border-radius: 0.2rem 0.2rem 1rem 1rem;
	}
	25% {
	  left: 1.125rem;
	}
  }
  @keyframes changeMouthReverse {
	0% {
	  top: 2.55rem;
	  left: 0.9rem;
	  height: 0.625rem;
	  width: 1.625rem;
	  background: #8e8e8e;
	  background-image: -webkit-gradient(linear, left top, left bottom, from(#8e8e8e), to(#a4a4a4));
	  background-image: -webkit-linear-gradient(top, #8e8e8e, #a4a4a4);
	  background-image: -o-linear-gradient(top, #8e8e8e, #a4a4a4);
	  background-image: linear-gradient(to bottom, #8e8e8e, #a4a4a4);
	  border: none;
	  border-radius: 0.2rem 0.2rem 1rem 1rem;
	}
	25% {
	  left: 1.125rem;
	}
  }