/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

a {
  color: #149ddd;
  text-decoration: none;
}

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

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

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 150px;         /* a bit larger so text is readable */
  height: 150px;        /* same as width = circle */
  object-fit: contain;  /* fit entire image inside circle */
  background-color: #2c2f3f; /* fills empty space inside circle */
  border-radius: 50%;   /* keep circle shape */
  border: 8px solid #2c2f3f;
  padding: 10px;        /* adds spacing so bottle/text aren’t cut */
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  padding: 0 15px;
  background: #040b14;
  overflow-y: auto;
  z-index: 9997;
  transition: all 0.5s ease-in-out;
}

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid #2c2f3f;
}

#header .profile h1 {
  font-size: 24px;
  margin: 0 auto;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

#header .profile h1 a,
#header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #212431;
  color: #fff;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  background: #149ddd;
}

/*--------------------------------------------------------------
# Main Layout
--------------------------------------------------------------*/
#main {
  margin-left: 300px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }

  #main {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .profile h1 {
    text-align: center !important;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.nav-menu {
  padding: 30px 0 0 0;
}

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

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 12px 15px;
  margin-bottom: 8px;
  font-size: 15px;
  transition: 0.3s;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}

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

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover > a i {
  color: #149ddd;
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  width: 40px;
  height: 40px;
  font-size: 24px;
  background-color: #149ddd;
  color: #fff;
  border-radius: 50px;
  border: none;
  outline: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s;
}

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

.mobile-nav-active #header {
  left: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("/img/hero-bg-new2.JPG") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

#hero:before {
  content: "";
  background: rgba(5, 13, 24, 0.3);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

#hero .hero-container {
  position: relative;
  z-index: 1;
  min-width: 100px;
  text-align: center;
}

#hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  margin-bottom: 10px;
  color: #fff;
}

#hero p {
  color: #fff;
  font-size: 26px;
  margin-bottom: 50px;
  font-family: "Poppins", sans-serif;
}

#hero p span {
  border-bottom: 3px solid #149ddd;
  letter-spacing: 1px;
  padding-bottom: 4px;
  color: #fff;
}

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

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Section Base Styles
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background: #f5f8fd;
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  padding-bottom: 20px;
  margin-bottom: 20px;
  position: relative;
  color: #173b6c;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: #149ddd;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
}

.section-title2 h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #173b6c;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  text-align: center;
}

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

.about .content ul li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.about .content ul i {
  font-size: 16px;
  color: #149ddd;
  margin-right: 5px;
}

.about .content ul strong {
  margin-right: 10px;
}

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

.img-about {
  height: 1219px;
  width: 1000px;
  margin: 0 auto;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills {
  text-align: center;
}

.skills-title {
  font-size: 36px;
  font-weight: 700;
  color: #173b6c;
  margin-bottom: 0.5rem;
}

.skills-icon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 18px;
  color: #000;
  width: 100%;
}

.computer-skills,
.tech-skills {
  float: left;
  margin: 1%;
  font-size: 16px;
  flex-basis: 100%;
  margin-bottom: 0.5rem;
}

.image {
  height: 150px;
  width: 150px;
  display: block;
  margin: 0 auto;
}

ul {
  list-style-type: none;
}

.computer-skills ul i,
.tech-skills ul i {
  margin-right: 5px;
  color: #149ddd;
  line-height: 0;
}

@media (min-width: 600px) {
  main {
    flex-wrap: nowrap;
  }

  .computer-skills,
  .tech-skills {
    flex-basis: 31.3%;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.photography,
.cooking {
  text-align: center;
  margin: 0 auto;
}

.photography-text,
.cooking-text {
  font-size: 18px;
  margin: 0 auto;
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #149ddd;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
  visibility: hidden;
  opacity: 0;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #2eafec;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}
