/* font import */
@font-face {
  font-family: retro;
  src: url(Font/Gilgan.otf);
}

/* variable color palette */
:root {
  --background: #000000;
  --text: #f8f8f9;
  --highlight: #f0bf6c;
  --button: #3d3e42;
}

html {
  max-width: 1000px;
  margin: auto;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--background);
}

ul {
  overflow: hidden;
  text-align: center;
}

li {
  display: inline-block;
}

li a {
  padding: 20px;
  margin: 20px;
  text-decoration: none;
  color: var(--text);
  font-family: "acumin-pro", "Acumin Pro", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  display: block;
  font-size: 18px;
}

li a:hover {
  color: var(--highlight);
  transform: scale(1.1);
}

.logo img {
  position: absolute;
  width: 120px;
  display: inline-block;
}

.intro {
  margin-top: 200px;
  margin-left: 30px;
  color: var(--text);
  text-align: left;
  font-family: "acumin-pro", "Acumin Pro", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  letter-spacing: 2px;
}

#background-video {
  height: 100vh;
  width: 100vw;
  object-fit: cover;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

.top {
  border-radius: 5px;
  padding: 10px;
  /* background-color: var(--button); */
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  background-repeat: none;
  object-fit: fill;
}

.social {
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
}

.btn {
  display: block;
  left: 90%;
  width: 40px;
  margin: 20px;
  border-radius: 100%;
  border: 0.5px solid var(--text);
  background-color: transparent;
  box-shadow: -5px 5px 15px -5px var(--highlight);
  overflow: hidden;
  position: relative;
  transition: 0.3s linear;
}

.btn i {
  line-height: 40px;
  font-size: 20px;
  transition: 0.3s linear;
}

.btn:nth-child(1) i {
  color: #6e5494;
}

.btn:nth-child(2) i {
  color: #0077b5;
}

.btn:nth-child(3) i {
  color: #25d366;
}

#loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  text-align: center;
  background: no-repeat rgba(0, 0, 0, 0.8);
  vertical-align: middle;
}

.hidden {
  display: none;
}

.btn:hover {
  transform: scale(1.1);
}

.btn:hover i {
  transform: scale(1.2);
  color: #fff;
}

.btn:before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  transform: rotate(45deg);
  left: -110%;
  top: 90%;
}

.btn:nth-child(1)::before {
  background: #6e5494;
}

.btn:nth-child(2)::before {
  background: #0077b5;
}

.btn:nth-child(3)::before {
  background: #25d366;
}

.btn:hover::before {
  animation: aaa 0.7s 1;
  top: -10%;
  left: -10%;
}

.contact {
  border: 3px solid var(--highlight);
  background: transparent;
  color: var(--highlight);
  padding: 10px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 10px;
  font-family: "acumin-pro", "Acumin Pro", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 18px;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition-duration: 0.4s;
}

.vl {
  border-left: 2px solid var(--highlight);
  height: 60px;
  position: absolute;
  left: 94%;
}

.about {
  color: var(--text);
  font-family: "acumin-pro", "Acumin Pro", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  margin-top: 100px;
  margin-left: 30px;
  margin-right: 30px;
}

.about_text {
  text-align: center;
  letter-spacing: 1.2px;
  line-height: 150%;
  margin-top: 50px;
}

.skill {
  color: var(--text);
  font-family: "acumin-pro", "Acumin Pro", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  margin-top: 100px;
  text-align: center;
}

.column {
  float: left;
  padding: 30px;
  margin: 35px;
  background-color: rgba(
    0,
    0,
    0,
    0.4
  ); /* last parameter is for transparency or opacity */
  border-radius: 100%;
  border:1px solid var(--highlight);
  width: 161px;
  height: 161px;

  position: relative;
}

.html-circle-skill{
  fill: none;
  stroke:#E44D26;
  stroke-width: 5px;
  stroke-dasharray: 550;
  stroke-dashoffset: 550;
  animation: anim 2s linear forwards;
}

.html-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}


