:root {
  font-size: 16px;
  font-family: "Open Sans";
  --identity-primary:  #1abc9c;
  --blink-secondary:  #ff0000;
  --transition-speed: 600ms;
}

body::-webkit-scrollbar {
  width: 0.25rem;
}

body::-webkit-scrollbar-track {
  background: #1e1e24;
}

body::-webkit-scrollbar-thumb {
  background: var(--blink-secondary);
}

html{
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lato", sans-serif;
  color: black;
  background-color: white;
}

/* all similar content styling codes */
section{
  padding: 100px 0;
}
.max-width{
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}
.about, .portofolio, .contact, footer{
  font-family: 'Poppins', sans-serif;
}
.about .about-content, 
.portofolio .port-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}
section .title{
  position: relative;
  text-align: center;
  font-size: 3.5rem;
  font-weight: 500;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: 'Ubuntu', sans-serif;
}
section .title::before{
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: #111;
  transform: translateX(-50%);
}
section .title::after{
  position: absolute;
  bottom: -8px;
  left: 50%;
  font-size: 20px;
  color: var(--identity-primary);
  padding: 0 5px;
  background: #fff;
  transform: translateX(-50%);
  font-weight: bold;
}

/* styles for navigation bar  */

.navbar {
  position: fixed;
  background-color: var(--bg-primary);
  transition: width 600ms ease;
  /* overflow: scroll; */
  z-index: 80;
}

.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.nav-item {
  width: 100%;
}

.nav-item:last-child {
  margin-top: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  height: 5rem;
  color: var(--text-primary);
  text-decoration: none;
  filter: grayscale(100%) opacity(0.7);
  transition: var(--transition-speed);
}

.nav-link:hover {
  filter: grayscale(0%) opacity(1);
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.link-text {
  display: none;
  margin-left: 1rem;
}

.nav-link svg {
  width: 2rem;
  min-width: 2rem;
  margin: 0 1.5rem;
}

.fa-primary {
  color: var(--identity-primary);
}

.fa-secondary {
  color: red;
}

.fa-primary,
.fa-secondary {
  transition: var(--transition-speed);
}

.logo {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  font-size: 1.5rem;
  letter-spacing: 0.3ch;
  width: 100%;
}

.logo svg {
  /* transform: rotate(0deg); */
  transition: var(--transition-speed);
  -webkit-transform: rotateZ(720deg);
  -moz-transform: rotateZ(720deg);
  transform: rotateZ(720deg);
}

.logo-text {
  display: inline;
  position: absolute;
  left: -999px;
  transition: var(--transition-speed);
}

.navbar:hover .logo svg {
  /* transform: rotate(-180deg); */
  transition: var(--transition-speed);
  -webkit-transform: rotateZ(-720deg);
  -moz-transform: rotateZ(-720deg);
  transform: rotateZ(-720deg);
}


.dark {
  --text-primary: #b6b6b6;
  --text-secondary: #ececec;
  --bg-primary: #23232e;
  --bg-secondary: #141418;
}

.light {
  --text-primary: #1f1f1f;
  --text-secondary: #000000;
  --bg-primary: #ffffff;
  --bg-secondary: #e4e4e4;
}

.solar {
  --text-primary: #576e75;
  --text-secondary: #35535c;
  --bg-primary: #fdf6e3;
  --bg-secondary: #f5e5b8;
}

.theme-icon {
  display: none;
}

.dark #darkIcon {
  display: block;
}

.light #lightIcon {
  display: block;
}

.solar #solarIcon {
  display: block;
}

/* style for navigation bar *
/* style for name flicker in #Home */

.sign {
  width: max-content;
  height: max-content;
  display: flex;
  line-height: normal;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  font-family: 'Rock Salt', cursive; 
  /* font-family: 'Eagle Lake', cursive; */
  font-weight: 900;
  text-transform: uppercase;
  color: #ffe6ff;
  text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #0633ff,
    -0.2rem 0.1rem 1rem #8670ff, 0.2rem 0.1rem 1rem #00ff80,
    0 -0.5rem 2rem #0400ff, 0 0.5rem 3rem #00e6bf;
  animation: shine 2s forwards, flicker 3s infinite;
  font-size: 1rem;
}

