/*
* Original Author: Prerak Raja
* Source Repository: https://github.com/rajaprerak/rajaprerak.github.io
* License: MIT License

* Template Name: Personal - v2.1.0
* Template URL: https://bootstrapmade.com/personal-free-resume-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #fff;
  position: relative;
  background: transparent;
  margin: 0;
  overflow: hidden;
}


body::before {
  content: "";
  position: fixed;
  background: #010e1b;
  background-size: cover;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
}

@media (min-width: 1024px) {
  body::before {
    background-attachment: fixed;
  }
}

a {
  color: #12d640;
}

a:hover {
  color: #12d640;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}


/* 추가 : 보스 */
/* style.css */
/*--------------------------------------------------------------
# Gost Object & Eye (인터랙티브 배경 객체)
--------------------------------------------------------------*/
.gost-object {
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 623px; 
    height: 900px; 
    /* opacity: 0.2;  <-- 이 줄을 제거합니다! 상속의 원인입니다. */
    z-index: 1; 
    transition: transform 0.1s linear; 
    /* 보스 본체의 배경 이미지는 이제 가상 요소로 이동합니다. */
}

/* 보스 객체의 실제 배경 이미지를 ::before 가상 요소로 처리 */
.gost-object::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/boss/head.png'); /* 이미지 경로 설정 */
    background-size: contain;
    background-repeat: no-repeat;
    /* 여기서 투명도를 설정합니다! */
    opacity: 0.2; 
    z-index: -1; /* 보스 본체의 콘텐츠(눈동자)보다 뒤로 보냅니다. */
}

.eye-wrapper {
    position: absolute; /* 다시 absolute로 변경, 부모(gost-object) 기준이 됨 */
    width: 69px; 
    height: 69px; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    transition: transform 0.1s linear; 
    z-index: 2; /* ::before(z-index: -1) 위에 위치 */
    
    /* 눈동자는 이제 완전 선명합니다 (opacity: 1) */
}

/* eye, pupil CSS는 기존과 동일하게 유지 */
.eye {
    width: 100%;
    height: 100%;
    border: 3px solid #a30000; 
    border-radius: 50%;
    position: relative;
}

.pupil {
    width: 50%; 
    height: 50%;
    background: #ff0000; 
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
}


/* 추가 : 보스 위에 상자를 만들고 투명도를 조절해서 페이드인 효과 구현 */
.gost-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    /* 보스 객체와 정확히 동일한 위치 및 크기 설정 */
    width: 100%; 
    height: 100%;
    transform: translate(-50%, -50%);
    
    /* 중요: 배경색은 웹사이트의 실제 배경색과 일치해야 합니다 */
    background-color: #010e1b; /* 예시: body 배경색이 #333 일 경우 */
    
    z-index: 10; /* 보스 객체보다 위에 위치 */
    opacity: 1; /* 시작 시 불투명 */
    transition: opacity 2s ease-out; /* 2초 동안 부드럽게 투명해짐 */
    pointer-events: none; /* 오버레이가 마우스 이벤트를 방해하지 않도록 설정 */
}

/* JavaScript에서 이 클래스를 추가하여 애니메이션 트리거 */
.gost-overlay.fade-out {
    opacity: 0;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/*
transition: ease-in-out 0s;: 요소의 변화(색상, 위치 등)가 발생할 때 부드럽게 변하는 애니메이션 효과를 설정합니다. (현재는 0초로 설정되어 있어 즉시 변경됩니다.)
position: relative;: 이 요소를 기준으로 내부 요소들의 위치를 설정할 수 있게 합니다.
height: 100vh;: **화면 높이의 100%**만큼 높이를 설정합니다. (브라우저 창 전체 높이를 차지합니다.)
display: flex;: 내부 요소들을 유연한 박스(Flexbox) 형태로 배치합니다.
align-items: center;: 플렉스 박스 내부의 요소들을 세로 방향(수직) 중앙에 정렬합니다.
z-index: 997;: 다른 요소들보다 위에 겹쳐 보이도록 우선순위를 높게 설정합니다.
overflow-y: auto;: 내용이 많아 세로로 넘칠 경우에만 스크롤바가 생기도록 합니다.
*/
#header {
  transition: ease-in-out 0s;
  position: relative;
  height: 100vh;
  display: flex;
  z-index: 997;
  overflow-y: auto;
}

#header * {
  transition: ease-in-out 0s;
}

#header h1 {
  position: absolute;
  top: 20px; /* 위에서 20px 아래로 */
  left: 20px;  /* 왼쪽에서 20px 오른쪽으로 */
  margin-top: 0; /* 기존 마진 제거 */ 
  font-size: 48px;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

