* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: "Poppins", sans-serif;
}

html {
     scroll-behavior: smooth;
}

body {
     min-height: 100vh;
     width: 100vw;
     color: #9ca3af;
     overflow-x: hidden;
     width: 100vw;
     background-color: #111827;
}

/* Navbar Section */

.navbar {
     width: 100% !important;
     position: fixed !important;
     height: 3.5rem !important;
     top: 0 !important;
     left: 0 !important;
     z-index: 1000 !important;
     background-color: #28292a5f !important;
     backdrop-filter: blur(20px) !important;
     box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2) !important;
     /* height: 4rem !important; */
     /* border-bottom: 1px solid #a19d9d4a; */
}

.navbar-nav .nav-link {
     padding: 0rem 1rem !important;
}

.container-fluid {
     gap: 35rem !important;
     text-align: center !important;
}

.mk-logo {
     color: #fff !important;
     font-size: 1.75rem !important;
     font-weight: bold !important;
     padding: 0 !important;
     padding-left: 2rem !important;
}

.mk-logo span {
     color: #00ffee !important;
     font-size: 1.75rem !important;
     font-weight: bold !important;
     padding: 0 !important;
}

.mk-logo:hover {
     color: #00ffee !important;
     transition: all 0.1s ease !important;
}

.mk-logo span:hover {
     margin-right: auto !important;
     text-decoration: none !important;
     color: #fff !important;
}

.navbar-toggler-icon {
     color: #fff !important;
     font-size: 1.2rem !important;
}

.navbar-toggler,
.mk-logo {
     z-index: 100 !important;
}

.nav-link {
     color: #fff !important;
}
.nav-link:hover {
     color: #00ffee !important;
     transition: all 0.3s ease !important;
}

.navbar-toggler {
     border: none !important;
     padding-top: 1rem !important;
}

/* Navbar Responsive */

@media (max-width: 1140px) {
     /* Service Section */

     .navbar-nav .nav-link {
          padding: 0.5rem 0.75rem !important;
     }

     .container-fluid {
          gap: 10rem !important;
     }
}

@media (max-width: 767px) {
     .navbar-nav {
          position: fixed !important;
          top: 7% !important;
          right: 0% !important;
          width: 40% !important;
          height: 100vh !important;
          background-color: #272828d1 !important;
          backdrop-filter: blur(50px) !important;
     }

     .navbar-nav .nav-link {
          padding: 0.1rem 1rem !important;
          padding-top: 1rem !important;
          text-align: center !important;
     }

     .nav-link1 {
          margin: 3rem 1rem 0.1rem 0rem !important;
     }

     .navbar-collapse {
          top: 1rem !important;
     }

     .navbar-toggler-icon {
          position: fixed !important;
          top: 1.3rem !important;
          right: 2% !important;
          font-size: 1.2rem;
     }
}

@media (max-width: 712px) {
     .container-fluid {
          gap: 1rem !important;
     }
}

/* Home Section */

.home {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 5rem;
     min-height: 50vh;
     padding: 10rem 10% 5rem;
     background-color: #111827;
     background-image: url(./images/bg-img.png);
     background-repeat: no-repeat;
     background-size: cover;
}

.home-content {
     display: flex;
     flex-direction: column;
     align-items: baseline;
     text-align: left;
     justify-content: center;
     margin-top: 3rem;
}

span {
     color: #00ffee;
}

.logo span {
     color: #00ffee;
}

h3 {
     font-size: 2rem;
     color: #fff;
}

.home-content h1,
span {
     font-size: 2.5rem;
     font-weight: 700;
     line-height: 1;
     color: #fff;
}

.home-content h3 {
     margin-bottom: 1rem;
     font-size: 2rem;
}

.home-img {
     border-top-left-radius: 50%;
     border-top-right-radius: 50%;
}

.home-img img {
     position: relative;
     top: 1rem;
     width: 30vw;
     height: 45vh;
     /* box-sizing: 0 0 25px #00ffee; */
     cursor: pointer;
     transition: 0.4s ease-in-out;
     border-top-left-radius: 50%;
     border-top-right-radius: 50%;
}

.home-img img:hover {
     box-shadow: 0 0 20px #03b3a7, 0 0 20px #03b3a7, 0 0 50px #03b3a7;
     transition: 0.4s ease-in-out;
}

.home-content p {
     font-size: 1.2rem;
     font-weight: 500;
     line-height: 1.3;
     max-width: 90%;
     color: #9ca3af;
     text-align: justify;
}

.socials-icons a {
     display: inline-flex;
     justify-content: center;
     align-items: center;
     width: 3rem;
     height: 3rem;
     background: transparent;
     border: 2px solid #00ffee;
     color: #00ffee;
     border-radius: 50%;
     margin: 3rem 10px 10px 0;
     transition: 0.3s ease-in-out;
     margin-bottom: 1.5rem;
     margin-top: 1rem;
     text-decoration: none !important;
     /* margin: 1px; */
}

