/* stylelint-disable font-family-no-missing-generic-family-keyword */
/* stylelint-disable rule-empty-line-before */
/* stylelint-disable comment-empty-line-before */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* stylelint-disable-next-line comment-whitespace-inside */
/* Navbar*/

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
}
.navbar ul {
  display: flex;
  list-style: none;
  margin: 20px 0;
}
.navbar ul li {
  font-family: century;
  font-size: 1.1rem;
  font-weight: bold;
}
.navbar ul li a {
  text-decoration: none;
  color: aliceblue;
  padding: 8px 25px;
  transition: all 0.5s ease;
}

.navbar ul li a:hover {
  background-color: aliceblue;
  color: black;
  box-shadow: 0 0 10px white;
}
/* Home section */

#home {
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.5);
  height: 840px;
  justify-content: center;
  align-items: center;
  color: white;
}

#home ::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background: url(../public/image.jpg) no-repeat center center/cover;
  height: 900px;
  width: 100%;
  z-index: -1;
  opacity: 0.8;
}

.main {
  display: flex;
  flex-direction: column;
  /* border: 1px solid white; */
  align-items: center;
}

.headings {
  font-family: century;
  font-size: 3rem;
  text-align: center;
  margin: 40px 0;
}

.btn {
  padding: 10px 35px;
  background-color: transparent;
  border: 1px solid white;
  color: white;
  outline: none;
  transition: 0.6s ease;
}
.btn:hover {
  cursor: pointer;
  background-color: white;
  color: black;
  box-shadow: 0 0 5px white, 0 0 15px white;
  font-weight: bold;
}
/* about section */

#about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 1rem;
  flex-direction: column;
  margin-bottom: 50px;
}
.about-img img {
  height: auto;
  width: 80%;
  border-radius: 5px;
}

.about-text h2 {
  font-size: 50px;
  line-height: 2;
  color: rgb(73, 182, 182);
}
.about-text h4 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.7;
  margin: 15px 0 30px;
  color: rgb(137, 163, 85);
}
.about-text p {
  font-size: 21px;
  line-height: 1.8;
  margin-bottom: 4rem;
  font-family: Georgia, "Times New Roman", Times, serif;
}

/* skills */

.skills-text {
  text-align: center;
}

.skills-text p {
  color: green;
  font-size: 40px;
  margin-bottom: 15px;
}

.skills-text h2 {
  font-size: 30px;
  line-height: 1;
}
.skills-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  align-items: center;
  gap: 2.5rem;
  margin-top: 5rem;
}
.box {
  background: white;
  padding: 35px 45px;
  border-radius: 8px;
  transition: all 0.45s ease;
}

.box h3 {
  font-size: 24px;
  font-weight: 600;
  color: olivedrab;
  margin-bottom: 15px;
}
.box p {
  color: black;
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 25px;
}
