@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");
@import url('https://fonts.cdnfonts.com/css/cousine');

/* ===== FONTS AND FAMILY ===== */

* {
  font-family: 'Cousine', sans-serif;
}

/* ===== END OF FONTS AND FAMILY ===== */

/* ===== BODY ===== */

body {
  color: #fff;
  background: #1c1e21;
  opacity: 0.90;
  overflow-x: hidden;
}

/* ===== END OF BODY ===== */

/* ===== BACK TO TOP ===== */

.top {
  --offset: 50px;

  position: sticky;
  bottom: 20px;
  place-self: end;
  margin-top: calc(100vh + var(--offset));

  /* visual styling */
  text-decoration: none;
  padding: 15px;
  color: #000;
  background: #fff;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 999;
  margin-left: 94%;
}

.top a:hover {
  color: #fff;
  background-color: #000;
}

/* ===== END OF BACK TO TOP ===== */

/* ===== END OF LOADER ===== */


/* ===== END OF LOADER ===== */


/* ===== SCROLL DESIGN ===== */

/* remove the below if you don't want smooth scrolling */
html,
body {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 13px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background-color: rgb(182, 182, 182);
}

::-webkit-scrollbar-thumb {
  background-color: rgb(240, 240, 240);
  border-radius: 5px;
}

/* ===== END OF SCROLL DESIGN ===== */

/* ===== NAVBAR SECTION ===== */

.navbar-brand {
  color: #ffffff;
  font-family: 'Cousine', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 3px;
}

.nav-menu {
  background: transparent;
  color: #fff;
  position: fixed;
  padding: 11px;
  width: 100%;
  z-index: 9999;
  transition: all .4s;
}

@media (max-width:34em) {
  .nav-menu {
    background: #000 !important;
  }
}

.nav-item {
  padding: 0 10px;
}

.menu-item {
  font-family: 'Cousine', sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
}

@media (max-width: 34em) {
  .menu-item {
    padding: 10px 10px 10px;
  }
}

.navbar-toggler {
  cursor: pointer;
  outline: 0;
}

.ham {
  transition: width 0.3s;
  background: #ffffff;
}

.line1,
.line3 {
  width: 28px;
  height: 2px;
  margin: 6px;
  transition: 0.4s;
}

.change .line1 {
  transform: rotate(-45deg) translate(-3px, 2px);
}

.change .line3 {
  transform: rotate(45deg) translate(-3px, -2px);
}

.menu-item:hover {
  color: rgb(231, 231, 231);
  border-bottom: 1px solid rgb(231, 231, 231);
  opacity: 0.95;
  width: fit-content;
}

.nav-active {
  color: rgb(255, 255, 255);
}