@keyframes blink {
  0%,
  22%,
  36%,
  75% {
    color: #ffe6ff;
    text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #0633ff,
      -0.2rem 0.1rem 1rem #8670ff, 0.2rem 0.1rem 1rem #00ff80,
      0 -0.5rem 2rem #0400ff, 0 0.5rem 3rem #00e6bf;
  }

  28%,
  33% {
    color: red;
    text-shadow: none;
  }

  82%,
  97% {
    color: #0400ff;
    text-shadow: none;
  }
}

.flicker {
  animation: shine 2s forwards, blink 3s 2s infinite;
}

.fast-flicker {
  animation: shine 2s forwards, blink 10s 1s infinite;
}

@keyframes shine {
  0% {
    color: #6b1839;
    text-shadow: none;
  }

  100% {
    color: #ffe6ff;
    text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #0633ff,
      -0.2rem 0.1rem 1rem #8670ff, 0.2rem 0.1rem 1rem #00ff80,
      0 -0.5rem 2rem #0400ff, 0 0.5rem 3rem #00e6bf;
  }
}

@keyframes flicker {
  from {
    opacity: 1;
  }

  4% {
    opacity: 0.9;
  }

  6% {
    opacity: 0.85;
  }

  8% {
    opacity: 0.95;
  }

  10% {
    opacity: 0.9;
  }

  11% {
    opacity: 0.922;
  }

  12% {
    opacity: 0.9;
  }

  14% {
    opacity: 0.95;
  }

  16% {
    opacity: 0.98;
  }

  17% {
    opacity: 0.9;
  }

  19% {
    opacity: 0.93;
  }

  20% {
    opacity: 0.99;
  }

  24% {
    opacity: 1;
  }

  26% {
    opacity: 0.94;
  }

  28% {
    opacity: 0.98;
  }

  37% {
    opacity: 0.93;
  }

  38% {
    opacity: 0.5;
  }

  39% {
    opacity: 0.96;
  }

  42% {
    opacity: 1;
  }

  44% {
    opacity: 0.97;
  }

  46% {
    opacity: 0.94;
  }

  56% {
    opacity: 0.9;
  }

  58% {
    opacity: 0.9;
  }

  60% {
    opacity: 0.99;
  }

  68% {
    opacity: 1;
  }

  70% {
    opacity: 0.9;
  }

  72% {
    opacity: 0.95;
  }

  93% {
    opacity: 0.93;
  }

  95% {
    opacity: 0.95;
  }

  97% {
    opacity: 0.93;
  }

  to {
    opacity: 1;
  }
}

/* home section styling */
.home{
  display: flex;
  background: url("asses/Background_image/2400x1600.jpg") no-repeat center ;
  height: 100vh;
  min-height: 500px;
  background-size: cover;
  font-family: 'Ubuntu', sans-serif;
}
.home .max-width{
  margin: auto 0 auto 30px;
}
.home .home-content .text-1{
  font-size: 2rem;
}
.home .home-content .text-2{
  font-size: 1.6rem;
  font-weight: 600;
}
.home .home-content .text-3{
  font-size: 1.2rem;
}

