body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* styles for navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.navbar-logo a {
  color: #000000;
  font-size: 24px;
  text-decoration: none;
}

.navbar-right {
  margin-top: 25px;
  margin-right: 100px;
  display: flex;
  align-items: center;
}

.navbar-logo {
  margin-top: 20px;
  margin-left: 100px;
}

.navbar-right button {
  background-color: white;
  color: #173a48;
  border: 3px solid #173a48;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 25px;
}

.navbar-right button:hover {
  background-color: #173a48;
  color: white;
}

@media only screen and (max-width: 800px) {
  .navbar {
    padding: 10px 0;
  }

  .navbar-right {
    margin: 0;
    justify-content: space-between;
    padding: 0 20px; 
    display: flex; /* to align items */
    align-items: center; /* Center align items vertically */
  }

  .navbar-logo {
    margin-right: auto; 
    margin-bottom: 20px;
  }

  .navbar-logo a{
    margin-left: -70px;
  }

  .navbar-right button {
    margin-left: 0; 
  }
}

/* Frontend developer */
.front {
  text-align: center;
  margin-top: 140px;
}

.front p {
  width: 60%;
  margin: 10px auto 0;
  font-size: 17px;
}

.front strong {
  font-size: 30px;
}

h1 {
  font-size: 50px;
  color: #173a48;
  font-family: Eurostile;
}

.front img {
  width: 30%;
  height: 10%;
  display: block;
  margin: 13px auto 0; /* Center the image vertically and horizontally */
  margin-bottom: 75px;
}

/* Apply responsive font size */
@media screen and (max-width: 767px) {
  .front p {
    width: 80%;
    margin-top: -16px;
    font-size: 14px; /* Adjust font size for smaller screens */
  }

  .front strong {
    font-size: 22px;
  }

  h1 {
    font-size: 30px;
    margin-top: -100px;
  }

  .front p {
    margin-top: -10px;
  }

  .front img {
    width: 60%;
    margin-top: 60px;
  }
}

/* Apply negative margin only when screen size is larger */
@media screen and (min-width: 768px) {
  .front img {
    max-width: 60%;
    margin-top: 90px; /* Adjusted margin for responsiveness */
  }
}

.blue-container {
  background-color: #173a48;
  width: 100%;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.blue-container p {
  color: white;
  width: 90%; /* Adjust as needed */
  margin: 0 auto;
  margin-top: -39px;
  font-size: 7px;
}

.blue-container p strong {
  font-size: 1.5em;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .blue-container {
    height: 40vh; /* Reduce height for smaller screens */
  }

  .blue-container p {
    font-size: 18px; /* Increase font size for smaller screens */
  }
}

@media screen and (min-width: 972px) {
  .blue-container p {
    width: 60%; /* Adjust as needed */
    font-size: calc(
      0.02vw + 1rem
    ); /* Responsive font size based on viewport width */
  }
}

@media screen and (min-width: 1200px) {
  .blue-container p {
    width: 60%;
    font-size: 18px;
  }
}
.next-container {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.782);
  background-color: white;
  text-align: center;
  padding: 50px 20px;
  margin: -50px auto 0;
  width: 80%;
  box-shadow: 0 0 12px black;
}

.frontend-heading {
  margin-top: -10px;
}

.next-container p {
  font-size: 18px;
  color: #666;
}

.next-container img {
  margin-top: 15px;
  width: 15%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2/2;
  object-fit: contain;
}

#html {
  width: 14.6%;
  height: auto;
}

/* Responsive CSS */
@media screen and (max-width: 768px) {
  .next-container {
    max-width: 90%; /* Adjust width for smaller screens */
  }

  .next-container img {
    margin-top: 15px;
    width: 20%;
  }

  #html {
    width: 20%;
  }
}

.my-skills-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.my-skills {
  margin: 30px 0;
  background-color: #173a48;
  border-radius: 10px;
  height: 215px;
  text-align: center;
  padding-top: 15px;
  margin-top: 50px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.542);
}

.skill-bar {
  margin-top: 35px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.skill-label {
  width: 120px;
  font-size: 18px;
  color: #ffffff;
}

.skill-progress {
  flex-grow: 1;
  height: 15px;
  margin-right: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.414),
    inset -2px -2px 3px rgba(0, 0, 0, 0.542);
}

.skill-html,
.skill-css,
.skill-react {
  height: 100%;
  border-radius: 10px;
}

.skill-html {
  width: 90%;
  background-color: #b5d4df;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.414),
    inset 2px 2px 5px rgba(0, 0, 0, 0.542);
}

.skill-css {
  width: 75%;
  background-color: #b5d4df;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.414),
    inset 2px 2px 5px rgba(0, 0, 0, 0.542);
}

.skill-react {
  width: 30%;
  background-color: #b5d4df;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.414),
    inset 2px 2px 5px rgba(0, 0, 0, 0.542);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.container h1 {
  text-align: center;
  position: sticky;
  margin-top: 0px;
  background-color: white;
  padding: 10px 0;
  z-index: 1;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}

.project {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.project h2 {
  font-size: 1.5rem;
  margin-top: -5px;
  background-color: #173a48;
  color: white;
  padding: 20px;
  border-top-left-radius: 15px;
}

.project img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 10px black;
}

.project-link {
  text-align: center;
}

.project-link a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 3px solid #173a48;
  color: #000000;
  text-decoration: none;
  border-radius: 19px;
}

.project-link a:hover {
  background-color: #173a48;
  color: white;
}

@media screen and (max-width: 767px) {
  .projects {
    grid-template-columns: repeat(1, 1fr);
  }

  .project h2 {
    text-align: center;
  }
}

.contact {
  background-color: #173a48;
  box-shadow: 0 0 10px black;
  color: white;
  padding: 40px;
  margin-top: 50px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.contact-icons {
  margin-left: -45px;
  margin-top: -86px;
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.contact-icons li {
  margin: 10px;
}

.contact-icons img {
  width: 100%;
  width: 50px;
  height: auto;
  margin-top: 10px;
}

#mail {
  width: 140px;
  filter: brightness(0);
  margin-bottom: 32px;
  margin-right: -38px;
}

#insta {
  width: 45px;
}

#twitter {
  filter: brightness(0);
  width: 53px;
}
