/* Common */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Roboto+Mono:wght@400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto Mono", monospace;
}

html {
  scroll-behavior: smooth;
}

body,
html {
  background-color: #2d2e32;
}

.title {
  position: absolute;
  top: 200px;
  left: -120px;
  text-transform: uppercase;
  transform: rotate(90deg);
  color: rgba(255, 255, 255, 0.35);
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 4rem;
}

.div-50 {
  width: 50%;
}
.div-40 {
  width: 40%;
}
.div-60 {
  width: 60%;
}
.div-30 {
  width: 30%;
}

@media (max-width: 576px) {
  .div-sm-100 {
    width: 100%;
  }
  .div-sm-10 {
    width: 10%;
  }
  .div-sm-90 {
    width: 90%;
  }
  .div-sm-50 {
    width: 50%;
  }
  .div-sm-max {
    width: max-content;
  }
  .title {
    position: relative;
    top: unset;
    left: unset;
    padding: 1rem 1rem 0 1rem;
    text-transform: uppercase;
    transform: unset;
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 2rem;
  }
}

.theme-bg-btn {
  background-color: #ff7300;
  color: #232327;
  cursor: pointer;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 12px;
}

.theme-bg-btn:hover {
  color: #fff;
}

/* Common Styles End */

.logo-name {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #ffffff;
  margin-right: 5rem;
}

.logo-name span {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}

.navbar {
  width: 100%;
  background-color: #2d2e32;
  -webkit-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.3);
  min-height: 20px;
  padding: 2rem 0;
}

.navbar .email-button {
  position: relative;
  text-decoration: none;
  z-index: 1;
}

.navbar .email-button::before {
  content: " ";
  position: absolute;
  top: -62%;
  left: -67%;
  z-index: -1;
  background-color: #444548;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 100%;
}

.navbar .email-button:hover:before {
  -webkit-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.3);
}

.navbar-dark .navbar-nav .nav-link {
  font-size: 14px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
  position: absolute;
  left: 0;
  top: 100%;
  width: 0;
  content: " ";
  height: 3px;
  background-color: #fff;
  transition: all 400ms ease-out;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #fd8e32;
  font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link.active::after {
  background-color: #fd8e32;
  width: 100%;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
  width: 100%;
  transition-delay: 5ms;
  transition: all 300ms ease-out;
}

.navbar-dark .navbar-toggler {
  border-color: transparent;
  color: transparent;
  padding: 0;
  outline: none;
}

.navbar-dark .navbar-toggler .navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
}

nav {
  transition: all 400ms ease-out;
}

nav.fixed-to-top {
  transition: all 400ms ease-out;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

nav.fixed-to-top.navbar {
  padding: 0.6rem 0;
}

@media (max-width: 576px) {
  .navbar {
    padding: 1rem 0;
  }
  .logo-name {
    margin-right: 0;
  }
  .navbar .email-button {
    margin-left: 2rem;
  }
  .navbar .email-button::before {
    position: relative;
    background-color: transparent;
    width: 0;
    height: 0;
  }
  .navbar .email-button::after {
    content: " Email me";
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    text-decoration: none;
  }
}

/* @media (min-width: 768px) {
  ...;
}

@media (min-width: 992px) {
  ...;
}

@media (min-width: 1200px) {
  ...;
} */

/* Home Styles */

#home {
  margin-bottom: 2rem;
}

.home-contnt {
  padding: 2rem 0;
}

.designation {
  padding: 0.35rem 1rem;
  font-size: 13px;
  font-weight: 500;
  border-radius: 5px;
  margin-bottom: 1rem;
  background-color: #fd8e32;
}

.welcome-title {
  color: #fff;
  width: 80%;
  font-size: 30px;
}

.welcome-title small {
  font-size: 12px;
  display: block;
  font-weight: 400;
  margin: 10px 0 0 10px;
}

.welcome-description {
  font-size: 0.9rem;
  width: 70%;
  margin: 2.5rem 0;
  color: rgba(255, 255, 255, 0.55);
}

.welcome-description span {
  color: rgba(255, 255, 255, 1);
}

.resume-link {
  color: #fd8e32;
  font-size: 0.9rem;
  font-weight: 500;
}

.resume-link:hover {
  color: #ff7300;
}

.project-details {
  display: flex;
  margin-top: 5rem;
}

.detail-container {
  margin-right: 2rem;
  display: flex;
  align-items: center;
}

.detail-container p.number {
  color: #fd8e32;
  font-weight: 700;
  font-size: 38px;
  padding: 0;
  margin: 0;
}

