/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --main-color:#E6AF2E;
    --red-color:#832232;
    --red-color-rgb: 131, 34, 50;
    --dark-color:#020304;
    --dark-color-rgb: 2, 3, 4;
    --light-color:#FFF;
    --light-color-rgb: 255, 255, 255;

    --font-family:"Avenir";
}

body {
    font-family: --font-family, sans-serif;
    position: relative;
    color: var(--light-color);
    background-color: var(--dark-color);
}

body::before {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    content: '';
    -webkit-transform: scaleX(-1);
       -moz-transform: scaleX(-1);
         -o-transform: scaleX(-1);
            transform: scaleX(-1);
    background: var(--dark-color) url('/public/images/bg.jpg') top right no-repeat;
    background-size: cover;
}

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

a {
    color: var(--main-color);
}

a:hover {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family), sans-serif;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    position: relative;
    z-index: 997;
    display: flex;
    overflow-y: auto;
    align-items: center;
    height: 100vh;
    transition: ease-in-out .3s;
}

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

#header h1 {
    font-family: var(--font-family), sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    padding: 0;
}

#header h1 a,
#header h1 a:hover {
    line-height: 1;
    display: inline-block;
    color: var(--light-color);
}

#header h2 {
    font-size: 24px;
    margin-top: 20px;
    color: rgba(var(--light-color-rgb), .5);
}

#header h2 span {
    color: var(--light-color);
    border-bottom: 2px solid var(--main-color);
}

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

#header .social-links {
    display: flex;
    margin-top: 40px;
}

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

#header .social-links a:hover {
    background: var(--main-color);
}

@media (max-width: 992px) {
    #header h1 {
    	font-size: 36px;
    }

    #header h2 {
    	font-size: 20px;
    	line-height: 30px;
    }

    #header .social-links {
    	margin-top: 15px;
    }

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

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

.nav-menu ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li + li {
    margin-left: 30px;
}

.nav-menu a {
    font-family: var(--font-family), sans-serif;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    display: block;
    color: rgba(var(--light-color-rgb), .7);
}

.nav-menu a:before {
    position: absolute;
    bottom: -2px;
    left: 0;
    visibility: hidden;
    width: 0;
    height: 2px;
    content: '';
    transition: all .3s ease-in-out 0s;
    background-color: var(--main-color);
}

.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 {
    text-decoration: none;
    color: var(--light-color);
}

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

.mobile-nav-toggle i {
    color: var(--light-color);
}

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

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

.mobile-nav a {
    font-weight: 500;
    position: relative;
    display: block;
    padding: 10px 20px;
    color: var(--light-color);
    outline: none;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
    text-decoration: none;
    color: var(--main-color);
}

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

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

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

.mobile-nav-active .mobile-nav-toggle i {
    color: var(--light-color);
}

/* Header Top */
#header.header-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 80px;
    background: rgba(var(--dark-color-rgb), .8);
}

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

#header.header-top h1 {
    font-size: 36px;
    margin-right: auto;
}

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

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

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

    #header.header-top h1 {
    	font-size: 26px;
    }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    position: absolute;
    z-index: 2;
    top: 140px;
    bottom: 100%;
    overflow: hidden;
    width: 100%;
    transition: ease-in-out .4s;
    opacity: 0;
}

section.section-show {
    top: 100px;
    bottom: auto;
    padding-bottom: 45px;
    opacity: 1;
}

section .container {
    padding: 30px;
    background: rgba(var(--dark-color-rgb), .8);
}

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

    section.section-show {
    	top: 80px;
    }
}

.section-title h2 {
    font-family: var(--font-family), sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1px;
    margin: 0 0 20px 0;
    padding: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-color);

    filter: brightness(.8);
}

.section-title h2::after {
    display: inline-block;
    width: 120px;
    height: 1px;
    margin: 4px 10px;
    content: '';
    background: var(--main-color);
}

.section-title p {
    font-family: var(--font-family), sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin: -15px 0 15px 0;
    text-transform: uppercase;
    color: var(--light-color);
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about-me .content h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--main-color);
}

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

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

.about-me .content ul i {
    font-size: 20px;
    padding-right: 2px;
    color: var(--main-color);
}

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

#about p span {
    font-style: italic;
    color: var(--main-color);
}

.about-me img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
    padding: 70px 0 60px;
}

.counts .count-box {
    position: relative;
    width: 100%;
    padding: 30px 30px 25px 30px;
    text-align: center;
    background: rgba(var(--light-color-rgb), .08);
}

