/* CSS Reset */
/* Remove default margin and padding */
* {
  margin: 0;
  padding: 0;
}
/* Set default box-sizing to border-box */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove text decoration */
a {
  text-decoration: none;
  color: white;
}
p:hover a {
  text-decoration: none;
  color: #a313fe;
  transition: color 0.3s ease-in-out;
}

/* Remove default button styles */
button,
input {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  /* outline: none; */
}

/* ---------------------- General Styling ----------------------  */

html {
  scroll-behavior: smooth;
}

/* Set default font family and size */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  color: white;
  margin-left: 200px;
  margin-top: 0px;
  background-color: black;
}

main {
  margin: 75px;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 0;
}

h1 {
  font-size: 60px;
  text-transform: uppercase;
  font-weight: 700;
  margin: 20px 0;
}

h2 {
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 700;
  margin: 20px 0;
}

h3 {
  font-size: 18px;
}
h4 {
  font-weight: normal;
  padding: 10px;
  /* margin-bottom: 20px; */
}

p {
  color: #b8b8b8;
  /* margin: 20px 0; */
  text-align: justify;
  line-height: 1.5;
  margin-bottom: 20px;
}

a:hover p {
  text-decoration: none;
  color: #a313fe;
  transition: color 0.3s ease-in-out;
}

span {
  color: white;
}

hr {
  border: 0.5px solid #3f3f3f;
  margin-top: 30px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background-color: #a313fe;
  border: 1px solid #a313fe;
  padding: 10px 30px;
  border-radius: 30px;
  margin: 10px;
  color: white;
  font-size: 14px;
  justify-content: center;
  text-transform: uppercase;
  font-weight: 700;
  transition: background-color 0.3s ease-in-out;
}

.btn:hover {
  /* background-color: white; */
  background-color: black;
  border: 1px solid white;
}

/* ---------------------- End General Styling ----------------------  */
/* ---- */
/* --- */
/* -- */
/* - */
/* --------------  Navigation -------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background-color: black;
  border-right: 1px solid grey;
}

.buttonContainer {
  padding-top: 20px;
  padding-bottom: 20px;
}

nav a {
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: left;
  display: block;
  padding: 14px 30px;
  color: #fff;
}

nav a:hover {
  font-size: 13px;
  font-weight: 800;
  color: #a313fe;
  transition: color 0.3s ease-in-out;
}

nav ul li .selected {
  font-size: 13px;
  font-weight: 800;
  color: #a313fe;
}

.profPic {
  width: auto;
  height: 150px;
  border-radius: 50%;
  margin-left: 20px;
  display: flex;
  margin-top: 40px;
}

.navTitle {
  font-size: 26px;
  text-transform: uppercase;
  margin-left: 30px;
  color: white;
  font-weight: 700;
  padding-top: 20px;
  padding-bottom: 40px;
}

.socials {
  padding-bottom: 10px;
  position: absolute;
  bottom: 0;
}

.socials a {
  font-size: 20px;
  color: white;
}

/* nav ul { */
/* list-style: none;
  margin: 0;
  padding: 0; */
/* } */

/* nav li {
  margin: 0;
  padding: 0;
} */

/* -------------- End Navigation -------------- */
/* ---- */
/* --- */
/* -- */
/* - */
/* ---------------------- Hero Section Styling ----------------------  */
.hero h1,
.hero h2,
.hero p,
.hero .btn-container {
  margin: 10px 0;
}

.hero .btn-container {
  display: flex;
  padding: 20px 0;
}

/* Word rotator */
.rotator-wrapper {
  position: relative;
}
.rotator-wrapper span {
  min-width: 200px;
  display: inline-block;
  text-align: left;
}
.rotator-wrapper span span {
  position: absolute;
  font-weight: bold;
  top: 10px;
  opacity: 0;
  animation: rotateWord 5s linear infinite 0s;
  color: #a313fe;
}
.rotator-wrapper span span:nth-child(2) {
  animation-delay: 3s;
}
.rotator-wrapper span span:nth-child(3) {
  animation-delay: 6s;
}
.rotator-wrapper span span:nth-child(4) {
  animation-delay: 9s;
}
.rotator-wrapper span span:nth-child(5) {
  animation-delay: 12s;
}
.rotator-wrapper span span:nth-child(6) {
  animation-delay: 15s;
}