/* about section styling */
.about .title {
  color: black;
}
.about .title::after{
  content: "who i am";
}
.about .about-content .left{
  width: 45%;
}
.about .about-content .left img{
  height: 450px;
  width: 450px;
  object-fit: cover;
  border-radius: 6px;
}
.about .about-content .right{
  width: 55%;
}
.about .about-content .right .text{
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.about .about-content .right p{
  text-align: center;
}

/* about quote styling */
.about .quote {
  text-align: center;
  font-family: 'Monoton', cursive;
  font-size: 2rem;
  line-height: 3.5rem;
  margin-bottom: 2rem;
  background-color: #eeeeee;
  border-radius: 100%;
  word-spacing: 10px;
}


/* about - personality styling */

.about .personality ul {
  list-style-type: none;
  margin: 0;
  display: grid;
  grid-gap: 1%;
  grid-template-columns: auto auto auto;
 width: 100%;
  /* background-color: blue; */
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about .personality ul li {
  font-size: 16px;
  border: 0.2em solid rgb(25, 25, 161);
  border-radius: 0.5em;
  width: 12em;
  height: 3em;
  text-transform: uppercase;
  font-weight: bold;
  font-family: sans-serif;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 3em;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: 0.5s;
}

.about .personality ul .hobby {
  color: white;
  background-color: black;
}

.about .personality ul .serious {
  color: black;
  background-color: white;
}

.about .personality ul .hobby span {
  background-color: white;
  position: absolute;
  width: 25%;
  height: 100%;
  transform: translateY(150%);
  border-radius: 50%;
  left: calc((var(--n) - 1) * 25%);
  transition: 0.5s;
  transition-delay: calc((var(--n) - 1) * 0.1s);
  z-index: -1;
}

.about .personality ul .serious span {
background-color: black;
position: absolute;
width: 25%;
height: 100%;
transform: translateY(150%);
border-radius: 50%;
left: calc((var(--n) - 1) * 25%);
transition: 0.5s;
transition-delay: calc((var(--n) - 1) * 0.1s);
z-index: -1;
}

.about .personality ul .serious:hover {
  color: white;
}

.about .personality ul .hobby:hover {
  color: black;
}


.about .personality ul li:hover span {
  transform: translateY(0) scale(2);
}

.about .personality ul li span:nth-child(1) {
  --n: 1;
}

.about .personality ul li span:nth-child(2) {
  --n: 2;
}

.about .personality ul li span:nth-child(3) {
  --n: 3;
}

.about .personality ul li span:nth-child(4) {
  --n: 4;
}

/* portofolio section styling */
.portofolio {
  min-height: 100vh;
  color:#fff;
  background: #111;
}

.portofolio .title::before{
  background: #fff;
}
.portofolio .title::after{
  background: #111;
  content: "what i learned";
}

.portofolio .skill-container{
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  }

.portofolio .skill{
  color: #fff;
  border-radius: 15px;
  font-size: 20px;
  padding: 2px;
  text-align: center;
}

.portofolio .port-content .card{
  display: flex;
  flex-direction: column;
  min-width: 30vh;
  min-height: 450px;
  width: calc(45% - 20px);
  background: #222;
  text-align: center;
  border-radius: 6px;
  padding: 20px 25px;
  transition: all 0.3s ease;
}
.portofolio .port-content .card:hover{
  background: white;
}
.portofolio .port-content .card .box{
  transition: all 0.3s ease;
}
.portofolio .port-content .card:hover .box{
  transform: scale(1.05);
}

.portofolio .port-content .card i{
  font-size: 50px;
  color: var(--identity-primary);
  transition: color 0.3s ease;
}

.portofolio .port-content .card:hover i{
  color: black;
}

.portofolio .port-content .card .text{
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  padding: 30px;
}

.portofolio .port-content .card:hover .text{
  color: black;
}

.portofolio .clickable-button {
  margin-top: auto;
  background-color: white;
  margin-left: 25%;
  width: 50%;
  text-align: center;
  border-radius: 10px;
}

.portofolio .port-content .card:hover .clickable-button {
  background-color: var(--identity-primary)
}

.portofolio .open-button {
  font-size: 1.5rem;
  cursor: pointer;
  color: black;
  font-weight: 600;
  padding: 3px;
}

.portofolio .port-content .card:hover .open-button  {
  color: black;
}

.portofolio .close-button {
  font-size: 2rem;
  border: 5px black solid;
  border-radius: 10px;
  padding: 10px;
  color: var(--identity-primary);
  margin-top: 50px;
  background-color: white;
  cursor: pointer;
}

/* .portofolio project*/
.portofolio .overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99;
  background-color: #000;
  pointer-events: none;
  opacity: 0;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
}
.portofolio input[type="checkbox"]:checked ~ .overlay {
   pointer-events: auto;
   opacity: 0.9;
   -webkit-transform: scale(1);
   transform: scale(1);
   -webkit-transition: transform 0.5s ease, opacity 0.5s ease ;
   transition: transform 0.5s ease, opacity 0.5s ease;   
}
.portofolio .modal {
position: fixed;
padding: 0 5%;
top: 50%;
left: 50%;
z-index: 100;
-webkit-transform: translate(-50%, -50%) scale(0.5);
transform: translate(-50%, -50%) scale(0.5);
width: 100%;
/* max-width: 1800px; */
pointer-events: none;
opacity: 0;    
}

.portofolio input[type="checkbox"]:checked ~ .modal {
   pointer-events: auto;
   opacity: 1;
   -webkit-transform: translate(-50%, -50%) scale(1);
   transform: translate(-50%, -50%) scale(1);
   -webkit-transition: transform 0.5s ease, opacity 0.5s ease ;
   transition: transform 0.5s ease, opacity 0.5s ease ;  
   transition-delay: 0.1s; 
}

.portofolio .modal__content {
   display: block;
   padding: 30px;
   background-color: rgb(230, 230, 230);
   height: 85vh;
   overflow: scroll;
   overflow-x: hidden;
}

/* portofolio project section */
.portofolio #projects {
text-align: center;
}

