body,
html {
  background-color: #ede8d0;
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}
h5,
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #044667;
}
h5 {
  text-transform: uppercase;
  margin: 40px 30px 0px;
  font-weight: 800;
  font-size: 28px;
  color: #044667;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #044667;
}
h4 {
  font-size: 18px;
  color: #044667;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}
/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}
#menu.navbar-default {
  background-color: #ede8d0;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #044667;
  text-transform: uppercase;
}
#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #044667;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}
#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #0d82bc 0%, #0d82bc 100%);
  content: "";
  transition: width 0.2s;
}
#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #0d82bc 0%, #0d82bc 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}
.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}
.section-title {
  margin-bottom: 70px;
  color: #044667;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #0d82bc 0%, #0d82bc 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #0d82bc;
  background-image: linear-gradient(to right, #0d82bc 0%, #0d82bc 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #0d82bcbc;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}
/* Header Section */
.intro {
  display: table;
  width: 100%;
  padding: 0;
  background-color: #f1eee1;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
.intro .overlay {
  background: rgba(0, 0, 0, 0);
}
.intro h1 {
  font-family: "Raleway", sans-serif;
  color: #044667;
  font-size: 82px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}
.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}
.intro p {
  color: #044667;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}
header .intro-text {
  padding-top: 350px;
  padding-bottom: 200px;
  text-align: center;
}

/* About Section */
#about {
  padding: 100px 0;
    background-color: #f1eee1; 
}
#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}
#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #0d82bc 0%, #0d82bc 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}
#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}
#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5ca9fb;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}
#about img {
  width: 520px;
  margin-top: 10px;
  background-color: #f1eee1;
  border-right: 0;
  box-shadow: 0 0 50px #044667a2;
  border-radius: 12px;

}
#about p {
  line-height: 24px;
  margin: 30px 0;
  white-space: pre-line;
}
/* Footer Section*/
#footer {
  background-color: #f1eee1;
  padding: 30px 0;
}
#footer p {
  color: #888;
  font-size: 14px;
}
#footer a {
  color: #608dfd;
}
#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}
.feature-emoji {
  font-size: 60px;
  display: inline-block;
  margin-bottom: 20px;
}

#projects {
  padding: 100px 0;
  background-color: #f1eee1;
}

.project-card {
  min-height: 300px;
  padding: 30px;
  margin-bottom: 30px;

  border: 1px solid rgba(4, 70, 103, 0.2);
  border-radius: 20px;

  background-color: rgba(255, 255, 255, 0.25);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.project-card h3 {
  margin-top: 0;
}

.project-card p {
  line-height: 24px;
  font-size: 14px;
}

.project-tech {
  margin: 20px 0;
  font-size: 13px;
  font-weight: 600;
  color: #777;
}

.project-card a {
  font-weight: 600;
  color: #044667;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 22px;
  margin: 7px 15px 0;
  padding: 6px;
  cursor: pointer;
}

.theme-toggle:focus {
  outline: none;
}

.dark-mode {
  background-color: #044667;
  color: #fff;
}
html.dark-mode-body,
body.dark-mode-body {
  background-color: #03273a;
}

.dark-mode .intro,
.dark-mode #about,
.dark-mode #projects,
.dark-mode #footer {
  background-color: #044667;
}

.dark-mode #menu.navbar-default {
  background-color: #03273a;
}

.dark-mode #menu a.navbar-brand,
.dark-mode #menu.navbar-default .navbar-nav > li > a {
  color: #f1eee1;
}

.dark-mode .intro h1,
.dark-mode .intro p,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode .section-title,
.dark-mode #about h2,
.dark-mode #about h3,
.dark-mode .project-card h3 {
  color: #f1eee1;
}

.dark-mode p,
.dark-mode #about p,
.dark-mode .project-card p,
.dark-mode .project-tech {
  color: #fff;
}

.dark-mode .project-card {
  background-color: rgba(241, 238, 225, 0.08);
  border-color: rgba(241, 238, 225, 0.35);
}

.dark-mode .project-card a {
  color: #f1eee1;
}

.dark-mode #about img {
  background-color: #044667;
  box-shadow: 0 0 50px rgba(241, 238, 225, 0.25);
}

.dark-mode #menu.navbar-default .navbar-nav > li > a:after,
.dark-mode .navbar-default .navbar-nav > .active > a:after {
  background: #f1eee1 !important;
}

@media (max-width: 768px) {
  html,
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .dark-mode {
    width: 100%;
    min-height: 100vh;
  }

  .intro,
  #about,
  #projects {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .intro h1 {
    font-size: 46px;
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  #about img {
    margin: 50px 0;
  }
}