@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
  --header-height: 4rem;
  --nav-height: 3.5rem;
  --nav-width: 68px;
  --nav-active-color: #afa5d9;
  --white-color: #ffffff;
  --off-white-color: #f7f6fb;
  --light-gray-color: #e9ecef;
  --dark-gray-colour: #1b1b1b;
  --dark-red-color: #A60E08;
  --light-red-color: #E40000;
  --red-gradient: linear-gradient(to bottom, #E40000, #A60E08); 
  --normal-font-size: 1rem;
  --link-color: var(--dark-red-color);
  --link-hover-color: var(--light-red-color);
  --z-fixed: 100;

  --wordpress-colour: #21759b;
  --magento-colour: #f46f25;
  --cloudflare-colour: #f38020;
  --ubuntu-colour: #e95420;
  --windows-colour: #0078d4;
  --inkscape-colour: #00000;
  --html-colour: #e34c26;
  --css-colour: #264de4;
  --php-colour: #777bb3;
  --less-colour: #53A7DC;
  --mailchimp-colour: #f2d100;
  --bootstrap-colour: #7f12fa;
  --javascript-colour: #f0db4f;

}
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height));
}

body {
  position: relative;
  margin: 0;
  padding: 0 0 var(--nav-height) 0;
  font-size: var(--normal-font-size);
  transition: 0.5s;
  background: var(--white-color);
}

a {
  text-decoration: none;
  color: var(--link-color);
}

a:hover {
  color: var(--link-hover-color);
}

.wrapper {
  padding: calc(var(--header-height)) 0 0 0;
}

.header {
  width: 100%;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background: var(--red-gradient); 
  z-index: var(--z-fixed);
  transition: 0.5s;
  box-shadow: 1px 1px 17px -4px rgb(0 0 0 / 16%);
  -webkit-box-shadow: 1px 1px 17px -4px rgb(0 0 0 / 16%);
  -moz-box-shadow: 1px 1px 17px -4px rgb(0 0 0 / 16%);
}

.dropdown-menu {
  box-shadow: 1px 1px 17px -4px rgb(0 0 0 / 24%);
  -webkit-box-shadow: 1px 1px 17px -4px rgb(0 0 0 / 24%);
  -moz-box-shadow: 1px 1px 17px -4px rgb(0 0 0 / 24%);
  border-radius: 10px;
  margin: 0;
  padding: 0;
}

.dropdown-item {
  padding: 7px 15px;
}

.dropdown-item:hover {
  background-color: #03153056;
  color: var(--off-white-color);
  border-radius: 10px;
}

.header_toggle {
  color: var(--dark-gray-colour);
  font-size: 1.5rem;
  cursor: pointer;
}

.header_img {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.header_img img {
  width: 40px;
}

.l-navbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--dark-gray-colour);
  padding: 0;
  transition: 0.5s;
  z-index: var(--z-fixed);
}

.nav {
  height: var(--nav-height);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/*.nav_logo,
.nav_link {
  display: grid;
  grid-row: 1;
  grid-template-columns: max-content max-content;
  align-items: center;
  padding: 1.25rem 0.25rem;
}*/

.nav_logo,
.nav_link {
  display: grid;
  grid-row: 1;
  grid-template-columns: auto;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0.25rem;
}

.nav_logo-icon {
  font-size: 1.25rem;
  color: var(--off-white-color);
}

.nav_logo-name {
  color: var(--off-white-color);
  font-weight: 700;
}

.nav_list {
  display: grid;
  padding: 0 0.25rem;
}

.nav_link {
  position: relative;
  color: var(--nav-active-color);
  margin: 0 auto;
  transition: 0.5s;
}

.nav_link:hover {
  color: var(--off-white-color);
}

.nav_icon {
  font-size: 1.6rem;
}

.nav_name {
  font-family: "Inter", sans-serif;
  font-size: .65rem;
  text-transform: uppercase;
}

.sidebarshow {
  left: 0;
}

.body-pd {
  padding-left: 0;
}

.body-pd header {
  /*padding: 0 1rem;*/
}

.active {
  color: var(--off-white-color);
}

.height-100 {
  /*height: 100vh;*/
  min-height: calc(100svh - var(--header-height) - var(--nav-height));
}

.h-100dvh {
  min-height: calc(100dvh - var(--header-height) - var(--nav-height));
}

.btn-group button {
  outline: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.dropdown-toggle::after {
  display: none;
}

section h1.section-title {
  position: relative;
  font-size: 1.75rem;
  padding: .3rem .5rem .3rem 3.2rem;
  background: var(--light-gray-color);
  color: var(--dark-gray-colour);
  display: inline-block;
}

section h1 .bx {
  font-size: inherit;
  margin-right: .5rem;
	position: absolute;
	background: var(--dark-gray-colour);
	bottom: 0px;
	left: 0;
	width: 2.7rem;
	height: 2.7rem;
	line-height: 2.7rem;
	color: var(--off-white-color);
	text-align: center;
}

section h2 {
  font-size: 1.5rem;
}

section h3 {
  font-size: 1.2rem;
}

section h4 {
  font-size: 1rem;
  line-height: 1rem;
  margin: 0 auto .5rem 0;
}

section h5 {
  font-size: 1rem;
  line-height: 1rem;
}

section h6 {
  font-size: 1rem;
  line-height: 1rem;
  margin: 0 auto .5rem 0;
}

section .item p {
  margin: 1.5rem 0 0 0;
}

/* Section Backgrounds */
.programming-bg {
  background-image: url("../images/bg/programming-bg.jpg");
  background-size: cover;
  background-attachment: scroll;
}

.paper-bg {
/*background-image: url("https://www.transparenttextures.com/patterns/sandpaper.png");*/
  background-image: url("../images/bg/paper-tiled-bg.jpg");
}

/*--------------------------------------------------------------
# SECTIONS
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/

section#hero:before {
  content: "";
  background: rgb(0 0 0 / 60%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

section#hero * {
  z-index: 1
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/

@media screen and (max-width: 576px) {
  img.profile-image {
    max-width: 200px;
  }
}

/*--------------------------------------------------------------
# Skillset
--------------------------------------------------------------*/

#skillset .logos {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  column-gap: .5rem;
  row-gap: .5rem;
}

#skillset .logos .logo {
  /*margin: .5rem;*/
}