.portofolio #project-des {
  display: inline-block;
margin: 0 auto;
color: #000000;
border-bottom: 5px solid var(--identity-primary);
font-size: 4rem;
}

.portofolio #container {
display: grid;
grid-template-columns: auto auto auto;
column-gap: 4%;
row-gap: 4%;
width: 100%;
padding: 5%;
}

.portofolio .project-tile {
width: 100%;
}

.portofolio .project-title-EL {
display: flex;
justify-content: center;
align-items: center;
font-size: 1.8em;
font-weight: 600;
background-color: rgb(144, 144, 144);
color: black;
height: 150px;
vertical-align: middle;
align-items: center;
text-align: center;
text-decoration: none;
}

.portofolio .project-title-IT {
display: flex;
justify-content: center;
align-items: center;
font-size: 1.8em;
font-weight: 600;
background-color: rgb(144, 144, 144);
color: black;
vertical-align: middle;
align-items: center;
text-align: center;
text-decoration: none;
}

.portofolio .portofolio-img {
display: block;
width: 100%;
height: 50vh;
}

.portofolio #show-all {
display: block;
margin-top: 30px;
font-size: 2em;
padding: 1rem 2rem;
margin-bottom: 60px;
}

/* contact section styling */
.contact .title::after{
  content: "how to connect";
}
.contact .title {
  color: black;
}

