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

@media only screen 
    and (max-device-width: 640px), 
    only screen and (max-device-width: 667px), 
    only screen and (max-width: 480px)
{
	.avatar {
    width: 420px !important;
    height: auto !important;
  }

  .text {
    margin-top: 150px !important;
}

  #rotate {
    font-size: 60px !important;
}

}

.wrapper 
{
	margin:auto;
	width: 90%;
	height: 50%;
}

body {
  background-image: url("image/webbg.png");
  background-size: cover;
  background-position: bottom center;
background-color: #48CACA;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0;
	overflow: hidden
}

.clearfix {clear: both;}

/*div {
	border: thin #fff solid;
}*/



p {
	text-align: center;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
}

#rotate {
	text-align: center;
	color: #72519a;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;	
	font-size: 40px;
	
}




html {
  height: 100%;
}

.avatar {
  position: relative;
  	 width: 220px;
  height: 230px;
	margin: auto;
}

.text {
	margin-top: 50px;
  position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 100%;

}
.avatar img {
  
  height: 100%;
  position: relative;
  width: 100%;
  z-index: 2;
}

@keyframes cycle-colors {

}

@keyframes pulse {
  to {
    opacity: 0;
    transform: scale(1);
  }
}

.avatar::before,
.avatar::after {
  animation: pulse 2s linear infinite;
  border: #b8b3e7 solid 2px;
  border-radius: 9999px;
  box-sizing: border-box;
  content: ' ';
  left: -17%;
  opacity: .6;
  position: absolute;
  top: -20%;
  transform: scale(0.714);
  width: 140%;
	height: 140%;
  z-index: 1;
}

.avatar::after {
  animation-delay: 1s;
}

.avatar:hover img {
}

.avatar:hover::before,
.avatar:hover::after {
  animation: pulse 1s linear infinite, cycle-colors 6s linear infinite;
}

.avatar:hover::after {
  animation-delay: .5s;
}