* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
}

:root {
  --txt-color: rgb(0, 0, 0);
  --body-bg-color: rgb(238, 239, 243);
  --Navbar-bg-color: #fefefe;
  --txt-head-family: "Clash Display", sans-serif;
  --txt-family: "Satoshi", sans-serif;
}

body {
  background-color: var(--body-bg-color);
  /* font-family: var(--txt-family); */
}
/*  */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  z-index: 9999;
}
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #0845a4;
  border-top: 6px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Modal-to show my Second Portfolio */
.modal {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 550px;
  width: 90%;
  background: transparent;
}
.modal-content h2 {
  font-family: var(--txt-head-family);
  font-weight: bold;
}
.modal-content > p {
  font-family: var(--txt-family);
  font-weight: 900;
}
.modal-content {
  padding: 15px;
  background: var(--body-bg-color);
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

.visit-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background-color: #0845a4;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-family: var(--txt-head-family);
}
.visit-btn:hover {
  background-color: #0056b3;
}

/*  */
header {
  width: 80%;
  height: 60px;
  background-color: var(--Navbar-bg-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 45px;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 27px;
  position: sticky;
  top: 10px;
  z-index: 1000;
}

.Navbar .nav-logo {
  display: none;
}
.nav-logo h2 {
  font-family: var(--txt-head-family);
}
.Navbar .navbar-menu {
  display: flex;
}
.Navbar .navbar-menu .navbar-items a {
  color: var(--txt-color);
  display: block;
  margin: 0 2px;
  padding: 8px 18px;
  transition: 0.2s;
  border-radius: 30px;
  font-family: var(--txt-head-family);
  font-weight: bold;
}

.Navbar .navbar-menu .navbar-items a:hover {
  background-color: var(--body-bg-color);
}
.menu-icon {
  display: inline;
  display: none;
  height: fit-content;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.2s;
}
.menu-icon:hover {
  background-color: var(--body-bg-color);
}
/* Main-page-styling-start */

#main-section {
  background-color: var(--body-bg-color);
}

.brahim-Main-page {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brahim-img img {
  height: 520px;
}
.brahim-txt {
  margin-left: 20px;
}
.brahim-txt h1 {
  font-size: 3.9rem;
  font-family: var(--txt-head-family);
}
.brahim-txt small {
  font-family: var(--txt-family);
  font-size: 1.5rem;
  font-weight: bold;
}

.brahim-txt p {
  margin-bottom: 10px;
  font-family: var(--txt-family);
  font-size: 1.5rem;
  font-weight: 900;
  color: black;
  margin-top: 10px;
}

.brahim-btn {
  padding: 5px 20px;
  border: 1px solid black;
  color: black;
  height: 34px;
  margin: 0 3px;
  font-family: var(--txt-family);
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.brahim-btn:active {
  transform: scale(0.95);
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.brahim-btn i {
  font-size: 16px;
}

/* Main-page-styling-end */

/* about-section-start */
#about-section {
  background-color: var(--Navbar-bg-color);
}
.section-h1 {
  /* color: red; */
  color: black;
  text-align: center;
  font-family: var(--txt-head-family);
  font-size: 3.25rem;
  margin-top: 7rem;
  font-weight: bolder;
  /* font-weight: bold; */
}

.brahim-about {
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 95%;
    max-width: 100%; */
}
.brahim-about-img img {
  height: 520px;
  margin-left: 55px;
  margin-top: 4rem;
}

.brahim-about-txt {
  height: 350px;
  width: 600px;
  background-color: var(--body-bg-color);
  border-radius: 30px;
  padding: 15px;
  margin-top: 4rem;
}
.write-up {
  color: black;
  text-align: center;
}
.brahim-about-txt p {
  color: black;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 15px;
  font-family: var(--txt-family);
}

/* about-section-end */

/* project-section-start */
#project-section {
  background-color: var(--Navbar-bg-color);
  text-align: center;
}

#project-section h1 {
  font-size: 1.2rem;
}

/* //////////////////////////////////////////////////////// */

/* skills-section-start */
.skills-section-h1 {
  text-align: center;
  margin-top: 7rem;
  color: black;
  font-family: var(--txt-head-family);
  font-size: 3.25rem;
  font-weight: bolder;
}
.skills-section-start {
  display: grid;
  grid-template-columns: repeat(8, 0fr);
  gap: 26px;
  justify-content: center;
  margin-top: 5%;
}

