/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
body {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  position: relative;
  background: transparent;
}

a {
  color: #b49a5f;
}

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

html {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background-image: url('assets/img/bg/bg.jpg');
  background-color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  transition: ease-in-out 0s;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 997;
  overflow-y: auto;
}

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

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

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

#header h2 {
  font-size: 24px;
  margin-top: 20px;
  color: #b49a5f;
}

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

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

#header .social-links a {
  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: #b49a5f;
}

/* Header Responsive */
@media (max-width: 768px) {
  #header h1 {
    font-size: 36px;
  }
  #header h2 {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
  }
  #header .social-links {
    margin-top: 15px;
  }
  #header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/*--------------------------------------------------------------
# Nav
--------------------------------------------------------------*/
/* 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 {
  display: block;
  position: relative;
  color: #fff;
  font-size: 19px;
  font-family: "Lexend", sans-serif;
}

.nav-menu a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #9e7f25;
  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: #b49a5f;
  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: #b49a5f;
  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: #231f20;
}

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

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

#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
--------------------------------------------------------------*/
section {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 140px;
  bottom: 100%;
  opacity: 0;
  z-index: 2;
}

section.section-show {
  top: 70px;
  bottom: auto;
  opacity: 1;
  padding-bottom: 0px;
}

section .container {
  background: #fff; 
  color: #000;
}

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

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about-me .content h2 {
  font-weight: 700;
  font-size: 40px;
  color: #7e6c43;
  text-decoration: underline;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 30px;
  text-align: center;
}

.about-me .content p {
  margin-bottom: 1em;
}

.about-me img {
  border: 5px solid #b49a5f;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .about-me img {
    margin-top: 150px;
  }
  .about-me .content h2 {
    margin-top: 150px;
    text-align: left;
  }
}

/*--------------------------------------------------------------
# Education
--------------------------------------------------------------*/
#education .section-title h2 {
  font-weight: 700;
  font-size: 40px;
  color: #7e6c43;
  text-decoration: underline;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 30px;
  text-align: center;
}

@media (min-width: 768px) {
  #education .section-title h2 {
    text-align: left;
    margin-top: 100px;
  }
  #education .bordered-box h3 {
    margin-top: 0;
    text-align: left;
  }
}

.bordered-box {
  border: 2px solid #b49a5f;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  margin-left: 15px;
  margin-right: 15px;
}

.bordered-box img {
  border: 2px solid #b49a5f;
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.bordered-box h3 {
  font-size: 24px;
  color: #000;
  margin-bottom: 10px;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  word-spacing: 4px;
  margin-top: 10px;
  text-align: center;
}

.bordered-box ul {
  padding-left: 20px;
}

/*--------------------------------------------------------------
# Experience
--------------------------------------------------------------*/
#experience .section-title h2 {
  font-weight: 700;
  font-size: 40px;
  color: #7e6c43;
  text-decoration: underline;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

#experience h4 {
  font-family: "Lexend", sans-serif;
  font-style: italic;
  font-weight: 300;
  margin-top: 0em;
  font-size: 17px;
  margin-bottom: 30px;
  text-align: center;
}

#experience h3 {
  font-family: "Merriweather", serif;
  font-weight: 900;
  text-align: center;
}

#experience p {
  text-align: center;
}

@media (min-width: 768px) {
  #experience .section-title h2 {
    text-align: left;
    margin-top: 100px;
  }
  #experience h4 {
    text-align: left;
  }
  #experience h3 {
    text-align: left;
  }
  #experience p {
    text-align: left;
  }
}

/*--------------------------------------------------------------
# Timeline (Experience)
--------------------------------------------------------------*/
* {
  box-sizing: border-box;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #b49a5f;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: #7e6c43;
  border: 4px solid #7e6c43;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

.right::after {
  left: -16px;
}

.content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }
  .left::after,
  .right::after {
    left: 15px;
  }
  .right {
    left: 0%;
  }
}

/*--------------------------------------------------------------
# Contacts
--------------------------------------------------------------*/
#contacts .section-title h2 {
  font-weight: 700;
  font-size: 40px;
  color: #7e6c43;
  text-decoration: underline;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

@media (min-width: 768px) {
  #contacts .section-title h2 {
    text-align: left;
    margin-top: 100px;
  }
}

.contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.text-column,
.image-column {
  order: initial !important;
  width: 100%;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .contact-row {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .text-column {
    order: 0 !important;
    width: 50%;
    margin-bottom: 0;
    padding-right: 2rem;
  }
  .image-column {
    order: 1 !important;
    width: 70%;
    margin-bottom: 0;
    padding-left: 2rem;
  }
  .image-column img {
    margin-left: -30px;
  }
}

#contacts .social-links a i {
  font-size: 2.5rem;
  margin-right: 0.8rem;
}

@media (max-width: 991.98px) {
  #contacts .section-title h2 {
    margin-bottom: 1rem;
  }
  #contacts p {
    margin-top: 1rem;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
  background: #b49a5f;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

footer p {
  margin: 0;
}
