* {
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 100%;
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  display: none;
}
@media only screen and (max-width: 959px) {
  html {
    font-size: 80%;
  }
}
body {
  background-color:: #ffffff;
  margin: 0;
  height: 100%;
  color: #414f57;
  font-size: 14pt;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background-image: url(img/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
a {
  transition: color 0.2s ease, border-color 0.2s ease;
  color: inherit;
  text-decoration: none;
}
#wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  min-height: 100%;
  padding: 2%;
  z-index: 2;
  background-attachment: fixed, fixed;
  background-image: url(img/overlay-pattern.png), url(img/overlay.svg);
  background-position: top left, center center;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
}
#wrapper:before {
  content: '';
  display: block;
}
#wrapper > * {
  z-index: 1;
}
.scene {
  width: 27em;
  height: 35em;
  perspective: 600px;
  margin: 0 auto;
  max-width: 100%;
}
@media only screen and (max-width: 959px) {
  .scene {
    height: 38em;
  }
}
.card {
  width: 100%;
  height: 100%;
  transition: transform 500ms linear;
  transform-style: preserve-3d;
  will-change: transform;
}
.card.is-flipped {
  transform: rotateY(180deg);
}
.cardFace {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  backface-visibility: hidden;
  background: #ffffff;
  border-radius: 4px;
  cursor: default;
  max-width: 100%;
  text-align: center;
}
.cardFace-front {
  background: #ffffff;
}
@media only screen and (max-width: 959px) {
  .cardFace-front p:first-of-type {
    font-size: 1.2rem;
  }
}
.cardFace-back {
  background: #ffffff;
  transform: rotateY(180deg);
}
.card.is-flipped .cardFace-front {
  z-index: 1;
}
.card.is-flipped .cardFace-back {
  z-index: 2;
}
.avatar {
  position: relative;
  display: block;
  margin-bottom: 1em;
  margin-top: 2.5em;
}
@media only screen and (max-width: 959px) {
  .avatar {
    margin-top: 1.5em;
  }
}
.avatar img {
  display: block;
  margin: 0 auto;
  border-radius: 100%;
  box-shadow: 0 0 0 1.5em #ffffff;
  z-index: 1;
  position: relative;
}
.avatar::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #c8cccf;
}
h1, h2 {
  font-size: 2rem;
  letter-spacing: 0.2em;
  font-weight: 300;
  margin: 0;
}
h1 {
  margin-bottom: -0.7em;
}
h2 {
  margin-top: 0.8em;
}
p {
  margin: 0.5em 0;
}
.info {
  letter-spacing: 0;
  line-height: 1.8rem;
  font-size: 1rem;
  text-align: justify;
  margin: 0 2em;
  text-transform: initial;
}
ul {
  list-style: none;
  padding: 0;
}
.button {
  margin: 2em 0;
  display: inline-block;
  border: solid 1px #c8cccf;
  padding: 0.3em 0.4em 0.3em 0.5em;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 400;
  position: absolute;
  bottom: 2.5em;
  width: 280px;
  left: 0;
  right: 0;
  margin: 0 auto;
}
@media only screen and (max-width: 959px) {
  .button {
    bottom: 1.5em;
  }
}
.button:hover {
  background: #c8cccf;
}
ul.icons {
  cursor: default;
  list-style: none;
}
ul.icons li {
  display: inline-block;
  padding: 0.675em 0.5em;
}
ul.icons li a {
  text-decoration: none;
  position: relative;
  display: block;
  width: 3.75em;
  height: 3.75em;
  border-radius: 100%;
  border: solid 1px #c8cccf;
  line-height: 3.75em;
  overflow: hidden;
  text-align: center;
  text-indent: 3.75em;
  white-space: nowrap;
}
ul.icons li a::before {
  font-family: 'Font Awesome 5 Brands';
  position: absolute;
  left: 0;
  width: inherit;
  font-size: 2rem;
  text-indent: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  color: #ffffff;
  text-shadow: 1.25px 0px 0px #c8cccf, -1.25px 0px 0px #c8cccf, 0px 1.25px 0px #c8cccf, 0px -1.25px 0px #c8cccf;
}
ul.icons li a:hover::before {
  text-shadow: none;
  font-size: 2.1rem;
  background: #c8cccf;
}
ul.icons li a.fa-codepen:hover::before {
  color: #131417;
}
ul.icons li a.fa-twitter:hover::before {
  color: #1DA1F2;
}
ul.icons li a.fa-xing:hover::before {
  color: #026466;
}
.footer {
  align-self: flex-end;
  width: 100%;
  padding: 1.5em 0 0 0;
  color: rgba(255, 255, 255, 0.75);
  cursor: default;
  text-align: center;
}
.footer .copyright {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  list-style: none;
  letter-spacing: 0.1em;
}
.footer .copyright li {
  display: inline-block;
  line-height: 1;
}
.footer .copyright li:not(:first-child) {
  border-left: solid 1px rgba(255, 255, 255, 0.5);
  margin: 0 0 0 0.45em;
  padding: 0 0 0 0.85em;
}
/* Day & Night Switch */

	#time {
		background: linear-gradient(to bottom, #BE4405, #F6C60C);
	}
	#time.night {
		background: linear-gradient(to bottom, #111936, #285A7B);
		color: #E7E7E7;
	}
	#time.night .section {
		background: rgba(0,0,0, 0.7);
	}
	#time.night a {
		color: #E7E7E7;
	}
	#time:not(.night) .section .brand img.white {
		opacity: 0;
	}
	#time:not(.night) footer > .copyright  {
		color: #444444;
	}
  #time.night .cardFace-front,
  #time.night .cardFace-back {
    background: #111111;
  }
  #time.night .cardFace-front .avatar img {
    box-shadow: 0 0 0 1.5em #111111;
  }
	.sun {
		margin-top: 20px;
		background: #F2EF88;
		box-shadow: 0 0 20px rgba(242, 239, 136, 0.4);
		width: 300px;
		height: 300px;
		border-radius: 50%;
		position: absolute;
		left: 80%;
		top: 6%;
		animation: pulse 5s ease infinite alternate;
		transition: all 1.1s 0.4s ease;
	}
	@keyframes pulse {
		0% {box-shadow: 0 0 20px rgba(242, 239, 136, 0.4);}
		50% {box-shadow: 0 0 40px rgba(242, 239, 136, 1);}
		100% {box-shadow: 0 0 20px rgba(242, 239, 136, 0.4);}
	}
	@-webkit-keyframes pulse {
		0% {box-shadow: 0 0 20px rgba(242, 239, 136, 0.4);}
		50% {box-shadow: 0 0 40px rgba(242, 239, 136, 1);}
		100% {box-shadow: 0 0 20px rgba(242, 239, 136, 0.4);}
	}
	.night .sun {
		top: 100%;
		left: -16%;
		transition: all 1.1s 0s ease;
	}
	.moon {
		position: absolute;
		margin-top: 20px;
		background: #d9d8d0;
		box-shadow: inset -10px 2px 0 0px #899098;
		width: 250px;
		height: 250px;
		border-radius: 100%;
		margin-left: -50px;
		left: 120%;
		top: -50%;
		overflow: hidden;
		transition: all 1.1s 0s ease;
	}
	.night .moon {
		left: 85%;
		top: 6%;
		transition: all 1.1s 0.4s ease;
	}
	.moon div:nth-child(n) {
		position: relative;
		background: #b9b8b0;
		border-radius: 50%;
		box-shadow: inset 4px -2px 0 0px #535457;
	}
	.moon div:nth-child(1) {
		top: 25%;
		left: 12%;
		width: 27%;
		height: 27%;
	}
	.moon div:nth-child(2) {
		top: -11%;
		left: 60%;
		width: 16%;
		height: 16%;
	}
	.moon div:nth-child(3) {
		top: 25%;
		left: 44%;
		width: 16%;
		height: 16%;
	}
	.stars {
		opacity: 0;
		margin-left: 100px;
		top: 0;
		left: 0;
		transition: all 0.8s 0s ease;
		z-index: 1000;
	}
	.night .stars {
		opacity: 1;
		transition: all 3s 0.4s ease;
	}
	.stars div:nth-child(n) {
		position: absolute;
		background: radial-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
		border-radius: 50%;
		box-shadow: 0 0 10px rgba(255, 255, 255, 1);
		overflow: hidden;
		width: 0.1%;
		height: 0.1%;
		margin-left: 10%;
		margin-top: -10%;
		transition: all 1s 0s ease;
	}
	.night .stars div:nth-child(n) {
		margin-left: 0;
		margin-top: 0;
		transition: all 1s 0.4s ease-out;
	}
	.stars div:nth-child(1) {
		left: 10%;
		top: 20%;
	}
	.stars div:nth-child(2) {
		left: 80%;
		top: 10%;
	}
	.stars div:nth-child(3) {
		left: 90%;
		top: 80%;
	}
	.stars div:nth-child(4) {
		left: 20%;
		top: 40%;
	}
	.stars div:nth-child(5) {
		left: 15%;
		top: 60%;
	}
	.stars div:nth-child(6) {
		left: 5%;
		top: 75%;
	}
	.stars div:nth-child(7) {
		left: 85%;
		top: 55%;
	}
  #switch {
    display: inline-block;
    border: solid 1px #c8cccf;
    padding: 0.3em 0.4em 0.3em 0.5em;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    position: absolute;
    bottom: 0.5em;
    width: 280px;
    left: 0;
    right: 0;
    margin: 0 auto;
	}
	#switch:hover i::before {
		transform: rotate(180deg);
    transition: all 300ms linear;
	}
