/* body background colour */
body {
  background-color: #f8f9fa;
}

/* top banner */
#bannertext {
  margin: 0;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#banner {
  --target: 100%;
  width: 100%;
  background: linear-gradient(
    to right,
    #000 var(--target),
    #ffffff var(--target)
  );
  position: relative;
  height: 90vh;
  justify-content: center;
  align-items: center;
}

#banner h1 {
  color: white;
  padding-top: 25px;
  font-size: 75px;
  text-align: center;
  background: linear-gradient(
    to right,
    #e6b101 var(--target),
    #000 var(--target)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 100%;
  display: block;
  line-height: 1.2;
}

#banner h1 span {
  font-size: 0.5em;
  display: block;
  padding-top: 15px;
}

#pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: linear-gradient(#e6b101 1px, transparent 1px),
    linear-gradient(to right, #e6b101 1px, #e5e5f7 1px);
  background-size: 20px 20px;
}

/* centre content  */
#intro {
  text-align: center;
  padding: 150px 50px;
}

#intro #outro h1,
p {
  padding-bottom: 15px;
}

#outro {
  text-align: center;
  padding: 150px 50px;
  background-color: #000;
  position: relative;
}

/* headers */
h1 {
  font-family: "Secular One", sans-serif;
  font-size: 4em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #212529;
}

h2 {
  font-family: "Secular One", sans-serif;
  font-size: 3.5em;
  margin-bottom: 15px;
  font-weight: 600;
  color: #212529;
}

.whiteh1 {
  color: #fff;
}

h2 {
  font-family: "Secular One", sans-serif;
  font-size: 3em;
  padding-bottom: 0.5em;
}

p {
  font-family: "Ubuntu", sans-serif;
  font-size: 25px;
  padding-top: 10px;
}

/* footer  */
footer {
  bottom: 0px;
  background-color: #000;
  width: 100%;
  height: 50px;
  text-align: center;
}

footer p {
  font-family: "Ubuntu", sans-serif;
  font-size: 1em;
  color: #e6b101;
}

/* change default container styling */
.container {
  padding: 30px;
}

/* white text */
.whitetext {
  color: white;
  font-size: 1.5rem;
}

/* responsive images */
.responsive {
  width: 90%;
  height: auto;
}

/* technology section */
#tech {
  text-align: center;
  padding: 50px 0px 100px;
}

/* icon styling */
.icons i {
  font-size: 100px;
  padding: 15px 55px 50px 55px;
  opacity: 0.5;
}

/* icon hover styling */

.fa-html5:hover {
  color: #e34c26;
}

.fa-css3:hover {
  color: #254de3;
}

.fa-js:hover {
  color: #f0dc4e;
}

.fa-bootstrap:hover {
  color: #7952b3;
}

.fa-php:hover {
  color: #787cb4;
}

.icon-mysql:hover {
  color: #00546b;
}

/* contact icons */
.icon1 {
  color: #0274b3 !important;
}

.icon2 {
  color: #000;
}

/* about section */
#about {
  padding-top: 75px;
  padding-bottom: 75px;
}

/* buttons */
.alternatebutton {
  background-color: #ffffff;
  padding: 15px 55px;
  font-weight: bold;
  border: 1px solid rgb(0, 0, 0);
  color: rgb(0, 0, 0);
  border-radius: 5px;
}

.alternatebutton:hover {
  transition-duration: 0.3s;
  background-color: #000;
  color: #e6b101;
  border: 1px solid rgb(255, 255, 255);
}

button {
  background-color: #e59e2300;
  padding: 15px 55px;
  font-weight: bold;
  border: 1px solid rgb(255, 255, 255);
  color: #fff;
  border-radius: 5px;
}

button:hover {
  transition-duration: 0.5s;
  background-color: white;
  color: black;
  border: 1px solid rgb(0, 0, 0);
}

button p {
  color: #fff;
}

/* hello section */
#hello {
  /* padding: 100px 0px 50px 0px; */
  position: relative;
}

/* portfolio section */
#portfolio h2 {
  text-align: center;
}

#portfolio {
  background-color: #e8e4e3;
  padding: 100px 0px 100px 0px;
}

.project_inner {
  background-color: white;
}

.project-list {
  font-size: 18px;
}

/* underlined header */
.underlined-header {
  position: relative;
  padding-bottom: 5px;
}

.underlined-header::after {
  content: "";
  height: 6px;
  width: 50px;
  background:#E6B101;
  position: absolute;
  left: 0;
  bottom: 0;
}


/* curved image */
.curved {
  border-radius: 5%;
}

/* nav */
.navbar-expand-lg .navbar-nav {
  font-size: 25px;
  font-weight: 700;
  padding: 10px 0px 10px;
  color: #000;
}

.nav-link.active,
.nav-link {
  color: #000 !important;
}

