* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  user-select: none;
  cursor: default;
}

*:focus {
  outline: none !important;
}

body, html {
  height: 100%;
  padding: 0;
  margin: 0;
}

a, a * {
  cursor: pointer !important;
}

body {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  padding: 24px;
  background: #25a6a0;
  background: linear-gradient(135deg, #8345a1 0%, #295da1 100%);
  color: #343434;
  font-family: "brandon-grotesque", "Brandon Grotesque", "Source Sans Pro", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.profile {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 100%;
  background: white;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(8, 18, 11, 0.2);
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 2px;
}

.avatar, .info {
  width: 100%;
  height: 50%;
}

.avatar {
  background: url("/img/avatar.png") no-repeat top center/cover;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.info {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.info h1 {
  padding: 12px 12px 0;
  width: 100%;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
}

.info h2 {
  padding: 0 12px 0;
  width: 100%;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
}

.info a {
  display: block;
  text-decoration: none;
  margin-top: 4px;
  border-radius: 4px;
  padding: 8px 12px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #45a15f;
  background: linear-gradient(135deg, #6745a1 0%, #295da1 100%)
}

.info ul {
  display: flex;
  justify-content: center;
  padding: 6px;
  width: 100%;
}

.info ul li {
  padding: 6px;
}

@media only screen and (min-width: 470px) {
  .profile {
    display: flex;
  }

  .background {
    mix-blend-mode: overlay;
  }

  .avatar, .info {
    width: 50%;
    height: 100%;
  }

  .avatar {
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
  }

  .svgclippaths .info {
    position: absolute;
    top: 0;
    right: 0;
    width: 56.25%;
  }

}

@media only screen and (min-width: 470px) and (min-height: 600px) {
  .profile {
    max-height: 400px;
  }
}