#header h1 a, #header h1 a:hover {
  color: #dee2e6;
  line-height: 1;
  display: inline-block;
}

#header img {
  padding: 0;
  margin: 0;
}

#header .social-links {
  /* 추가 : 소셜 링크를 헤더 영역의 오른쪽 하단 모서리로 이동 */
  position: absolute;
  bottom: 20px; /* 아래에서 20px 위로 */
  left: 20px;  /* 왼쪽에서 20px 오른쪽으로 */
  margin-top: 0; /* 기존 마진 제거 */ 
  display: flex; /* 가로 방향 정렬 */
}

#header .social-links a {
  margin-top: 0px;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  margin-right: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#header .social-links a:hover {
  background: #68c0e6;
}

@media (max-width: 992px) {
  #header h1 {
    font-size: 36px;
  }
  #header h2 {
    font-size: 20px;
    line-height: 30px;
  }
  #header .social-links {   
    flex-direction: column; /* 변경 : 모바일 화면에서는 소셜 링크 세로 정렬 */
  }
  #header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #header .social-links a {
    margin-top: 10px;  /*추가 : 모바일 화면에서 소셜 링크 간격 조정*/
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  margin-top: 35px;
}

.nav-menu ul {
  position: absolute;
  top: 50px; /* 위에서 20px 아래로 */
  right: 50px;  /* 오른쪽에서 20px 왼쪽으로 */ 
  display: flex;
  flex-direction: column; /* 추가 : 메뉴 항목들을 세로로 정렬 */
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li + li {
  margin-top: 20px; /* 변경 : 메뉴 항목들 사이의 간격 조정 */
}

.nav-menu a {
  display: block;
  position: relative;
  color: #fff;
  font-size: 22px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.nav-menu a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #00f2ff;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.nav-menu a:hover:before, .nav-menu li:hover > a:before, .nav-menu .active > a:before {
  visibility: visible;
  width: 25px;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #01fdba;
  text-decoration: none;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #fff;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.7);
  transition: ease-in-out 0s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #fff;
  padding: 10px 20px;
  font-weight: 500;
  outline: none;
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
  color: #0084ff;
  text-decoration: none;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(9, 9, 9, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/* Header Top */
#header.header-top {
  height: 90px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background-color: #0e0e2d;
}

/* 겹치는 요소들의 position을 static으로 재정의합니다. */
/* #header.header-top 내부의 h1, .social-links, .nav-menu ul에 적용 */
#header.header-top h1, 
#header.header-top .social-links, 
#header.header-top .nav-menu ul {
  position: static; /* absolute 대신 static (기본값) 사용 */
  top: auto;        /* absolute 위치 지정 해제 */
  bottom: auto;
  left: auto;
  right: auto;
}

#header.header-top .social-links {
  display: none;
}

#header.header-top h1 {
  /* 메뉴 화면을 고친 후 h1이 표시 되지 않는 문제를 화면 맨앞으로 나오게 해서 해결함 */
  z-index: 1000; /* 매우 높은 값으로 설정 */  
  position: relative;

  margin-right: auto;
  font-size: 36px;
}

#header.header-top .container {
  display: flex;
  align-items: center;
}

#header.header-top .nav-menu {
  margin: 0;
}

/* nav-menu UL에만 flexbox 속성 적용 */
#header.header-top .nav-menu ul {
  display : flex;
  flex-direction: row; /* 메뉴 항목 가로 정렬 */
}


#header.header-top .nav-menu li + li {
  margin-top: 0px; /* 변경 : 메뉴 항목들 사이의 간격 조정 */
  margin-left: 30px; /* 변경 : 메뉴 항목들 사이의 간격 조정 */
}

@media (max-width: 768px) {
  #header.header-top {
    height: 60px;
  }
  #header.header-top h1 {
    font-size: 26px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 140px;
  bottom: 100%;
  opacity: 0;
  z-index: 2;
  pointer-events: none; /* 추가 : 보이지 않는 섹션은 클릭 통과 */
}

section.section-show {
  top: 70px;
  bottom: auto;
  opacity: 1;
  padding-bottom: 0px;
  pointer-events: auto; /* 추가 : active 섹션만 클릭 허용 */
}

section .container {
  background: rgba(0, 0, 0, 0);
  padding: 30px;
}

@media (max-width: 768px) {
  section {
    top: 120px;
  }
  section.section-show {
    top: 80px;
  }
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #dee2e6;
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #dee2e6;
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  margin: -15px 0 15px 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #fff;
}


