* {
    margin: 0;
    padding: 0;
}

@keyframes rotate {
    0% {
      transform: rotate(10deg);
    }
    100% {
      transform: rotate(-10deg);
    }
  }

  @keyframes shake {
    10%, 90% {
      transform: translate3d(-1px, 0, 0);
    }
    
    20%, 80% {
      transform: translate3d(2px, 0, 0);
    }
  
    30%, 50%, 70% {
      transform: translate3d(-4px, 0, 0);
    }
  
    40%, 60% {
      transform: translate3d(4px, 0, 0);
    }
  }

body {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 17px;
    background: #dde9ea;
    color: #101920;
}

#wrapper-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

#container-main {
    background: #fff;
    width: 450px;
    border-radius: 10px;
    position: relative;
}

.center {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height: 100%;
    background:#fff;
    display: none;
    font-weight: 400;
    border-radius: 10px;
}

.overlay .center {
    align-items: flex-start;
}

.overlay .title {
    font-weight: 700;
}

.overlay p {
    margin:0 0 20px;
    font-size: 15px;
    line-height: 160%;
}

.overlay a {
    text-decoration: none;
}

.line-trough {
    text-decoration: line-through;
    font-weight: normal;
}

.show {
    display: block;
}

figure {
    width: 200px;
    height: 200px;
}

figure img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 10px solid #89c0d7;
    box-sizing: border-box;
}

.profile {
    margin: 20px 0;
    text-align: center;
    line-height: 160%;
}

.profile a {
    text-decoration: none;
    color: #101920;
}

.profile a:hover {
    text-decoration: underline;
}

.profile span, .overlay .title span {
    color: #f97316;
}

.info:hover {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
}

.line {
    background: #dde9ea;
    height: 2px;
    width: 250px;
    margin: 0 0 20px 0;
}

.social {
    display: flex;display: flex;
    align-items: center;
    justify-content: space-between;
    width: 20%;
}

.social a {
    color: #101920;
}

.mail {
    position: absolute;
    bottom: -17px;
    left: -27px;
}

.code {
    position: absolute;
}

.code-left {
    top:50%;
    left:-135px;
    margin-top: -82px;
    animation: rotate 2s infinite;
    animation-direction: alternate;
}

.code-right {
    top:50%;
    right:-210px;
    margin-top: -114px;
    animation: rotate 3s infinite;
    animation-direction: alternate;
}

.binary {
    top: 50%;
    right: -140px;
    margin-top: -20px;
}

.info {
    position: absolute;
    top: -20px;
    right: -27px;
}

.mail img, info img {
    display: block;
}

@media(max-width: 900px) {
.code {
    display: none;
}
.mail {
    margin-left: 50px;
}
.info {
    top: -20px;
    right: 20px;
}
}
@media(max-width: 450px) {
.center {
    padding: 30px 20px;
}
#container-main {
    width: auto;
}
.overlay p {
    margin: 0 0 20px;
}
}