.css-circle-skill{
  fill: none;
  stroke:#1572B6;
  stroke-width: 5px;
  stroke-dasharray: 530;
  stroke-dashoffset: 530;
  animation: anim 2s linear forwards;
}

.css-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}

.js-circle-skill{
  fill: none;
  stroke:#FFDA3E;
  stroke-width: 5px;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: anim 2s linear forwards;
}

.js-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}

.unity-circle-skill{
  fill: none;
  stroke:#6D0000;
  stroke-width: 5px;
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  animation: anim 2s linear forwards;
}

.unity-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}

.java-circle-skill{
  fill: none;
  stroke:#EA2D2E;
  stroke-width: 5px;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: anim 2s linear forwards;
}

.java-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}

.github-circle-skill{
  fill: none;
  stroke:#8800EA;
  stroke-width: 5px;
  stroke-dasharray: 550;
  stroke-dashoffset: 550;
  animation: anim 2s linear forwards;
}

.github-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}

.mysql-circle-skill{
  fill: none;
  stroke:#5C86A0;
  stroke-width: 5px;
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  animation: anim 2s linear forwards;
}

.mysql-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}

.ubuntu-circle-skill{
  fill: none;
  stroke:#FF680D;
  stroke-width: 5px;
  stroke-dasharray: 330;
  stroke-dashoffset: 330;
  animation: anim 2s linear forwards;
}

.ubuntu-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}



.python-circle-skill
{
  fill: none;
  stroke:#FFCA1D;
  stroke-width: 5px;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: anim 5s linear forwards;
  animation-iteration-count: infinite;
}

.python-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}

.adobe-circle-skill{
  fill: none;
  stroke:#FE7903;
  stroke-width: 5px;
  stroke-dasharray: 590;
  stroke-dashoffset: 590;
  animation: anim 2s linear forwards;
}

.adobe-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}

.jira-circle-skill{
  fill: none;
  stroke:#2185FF;
  stroke-width: 5px;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  animation: anim 2s linear forwards;
}

.jira-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}
.c-circle-skill{
  fill: none;
  stroke:#68217A;
  stroke-width: 5px;
  stroke-dasharray: 570;
  stroke-dashoffset: 570;
  animation: anim 2s linear forwards;
}

.c-circle-skill {
  position: absolute;
  top: 0%;
  left: 0%;
}

@keyframes anim {
  100% {
    stroke-dashoffset: 165;
  }
}


/* .column:hover {
  
} */

/* Clearfix (clear floats) */
.row::after {
  content: "";
  clear: none;
  display: table;
}
.img {
  width: 100px;
}


.name {
  text-align: center;
  margin-top: 40px;
  font-weight: bold;
  font-family: "acumin-pro", "Acumin Pro", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  color: var(--text);
}

/* .experience
{
  background-color: var(--button);
  padding:10px;
  border-radius: 5px;
  color: var(--text);
} */

.container {
  width: 677px;
  margin: 0px auto 0px auto;
  position: relative;
  padding-bottom: 30px;
}

.container::before {
  content: "";
  display: block;
  width: 3px;
  background-color: white;
  top: 35px;
  bottom: 0;
  left: 119px;
  position: absolute;
}

.size {
  font-size: 21px;
  line-height: 40px;
}

.main {
  width: 532px;
  height: inherit; /*inherit to adjust height on the length of text */
  padding-bottom: 55px;
  margin-left: auto;
  border-radius: 5px;
  position: relative;
  top: 0px;
  letter-spacing: 1.2px;
  line-height: 150%;
  color: #b8b8b8;
}

.aside {
  width: 14.5%;
  height: 100%;
  margin-right: auto;
  text-align: right;
  position: absolute;
  top: 0px;
}

.date {
  color: var(--text);
  font-size: 22px;
  position: relative;
}

.date::before {
  content: "";
  height: 0;
  width: 0;
  border-radius: 37px;
  position: absolute;
  left: 105.4px;
  top: -2px;
  z-index: -1;
}