/*--------------------------------------------------------------
추가 : arm_moving1 애니메이션 관련 설정
------------------------------------------------------------*/

/* 페이드 인을 위해 에듀케이션과 포트폴리오의 내용물을 감싸는 블록 */
.education-content-wrapper, .portfolio-content-wrapper {  
    display: none; /* 초기에는 숨김 */
}

/* Animation sprite positioning and responsive behavior */
#education {
    position: relative; /* 자식 애니메이션 요소의 절대 배치 기준 */
    overflow: visible; /* 커진 애니메이션이 잘리지 않게 허용 */
}

#education .my-animation-sprite {
    position: absolute;
    left: 50%;
    top: 0%; /* 화면 위로 약간 올림 */
    transform: translate(-50%, -27%) scale(1); /* 중앙 정렬 유지, 크기 변동 없음 */
    transform-origin: center center;
    z-index: 10;
    pointer-events: none;
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease;
    opacity: 1;
}

/* 모바일에서는 중앙보다 약간 왼쪽에 배치하고 오른쪽으로 90도 회전 */
@media (max-width: 768px) {
    #education .my-animation-sprite {
        left: 45%;
        top: 35%;
        transform: translate(-45%, -50%) rotate(90deg) scale(1); /* 90도 회전, 크기 유지 */
        transform-origin: center center;
        opacity: 1;
    }
}

/*--------------------------------------------------------------
추가 : arm_moving2 애니메이션 관련 설정
------------------------------------------------------------*/
/* Animation sprite positioning and responsive behavior */
#portfolio {
    position: relative; /* 자식 애니메이션 요소의 절대 배치 기준 */
    overflow: visible; /* 커진 애니메이션이 잘리지 않게 허용 */
    height: 100vh; /* 포트폴리오 섹션이 화면 전체 높이를 차지하도록 설정 */
}

#portfolio .my-animation-sprite {
    position: absolute;
    left: 50%;
    top: 0%; /* 화면 위로 약간 올림 */
    transform: translate(-42%, -110%) scale(1); /* 중앙 정렬 유지, 크기 변동 없음 */
    transform-origin: center center;
    z-index: 10;
    pointer-events: none;
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease;
    opacity: 1;
}

@media (max-width: 768px) {
    #portfolio .my-animation-sprite {
        left: 39%;
        top: 0%;
        transform: translate(-39%, -170%) scale(1); /* 크기 유지 */
        transform-origin: center center;
        opacity: 1;
    }
}

.line {    /* 손으로 그을 선 */  
  position: fixed;
  top: 86%;                  /* 부모 기준 세로 중앙 */
  left: 50%;                 /* 부모 기준 가로 중앙 */
  transform: translate(-50%, -50%); /* 완전 중앙 맞춤 */
  width: 695px;
  height: 2px;
  background: #bbdeff;
  border: 3px solid #bbdeff;
  border-radius: 5px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .line {    /* 손으로 그을 선 */  
    position: fixed;
    top: 90%;                  /* 부모 기준 세로 중앙 */
    width: 420px;
    height: 5px;
  }
}



/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about-me .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #0084ff;
}

.about-me .content ul {
  list-style: none;
  padding: 0;
}

.about-me .content ul li {
  padding-bottom: 10px;
}

.about-me .content ul i {
  font-size: 20px;
  padding-right: 2px;
  color: #0084ff;
}

.about-me .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# education
--------------------------------------------------------------*/

.education-content-wrapper {
  display: flex;
  justify-content: center;   /* 가로 중앙 */
  align-items: center;       /* 세로 중앙 */
  height: 100vh;             /* 화면 전체 높이 */
  gap: 60px;                 /* 카드 사이 간격 */
}

/* 카드 스타일 */
.card {
  color: #f7f7f7;
  width: 220px;
  height: 350px;
  padding: 20px;
  margin-bottom: 100px;
  background: #100924a7;
  border :5px solid rgb(52, 30, 137);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(3, 12, 73, 0.1);
  text-align: center;
  justify-content: center;
}

.card h3 {
  font-size: 35px;
}

.card p {
  font-size: 30px;
  margin-top: 10px;
}

.card:hover {
  border :5px solid #00aaff;
}