/* sticky nav */
.sticky {
  position: fixed;
  background-color: #fff;
  opacity: 0.9;
  z-index: 1021;
  width: 100%;
}

/* social icons */
.socials ul {
  display: flex;
  list-style-type: none;
  padding-top: 10px;
  justify-content: right;
  font-size: 25px;
}

.socials a {
  color: rgba(0, 0, 0, 0.55);
}

.socials:hover {
  color: #000 !important;
  transition-duration: 0.3s;
}

.mobile-social {
  list-style-type: none;
  display: flex;
  padding-left: 0;
}

@media only screen and (min-width: 991px) {
  .mobile-social {
    display: none;
  }
}

@media only screen and (max-width: 991px) {
  .socials {
    display: none;
  }
}

/* Splide Slides */
.splide__slide {
  padding: 25px 0px 75px;
}

.splide__pagination {
  bottom: 4em !important;
}

.splide__pagination__page {
  background-color: black !important;
}

/* slanted effects
.slanted {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.slanted svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.slanted .shape-fill {
  fill: #f8f9fa;
}

.slanted-project {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.slanted-project svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  transform: rotateY(180deg);
}

.slanted-project .shape-fill {
  fill: #f8f9fa;
}

.slanted-project-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.slanted-project-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.slanted-project-bottom .shape-fill {
  fill: #f8f9fa;
}

.slanted-cta {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.slanted-cta svg {
  position: relative;
  display: block;
  width: calc(146% + 1.3px);
  height: 60px;
  transform: rotateY(180deg);
}

.slanted-cta .shape-fill {
  fill: #f8f9fa;
} */

#top {
  font-size: 22px;
  z-index: 99;
  padding: 5px 12px 5px 12px;
  border-radius: 10px;
  background-color: #000;
  position: fixed;
  border: 1px solid #fff;
  cursor: pointer;
  bottom: 25px;
  right: 25px;
  color: #fff;
  display: none;
}

#top a {
  color: white;
  text-decoration: none;
}

/* fade in */
.hidden {
  opacity: 0;
  transform: translateY(8rem);
}

.section {
  transition: transform 1s, opacity 1s;
}

/* Project images */
@media only screen and (max-width: 600px) {
  .mobImg {
    width: 100%;
  }
}

/* hide slant on mob */
@media only screen and (max-width: 600px) {
  .hideMob {
    visibility: hidden;
  }
}

/* hide slant on mob */
@media only screen and (max-width: 600px) {
  .reverse-mob {
    flex-direction: column-reverse;
  }
}

/* bigger banner on mob */
@media only screen and (max-width: 600px) {
  #banner {
    height: 100vh;
  }
  #banner h1 {
    padding-top: 35px;
  }
}

/* contact icons */
.contact-icons {
  font-size: 35px;
}

.contact-icons ul {
  list-style-type: none;
}

.small-banner {
  color: #e6b101;
  background-color: #000;
}

.small-banner h1 {
  color: #e6b101;
}

.small-banner a {
  color: #e6b101;
}

.portfolio-item {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  background-color: #fff;
  padding: 50px;
  margin: 20px;
}

.contact-panel {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  background-color: #fff;
  padding: 25px;
}

.contact-icons {
  color: #000;
}

.project-tech {
  opacity: 0.5;
  font-size: 35px;
}

.grid {
  width: 100%;
}

.grid-item {
  width: 25%;
  box-sizing: border-box; 
}

.grid-item--width2 {
  width: 50%; 
}

.grid-item img {
  display: block;
  width: 100%;
  height: auto;
}

.fixed-size {
    width: 320px;
    height: 125px;
}

.fixed-size2 {
  width: 320px;
  height: 175px;
}

.fixed-size3 {
  width: 200px;
  height: 175px;
}

.packery-drop-placeholder {
  outline: 3px dashed #444;
  outline-offset: -6px;
  /* transition position changing */
  -webkit-transition: -webkit-transform 0.2s;
          transition: transform 0.2s;
}

@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.05);
  }
  100% {
      transform: scale(1);
  }
}

.pulse-on-hover:hover {
  animation: pulse 1s;
}

.skills {
  font-size: 30px;
  margin-top: 15px
}

.skills-item {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
background-color: #fff;
padding: 10px 2px 5px 2px
}

.skills-text {
  font-size: 13px;
  font-weight: bold;
}

.red {
  color: #d92a3ce1
}

.blue {
  color: #21759b
}

.yellow {
 color: #f57e02
}

.dark-blue {
  color:  #174EA6
}

.green {
  color: #3d8c40
}

.purple {
  color: #74546D
}

.fa-github:hover {
  color: #6e5494
}


.fa-linkedin-in:hover {
color: #0e76a8
}

.nav-link {
  display: inline-block;
  font-weight: 600;
  text-shadow: 0 0 0 transparent;
  transition: text-shadow 0.2s ease-in-out;
}

.nav-link:hover {
  text-shadow: 0 0 1px black; 
}
