@import url('https://fonts.googleapis.com/css?family=Open+Sans');

html {
  background-color: #fefefe;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
}


body {
	background: -webkit-linear-gradient(335deg, #FAFAFA, #598796) no-repeat fixed;
	background: linear-gradient(115deg, #FAFAFA, #598796) no-repeat fixed;
	font-family: "Open Sans";
 	background-size: cover;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	height: 100vh;

}

* {
  padding: 0;
  margin: 0;
}



*, *:before, *:after {
  box-sizing: inherit;
}


.outer {
  position: relative;
  height: 350px;
  width: 350px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-flow: row wrap;
  transform: rotate(45deg);
}

.inner {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  content: '';
  width: 50%;
  height: 50%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-transition: all 400ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition: all 400ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.inner img {
  transform: rotate(-45deg);
  width: 3em;
  fill: white;
}
.inner:nth-child(1) {
  border-top-left-radius: 100%;
  padding-top:20px;
  padding-left:20px;

}
.inner:nth-child(2) {
  border-top-right-radius: 100%;
  padding-top:20px;
  padding-right:20px;
}
.inner:nth-child(3) {
  border-bottom-left-radius: 100%;
  padding-bottom:20px;
  padding-left:20px;

}
.inner:nth-child(4) {
  border-bottom-right-radius: 100%;
  padding-bottom:20px;
  padding-right:20px;

}
.inner:hover {
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  border-radius: initial;
}
.inner:hover svg {
  fill: rgba(0, 0, 0, 0.7);
}
.inner:nth-child(1):hover {
   padding:0px;
}
.inner:nth-child(2):hover {
   padding:0px;
}
.inner:nth-child(3):hover {
   padding:0px;
}

.inner:nth-child(4):hover {
   padding:0px;
}



.profile{
  margin-left: auto;
  margin-right: auto;
  position: relative;
  -webkit-perspective: 400;
          perspective: 400;
  padding-left: 17px;
  font-weight: 200;
  font-size: 24pt;
}


.profile:before {
  content: '';
  display: block;
  position: absolute;
  height: 100%;
  width: 6px;
  background: #ff1212;
  top: 0;
  left: 0;
  opacity: 0;
  -webkit-transform: translateX(-150px);
          transform: translateX(-150px);
  -webkit-animation: title-border-slide-in 0.35s ease-out forwards;
          animation: title-border-slide-in 0.35s ease-out forwards;
}
.title-word {
  opacity: 0;
  -webkit-transform-origin: bottom center;
          transform-origin: bottom center;
  -webkit-transform: rotateX(-90deg);
          transform: rotateX(-90deg);
}
.title-word:nth-child(1) {
  -webkit-animation: roll-in 0.15s 0s ease-out forwards;
          animation: roll-in 0.15s 0s ease-out forwards;
}
.title-word:nth-child(2) {
  -webkit-animation: roll-in 0.15s 0.175s ease-out forwards;
          animation: roll-in 0.15s 0.175s ease-out forwards;
}
.title-word:nth-child(3) {
  -webkit-animation: roll-in 0.15s 0.35s ease-out forwards;
          animation: roll-in 0.15s 0.35s ease-out forwards;
}
.title-word:nth-child(4) {
  -webkit-animation: roll-in 0.15s 0.525s ease-out forwards;
          animation: roll-in 0.15s 0.525s ease-out forwards;
}


@-moz-keyframes blink {0%{border-right: 0px} 100%{border-right: 1px solid #000;}} /* Firefox */
@-webkit-keyframes blink {0%{border-right: 0px} 100%{border-right: 1px solid #000;}} /* Webkit */
@-ms-keyframes blink {0%{border-right: 0px} 100%{border-right: 1px solid #000;}} /* IE */
@keyframes blink {0%{border-right: 0px} 100%{border-right: 1px solid #000;}} /* Opera */

.txt-rotate{

    -moz-animation:blink normal 1s infinite; /* Firefox */
    -webkit-animation:blink normal 1s infinite; /* Webkit */
    -ms-animation:blink normal 1s infinite; /* IE */
    animation:blink normal 1s infinite; /* Opera */

}

@-webkit-keyframes title-border-slide-in {
  0% {
    -webkit-transform: translateX(-150px);
            transform: translateX(-150px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes title-border-slide-in {
  0% {
    -webkit-transform: translateX(-150px);
            transform: translateX(-150px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@-webkit-keyframes roll-in {
  0% {
    -webkit-transform: rotateX(-90deg);
            transform: rotateX(-90deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    opacity: 1;
  }
}
@keyframes roll-in {
  0% {
    -webkit-transform: rotateX(-90deg);
            transform: rotateX(-90deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    opacity: 1;
  }
}


.bold {
   font-weight: bold;
}