.contact .container {
  position: relative;
  width: 100%;
  background-color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact .form {
  width: 100%;
  max-width: 920px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.contact .contact-form {
  background-color: #1abc9c;
  position: relative;
}
.contact .contact-form:before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: #1abc9c;
  transform: rotate(45deg);
  top: 50px;
  left: -13px;
}
.contact form {
  padding: 2.3rem 2.2rem;
  z-index: 10;
  overflow: hidden;
  position: relative;
}

.contact .input-container {
  position: relative;
  margin: 1rem 0;
  user-select: none;
}
.contact .input {
  width: 100%;
  outline: none;
  border: 2px solid #fafafa;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 25px;
  transition: 0.3s;
}
.contact textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  border-radius: 22px;
  resize: none;
  overflow-y: auto;
}
.contact .input-container label {
  user-select: none;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: #fafafa;
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}
.contact .input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
  user-select: none;
}
.contact .button {
  display: flex;
  justify-content: center;
}
.contact .btn {
  padding: 0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fafafa;
  font-size: 0.95rem;
  color: #1abc9c;
  line-height: 1;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  margin: 0 ;
}
.contact .btn:hover {
  background-color: transparent;
  color: #fff;
}
.contact .input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}
.contact .input-container span:before,
.contact .input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: #1abc9c;
  top: 50%;
  transform: translateY(-50%);
}
.contact .input-container span:before {
  left: 50%;
}
.contact .input-container span:after {
  right: 50%;
}
.contact .input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}
.contact .input-container.focus span:before,
.contact .input-container.focus span:after {
  width: 50%;
  opacity: 1;
}
.contact .contact-info {
  padding: 2.5rem 2.2rem;
  position: relative;
  background: url(/asses/X-modified.svg) no-repeat center ;
  /* background-image: url(/asses/X-modified.svg) no-repeat center ; */
}
.contact .contact-info .contact-title {
  color: var(--identity-primary);
  position: relative;
  text-align: center;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.contact .info .information {
  display: flex;
  color: #555;
  margin: 0.7rem 0;
  align-items: center;
  font-size: 0.95rem;
}
.contact .info .icon {
  width: 28px;
  margin-right: 0.7rem;
  user-select: none;
}
.contact .contact-info .social-media {
  padding: 2rem 0 0 0;
}
.contact .contact-info .social-media p {
  color: #333;
}
.contact .social-media .social-icons {
  display: flex;
  margin-top: 0.5rem;
}
.contact .social-media .social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 5px;
  background: linear-gradient(45deg, #1abc9c, #149279);
  color: #fff;
  text-align: center;
  line-height: 35px;
  margin-right: 0.5rem;
  transition: 0.3s;
}
.contact .social-media .social-icons a:hover {
  transform: scale(1.05);
}
.contact .contact-form .alert{
  text-align: center;
  padding:10px;
  background:#79c879;
  color:#fff;
  margin-bottom:10px;
  display:none;
}

/* submit button styling */

.contact .contact-form .button {
  user-select: none;
    width: 100%;
    position: relative;
    text-decoration: none;
    outline: none;
    color: #FFF;
    background: transparent;
    font-family: 'raleway', sans-serif;
}
.contact .contact-form  .button span {
    -webkit-transition: 0.6s;
    -moz-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
    -webkit-transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
.contact .contact-form .button:before,
.contact .contact-form .button:after {
    content: '';
    position: absolute;
    top: 0.67em;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    -webkit-transition: .4s,opacity .6s;
    -moz-transition: .4s,opacity .6s;
    -o-transition: .4s,opacity .6s;
    transition: .4s,opacity .6s;
}

/* :before */
.contact .contact-form .button:before {
    content: attr(data-hover);
    -webkit-transform: translate(-150%,0);
    -moz-transform: translate(-150%,0);
    -ms-transform: translate(-150%,0);
    -o-transform: translate(-150%,0);
    transform: translate(-150%,0);
}
/* :after */
.contact .contact-form .button:after {
    content: attr(data-active);
    -webkit-transform: translate(150%,0);
    -moz-transform: translate(150%,0);
    -ms-transform: translate(150%,0);
    -o-transform: translate(150%,0);
    transform: translate(150%,0);
}

/* Span on :hover and :active */
.contact .contact-form .button:hover span,
.contact .contact-form .button:active span {
    opacity: 0;
    -webkit-transform: scale(0.3);
    -moz-transform: scale(0.3);
    -ms-transform: scale(0.3);
    -o-transform: scale(0.3);
    transform: scale(0.3);
}

/*  
    We show :before pseudo-element on :hover 
    and :after pseudo-element on :active 
*/

.contact .contact-form .button:hover:before,
.contact .contact-form .button:active:after {
    opacity: 1;
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
    -webkit-transition-delay: .4s;
    -moz-transition-delay: .4s;
    -o-transition-delay: .4s;
    transition-delay: .4s;
}

/* 
  We hide :before pseudo-element on :active
*/
.contact .contact-form .button:active:before {
    -webkit-transform: translate(-150%,0);
    -moz-transform: translate(-150%,0);
    -ms-transform: translate(-150%,0);
    -o-transform: translate(-150%,0);
    transform: translate(-150%,0);
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}

/* footer section styling */
footer{
  background: #111;
  padding: 15px 23px;
  color: #fff;
  text-align: center;
}
footer span a{
  color: var(--identity-primary);
  text-decoration: none;
}
footer span a:hover{
  text-decoration: underline;
}

/* Media queries for responsive web */

/* for show text in navbar   */
@media only screen and (min-width: 600px) {
  .navbar {
    top: 0;
    width: 5rem;
    height: 100vh;
  }

  .navbar:hover {
    width: 16rem;
  }

  .navbar:hover .link-text {
    display: inline;
  }

  .navbar:hover .logo svg {
    margin-left: 11rem;
  }

  .navbar:hover .logo-text {
    left: 0px;
  }
}

/* for image in smaller device */
@media (max-width: 1200px) {
  .about .about-content .left img{
      height: 350px;
      width: 350px;
  }
}

/* Extra small devices (phones, 600px and done) */
@media only screen and (max-width: 600px) {

  /* * {
    background-color: #0400e6;
  } */

  .max-width{
    padding: 0 20px;
    margin: auto ;
  }

  .navbar {
    bottom: 0;
    width: 100vw;
    height: 5rem;
  }

  .navbar .navbar-nav {
    flex-direction: row;
  }

  .navbar .logo {
    display: none;
  }

  .navbar .nav-link {
    justify-content: center;
  }

  .navbar .nav-link svg {
    width: 1rem;
  }
  
  .home .home-content {
    margin-top: -5rem;
    margin-left: -2rem;
  }

  .home .home-content .text-1{
    font-size: 1.2rem;
  }

  .home .home-content .text-2{
    font-size: 1rem;
  }
  .home .home-content .text-3{
    font-size: 0.8rem;
  }

  .about .quote {
    font-size: 2em;
    line-height: 2rem;
    word-spacing: 5px;
  }

  .about .about-content .column{
    width: 100%;
  }
.about .about-content .left{
    display: flex;
    justify-content: center;
    margin: 0 auto 60px;
}
.about .about-content .right{
    flex: 100%;
}

  .about .column .personality {
    margin-top: 30px;
    padding: 0;
  }
  
  .about .personality ul li {
    border-radius: 1em;
    width: 10em;
    height: 3em;
  }

  .about .about-content .left img{
    margin-top: 0;
  }
  
  .about .about-content .right .text {
      font-size: 19px;
  }

  /* flex display for project */
  .portofolio section{
    padding: 0;
  }

  .portofolio .port-content .card{
    width: 100%;
    margin-bottom: 4rem;
}

  .portofolio .port-content .card .text{
    font-size: 1.5rem;
    color: #fff;
  }

  .portofolio .open-button {
    font-size: 1.4rem;
  }

  .portofolio #project-des {
    font-size: 1.7em;
  }

  .portofolio #container {
    display: flex;
    flex-direction: column;
  }

  .portofolio .project-tile {
    margin: 20px auto;
  }

  .portofolio .modal img {
    height: 350px;
  }

  .portofolio .project-title-EL {
    font-size: 1.2em;
    font-weight: 400;
    height: max-content;
    align-items: flex-start;
    }
    
    .portofolio .project-title-IT {
      font-size: 1.2em;
      font-weight: 400;
      height: max-content;
      align-items: flex-start;
    }

    .portofolio #show-all {
      margin-top: 0;
      font-size: 2rem;
      padding: 0;
      }

      .portofolio .close-button {
        font-size: 2rem;
        border: 2px black solid;
        border-radius: 10%;
        color: var(--identity-primary);
        margin-top: 3rem;
        background-color: white;
        cursor: pointer;
      }

      .contact .form {
        grid-template-columns: 1fr;
      }
      
     footer {
       margin-bottom: 5rem;
      }

}