.circle-section {
  width: 110px;
  height: 110px;
  background-color: var(--Navbar-bg-color);
  border-radius: 50%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.circle-section img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}
/* ///////////////////////////////////////// */
/* form-section-start----------- */
#contact-section h1 {
  text-align: center;
  margin-top: 7rem;
  color: black;
  font-family: var(--txt-head-family);
  font-size: 3.25rem;
  font-weight: bolder;
}

.contact-big-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 45px;
  gap: 59px;
}

.contact-details-box {
  background-color: var(--Navbar-bg-color);
  height: auto;
  width: 100%;
  max-width: 36%;
  border-radius: 5px;
  padding: 32px;
  box-shadow: 2px 2px 9px rgba(0, 0, 0, 0.3);
}
.email-box {
  display: flex;
  gap: 15px;
  margin-top: 1rem;
}
.email-box span {
  color: #0845a4;
  font-size: 20px;
}

.email-box h3 {
  color: black;
  font-family: var(--txt-head-family);
  font-weight: bolder;
}

span a {
  color: black;
  margin-left: 10%;
  font-weight: bold;
  font-family: var(--txt-family);
}

span a:hover {
  color: #0845a4;
  font-weight: bolder;
}

.phone-box {
  margin-top: 2.2rem;
  display: flex;
  gap: 15px;
}

.phone-box span {
  color: #0845a4;
  font-size: 20px;
}

.phone-box h3 {
  color: black;
  font-family: var(--txt-head-family);
  font-weight: bolder;
}
.phone a {
  color: black;
  margin-left: 10%;
  font-weight: bold;
  font-family: var(--txt-family);
}
.phone a:hover {
  color: #0845a4;
  font-weight: bolder;
}

.location-box {
  margin-top: 2.2rem;
  display: flex;
  gap: 15px;
}

.location-box span {
  color: #0845a4;
  font-size: 20px;
}

.location-box h3 {
  color: black;
  font-family: var(--txt-head-family);
  font-weight: bolder;
}

.location p {
  color: black;
  margin-left: 10%;
  font-weight: bold;
  font-family: var(--txt-family);
}

.form-container {
  background-color: var(--Navbar-bg-color);
  height: auto;
  width: 100%;
  max-width: 44%;
  border-radius: 5px;
  padding: 34px;
  box-shadow: 2px 2px 13px rgba(0, 0, 0, 0.3);
}

.form-container-box {
  display: flex;
  flex-direction: column;
}
.inputName {
  border: 0;
  outline: 0;
  width: 100%;
  height: 2.7rem;
  padding: 0 1rem;
  color: black;
  border-radius: 7px;
  background-color: var(--body-bg-color);
  font-weight: bolder;
  font-family: var(--txt-head-family);
}

.inputEmail {
  border: 0;
  outline: 0;
  width: 100%;
  height: 2.7rem;
  padding: 0 1rem;
  color: black;
  font-family: var(--txt-family);
  border-radius: 7px;
  background-color: var(--body-bg-color);
  margin-top: 2rem;
  font-weight: bolder;
}

.inputMessage {
  border: 0;
  outline: 0;
  width: 100%;
  background-color: var(--body-bg-color);
  padding: 1rem;
  font-weight: bolder;
  border-radius: 7px;
  margin-top: 2rem;
  color: black;
  font-family: var(--txt-family);
  resize: none;
}

button {
  height: 2.4rem;
  width: 9rem;
  font-family: var(--txt-family);
  border-radius: 7px;
  outline: 0;
  margin-top: 1rem;
  padding: 0px 10px;
  border: 0;
  font-weight: bolder;
  color: #ffffff;
  background-color: #0845a4;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.1s ease;
  font-weight: 700;
  font-size: 13px;
  outline: 0;
  border: 0;
}

button:active {
  transform: scale(0.95); /* Shrinks slightly on click */
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2); /* Slightly reduced shadow on click */
}

/* client-vision-start */
.project-callout-section {
  padding: 35px;
}

.project-callout-section .project-callout-container {
  margin-top: 9rem;
  display: flex;
  justify-content: center;
  width: 120%;
  max-width: 100%;
  gap: 5rem;
  border-radius: 22px;
  box-shadow: 2px 2px 9px rgba(0, 0, 0, 0.3);
  background-color: var(--Navbar-bg-color);
  /* background-color: red; */
}

