:root {
  --secondary-color: #8e236b;
}

html,
body {
  font-family: "Roboto", sans-serif;
}

/* Header */
* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  padding-top: 4.6875em;
  font-size: 100%;
}

.title {
  font-weight: 500;
}

.title,
.subtitle {
  font-family: "Roboto";
}

.portfolio-info {
  font-size: 20px;
}

.portfolio-projects {
  display: none;
}

.navbar-custom {
  background-color: #2e0854;
  color: #fff;
  border: none;
  border-radius: 0;
  padding-top: 15px;
  padding-bottom: 15px;
  box-shadow: 0px 4px 3px black;
  text-transform: uppercase;
  font-weight: bold;
  transition: 0.3s all ease;
}
.navbar-custom .navbar-nav > li > a {
  color: #fff;
  border-radius: 3px;
}

.navbar-custom .navbar-nav > li > a i {
  color: #fff;
}

.navbar-custom .navbar-brand,
.navbar-custom a.navbar-brand:visited,
.navbar-custom .navbar-brand:hover {
  color: #ffffff;
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:visited {
  text-decoration: none;
  background-color: #4b0082;
  color: white;
}

.banner {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  height: 50px;
  overflow: visible;
  background-color: #2e0854;
  color: white;
  z-index: 1000;
  box-shadow: 0px -2px 3px 0px rgba(0, 0, 0, 1);
}

.banner .content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.content .close-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  cursor: pointer;
  font-size: 26px;
}

@media (max-width: 1024px) {
  .banner .content {
    width: 80%;
    font-size: 12px;
  }

  .banner .close-button {
    font-size: 18px;
  }
}

.message a {
  text-decoration: none;
}

.img-custom {
  border: 2px solid black;
}

.section-title,
.project-title,
.contact-title {
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
}

.white-section-title {
  color: white;
}

.contact-title {
  font-size: 30px;
}

.project-title {
  font-size: 26px;
}
/*.navbar-custom .navbar-brand:hover {
    color:white;
}
.navbar-custom .navbar-toggle, .navbar-custom .navbar-toggle a:focus, .navbar-custom ul li a:active{
    background:white;
    color:#2E0854;
}*/

.navbar-brand .brand {
  border: 2px solid white;
  border-radius: 50%;
  border-top-right-radius: 0%;
  border-bottom-left-radius: 0%;
  padding: 5px;
}

.navbar-brand:hover .brand {
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
  border-top-left-radius: 0%;
  border-bottom-right-radius: 0%;
  transition: 0.4s all ease;
  color: #2e0854;
  background: white;
}

.navbar-custom .navbar-brand.brand:hover {
  background: #2e0854;
}

.navbar-custom a:visited {
  color: white;
}

/* Address */

.address-container div {
  margin: 0 auto;
  width: 35%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.address-container div i {
  margin-right: 10px;
}

.address-container .location-container {
  margin-bottom: 15px;
}

.address-container .phone-container a {
  text-decoration: none;
  color: whitesmoke;
}

.phone-container a:hover {
  color: blueviolet;
}

@media (max-width: 1024px) {
  .address-container div {
    width: 100%;
    justify-content: center;
  }
}

/* Portofolio */
.img-custom {
  margin: 0 auto;
  max-width: 250px;
  border: 5px solid #4b0082;
}
#portofolio {
  position: relative;
}
#portofolio * {
  z-index: 2;
}
.portofolio-link {
  display: block;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  position: relative;
}

.portofolio-link img {
  width: 100%;
  height: 100%;
}

.caption {
  position: absolute;
  width: 100%;
  opacity: 0;
  height: 100%;
  background-color: rgba(128, 0, 128, 0.6);
}

.caption-content {
  color: white;
  font-weight: bold;
  padding-top: 15%;
}

.caption-content i {
  /* position: absolute;
    top:50%;
    left:50%;
    z-index:3;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);*/
  position: absolute;
}

/*Single item*/
.portofolio-item {
  margin-bottom: 30px;
}

.portofolio-item:hover .caption {
  opacity: 1;
}

hr {
  width: 40%;
  border: none;
  border-top: medium double white;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

hr:after {
  /*\2605*/
  content: "\2666";
  font-size: 30px;
  padding: 0 0.25em;
  display: inline-block;
  position: relative;
  top: -20px;
  background: var(--secondary-color);
  color: white;
}

section:nth-of-type(odd) hr {
  border-color: #8e236b;
}
section:nth-of-type(odd) hr:after {
  background-color: white;
  color: var(--secondary-color);
}

/* footer */
.upper-footer {
  background-color: #4b0082;
  padding-top: 20px;
  padding-bottom: 20px;
  box-shadow: 0px -4px 3px black;
}
.upper-footer h3 {
  text-transform: uppercase;
  font-weight: bolder;
  margin-bottom: 20px;
}

.lower-footer {
  background-color: #2e0854;
  height: 75px;
  padding-top: 30px;
  box-shadow: 0px -3px 2px white;
  text-align: center;
}
.upper-footer,
.lower-footer {
  color: white;
}

.upper-footer address {
  font-size: 18px;
}

header {
  background: var(--secondary-color);
  color: white;
}
.navbar {
  margin: 0;
}

section,
header {
  padding-top: 45px;
  padding-bottom: 115px;
}
header {
  background: var(--secondary-color);
}

.section-title {
  margin-bottom: 20px;
}

section:nth-child(2n) > .section-title {
  color: white;
}

#about,
#contact {
  background: var(--secondary-color);
}