.dropdown-item {
  font-family: 'Cousine', sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.costum-navbar {
  padding-top: 6px;
  padding-bottom: 6px;
  background-color: #000000 !important;
  position: fixed;
}

/* ===== END OF NAVBAR SECTION ===== */

/* ===== ALL SECTION ===== */


.hero-section {
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== END OF ALL SECTION ===== */

/* ===== HERO SECTION ===== */
#hero {
  background-color: #242526;
  height: 100%;
}

.background {
  background-image: url('https://images.unsplash.com/photo-1542831371-29b0f74f9713?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
  background-color: #fff;
  color: #fff;
  height: 35vh;
  opacity: 0.8;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
}


.hero-section-image {
  /* border: 10px solid #242526; */
  border: 10px solid #242526;
  width: 100%;
  height: 20%;
  border-radius: 50%;
  z-index: 999;
  position: relative;
}

.hero-text {
  margin-top: 70px;
}

.text-size {
  font-size: 19px;
}

.text-name {
  font-size: 40px;
  font-weight: bolder;
}

.container-fluid {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: url('path-to-your-background-image.jpg') no-repeat center center/cover;
}

.title {
  font-family: 'Arial', sans-serif; /* Change to your preferred font */
  font-size: 3rem; /* Adjust size as needed */
  text-align: center; /* Center align text */
  font-weight: bold; /* Make text bold */
  text-transform: uppercase; /* Make text uppercase */
  letter-spacing: 2px; /* Adjust letter spacing */
  margin: 20px 0;
}

.highlight {
  display: inline-block;
  position: relative;
  padding: 0 10px;
  border-radius: 5px; /* Rounded corners */
}

.software {
  color: #007bff; /* Color for Software */
}

.engineer {
  color: #28a745; /* Color for Engineer */
}

.hero-section-image {
  max-width: 80%;
  border-radius: 50%;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero-section-image {
      margin-bottom: 0;
  }
}

.social-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.social-links li {
  margin: 0 10px;
}

.social-links a {
  text-decoration: none;
  color: #b5b5b5;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #007bff;
}

.social-links i {
  margin-right: 8px;
}

.download-btn {
  display: inline-block;
  font-size: 1.25rem;
  border: 1px solid #0056b3;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.download-btn:hover {
  background-color: #0056b3;
  color: #fff;
}

.download-btn i {
  margin-right: 8px;
}

/* ===== END OF HERO SECTION ===== */

/* ===== ABOUT SECTION ===== */
.padding-height {
  padding: 70px 0px 0px 0px;
}

.page-title {
  font-size: 25px;
  font-weight: 600;
  color: rgb(255, 255, 255);
  padding-bottom: 50px;
  font-family: 'Cousine', sans-serif;
}

/* ===== END OF ABOUT SECTION ===== */

/* ===== SKILL SECTION ===== */

/* ===== END OF SKILL SECTION ===== */

/* ===== CONTACT SECTION ===== */

.linklist {
  font-size: 30px;
}

.linklist ul,
li {
  text-decoration: none;
  display: inline;
  justify-content: space-evenly;
}

.p-fullsize {
  font-weight: bolder;
  text-align: center;
}

/* ===== END OF CONTACT SECTION ===== */

/* ===== RAMDOM COLORS ===== */

.green-color {
  color: #00FF00;
}

.green-color2 {
  color: #32CD32;
}

.name-color {
  color: #fff;
  /* color: #e5e7eb; */
  font-weight: bolder;
}

/* ===== END OF RAMDOM COLORS ===== */

/* ===== END OF RAMDOM THINGS ===== */

hr {
  margin: 0 auto;
}

/* ===== END OF RAMDOM THINGS ===== */

/* ===== CUSTOM THINGS IN BOOTSTRAP ===== */

dl,
ol,
ul {
  margin-top: 0;
  margin-bottom: 0rem !important;
}

ol,
ul {
  padding-left: 0rem !important;
}

/* ===== END OF CUSTOM THINGS IN BOOTSTRAP ===== */

/* ===== PHONE RESPONSIVE THINGS ===== */
@media only screen and (max-width: 1000px) {
    .hero-section-image {
    /*     border: 2px solid #ffffff; */
    border: 10px solid #242526;
    padding: 0px;
    width: 100%;
    height: auto;
    border-radius: 50;
    z-index: 999;
    position: absolute;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-top: -90px;
    max-width: 160px;
  }
    .text-size {
    font-size: 13px;
    text-align: center;
  }

  .hero-top {
    margin-top: -100px;
    margin-left: 0px;
  }

  .offset-5 {
    margin-left: 0;
  }

  .hero-text {
    margin-top: 0px;
  }

  .text-name {
    font-size: 20px;
    font-weight: bolder;
    text-align: center;
  }
}


@media only screen and (max-width: 800px) {
    .hero-section-image {
    /*     border: 2px solid #ffffff; */
    border: 10px solid #242526;
    padding: 0px;
    width: 100%;
    height: auto;
    border-radius: 50;
    z-index: 999;
    position: absolute;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-top: -90px;
    left: 35%;
    max-width: 160px;
  }
    .text-size {
    font-size: 13px;
    text-align: center;
  }

  .hero-top {
    margin-top: -100px;
    margin-left: 0px;
  }

  .offset-5 {
    margin-left: 0;
  }

  .hero-text {
    margin-top: 0px;
  }

  .text-name {
    font-size: 20px;
    font-weight: bolder;
    text-align: center;
  }
}

@media only screen and (max-width: 767px) {
  .title{
    margin-top: 250px;
  }

  .nav-menu {
    background: #000 !important;
  }

  .border-start {
    border-left: none !important;
  }

  .p-fullsize {
    font-weight: bolder;
    text-align: center;
    font-size: 11px;
  }

  .top {
    --offset: 50px;

    position: sticky;
    bottom: 20px;
    place-self: end;
    margin-top: calc(100vh + var(--offset));

    /* visual styling */
    text-decoration: none;
    padding: 15px;
    color: #000;
    background: #fff;
    border-radius: 100px;
    white-space: nowrap;
    z-index: 999;
    margin-left: 80%;
  }

  .hero-section-image {
/*     border: 2px solid #ffffff; */
    border: 10px solid #242526;
    padding: 0px;
    height: auto;
    border-radius: 50;
    margin-top: 50px;
    max-width: 160px;
  }

  .text-size {
    font-size: 13px;
    text-align: center;
  }

  .hero-top {
    margin-top: -100px;
    margin-left: 0px;
  }

  .offset-5 {
    margin-left: 0;
  }

  .hero-text {
    margin-top: 0px;
  }

  .text-name {
    font-size: 20px;
    font-weight: bolder;
    text-align: center;
  }

  .btn-lg {
    --bs-btn-padding-y: 0.2rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 1.0rem;
    --bs-btn-border-radius: 0.5rem;
  }

  .offset-3 {
    margin-left: 0%;
  }

  dl,
  ol,
  ul {
    margin-top: 0;
    margin-bottom: 0rem !important;
  }

  ol,
  ul {
    padding-left: 0rem !important;
  }

}

/* ===== END OF PHONE RESPONSIVE THINGS ===== */

/* ===== DISPLAY THINGS ===== */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup-box {
    background: #222;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 260px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.spinner {
    width: 45px;
    height: 45px;
    border: 5px solid #555;
    border-top: 5px solid #0d6efd;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-icon {
    font-size: 45px;
    color: #ff4444;
    margin-bottom: 10px;
}