.socials-icons i {
     font-size: 1.5rem;
     width: 100%;
     height: 100%;
     padding: 0.65rem;
}

.socials-icons a i:hover {
     color: #fff;
}

.socials-icons a:hover {
     color: #00ffee;
     transform: scale(1.2) translateY(-5px);
     box-shadow: 0 0 20px #00ffee;
     background-color: #00ffee;
}

.btn {
     display: inline-block;
     padding: 0.5rem 1rem;
     background: #00ffee;
     box-shadow: 0 0 15px #00ffee;
     border-radius: 4rem;
     font-size: 1rem;
     color: black;
     border: 2px solid transparent;
     letter-spacing: 0.2rem;
     font-weight: 600;
     transition: 0.3s ease-in-out;
     cursor: pointer;
}

.btn:hover {
     transform: scale(1.05);
     box-shadow: 0 0 30px #00ffee;
}

.btn-group {
     display: flex;
     align-items: center;
     padding: 0;
     gap: 0.2rem;
}

.btn-group a:nth-of-type(1) {
     background-color: #0fe;
     color: #000;
     border: 2px solid #0fe;
     box-shadow: 0 0 15px transparent;
}

.btn-group a:nth-of-type(1):hover {
     /* box-shadow: 0 0 10px #0fe; */
     background-color: #000;
     color: #0fe;
}

.btn-group a:nth-of-type(2) {
     background-color: black;
     color: #0fe;
     border: 2px solid #0fe;
     box-shadow: 0 0 15px transparent;
}

.btn-group a:nth-of-type(2):hover {
     /* box-shadow: 0 0 10px #0fe; */
     background-color: #0fe;
     color: black;
}

.text-animation {
     font-size: 34px;
     font-weight: 600;
     min-width: 280px;
}

.text-animation span {
     position: relative;
}

.text-animation span::before {
     content: "Web Developer";
     color: #00ffee;
     animation: words 20s infinite;
}