.date::after {
  content: "";
  height: 0;
  width: 0;
  border: 11px solid var(--highlight);
  border-radius: 37px;
  position: absolute;
  left: 109.4px;
  top: 2px;
  z-index: 0;
  animation: pulse 2s infinite;
}

p {
  color: #b8b8b8;
}

h2 {
  padding-left: 30px;
  font-size: 30px;
  font-weight: bold;
  color: var(--text);
}

.detail {
  padding-left: 30px;
}

.experience {
  position: relative;
  padding: 50px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  /* background-color: var(--button); */
  border-radius: 5px;
  color: var(--text);
}

.experience > .title {
  color: var(--text);
  padding: 0 10px;
  position: absolute;
  top: 0;
  left: 30px;
  font-size: 18px;
  transform: translateY(-50%);
}

.work {
  list-style: square;
  text-align: left;
  font-family: "acumin-pro", "Acumin Pro", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

@keyframes pulse {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 30px 5px var(--highlight);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 30px 5px var(--highlight);
  }

  100% {
    transform: scale(0.85);
    box-shadow: 0 0 30px 5px var(--highlight);
  }
}

.contact_detail {
  width: 70px;
  height: 60px;
  text-align: center;
  margin: 20px;
  padding: 20px;
  font-family: "acumin-pro", "Acumin Pro", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 20px;
  background-color:  rgba( 0, 0, 0, 0.4 );
  color: var(--highlight);
  border-radius: 20px;
  display: inline-block;
  text-decoration: none;
}

.contact_me {
  margin-top: 80px;
  text-align: center;
  border-radius: 5px;
  color: var(--text);
  position: relative;
  padding: 50px;
}

.contact_me > .title {
  color: var(--text);
  padding: 0 10px;
  position: absolute;
  top: 0;
  left: 400px;
  font-size: 18px;
  transform: translateY(-50%);
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.end {
  color: var(--highlight);
  text-align: center;
  font-family: "acumin-pro", "Acumin Pro", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

.end {
  display: flex;
  flex-direction: row;
  color: var(--text);
}

.end::before,
.end::after {
  content: "";
  flex: 1 1;
  border-bottom: 2px solid var(--highlight);
  margin: auto;
}

.end::before {
  margin-right: 10px;
}
.end::after {
  margin-left: 10px;
}

.portfolio {
  text-align: center;
  color: var(--text);
}

.row_portfolio {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 100px;
  padding-bottom: 20px;
}

.column_portfolio {
  -ms-flex: 50%; /* IE10 */
  flex: 50%;
  max-width: 48%;
  padding: 0 10px;
  position: relative;
}

.column_portfolio img {
  margin-top: 20px;
  vertical-align: middle;
  width: 100%;
  border-radius: 30px;
  border: 2px solid var(--highlight);
  box-shadow: 2px 3px 4px rgba(255, 255, 255, 0.5);
}

.form {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-family: retro;
  align-items: center;
  margin-bottom: 50px;
}

.feedback {
  height: 50px;
  margin-bottom: 10px;
  text-align: center;
  border-radius: 10px;
  width: 300px;
  color: var(--highlight);
  border: 2px solid var(--highlight);
  
}

@media screen and (max-device-width: 450px) {
  .logo img {
    width: 12%;
  }

  .column {
    float: left;
    width: 306px;
    padding: 15px;
    margin: 10px;
    background-color: var(--button);
    border-radius: 10px;
  }

  .about_text {
    font-size: 30px;
  }

  .name {
    font-size: 22px;
  }

  .btn {
    width: 60px;
    height: 60px;
  }
  .btn i {
    line-height: 60px;
    font-size: 35px;
  }
  .vl {
    border-left: 3px solid var(--highlight);
    left: 95%;
  }

  .intro h4 {
    font-size: 30px;
  }

  .intro h3 {
    font-size: 30px;
  }
  .intro h1 {
    font-size: 40px;
  }

  .main h2 {
    font-size: 30px;
  }

  .size {
    font-size: 25px;
  }

  li {
    font-size: 20px;
    line-height: 32px;
  }
}