/* Checking!!!!! */
.vision-img img {
  /* max-height: 1520rem; */
}

.project-callout-writeup h1 {
  font-weight: bolder;
  font-size: 2.1rem;
  text-align: center;
  margin-top: 12rem;
  font-family: var(--txt-head-family);
}

.project-callout-writeup h3 {
  font-size: 1.1rem;
  font-family: var(--txt-head-family);
  text-align: center;
  margin-top: 1rem;
}

/*  */

.button-container {
  display: flex;
  justify-content: center;
}

.contact-button {
  display: inline-block;
  padding: 14px 59px;
  margin-top: 10px;
  color: #ffffff;
  background-color: #0845a4;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 2rem;
  transition: background-color 0.3s ease, transform 0.1s ease;
  font-weight: 700; /* Makes the text bold */
  font-size: 1.2em; /* Slightly larger font for visibility */
  font-family: var(--txt-family);
  /* display: flex; */
}

.contact-button:hover {
  background-color: #0056b3;
}

.contact-button:active {
  transform: scale(0.95);
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* client-vision-end */

/* footer-start */
#footer-section {
  background-color: var(--Navbar-bg-color);
  width: 100%;
}

.footer-logo {
  font-family: var(--txt-head-family);
  font-size: 1.2rem;
  cursor: pointer;
  margin-top: 50px;
  font-weight: bolder;
}

.foot-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  margin-top: 190px;
}

.footer-items {
  display: flex;
  margin-top: 50px;
}

.footer-items a {
  display: flex;
  color: black;
  padding: 20px;
  font-family: var(--txt-head-family);
  font-weight: bolder;
}
.footer-items a:hover {
  color: #0056b3;
}

.footer-icon {
  display: flex;
  margin-top: 50px;
}
.footer-icon span a {
  color: black;
  padding: 12px;
  font-size: 30px;
}

.footer-icon span a:hover {
  color: #0056b3;
  cursor: pointer;
}

.footer-copyright p {
  text-align: center;
  margin-top: 10px;
  color: black;
  font-weight: bolder;
  font-family: var(--txt-head-family);
  cursor: pointer;
}