/* Small devices (portrait tablets and large phones, 600px and up) done*/
@media only screen and (min-width: 600px) and (max-width: 768px) {

  /* * {
    background-color: red;
  } */

  .max-width{
    padding: 0 10px;

}

.about .about-content .left img{
  margin-top: -3rem;
}

  .about , .portofolio , .contact {
    margin-left: 5rem;
    padding-left: 0;
  } 

  .home .home-content {
    margin-left: 4rem;
  }

  .home .home-content .text-1{
    font-size: 1rem;
  }

  .home .home-content .text-2{
    font-size: 0.8rem;
  }
  .home .home-content .text-3{
    font-size: 0.6rem;
  }
  
  .about .column .personality {
    margin-top: 30px;
  }
  
  .about .personality ul li {
    border-radius: 1em;
    width: 10em;
    height: 3em;
  }
  
.about .about-content .column{
    width: 100%;
}
.about .about-content .left{
    display: flex;
    justify-content: center;
    margin: 50px auto 50px auto;
}
.about .about-content .right{
    flex: 100%;
}
.portofolio .port-content .card{
    width: calc(50% - 10px);
    margin-bottom: 20px;
    height: 450px;
}

.portofolio .port-content .card .text{
  font-size: 1.5rem;
}

.portofolio .open-button {
  font-size: 1rem;
}


.portofolio #project-des {
  font-size: 1.7em;
}