#skillset .logos .logo {
  border: 1px solid var(--light-gray-color);
  border-radius: .25rem;
  padding: .5rem;
}

#skillset .logos .logo h5 {
  margin: .7rem 0 0 0;
}

/*---------------- Skillset Icons ----------------*/

#skillset .logos .logo:hover .fa {
filter: brightness(0.7);
}

.fa-wordpress {
  color: var(--wordpress-colour);
}
.fa-magento {
  color: var(--magento-colour);
}
.fa-cloudflare {
  color: var(--cloudflare-colour);
}
.fa-ubuntu {
  color: var(--ubuntu-colour);
}
.fa-windows {
  color: var(--windows-colour);
}
.fa-inkscape {
  color: var(--inkscape-colour);
}
.fa-html5 {
  color: var(--html-colour);
}
.fa-css3-alt {
  color: var(--css-colour);
}
.fa-less {
  color: var(--less-colour);
}
.fa-php {
  color: var(--php-colour);
}
.fa-mailchimp {
  color: var(--mailchimp-colour);
}
.fa-bootstrap {
  color: var(--bootstrap-colour);
}
.fa-js {
  color: var(--javascript-colour);
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/

#resume .item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--dark-red-color);
  position: relative;
}

#resume .item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid var(--dark-red-color);
}

#resume .item h5 {
  background: var(--dark-gray-colour);
  color: var(--off-white-color);
  padding: 5px;
  display: inline-block;
  font-weight: 600;
  margin: 0 auto .5rem 0;
}

#resume .item:last-of-type {
  padding-bottom: 0;
}

/*--------------------------------------------------------------
# Projects
--------------------------------------------------------------*/

 #portfolio-flters {
    padding: 0;
    margin: 0 auto 35px auto;
    list-style: none;
    text-align: center;
    background: #fff;
    border-radius: 50px;
    padding: 2px 15px;
}

 #portfolio-flters li {
    cursor: pointer;
    display: inline-block;
    padding: 10px 15px 8px 15px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    color: #272829;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}

#projects .card .ratio-16x9 {
  overflow: hidden;
}

#projects .card .ratio-16x9 img {
  height: auto;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #fff;
  border-radius: .75rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
}
.icon-link > .bi {
  margin-top: .125rem;
  margin-left: .125rem;
  transition: transform .25s ease-in-out;
  fill: currentColor;
}
.icon-link:hover > .bi {
  transform: translate(.25rem);
}

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  border-radius: .75rem;
}

.rounded-4 { border-radius: .5rem; }
.rounded-5 { border-radius: 1rem; }

.text-shadow-1 { text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25); }
.text-shadow-2 { text-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25); }
.text-shadow-3 { text-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25); }

.card-cover {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}



/*--------------------------------------------------------------
# RESPONSIVE - DESKTOP
--------------------------------------------------------------*/

@media screen and (min-width: 768px) {
  body {
    margin: 0;
    padding: 0 0 0 calc(var(--nav-width));
  }

  .height-100 {
    min-height: calc(100svh - var(--header-height));
  }

  .header {
    height: calc(var(--header-height));
    padding: 0 2rem 0 calc(var(--nav-width) + 2rem);
  }

  .header_img {
    width: 40px;
    height: 40px;
  }

  .header_img img {
    width: 45px;
  }

  .l-navbar {
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--nav-width);
    padding: 0.8rem 1rem 0 0;
  }

  .nav {
    height: auto;
  }

  .nav_logo,
  .nav_link {
    display: grid;
    grid-row: 1;
    grid-template-columns: max-content max-content;
    align-items: center;
    padding: 1.25rem 0.25rem;
  }

  .nav_logo, .nav_link.bottom {
  display: grid!important;
  }

  .nav_logo,
  .nav_link {
  column-gap: 1rem;
  padding: 0.5rem 0 0.5rem 1.5rem;
  }
  
  .nav_logo {
  margin-bottom: 2rem;
  }
  
  .nav_link {
  margin-bottom: 1.5rem;
  }
  
  .nav_link.bottom {
  /*margin-left: inherit;*/
  }

  .nav_list {
  display: block;
  }
  
  .nav_icon {
  font-size: 1.25rem;
  }

  .nav_name {
  font-family: inherit;
  font-size: inherit;
  text-transform: capitalize;
  }

  .active::before {
  content: "";
  position: absolute;
  left: 0;
  width: 2px;
  height: 32px;
  background-color: var(--off-white-color);
  }

  .h-100dvh {
  height: calc(100dvh - var(--header-height));
  }

  .sidebarshow {
    width: calc(var(--nav-width) + 156px);
  }

  .body-pd {
    padding-left: calc(var(--nav-width) + 156px);
  }
  
  .body-pd header {
    padding-left: calc(var(--nav-width) + 188px);
  }

}

footer {
  background: #dcdcdd;
}

footer p {
  padding: 20px 0;
  text-align: center;
}