* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.genLayout {
  max-width: 1000px;
  margin: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Navigation */
.topmostNav {
  background-color: #f0ecff;
  padding-block: 1rem;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
}

.innerNav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.navItems {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.innerNav > h1 {
  text-decoration: none;
  text-transform: capitalize;
  color: blue;
  font-weight: 900;
}

.innerNav > h1 > span {
  color: #f6d69d;
}

.navItems > a {
  text-decoration: none;
  color: orange;
  text-transform: uppercase;
  font-size: 14px;
}

.navItems > a:first-child {
  color: blue;
  font-weight: 700;
  font-style: italic;
}

.navItems > a:hover {
  background-color: whitesmoke;
  transition: background-color 0.3s ease;
}

.hamburger,
#toggle {
  display: none;
}

/* Banner */
.secOne {
  background-color: white;
  padding-block: 4rem;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-style: italic;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 3rem;
}

.bannerContent > h1 {
  font-size: x-large;
  font-weight: 700;
}

.bannerContent > p {
  margin-block: 0.6rem;
  opacity: 0.4;
  font-size: small;
  font-style: italic;
}

.bannerImg {
  background-color: orange;
  height: 50vh;
  width: 30%;
  border-radius: 20px;
}

.bgBlue {
  width: 300px;
  height: 400px;
  margin-top: 1rem;
  margin-left: 1rem;
}

.bgBlue > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services */
.services {
  display: flex;
  margin-top: 20rem;
  justify-content: space-between;
  gap: 20px;
  padding: 2rem 0;
  margin-top: 14rem;
}

.serviceCard {
  background-color: #fff;
  width: 400px;
  height: 200px;
  box-shadow: 2px 3px 10px;
  padding: 15px;
  margin-bottom: 10rem;
}

.serviceCard > p {
  font-size: small;
  font-style: italic;
}

.serviceCard > h3 {
  font-size: large;
  font-style: italic;
  font-family: Arial, Helvetica, sans-serif;
}

/* About */
.secTwo {
  max-width: 1200px;
  margin: 5rem auto;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-style: italic;
  font-family: Arial, Helvetica, sans-serif;
}

.bannerContent > h1 {
  text-transform: capitalize;
}

.bannerContent > p {
  font-size: 0.9rem;
  font-style: italic;
}

/* Progress Section */
.progress-container {
  margin: 1rem 0;
  width: 100%;
}

.progress-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.progress-info h4 {
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
}

.progress-info span {
  font-size: 0.9rem;
  color: #333;
}

progress {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background-color: #e0e0e0;
}

progress::-webkit-progress-bar {
  background-color: #e0e0e0;
  border-radius: 5px;
}

progress::-webkit-progress-value {
  background-color: #2196f3;
  border-radius: 5px;
}

progress::-moz-progress-bar {
  background-color: #2196f3;
  border-radius: 5px;
}

.download-progress-bar {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
  height: 20px;
}

.progress-bar {
  width: 0;
  height: 100%;
  background-color: #2196f3;
  border-radius: 5px;
  transition: width 0.3s ease;
}

.baseContent > button {
  margin-top: 1rem;
  background-color: blue;
  padding: 0.4rem 1rem;
  color: #fff;
  text-transform: capitalize;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.bannerContent > button:hover {
  background-color: #0056b3;
}

.bannerImg {
  background-color: #e3e3e3;
  height: 50vh;
  width: 40%;
}

.bannerImg > img {
  width: 100%;
  height: 100%;
  border-radius: 100px;
  object-fit: cover;
}

/* Education */
.secThree {
  background-color: white;
  margin: 5rem;
  padding-block: 4rem;
  font-style: italic;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

.eduSec {
  list-style: none;
  padding: 0;
}

.eduContent li {
  color: black;
  margin: 1rem;
  font-size: large;
  font-weight: 300;
}

/* Skills */
.secFour {
  background-color: white;
  margin: 5rem;
  padding-block: 4rem;
  font-style: italic;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

.skills ul {
  list-style: none;
  padding: 0;
}

.skills li {
  color: black;
  margin: 1rem;
  font-size: medium;
  font-weight: 300;
}

/* Contact */
.contact-hero-section {
  padding: 4rem 0;
  background-color: #f9f9f9;
  text-align: center;
}

.contact-hero-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-hero-section p {
  font-size: 1rem;
  opacity: 0.7;
}

.contact-section {
  padding: 4rem 0;
}

.contact-content {
  display: flex;
  gap: 20px;
}

.contact-form,
.contact-info {
  flex: 1;
}

.contact-form h3,
.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-form-element {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form-element input,
.contact-form-element textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form-element textarea {
  height: 150px;
}

.contact-form-element button {
  padding: 10px;
  background-color: orange;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form-element button:hover {
  background-color: black;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-info a {
  color: #2196f3;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.online-store-message {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
}

.online-store-icon {
  font-size: 24px;
}

/* Chat Box */
.chat-box-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.chat-box-toggle {
  background-color: orange;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.chat-box {
  display: none;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.chat-box.active {
  display: block;
}

.chat-header {
  background-color: #f0ecff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-close {
  cursor: pointer;
}

.chat-messages {
  padding: 10px;
  max-height: 200px;
  overflow-y: auto;
}

.message {
  margin-bottom: 10px;
}

.message.received {
  background-color: #f0ecff;
  padding: 8px;
  border-radius: 5px;
}

.message.sent {
  background-color: #e0e0e0;
  padding: 8px;
  border-radius: 5px;
  text-align: right;
}

.chat-input {
  display: flex;
  padding: 10px;
  gap: 10px;
}

.chat-input input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.chat-input button {
  padding: 8px 15px;
}

/* Projects */
.secSeven {
  background-color: white;
  margin: 5rem;
  padding-block: 4rem;
  font-style: italic;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

.projects ul {
  list-style: none;
  padding: 0;
}

.projects li {
  color: brown;
  margin: 1rem;
}

/* Blog */
.blog-section {
  padding: 4rem 0;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 10rem;
}

.blog-section article {
  margin-bottom: 2rem;
}

.blog-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-section p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-section a {
  color: #2196f3;
  text-decoration: none;
}

.blog-section a:hover {
  text-decoration: underline;
}
.article-content {
  margin-top: 5rem;
}

/* Footer */

.secSix {
  background-color: #f0ecff;
  padding: 2rem 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1rem;
}

.footer-links a {
  color: orange;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1rem;
}

.footer-social a {
  color: #2196f3;
  font-size: 24px;
}
@media (max-width: 460px) {
  .progress-container {
    margin: 0.5rem 0;
  }
  .progress-info h4 {
    font-size: 0.9rem;
  }
  .progress-info span {
    font-size: 0.8rem;
  }
  progress {
    height: 8px;
  }
}

/* Responsive Navigation */
@media (min-width: 260px) and (max-width: 460px) {
  .innerNav {
    width: calc(100% - 30px);
    padding: 0 10px;
  }

  .navItems {
    display: none;
    flex-direction: column;
  }

  .hamburger {
    display: block;
    font-size: 25px;
    font-weight: 900;
    color: #2196f3;
    cursor: pointer;
  }

  #toggle:checked ~ .navRight .navItems {
    display: flex;
    position: absolute;
    top: 60px;
    right: 0;
    background: #455a64;
    flex-direction: column;
    width: 100%;
    padding: 1.5rem;
    border-top: 3px solid yellow;
  }
}

/* Responsive Banner */
@media (min-width: 260px) and (max-width: 460px) {
  .banner {
    flex-direction: column-reverse;
    gap: 20px;
    background-color: #212121;
  }

  .bannerImg {
    width: calc(100% - 30px);
  }

  .bannerContent {
    width: 100%;
    background-color: burlywood;
    color: #f7f7f7;
    font-weight: 200;
    padding: 20px;
  }

  .bannerContent h1 {
    font-size: 18px;
  }

  .bannerContent p {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .bannerImg {
    height: 100px;
  }

  .bannerContent h1 {
    font-size: 16px;
  }

  .bannerContent p {
    font-size: 12px;
  }
}

@media (max-width: 320px) {
  .bannerImg {
    height: 80px;
  }

  .bannerContent h1 {
    font-size: 14px;
  }

  .bannerContent p {
    font-size: 10px;
  }
}

/* Responsive Services */
@media (min-width: 260px) and (max-width: 460px) {
  .services {
    flex-direction: column;
    width: 100%;
    gap: 20px;
    background-color: #212121;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
  }

  .serviceCard {
    width: 100%;
    background-color: #333;
    color: #f7f7f7;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
  }

  .serviceCard > p {
    font-size: 14px;
    font-style: italic;
  }

  .serviceCard > h3 {
    font-size: 18px;
    font-style: italic;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
  }
}

@media (min-width: 461px) and (max-width: 768px) {
  .services {
    flex-wrap: wrap;
    gap: 20px;
  }

  .serviceCard {
    width: 45%;
    min-width: 200px;
  }
}

/* Responsive About */
@media (min-width: 260px) and (max-width: 460px) {
  .banner {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 2rem;
  }

  .bannerContent > h1 {
    font-size: large;
    font-weight: 700;
    color: #2196f3;
    margin-bottom: 10px;
  }

  .bannerContent > p {
    font-size: small;
    font-style: italic;
    color: black;
  }

  .bannerImg {
    width: 100%;
    margin-top: 20px;
  }
}

/* Responsive Education, Skills, Projects */
@media (min-width: 260px) and (max-width: 460px) {
  .secThree,
  .secFour,
  .secSeven {
    background-color: #f7f7f7;
    margin: 2rem;
    padding-block: 1rem;
    font-size: small;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .eduContent li,
  .skills li,
  .projects li {
    color: #333;
    margin: 1rem;
    font-size: small;
  }

  .eduContent li::before,
  .skills li::before,
  .projects li::before {
    content: "\2022";
    font-weight: bold;
    font-size: large;
    color: #666;
    margin-right: 10px;
  }
}

/* Responsive Contact */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .contact-form-element textarea {
    height: 100px;
  }

  .contact-form-element button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .contact-info p {
    font-size: 0.9rem;
  }

  .chat-box {
    width: 250px;
  }
}