/* Education wrapper and link styles for venobox popups */
.education-content-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.education-content-wrapper a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.education-content-wrapper a:focus,
.education-content-wrapper a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
   body {
    overflow-y: auto;   /* 모바일에서 세로 스크롤 허용 */
  }
  .education-content-wrapper {
    flex-direction: column; /* 세로 정렬 */
    gap : 15px;           /* 카드 사이 간격 축소 */
    height: auto;        /* 높이 자동 조절 */
  }
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #0084ff;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #9e7f25;
  border: 2px solid #9e7f25;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  background: #09203a;
  padding: 40px 40px;
  transition: all ease-in-out 0.3s;
  margin: 10px
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #0084ff;
  border-radius: 5px;
  transition: all .3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
}

.services .icon-box .icon i {
  color: #fff;
  font-size: 28px;
}

.services .icon-box .icon::before {
  position: absolute;
  content: '';
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  transition: all .3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #fff;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  background: #042e5f;
  border-color: #0084ff;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #0084ff;
}

.services .icon-box:hover .icon::before {
  background: #35e888;
}

.services .icon-box:hover h4 a, .services .icon-box:hover p {
  color: #12d640;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/


.portfolio-content-wrapper {
  position: fixed;        /* 위치 지정 가능 */
  top: 50%;                  /* 부모 기준 세로 중앙 */
  left: 50%;                 /* 부모 기준 가로 중앙 */
  transform: translate(-50%, -50%); /* 완전 중앙 맞춤 */
  display: flex;             /* flex 컨테이너 */
  justify-content: center;   /* 가로 중앙 */
  align-items: center;       /* 세로 중앙 */
  flex-direction: column; /* 세로 방향 정렬 */
  height: 100vh;             /* 높이 */
  width: 700px;              /* 가로 크기 제한 */
  gap: 60px;                 /* 카드 사이 간격 */
}


/* 추가 : 스크롤 박스의 설정 */
.portfolio-scroll-wrapper {
  top: 20%;
  max-height: 60vh;        /* 원하는 높이 지정 */
  overflow-y: auto;        /* 세로 스크롤 */
  overflow-x: hidden;      /* 가로 스크롤 제거 */
  padding-right: 10px;     /* 스크롤바 때문에 밀림 방지 */
}

@media (max-width: 768px) {
    .portfolio-content-wrapper {
        width: 90vw;          /* 모바일에서 가로 크기 조정 */
        max-height: 50vh;    /* 모바일에서 높이 조정 */
    }
}

/* 추가 : 스크롤바 꾸미기 */
.portfolio-scroll-wrapper::-webkit-scrollbar {
  width: 8px;
}

.portfolio-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #0084ff;
  border-radius: 4px;
}

.portfolio-scroll-wrapper::-webkit-scrollbar-track {
  background: #010e1b;
}



.portfolio .portfolio-item {
  width: 100%;
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 15px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 16px 10px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 3px 10px 3px;
  transition: all 0.3s ease-in-out;
  border-radius: 4px;
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  background: #0084ff;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #63eda3;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  padding: 20px;
  width: 100%;
  background: #09203a;
}

.contact .info-box i.bx {
  font-size: 24px;
  color: #dee2e6;
  border-radius: 50%;
  padding: 14px;
  float: left;
  background: rgba(255, 255, 255, 0.1);
}

.contact .info-box h3 {
  font-size: 20px;
  color: #0099ff;
  font-weight: 700;
  margin: 10px 0 8px 68px;
}

.contact .info-box p {
  padding: 0;
  color: #fff;
  line-height: 24px;
  font-size: 14px;
  margin: 0 0 0 68px;
}

.contact .info-box .social-links {
  margin: 5px 0 0 68px;
  display: flex;
}

.contact .info-box .social-links a {
  font-size: 18px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  margin-right: 12px;
  transition: 0.3s;
}

.contact .info-box .social-links a:hover {
  color: #12d640;
}

.contact .php-email-form {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  background: #0084ff;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #0084ff;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  transition: 0.3s;
  color: #fff;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  background-color: rgba(255, 255, 255, 0.11);
}

.contact .php-email-form input::-webkit-input-placeholder, .contact .php-email-form textarea::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::-moz-placeholder, .contact .php-email-form textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input:-ms-input-placeholder, .contact .php-email-form textarea:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::-ms-input-placeholder, .contact .php-email-form textarea::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::placeholder, .contact .php-email-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input {
  padding: 20px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #0084ff;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #00f7ff;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Credits
--------------------------------------------------------------*/
.credits {
  position: fixed;
  right: 15px;
  bottom: 15px;
  font-size: 13px;
  color: #fff;
  z-index: 1;
}

.credits a {
  color: #0084ff;
  transition: 0.3s;
}

.credits a:hover {
  color: #fff;
}

@media (max-width: 992px) {
  .credits {
    left: 50%;
    right: 0;
    transform: translateX(-50%);
  }
}