@keyframes rotateWord {
  0% {
    opacity: 0;
  }
  2% {
    opacity: 0;
    transform: translateY(-30px);
  }
  5% {
    opacity: 1;
    transform: translateY(0px);
  }
  15% {
    opacity: 1;
    transform: translateY(0px);
  }
  20% {
    opacity: 0;
    transform: translateY(30px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------------------- End Hero Section Styling ----------------------  */
/* ---- */
/* --- */
/* -- */
/* - */
.whatido p {
  text-align: left;
  padding-top: 20px;
}
/* ---------------------- Grid & Card Styling ----------------------  */
.grid-container {
  padding: 30px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

/* ---- Grid Items used in what I do */
.grid-item {
  padding: 10px;
}

.grid-item img {
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: auto;
  background-color: #a313fe;
  padding: 16px;
  margin-bottom: 20px;
}

/* ---- Cards used in Projects */
.card {
  position: relative;
  display: inline-block;
  width: 300px;
  height: 300px;
  background-color: #a313fe;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
}
.card2 {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 200px;
  background-color: #a313fe;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
}

.backgroundImg {
  height: 100%;
  background-size: cover;
  position: absolute;
  overflow: hidden;
}

.centered {
  /* Used for centering the text*/
  position: absolute;
}

.card:hover .overlay {
  opacity: 0.5;
}

.grid-container .card {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0;
}

.grid-container .card p {
  color: white;
  padding: 0px 10px;
}

.grid-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0;
}

.title {
  font-size: 24px;
  margin-top: 50px;
}

.description {
  font-size: 16px;
  margin-top: 20px;
}

/* --- Disabled card */
.disabledCard {
  position: relative;
  display: inline-block;
  width: 300px;
  height: 300px;
  background-color: grey;
  opacity: 0.4;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
}

.grid-container .disabledCard {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0;
}

.grid-container .disabledCard p {
  color: white;
  padding: 0px 10px;
}

/* ------------------------- End Grid & Card Styling ----------------------  */
/* ---- */
/* --- */
/* -- */
/* - */
/* ------------------------- Icon Styling ----------------------  */
.iconStyling {
  background-color: #a313fe;
  border: 1px solid #a313fe;
  border-radius: 30px;
  font-size: 30px;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 18px;
  margin-bottom: 20px;
}
.contactSection .iconStyling:hover {
  background-color: black;
  border: 1px solid white;
  transition: border 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

.contactSection {
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.contactSection :hover h3 {
  text-decoration: none;
  color: #a313fe;
  transition: color 0.3s ease-in-out;
}

/* ------------------------- End Icon Styling ----------------------  */
/* ---- */
/* --- */
/* -- */
/* - */
/* ------------------------- Breadcrumbs & Back Buttons ----------------------  */

ul.breadcrumb {
  padding: 0 16px;
  list-style: none;
  /* background-color: #eee; */
}
ul.breadcrumb li {
  display: inline;
  font-size: 14px;
}
ul.breadcrumb li + li:before {
  padding: 8px;
  color: #a313fe;
  content: '>\00a0';
}
ul.breadcrumb li a {
  color: #a313fe;
  text-decoration: none;
}
ul.breadcrumb li a:hover {
  color: #690ba3;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.backBtn {
  font-size: 16px;
  padding-top: 40px;
}
.backBtn:hover {
  color: #a313fe;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.backNavContainer {
  justify-content: space-between;
  flex-direction: row;
  display: flex;
}
.backNavContainer a:hover {
  color: #a313fe;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

/* ------------------------- End Breadcrumbs Styling ----------------------  */
/* ---- */
/* --- */
/* -- */
/* - */
/* ------------------------- Article ----------------------  */

article {
  padding: 20px 0;
  width: 100%;
  padding: 0px 30px;
  text-align: justify;
}

.articleImg {
  border-radius: 30px;
  border: 5px solid #fff;
  background-size: cover;
  height: 200px;
  margin-bottom: 20px;
}

.projImage {
  width: 500px;
  height: auto;
  float: right;
  padding-left: 20px;
  padding-bottom: 10px;
}
.projImage2 {
  width: 300px;
  height: auto;
  float: left;
  display: block;
  padding-right: 20px;
  padding-bottom: 10px;
}
/* -------------------------Lightbox--------------------- */

.lightboxImg {
  border-radius: 30px;
  border: 5px solid #fff;
  background-size: cover;
  height: 400px;
  /* width: 100%; */
  margin-bottom: 20px;
}

.lightbox {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  /* A bit of padding around image */
  padding: 1em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
  display: block;
}

.lightbox span {
  /* Full width and height */
  display: block;
  width: 100%;
  height: 100%;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
