body,
html {
  /* background-color: black;  */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px;
  /* margin-right: 500px; */
  background-color: #333;
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  /* padding-right: 500px; */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 10px;
  padding: 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

nav .menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
}

/* Sections */
.section {
  padding: 100px 10%;
  text-align: center;
}
.section h2 {
  margin-bottom: 20px;
}
#home {
  background-image: url(image.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
}
h2 {
  font-size: 50px;
  color: white;
}
h3 {
  font-size: 35px;
  color: white;
}
.name {
  font-size: 40px;
  color: blue;
}

#about {
  background-color: gray;
}

.section {
  padding: 100px 10%;
  text-align: center;
}

.section h2 {
  margin-bottom: 20px;
}
.mypics img {
  width: 50%;
  border-radius: 20px;
}
/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.skill-card {
  /* display: flex; 
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 5px;*/
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: 0.3s;
}
.skill-card:hover {
  background-color: #ddd;
  transform: scale(1.05);
}

.image-icon {
  width: 20px;
}

.image-icon img {
  width: 50px;
}

/* Projects Grid 
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top:20px;
}

.project-card {
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 5px;
    transition: transform 0.3s;
}
.project-card:hover{
transform: scale(1.05);    
*/

.education {
  display: flex;
  align-items: center;
}

.empty-1 {
  height: 100px;
  width: 8px;
  background: rgb(98, 98, 98);
  position: relative;
  margin-left: 20px;
}

.empty-2 {
  height: 20px;
  width: 20px;
  border: 1px solid rgb(110, 108, 108);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: -7px;
  background: rgb(100, 100, 100);
}

.empty-3 {
  width: 50px;
  height: 2px;
  background-color: rgb(67, 67, 67);
  margin-left: 200px;
}

p {
  padding: 20px;
}
.o {
  /* margin-left: 500px; */
  color: red;
}
/*footer   */
footer {
  background-color: #333;
  color: #f0f0f0;
  text-align: center;
  /* padding: 15px 0; */
  /* margin-top: 50px; */
}
/* Responsive Styles */
@media (max-width: 1024px) {
  .section {
    padding: 100px 5%;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 20px;
  }

  nav ul.show {
    display: flex;
  }

  nav .menu-toggle {
    display: block;
  }
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}
@media (max-width: 480px) {
  .section {
    padding: 80px 5%;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* .projects-grid{
        grid-template-columns: 1f;
    } */
}
