/*
CSS Reset
http://meyerweb.com/eric/tools/css/reset/
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;1,700&display=swap");

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* particleground demo */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background: #fff;
  /*background: #16a085;*/
  font-family: "Poppins", sans-serif;
  /* font-family: 'Play', sans-serif; */
  color: #fff;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

#particles {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#intro {
  position: absolute;
  left: 0;
  top: 50%;
  padding: 0 20px;
  width: 100%;
  text-align: center;
}
h1 {
  /*text-transform: uppercase;*/
  font-size: 85px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.015em;
}
h1::after {
  content: "";
  width: 160px;
  display: block;
  background: #fff;
  height: 2px;
  margin: 30px auto;
  line-height: 1.1;
}
p {
  margin: 0 0 30px 0;
  font-size: 24px;
}
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: 2px solid #fff;
  /*text-transform: uppercase;*/
  letter-spacing: 0.015em;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}
.btn:hover {
  color: #f2bf5e;
  border-color: #f2bf5e;
}

a {
  color: #fff;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #f2bf5e;
  text-decoration: underline;
}

a:not([href]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):hover {
  color: inherit;
  text-decoration: none;
}

@media only screen and (max-width: 1000px) {
  h1 {
    font-size: 70px;
  }
}

@media only screen and (max-width: 800px) {
  h1 {
    font-size: 48px;
  }
  h1::after {
    /* height: 8px; */
    margin: 20px auto;
  }
}

@media only screen and (max-width: 568px) {
  #intro {
    padding: 0 10px;
  }
  h1 {
    font-size: 30px;
  }
  h1::after {
    /* height: 6px; */
    margin: 15px auto;
  }
  p {
    font-size: 18px;
  }
  .btn {
    font-size: 16px;
  }
}

@media only screen and (max-width: 320px) {
  h1 {
    font-size: 28px;
  }
  /* h1::after {
    height: 4px;
  } */
}

*,
*:before,
*:after {
  box-sizing: border-box;
  outline: none;
}

html {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  font-smooth: auto;
  font-weight: 300;
  line-height: 1.5;
  color: #444;
}

body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: linear-gradient(45deg, #e91e63, #9c27b0);
}

.wrapper,
.card {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  max-width: 30rem;
  height: 15rem;
  perspective: 150rem;
}
.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}
.col-left {
  flex: 0 0 20%;
  max-width: 20%;
}
.col-right {
  flex: 0 0 80%;
  max-width: 80%;
}
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  border-radius: 5px;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
  transition: 0.9s cubic-bezier(0.25, 0.8, 0.25, 1);
  backface-visibility: hidden;
  overflow: hidden;
}
.card-front:before,
.card-front:after,
.card-back:before,
.card-back:after {
  position: absolute;
}
.card-front:before,
.card-back:before {
  top: -35px;
  right: -35px;
  content: "";
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.06);
  transform: rotate(45deg);
  z-index: 1;
}
.card-front:after
/* .card-back:after */ {
  /* content: "+"; */
  /* content: "↗"; */
  content: "-";
  top: -5px;
  right: 7px;
  font-size: 30px;
  transform: rotate(-45deg);
  z-index: 2;
}
/* .card-back:after {
  content: "portfolio";
  z-index: 2;
  top: 14px;
  right: -4px;
  font-size: 0.7rem;
  transform: rotate(45deg);
  font-style: italic;
} */
.card-front {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #101010, #2c3e50);
}
.card-front:after {
  color: #212f3c;
}
.card-back {
  background: linear-gradient(-45deg, #101010, #2c3e50);
  transform: rotateX(180deg);
}
.card-back:after {
  color: #11181f;
}
.card:hover .card-front {
  transform: rotateX(-180deg);
}
.card:hover .card-back {
  transform: rotateX(0deg);
}
.card .line-numbers {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0 10px;
  background-color: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}
.card .line-numbers > div {
  padding: 2.5px 0;
  opacity: 0.15;
}
.card code,
.line-numbers {
  color: whitesmoke;
}
.indent {
  padding-left: 30px;
}
.operator {
  color: #4dd0e1;
}
.string {
  color: #9ccc65;
}
.variable {
  color: #ba68c8;
}
.property {
  color: #ef5350;
}
.method {
  color: #29b6f6;
}
.function {
  color: #fdd835;
}
.boolean {
  color: #4dd0e1;
}
.position {
  color: #151a1e; /* 03070e 0a0e13 212f3c; */
}
a.position:hover {
  color: #d93f3c; /* ef5350 */
}

a:hover {
  text-decoration: none;
}

.logo {
  position: absolute;
  max-width: 45px;
}

.url-link {
  z-index: 999;
}
.addr {
  z-index: 5;
}

.instagram {
  position: absolute;
  margin-top: -8px;
}
.instagram-txt {
  margin-top: -18px;
  margin-left: 138px;
}
.instagram-line {
  width: 38px;
  height: 10px;
  border-top: solid #fff 1px;
}
.instagram-line-l {
  margin-left: 96px;
  border-left: solid #fff 1px;
}
.instagram-line-r {
  margin-left: 222px;
  border-right: solid #fff 1px;
}

.webpage {
  position: absolute;
  margin-top: -18px;
}
.webpage-line {
  width: 25px;
  height: 10px;
  border-bottom: solid #fff 1px;
}
.webpage-txt {
  margin-top: 2px;
  margin-left: 130px;
}
.webpage-line-l {
  margin-left: 125px;
  border-left: solid #fff 1px;
}
.webpage-line-r {
  margin-left: 235px;
  border-right: solid #fff 1px;
}

.email {
  position: absolute;
  margin-top: -20px;
}
.email-line {
  width: 77px;
  border-bottom: solid #fff 1px;
}
.email-txt {
  margin-top: 0;
  margin-left: 47px;
}
.email-line-l {
  height: 34px;
  margin-top: -44px;
  margin-left: 42px;
  border-left: solid #fff 1px;
}
.email-line-r {
  height: 10px;
  margin-left: 183px;
  border-right: solid #fff 1px;
}
.portfolio-txt {
  position: absolute;
  top: 14px;
  right: -4px;
  font-size: 0.7rem;
  transform: rotate(45deg);
  font-style: italic;
  z-index: 11;
}

@keyframes float {
  0% {
    transform: translateY(5px) translateX(5px) translateZ(25px);
  }
  50% {
    transform: translateZ(20px);
  }
  100% {
    transform: translateY(-3px) translateX(5px) translateZ(30px);
  }
}
.logo-wrapper {
  animation: float 4s cubic-bezier(0.33, 0.53, 0.7, 0.49) infinite alternate;
  position: absolute;
  top: 93px;
  left: 290px;
  pointer-events: none;
  backface-visibility: hidden;
  z-index: 5;
}

.logo-wrapper img {
  transition: transform 1s;
}

.card:hover ~ .logo-wrapper img {
  z-index: 5;
  transform: translate(-195px, 0);
  -webkit-transform: translate(-195px, 0);
  　-moz-transform: translate(-195px, 0);
  　-ms-transform: translate(-195px, 0);
  　-o-transform: translate(-195px, 0);
}