/* project-section-start */
#project-section {
  width: auto;
  height: auto;
}
#project-section > h2 {
  font-family: var(--txt-head-family);
  font-size: 2.9rem;
  font-weight: bolder;
  color: var(--txt-color);
}
#project-list {
  height: auto;
  background-color: rgb(240, 242, 245);
  width: 90%;
  max-width: 1166px;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  padding: 25px 25px;
}
.project-show-img {
  width: 567px;
  height: 288px;
  background-image: url(/static/img/furnish.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
}
.project-show-img5 {
  width: 567px;
  height: 288px;
  background-image: url(/static/img/MyFirstPortfolio.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
}

.project-show-img1 {
  width: 567px;
  height: 288px;
  background-image: url(/static/img/figma-john.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
}

.project-show-img2 {
  width: 567px;
  height: 288px;
  background-image: url(/static/img/Techivo.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
}

.project-show-img3 {
  width: 567px;
  height: 288px;
  background-image: url(/static/img/Time-Zone.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
}

.project-show-img4 {
  width: 567px;
  height: 288px;
  background-image: url(/static/img/furnish.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
}

.project-show-writeup h1 {
  color: black;
  text-align: center;
}

.project-show-writeup a {
  font-family: var(--txt-head-family);
  font-weight: 600;
  color: blue;
  padding-left: 5rem;
  padding-top: 10rem;
}
.project-show-writeup a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.project-show-writeup > p {
  font-family: var(--txt-head-family);
  font-weight: 500;
  color: black;
  font-size: 1rem;
  max-width: 500px;
  margin-top: 10px;
  padding-left: 3rem;
}
.github-div {
  margin-top: 1.5rem;
  cursor: pointer;
}
.github-div a {
  transition: 0.2s;
  border-radius: 10px;
}

.github-div a:hover {
  color: #0845a4;
}
.github-div a {
  color: black;
  text-decoration: none !important;
}

.github-div:hover {
  color: #0845a4;
}

/* project-section-end */

@media (max-width: 1244px) {
  .project-callout-section {
    padding: 40px;
  }

  .project-callout-section .project-callout-container {
    width: 100%;
    margin-top: 10rem;
  }

  .vision-img img {
    height: 400px;
  }

  #footer-section {
    /* background-color: #0056b3; */
    /* background-color: var(--Navbar-bg-color); */
    width: 100%;
  }
}

@media (max-width: 1200px) {
  body {
    background-color: var(--body-bg-color);
  }
  /* Main-page-styling-start */
  #main-section {
    background-color: var(--body-bg-color);
  }
  .brahim-Main-page {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .brahim-img img {
    height: 440px;
    margin-bottom: 20px;
  }

  .brahim-txt {
    margin-left: 0;
    padding: 25px;
    margin-top: -99px;
  }
  /* Main-page-styling-end */

  .brahim-about {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .skills-section-start {
    grid-template-columns: repeat(4, 0fr);
    /* flex-direction: column; */
  }

  /* contact-section */
  .contact-big-page {
    flex-direction: column;
  }

  .contact-details-box {
    background-color: var(--Navbar-bg-color);
    height: auto;
    width: 100%;
    max-width: 50%;
    border-radius: 5px;
    padding: 34px;
  }

  .form-container {
    background-color: var(--Navbar-bg-color);
    border-radius: 5px;
    width: 100%;
    max-width: 70%;
    padding: 20px;
  }

  /*YOU-HAVE-A-JOB-FOR-ME-START  */
  .project-callout-section {
    padding: 49px;
  }
  /* HERE!!!!!!!!!! */
  .project-callout-section .project-callout-container {
    margin-top: 9rem;
    flex-direction: column;
    flex-direction: column-reverse;
    justify-content: center;
    width: 100%;
    border-radius: 22px;
    box-shadow: 2px 2px 9px rgba(0, 0, 0, 0.3);
    gap: 0px;
    padding: 0px;
  }

  .project-callout-container .vision-img {
    display: flex;
    justify-content: center;
  }

  .vision-img img {
    max-height: 920rem;
    width: auto; /* Maintain aspect ratio */
    height: auto;
  }

  /*  */
  .project-callout-writeup {
    max-width: 30rem;
    margin: auto;
    margin-bottom: 45px;
    margin-top: -5%;
  }

  .project-callout-writeup h1 {
    font-weight: bolder;
    font-size: 1.9rem;
    text-align: center;
    padding: 0px;
    margin: 0px;
    font-family: var(--txt-head-family);
  }

  .project-callout-writeup h3 {
    font-size: 1.1rem;
    font-family: var(--txt-head-family);
    text-align: center;
    padding: 0px;
    margin: 0px;
    margin-top: 20px;
  }

  .button-container {
    display: flex;
    justify-content: center;
  }

  .contact-button {
    display: inline-block;
    padding: 10px 29px;
    margin-top: 10px;
    color: #ffffff;
    background-color: #0845a4;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 2rem;
    transition: background-color 0.3s ease, transform 0.1s ease;
    font-weight: 700;
    font-size: 1.2em;
    font-family: var(--txt-family);
  }

  .contact-button:hover {
    background-color: #0056b3;
  }

  .contact-button:active {
    transform: scale(0.95);
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  }

  #project-list {
    flex-direction: column;
    background-color: rgb(240, 242, 245);
    width: 90%;
    max-width: 1166px;
  }
  .project-show-img {
    width: 100%;
    height: 488px;
  }

  .project-show-writeup {
    margin-top: 2rem;
    /* margin-right: 35rem; */
  }

  .project-show-writeup h1 {
    font-size: 2rem !important;
    color: black;
    font-family: var(--txt-head-family);
  }
}

/* skills-section-end */

@media (max-width: 992px) {
  body {
    background-color: var(--body-bg-color);
  }

  /* navbar-start */
  .Navbar {
    position: absolute;
    left: -400px;
    top: 0;
    z-index: 999;
    width: 280px;
    height: 100vh;
    background-color: var(--Navbar-bg-color);
    transition: 0.2s;
    box-shadow: 2px 0 2px 0 var(--Navbar-bg-color);
  }

  #nav_check:checked ~ .Navbar {
    left: 0;
  }

  .Navbar .navbar-menu .navbar-items a {
    margin-bottom: 5px;
    padding: 10px 15px;
    border-radius: 5px;
  }

  .Navbar .navbar-menu {
    display: block;
    padding: 0 20px;
  }

  .Navbar .nav-logo {
    display: block;
    display: flex;
    align-items: center;
    margin-left: 36px;
    height: 50px;
  }
  .menu-icon {
    display: block;
  }

  /* Main-page-styling-start */
  .brahim-Main-page {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .brahim-img img {
    height: 440px;
    margin-bottom: 20px;
  }

  .brahim-txt {
    margin-left: 0;
    padding: 25px;
    margin-top: -69px;
  }

  /* Main-page-styling-end */

  /* about us */

  .brahim-about {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  /* .brahim-about-img img {
        height: 320px; 
        margin: 20px 0; 
    } */

  .brahim-about-txt {
    width: 80%;
    height: auto;
    margin-bottom: 20px;
  }

  .write-up {
    font-size: 24px;
  }

  .brahim-about-txt p {
    font-size: 14px;
  }

  .brahim-skill-box {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
  }

  /* contact-section-start */
  .contact-big-page {
    flex-direction: column;
  }

  .contact-details-box {
    background-color: var(--Navbar-bg-color);
    height: auto;
    width: 100%;
    max-width: 70%;
    border-radius: 5px;
    padding: 34px;
  }

  .form-container {
    background-color: var(--Navbar-bg-color);
    border-radius: 5px;
    width: 100%;
    max-width: 90%;
    padding: 20px;
  }

  /*YOU-HAVE-A-JOB-FOR-ME-START  */
  .project-callout-section {
    padding: 29px;
  }

  .project-callout-container {
    /* height: 550px; */
  }
  .project-callout-section .project-callout-container {
    margin-top: 15rem;
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    width: 100%;
    border-radius: 22px;
    box-shadow: 2px 2px 9px rgba(0, 0, 0, 0.3);
    /* height: 10%; */
  }

  .project-callout-container .vision-img {
    display: flex;
    justify-content: center;
  }

  .vision-img img {
    height: 400px;

    /* margin-top: 120px; */
  }

  .project-callout-writeup {
    max-width: 30rem;
    margin: auto;
    margin-bottom: 45px;
    margin-top: -5%;
  }

  .project-callout-writeup h1 {
    font-weight: bolder;
    font-size: 1.9rem;
    text-align: center;
    padding: 0px;
    margin: 0px;
    font-family: var(--txt-head-family);
  }

  .project-callout-writeup h3 {
    font-size: 1.1rem;
    font-family: var(--txt-head-family);
    text-align: center;
    padding: 0px;
    margin: 0px;
    margin-top: 15px;
  }

  .button-container {
    display: flex;
    justify-content: center;
  }

  .contact-button {
    display: inline-block;
    padding: 10px 20px;
    /* margin-top: 10px; */
    color: #ffffff;
    background-color: #0845a4;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 2rem;
    transition: background-color 0.3s ease, transform 0.1s ease;
    font-weight: 700;
    font-size: 1.2em;
    font-family: var(--txt-family);
  }

  .contact-button:hover {
    background-color: #0056b3;
  }

  .contact-button:active {
    transform: scale(0.95);
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  }

  #footer-section {
    background-color: var(--Navbar-bg-color);
  }

  .foot-container {
    flex-direction: column;
    padding: 0px;
    margin: 0;
    /* margin-top: 20px; */
  }
  .footer-items {
    margin: 0;
    padding: 0px;
  }

  .footer-icon {
    margin: 0px;
    padding: 0px;
  }

  #project-list {
    flex-direction: column;
    background-color: rgb(240, 242, 245);
    width: 100%;
    max-width: 990px;
  }
  .project-show-img {
    width: 100%;
    height: 25rem;
  }

  .project-show-img1 {
    width: 100%;
    height: 25rem;
  }

  .project-show-img5 {
    width: 100%;
    height: 25rem;
  }

  .project-show-img2 {
    width: 100%;
    height: 25rem;
  }

  .project-show-img3 {
    width: 100%;
    height: 25rem;
  }

  .project-show-img4 {
    width: 100%;
    height: 25rem;
  }
  .project-show-writeup {
    margin-top: 2rem;
  }

  .project-show-writeup h1 {
    font-size: 2rem !important;
    color: black;
    font-family: var(--txt-head-family);
  }
}

@media (max-width: 768px) {
  body {
    background-color: var(--body-bg-color);
    /* background-color: var(--body-bg-color); */
  }
  header {
    width: 90%;
    padding: 0 45px;
  }

  .Navbar {
    position: absolute;
    left: -400px;
    top: 0;
    z-index: 999;
    width: 280px;
    height: 100vh;
    background-color: var(--Navbar-bg-color);
    transition: 0.2s;
    box-shadow: 2px 0 2px 0 var(--Navbar-bg-color);
  }

  #nav_check:checked ~ .Navbar {
    left: 0;
  }

  .Navbar .navbar-menu .navbar-items a {
    margin-bottom: 5px;
    padding: 10px 15px;
    border-radius: 5px;
  }

  .Navbar .navbar-menu {
    display: block;
    padding: 0 20px;
  }

  .Navbar .nav-logo {
    display: block;
    display: flex;
    align-items: center;
    margin-left: 36px;
    height: 50px;
  }
  .menu-icon {
    display: block;
  }

  .brahim-btn {
    /* padding: 5px 20px; */
    border: 1px solid black;
    color: black;
    height: 34px;
    margin: 0 3px;
    font-family: var(--txt-family);
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .contact-big-page {
    flex-direction: column;
  }

  .contact-details-box {
    background-color: var(--Navbar-bg-color);
    height: auto;
    width: 100%;
    max-width: 75%;
    border-radius: 5px;
    padding: 34px;
  }

  .form-container {
    background-color: var(--Navbar-bg-color);
    border-radius: 5px;
    width: 100%;
    max-width: 97%;
    padding: 20px;
  }

  .project-callout-writeup h1 {
    font-weight: bolder;
    font-size: 1.9rem;
    text-align: center;
    padding: 0px;
    margin: 0px;
    font-family: var(--txt-head-family);
  }

  /*  */
  #project-list {
    flex-direction: column;
    background-color: rgb(240, 242, 245);
    width: 100%;
    max-width: 990px;
  }
  .project-show-img {
    width: 100%;
    height: 19rem;
  }

  .project-show-img5 {
    width: 100%;
    height: 19rem;
  }

  .project-show-img1 {
    width: 100%;
    height: 19rem;
  }

  .project-show-img2 {
    width: 100%;
    height: 19rem;
  }

  .project-show-img3 {
    width: 100%;
    height: 19rem;
  }

  .project-show-img4 {
    width: 100%;
    height: 19rem;
  }
  .project-show-writeup {
    margin-top: 2rem;
  }

  .project-show-writeup h1 {
    font-size: 2rem !important;
    color: black;
    font-family: var(--txt-head-family);
  }
  /*  */

  .foot-container {
    flex-direction: column;
    margin: 0px;
    padding: 0px;
  }
  .footer-items {
    margin: 0px;
    padding: 0px;
  }
  .footer-icon {
    margin: 0px;
    padding: 0px;
  }
}

@media (max-width: 567px) {
  body {
    background-color: var(--body-bg-color);
  }

  header {
    width: 90%;
    padding: 0 45px;
  }

  .Navbar {
    position: absolute;
    left: -300px;
    top: 0;
    z-index: 999;
    width: 250px;
    height: 100vh;
    background-color: var(--Navbar-bg-color);
    transition: 0.2s;
    box-shadow: 2px 0 2px 0 var(--Navbar-bg-color);
  }

  #nav_check:checked ~ .Navbar {
    left: 0;
  }

  .Navbar .navbar-menu .navbar-items a {
    margin-bottom: 5px;
    padding: 10px 15px;
    border-radius: 5px;
  }

  .Navbar .navbar-menu {
    display: block;
    padding: 0 20px;
  }

  .Navbar .nav-logo {
    display: block;
    display: flex;
    align-items: center;
    margin-left: 36px;
    height: 50px;
  }
  .menu-icon {
    display: block;
  }

  /* Main-start */
  #main-section {
    background-color: var(--body-bg-color);
  }

  .brahim-Main-page {
    max-width: 100%;
  }

  .brahim-img img {
    justify-content: center;
    width: 100%;
  }

  .brahim-btn {
    margin: 0 2px;
    padding: 5px 20px;
    border: 1px solid black;
    color: black;
    height: 34px;
    margin: 0 3px;
    font-family: var(--txt-family);
    font-weight: bolder;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
  }

  /* Main-end */

  /* about-section-start */
  #about-section {
    background-color: var(--Navbar-bg-color);
  }

  .brahim-about-img img {
    height: 320px;
    margin: 20px 0;
  }

  /* about-section-end */

  .skills-section-start {
    margin-top: 3rem;
    grid-template-columns: repeat(2, 0fr); /* For small screens */
    gap: 3rem;
  }

  /* contact-section */
  .inputName,
  .inputEmail,
  .inputEmail {
    width: 100%;
  }

  .contact-big-page {
    flex-direction: column;
    width: 200%;
    max-width: 100%;
  }
  .contact-details-box {
    background-color: var(--Navbar-bg-color);
    height: auto;
    width: 200%;
    max-width: 110%;
    border-radius: 5px;
    padding: 20px;
  }

  .form-container {
    background-color: var(--Navbar-bg-color);
    border-radius: 5px;
    width: 200%;
    max-width: 110%;
    max-width: 117%;
    padding: 20px;
  }

  /*YOU-HAVE-A-JOB-FOR-ME-START  */
  .project-callout-section {
    padding: 29px;
  }

  .project-callout-container {
    height: 550px;
  }
  .project-callout-section .project-callout-container {
    margin-top: 15rem;
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    width: 100%;
    border-radius: 22px;
    box-shadow: 2px 2px 9px rgba(0, 0, 0, 0.3);
    /* height: 10%; */
  }

  .project-callout-container .vision-img {
    display: flex;
    justify-content: center;
  }

  .vision-img img {
    height: 320px;
    /* margin: 20px 0;  */
    margin-top: 20px;
    max-width: 100%;
  }

  .project-callout-writeup {
    max-width: 30rem;
    margin: auto;
    margin-bottom: 45px;
    /* margin-top: -10%; */
  }

  .project-callout-writeup h1 {
    font-weight: bolder;
    font-size: 1.9rem;
    text-align: center;
    padding: 0px;
    margin: 0px;
    font-family: var(--txt-head-family);
  }

  .project-callout-writeup h3 {
    font-size: 1.1rem;
    font-family: var(--txt-head-family);
    text-align: center;
    padding: 0px;
    margin: 0px;
    margin-top: 1rem;
  }

  .button-container {
    display: flex;
    justify-content: center;
  }

  .contact-button {
    display: inline-block;
    padding: 10px 20px;
    /* margin-top: 10px; */
    color: #ffffff;
    background-color: #0845a4;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 2rem;
    transition: background-color 0.3s ease, transform 0.1s ease;
    font-weight: 700;
    font-size: 1.2em;
    font-family: var(--txt-family);
  }

  .contact-button:hover {
    background-color: #0056b3;
  }

  .contact-button:active {
    transform: scale(0.95);
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  }

  /*  */
  #project-list {
    flex-direction: column;
    background-color: rgb(240, 242, 245);
    width: 96%;
  }
  .project-show-img {
    width: 100%;
    height: 9rem;
  }

  .project-show-img5 {
    width: 100%;
    height: 9rem;
  }

  .project-show-img1 {
    width: 100%;
    height: 9rem;
  }

  .project-show-img2 {
    width: 100%;
    height: 9rem;
  }

  .project-show-img3 {
    width: 100%;
    height: 9rem;
  }

  .project-show-img4 {
    width: 100%;
    height: 9rem;
  }

  .project-show-writeup {
    margin-top: 2rem;
  }

  .project-show-writeup h1 {
    font-size: 2rem !important;
    color: black;
    font-family: var(--txt-head-family);
  }

  .project-show-writeup a {
    font-family: var(--txt-head-family);
    font-weight: 600;
    color: blue;
    padding-left: 1rem;
  }

  /*  */

  #footer-section {
    /* width: 100%;
        max-width: 90%; */
  }

  .foot-container {
    flex-direction: column;
    margin: 0px;
    padding: 0px;
  }
  .footer-items {
    margin: 0px;
    padding: 0px;
    font-size: 12px;
  }

  .footer-items a {
    margin: 0px;
    padding: 10px;
    margin-top: 5px;
  }
  .footer-icon {
    margin: 0px;
    padding: 0px;
    font-size: 20px;
    margin-top: 5px;
  }
}
@media (max-width: 480px) {
  .modal {
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
    max-width: none;
  }

  .modal-content {
    font-size: 14px;
    padding: 10px;
  }
}