.counts .count-box i {
    font-size: 24px;
    position: absolute;
    top: -25px;
    left: 50%;
    padding: 12px;
    transform: translateX(-50%);
    color: var(--main-color);
    border-radius: 50px;
    background: rgba(var(--light-color-rgb), .1);
}

.counts .count-box span {
    font-size: 36px;
    font-weight: 600;
    display: block;
    color: var(--light-color);
}

.counts .count-box p {
    font-family: var(--font-family), sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .progress {
    display: block;
    height: 50px;
    margin-bottom: .25rem;
    background: none;
}

.skills .progress .skill {
    font-family: var(--font-family), sans-serif;
    font-weight: 600;
    display: block;
    margin: 0 0 6px 0;
    padding: 10px 0;
    text-transform: uppercase;
    color: var(--light-color);
}

.skills .progress .skill .val {
    font-style: normal;
    float: right;
}

.skills .progress-bar-wrap {
    background: rgba(var(--light-color-rgb), .15);
}

.skills .progress-bar {
    width: 1px;
    height: 10px;
    transition: .9s;
    background-color: var(--main-color);
}

.skills-content h3:before,
.skills-content h3:after {
    display: inline-block;
    width: 120px;
    height: 1px;
    margin: 4px 10px;
    content: '';
    background: var(--main-color);
}

/*--------------------------------------------------------------
# Interests
--------------------------------------------------------------*/
.interests .icon-box {
    display: flex;
    align-items: center;
    padding: 20px;
    transition: ease-in-out .3s;
    background: rgba(var(--light-color-rgb), .08);
}

.interests .icon-box i {
    font-size: 32px;
    line-height: 1;
    padding-right: 10px;
}

.interests .icon-box h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: var(--light-color);
}

.interests .icon-box:hover {
    background: rgba(var(--light-color-rgb), .12);
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title,
.education .education-title {
    font-size: 26px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.resume .resume-item,
.education .education-item {
    position: relative;
    margin-top: -2px;
    padding: 0 0 20px 20px;
    border-left: 2px solid rgba(var(--light-color-rgb), .2);
}

.resume .resume-item h4,
.education .education-item h4 {
    font-family: var(--font-family), sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--main-color);
}

.resume .resume-item h6,
.education .education-item h6 {
    font-family: var(--font-family), sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
    margin-bottom: 10px;
    color: var(--main-color);
}

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

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

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

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

.resume .resume-item::before,
.education .education-item::before {
    position: absolute;
    top: 0;
    left: -9px;
    width: 16px;
    height: 16px;
    content: '';
    border: 2px solid var(--main-color);
    border-radius: 50px;
    background: var(--main-color);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    width: 100%;
    padding: 20px;
    color: #444;
    background: rgba(var(--light-color-rgb), .08);
}

.contact .info-box i.bx {
    font-size: 24px;
    float: left;
    padding: 14px;
    color: var(--main-color);
    border-radius: 50%;
    background: rgba(var(--light-color-rgb), .1);
}

.contact .info-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0 8px 68px;
    color: rgba(var(--light-color-rgb), .5);
}

.contact .info-box p {
    font-size: 14px;
    line-height: 24px;
    margin: 0 0 0 68px;
    padding: 0;
    color: var(--light-color);
}

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

.contact .info-box .social-links a {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    margin-right: 12px;
    transition: .3s;
    color: var(--light-color);
}

.contact .info-box .social-links a:hover {
    color: var(--main-color);
}

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

    100% {
    	transform: rotate(360deg);
    }
}

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

    100% {
    	transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    font-size: 13px;
    position: fixed;
    z-index: 999999;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 15px;
    text-align: right;
    color: var(--light-color);
}

.footer #version {
    line-height: 24px;
    color: rgba(var(--light-color-rgb), .25);
}

@media (max-width: 992px) {
    .footer {
    	padding: 10px;
    	text-align: center;
    	background: rgba(var(--dark-color-rgb), .8);
    }
}

.footer a {
    color: var(--light-color);
}

.footer .dropdown button {
    padding: 0;
}

.footer .dropdown .dropdown-menu {
    padding-right: 14px;
}

.footer .dropdown button,
.footer .dropdown .dropdown-menu {
    width: 150px;
    min-width: 150px;
    text-align: right;
    color: var(--light-color);
    border: none;
    background: transparent;
}

@media (max-width: 992px) {
    .footer .dropdown button,
    .footer .dropdown .dropdown-menu {
    	text-align: center;
    }
}