#about p {
  font-size: 20px;
  color: white;
  font-family: sans-serif;
}

.btn-resume {
  border-radius: 5px;
  margin-top: 20px;
  color: white;
  border: 2px solid white;
}

.portfolio-btn {
  margin-bottom: 20px;
  border-radius: 5px;
  background: var(--secondary-color);
  color: white;
  margin-top: 20px;
}

.portfolio-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-btn:hover {
  background: white;
  color: var(--secondary-color);
}

.portfolio-btn:focus,
.portfolio-btn:focus-visible {
  outline: none;
}

.portfolio-btn:active {
  box-shadow: none;
}

.btn-resume:hover {
  background: white;
  color: var(--secondary-color);
}
@media screen and (max-width: 767px) {
  .navbar-custom .navbar-collapse .navbar-right ul li {
    display: inline-block;
    float: none;
  }
  .navbar-custom .navbar-collapse ul {
    text-align: center;
  }
  .portofolio-link {
    max-width: 350px;
  }
  hr {
    width: 90%;
  }
}

section h1,
section h2 {
  text-transform: uppercase;
  font-weight: bolder;
}

/* FORM */

.btn-custom {
  margin-top: 20px;
  color: purple;
  width: 100%;
  text-transform: uppercase;
  height: 50px;
}

/* SOCIAL LINKS */
.social-links {
  padding-left: 0;
  padding-top: 20px;
}
.social-links li {
  display: inline-block;
  border: 2px solid white;
  margin-left: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: 0.4s all ease;
  border-top-right-radius: 0%;
  border-bottom-left-radius: 0%;
}

.social-links li:hover {
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
  border-top-left-radius: 0%;
  border-bottom-right-radius: 0%;
  background-color: white;
}

.social-links li a {
  text-decoration: none;
  color: white;
  font-size: 30px;
  list-style-type: none;
  transition: 0.4s all ease;
  display: block;
  width: 100%;
  height: 100%;
}

.social-links li a:hover {
  color: var(--secondary-color);
}

/*Mouse icon*/

.mouse-icon {
  width: 30px;
  height: 50px;
  bottom: 5px;
  position: relative;
  top: 20px;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 16px;
  border: 2px solid white;
}

.wheel {
  margin: 0 auto;
  position: relative;
  background: white;
  top: 4px;
  width: 4px;
  border-radius: 50%;
  height: 10px;
  animation-name: wheel-animation;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes wheel-animation {
  0% {
    top: 4px;
    opacity: 0;
  }
  20% {
    top: 15px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

-webkit-@keyframes wheel-animation {
  0% {
    top: 0%;
    opacity: 0;
  }
  20% {
    top: 35%;
    opacity: 1;
  }
  100% {
    top: 60%;
    opacity: 0;
  }
}

/* Back to top button */

.back-to-top {
  display: block;
  position: fixed;
  bottom: 30px;
  right: 30px;
  color: black;
  text-align: center;
  border: 2px solid black;
  border-radius: 35%;
  padding: 3px;
  box-shadow: 0 0 3pt 1pt black;
  z-index: 999;
}

.back-to-top:hover {
  border-color: black;
  color: black;
  box-shadow: 0 0 3pt 1pt black;
}

.back-to-top .fa:hover,
.fa:hover {
  color: black;
}

/* Skills */

#skills-container {
  padding-top: 1.875em;
}
.skill-icon i {
  font-size: 2.5em;
  position: relative;
}

.skill-icon {
  width: 30%;
  height: 100%;
  position: absolute;
  left: 0;
  padding-top: 0.25em;
  background: white;
}

.skill-bar {
  height: 3.2em;
  margin: 0 auto;
  border: 2px solid black;
  width: 60%;
  position: relative;
  margin-top: -2px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.skill-percentage {
  background: red;
  transition: 0.4s ease-in;
  transition-property: background;
  width: 0;
  border-radius: 5px;
  height: 100%;
}

.skill-text {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 10px;
  padding-top: 0.5em;
  font-family: "Roboto";
  font-size: 1.1em;
  font-weight: 700;
}

.copyright {
  font-size: 12px;
  font-weight: 500;
}