.portofolio #container {
  display: grid;
  grid-template-columns: auto auto;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}

.portofolio .project-tile {
  margin: 20px auto;
}

.portofolio .modal img {
  height: 300px;
}

.portofolio .project-title-EL {
  font-size: 1em;
  font-weight: 400;
  height: 100px;
  align-items: center;
  }
  
  .portofolio .project-title-IT {
    font-size: 1em;
    font-weight: 400;
    height: 30px;
    align-items: center;
  }

  .portofolio #show-all {
    margin-top: 0;
    font-size: 2rem;
    padding: 0;
    }

    .portofolio .close-button {
      font-size: 2rem;
      border: 2px black solid;
      border-radius: 10%;
      color: var(--identity-primary);
      margin-top: 3rem;
      background-color: white;
      cursor: pointer;
    }

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 992px) {
  
  /* * {
    background-color: #00e6bf;
  } */

  .max-width{
    padding: 0 10px;
}

  .about , .portofolio , .contact {
    margin-left: 5rem;
    padding-left: 0;
  } 

  .home .home-content {
    margin-left: 4rem;
  }

  .home .home-content .text-1{
    font-size: 1.2rem;
  }

  .home .home-content .text-2{
    font-size: 1rem;
  }
  .home .home-content .text-3{
    font-size: 0.8rem;
  }
  
  .about .quote {
    font-size: 1.5rem;
    margin-left: -40vh;
    margin-right: 10vh;
  }

  .about .text {
    font-size: 10px;
    margin: 10px;
    text-align: left;
  }

  .about .column .personality {
    margin-top: 30px;
    margin-left: -40vw;
  }
  
  .about .personality ul li {
    border-radius: 1em;
    width: 11em;
    height: 3em;
  }
  
  .about .about-content .left img{
    height: 300px;
    width: 300px;
}

.portofolio .port-content .card{
    min-width: 40vh;
    width: calc(50% - 10px);
    margin-bottom: 20px;
    min-height: 450px;
}

.portofolio .port-content .card .text{
  font-size: 1.5rem;
}

.portofolio .open-button {
  font-size: 1rem;
}

.portofolio #project-des {
  font-size: 2.7em;
}

.portofolio .project-title-EL {
  font-size: 1em;
  font-weight: 400;
  height: 100px;
  align-items: flex-start;
  align-items: center;
  color: black;
  text-align: center;
  }

  .portofolio .project-title-IT {
    font-size: 1em;
    font-weight: 400;
    height: max-content;
    align-items: flex-start;
  }

} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  
  /* * {
    background-color: yellow;
  } */

} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  
  /* * {
    background-color: violet;
  } */

}