.text-animation span::after {
     content: "";
     background-color: #000;
     position: absolute;
     width: calc(100% + 8px);
     height: 100%;
     border-left: 3px solid #111827;
     right: -8px;
     animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor {
     to {
          border-left: 2px solid #00ffee;
     }
}

@keyframes words {
     0%,
     20% {
          content: "Web Developer";
     }

     21%,
     40% {
          content: "Web Designer";
     }

     41%,
     60% {
          content: "UI/UX Designer";
     }

     61%,
     80% {
          content: "Web Manager";
     }

     81%,
     100% {
          content: "Freelancer";
     }
}

@keyframes typing {
     10%,
     15%,
     30%,
     35%,
     50%,
     55%,
     70%,
     75%,
     90%,
     95% {
          width: 0;
     }

     5%,
     20%,
     25%,
     40%,
     45%,
     60%,
     65%,
     80%,
     85% {
          width: calc(100% + 8px);
     }
}

/* tutorial Section */

.tutorial-countainer {
     width: 100vw;
     padding: 5rem 10% 5rem;
     background-color: #111827;
}

.heading {
     color: #fff;
     font-size: 2.5rem;
     text-align: center;
     margin-bottom: 4rem;
     font-weight: 800;
}

.cards {
     display: flex;
     align-items: center;
     justify-content: space-around;
     flex-wrap: wrap;
     text-align: left;
     gap: 3rem;
}

.cards .card {
     height: 20rem;
     width: 15rem;
     margin: 1rem 2rem;
     background-color: #1e293b;
     text-align: center;
     border-radius: 1rem;
}

.card img {
     height: 60%;
     width: 100%;
     border-radius: 1rem 1rem 0 0;
     padding-bottom: 0.75rem;
     padding-top: 0.75rem;
}

.card .card-content {
     text-align: center;
     padding-left: 1.2rem;
     padding-right: 1rem;
     color: #9ca3af;
}

.card .card-content h3 {
     font-size: 1.2rem;
     font-weight: 600;
     padding: 0.5rem 0 0.75rem 0;
     text-align: center;
}

.t-btn {
     background-color: #111827;
     color: #0fe;
     border: 1px solid #0fe;
     cursor: pointer;
     padding: 0.5rem 0.75rem;
     letter-spacing: 1px;
     font-size: 14px;
     box-shadow: 0 0 15px transparent;
}

.t-btn:hover {
     background-color: #0fe;
     color: black;
     font-weight: bold;
     box-shadow: 0 0 10px #fff;
     transform: scale(0.9);
}

/* Notes Section */

.notes-countainer {
     /* background-color: #9ca3af98; */
     background-color: #1e293b;
     /* height: 25rem; */
     width: 100vw;
     padding: 5rem 10% 5rem;
     margin: 2rem 0;
}

.notes-cards {
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 3rem;
}

.notes-card {
     height: 13rem;
     width: 18rem;
     border: 1px solid #848383a4;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 1rem;
     border-radius: 1rem;
     gap: 2.5rem;
}

.notes-card .notes-card-heading {
     color: #fff;
     font-size: 2rem;
     font-weight: 600;
}

.notes-card .notes-down-btn {
     background-color: #0fe;
     color: black;
     font-weight: bold;
     cursor: pointer;
     padding: 0.5rem 0.75rem;
     letter-spacing: 1px;
     font-size: 14px;
}

.notes-card .notes-down-btn:hover {
     background-color: #111827;
     color: #0fe;
     border: 1px solid #0fe;
     box-shadow: 0 0 10px #fff;
     transform: scale(0.9);
}
/* My Gear Section */

.my-gear-countainer {
     background-color: green;
     height: 25rem;
     width: 98vw;
     padding: 5rem 10% 5rem;
     margin: 2rem 0;
}
/* Work With Us Section */
.work-with-us-countainer {
     background-color: #03b3a7;
     height: 25rem;
     width: 98vw;
     padding: 5rem 10% 5rem;
     margin: 2rem 0;
}

/* Contact Section */

.contact {
     background-color: #111827;
     min-height: 100vh;
     padding: 5rem 10% 5rem;
}

.contact h1 {
     margin-bottom: 3rem;
     color: white;
}

.contact form {
     display: block;
     align-items: center;
     justify-content: center;
     gap: 3rem;
     text-align: center;
     margin: 2rem auto;
}

.contact .input-group {
     display: flex;
     align-items: center;
     justify-content: center;
     /* gap: 1rem; */
     padding: 1rem 2rem;
}

.contact .input-group-2 {
     gap: 3rem;
     padding: 1rem 3rem;
}

.contact form .input-box {
     display: flex;
     justify-content: center;
     align-items: center;
     flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
     width: 85%;
     padding: 1.5rem;
     font-size: 1rem;
     color: #fff;
     margin: 1.5rem 0;
     background: var(--second-bg-color);
     border-radius: 2rem;
     border: 2px solid #0fe;
}

.contact form textarea {
     width: 100%;
     padding: 1.5rem;
     font-size: 1rem;
     color: #fff;
     background: var(--second-bg-color);
     border-radius: 2rem;
     border: 2px solid #0fe;
     margin: 1.5rem 0;
     resize: none;
}

.c-btn {
     background-color: #111827;
     color: #0fe;
     border: 1px solid #0fe;
     cursor: pointer;
     padding: 0.5rem 0.75rem;
     letter-spacing: 1px;
     font-size: 14px;
     box-shadow: 0 0 15px transparent;
}

.c-btn:hover {
     background-color: #0fe;
     color: black;
     font-weight: bold;
     box-shadow: 0 0 10px #fff;
     transform: scale(0.9);
}

/* Responsiveness */

@media (max-width: 1040px) {
     .home-content h1,
     span {
          font-size: 2.25rem;
     }

     .home-content h3 {
          margin-bottom: 3rem;
          font-size: 1.75rem;
     }

     .notes-cards {
          justify-content: space-evenly;
     }
}

@media (max-width: 940px) {
     .tutorial-countainer .cards {
          display: flex;
          flex-wrap: wrap;
          padding: 0;
     }

     .contact .form {
          display: none;
          align-items: center;
          justify-content: center;
          flex-direction: column;
          gap: 3rem;
          text-align: center;
     }

     .contact .input-group {
          gap: 2rem;
          flex-direction: column;
          padding: 1rem 5rem;
     }

     .contact .input-group-2 {
          padding: 1rem 6rem;
     }

     .contact form .input-box {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 100%;
     }

     .contact form .input-box input {
          width: 90%;
     }
}

@media (max-width: 864px) {
     .home {
          width: 100%;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
     }

     .home .home-content {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
     }

     .home-img img {
          width: 90%;
          height: 80%;
          text-align: center;
          margin-left: 3rem;
     }

     nav {
          padding-right: 0;
          width: 100%;
     }

     .tutorial-countainer .cards {
          display: flex;
          flex-direction: column;
          /* flex-wrap: wrap; */
          gap: 2rem;
     }

     .tutorial-countainer .cards .card {
          width: 60vw;
     }

     .notes-cards {
          margin: 1rem auto;
     }

     .contact {
          padding: 1rem;
     }

     .contact .input-group {
          gap: 2rem;
          flex-direction: column;
          padding: 1rem 2rem;
     }

     .contact .input-group-2 {
          padding: 1rem 2rem;
     }

     .contact .input-box2 {
          margin-top: -1rem;
     }
}

@media (max-width: 512px) {
     .home {
          background-image: url(./images/bg-img.png);
          background-repeat: repeat;
          background-size: cover;
     }
     .home-img img {
          width: 75%;
          height: 60%;
          text-align: center;
          margin-left: 3rem;
     }

     .home-content h1,
     span {
          font-size: 2rem;
     }

     .home-content h3 {
          margin-bottom: 3rem;
          font-size: 1.5rem;
     }
}