.detail-container p.text {
  color: #ffffff;
  width: 60%;
  font-size: 13px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

@media (max-width: 576px) {
  .welcome-description,
  .welcome-title {
    width: 100%;
  }
  .welcome-title {
    font-size: 24px;
  }
  .home-contnt {
    padding: 1rem 0;
  }
  .project-details {
    margin: 2rem 0;
  }
}

/* Home Styles End */

/* About Me Styles */

#about-me {
  position: relative;
  background-color: #232327;
  padding: 3rem 0 1rem 0;
}

.me-card {
  background-color: #393b41;
  padding: 1rem;
  margin: 1rem 0;
  width: 100%;
  transition: all 400ms ease-out;
  z-index: 1;
  color: rgba(255, 255, 255, 0.55);
}

.me-card p {
  font-size: 13px;
}

.me-card:hover {
  cursor: pointer;
  transition: all 400ms ease-out;
  z-index: 3;
  -webkit-box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.25);
}

.me-card.active {
  cursor: default;
  transition: all 400ms ease-out;
  z-index: 2;
  -webkit-box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.55);
  -moz-box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.55);
  box-shadow: 0px 40px 40px 0px rgba(0, 0, 0, 0.55);
}

.me-card .me-card-title {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.65);
}

.me-card.active .me-card-title {
  color: #fd8e32;
}

.me-card .me-card-title img {
  height: 30px;
}

#about-me .details {
  display: none;
  padding: 0 2rem;
  color: #ffffff;
}

#about-me .details.show {
  display: block;
}

#about-me .details p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

#about-me .details p b,
#about-me .details p.sub-title {
  font-size: 16px;
  color: #ffffff;
}

#about-me .details p b {
  margin-top: 1.5rem;
}

@media (max-width: 576px) {
  .about-cards {
    display: flex;
    margin: 0 auto;
    justify-content: center;
  }
  .me-card p,
  .me-card .me-card-title h3 {
    display: none;
  }
  #about-me .details {
    padding: 0 0.5rem;
  }
}

/* About Me Styles End */

/* Skills Styles */

#skills {
  position: relative;
  padding: 3rem 0 1rem 0;
  color: #ffffff;
}

#skills .title {
  top: 125px;
  left: -60px;
}

#skills .skill-row {
  margin-bottom: 40px;
}

#skills h5 {
  font-size: 15px;
}

#skills img {
  margin-right: 15px;
  margin-bottom: 5px;
  height: 60px;
  width: auto;
}

@media (max-width: 576px) {
  #skills .title {
    top: unset;
    left: unset;
  }
  #skills img {
    height: 55px;
  }
  #skills .skill-row {
    flex-direction: column;
  }
}

/* Skills Styles End */

/* Work Styles */

#work {
  position: relative;
  background-color: #232327;
  padding: 3rem 0 1rem 0;
}

#work .title {
  top: 125px;
  left: -60px;
}

.work-card {
  background-color: #393b41;
  padding: 1rem;
  margin: 1rem 0;
  transition: all 400ms ease-out;
  z-index: 1;
  color: rgba(255, 255, 255, 0.55);
}

.work-card .header {
  display: flex;
  justify-content: space-between;
}

.work-card .header img {
  height: 30px;
}

.work-card .header img.link {
  height: 20px;
}

.work-card p {
  font-size: 14px;
  margin-top: 1rem;
}

.work-card p.no-margin {
  margin-top: 0;
}

.work-card .tag {
  background-color: #232327;
  color: #ffffff;
  font-size: 12px;
  padding: 5px 10px;
  margin: 2.5px;
  border-radius: 5px;
}

@media (max-width: 576px) {
  #work .title {
    top: unset;
    left: unset;
  }
}

/* Work Styles End */

/* Contact Styles */

#contact {
  position: relative;
  padding: 3rem 0 1rem 0;
  color: #ffffff;
}

#contact .title {
  top: 150px;
  left: -110px;
}

input,
textarea {
  background-color: #393b41 !important;
  color: #ffffff !important;
}

input::placeholder {
  background-color: #393b41;
}

@media (max-width: 576px) {
  #contact .title {
    top: unset;
    left: unset;
  }
}

/* Contact Styles End */

/* Review Styles */

#review {
  color: #ffffff;
  position: relative;
  padding: 3rem 0 1rem 0;
}

#review .title {
  top: 140px;
  left: -145px;
}

@media (max-width: 576px) {
  #review .title {
    top: unset;
    left: unset;
  }
}

/* Review Styles End */

/* Footer Styles */

footer {
  background-color: #232327;
  padding: 2rem;
  color: #ffffff;
}

footer .footer-contnr {
  display: flex;
}

footer .footer-contnr p {
  font-size: 14px;
}

footer .footer-contnr p small {
  font-weight: 400;
}

footer .footer-contnr img {
  height: 30px;
  margin: 1rem 0.5rem;
}

@media (max-width: 576px) {
  footer .footer-contnr {
    flex-direction: column;
  }
}

/* Footer Styles End */
