:root {
  --green: #27ae60;
}
* {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  transition: all 0.2s linear;
}
html {
  overflow-x: hidden;
  font-size: 61%;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
  width: 0.7rem;
}
html::-webkit-scrollbar-track {
  background-color: #fff;
}
html::-webkit-scrollbar-thumb {
  background-color: var(--green);
}
body {
  background: #eee;
}
section {
  padding: 2rem 9%;
  /* min-height: 100vh; */
}
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 3rem;
  color: #fff;
  font-size: 1.7rem;
  background: #222;
}
.btn:hover {
  background: var(--green);
  letter-spacing: 0.2rem;
}
.heading {
  text-align: center;
  padding-bottom: 2rem;
  font-size: 6rem;
  color: #222;
  text-transform: uppercase;
}
.heading span {
  color: var(--green);
}
header {
  position: fixed;
  top: 0;
  right: 0;
  min-height: 100vh;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 1000;
}
header .navbar {
  writing-mode: vertical-lr;
  padding: 1.5rem;
}

header .navbar a {
  padding: 1.5rem;
  color: #222;
  font-size: 2rem;
}
header .navbar a:hover {
  color: var(--green);
}

#menu-bars {
  position: fixed;
  top: 1rem;
  left: 1rem;
  padding: 1rem 1.5rem;
  background: var(--green);
  color: #fff;
  z-index: 10000;
  border-radius: 0.5rem;
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
  header {
    width: 100%;
    left: 120%;
    transition: all 0.4s linear;
  }
  .active {
    left: 0%;
  }
  header .navbar {
    writing-mode: horizontal-tb;
  }
  header .navbar a {
    display: block;
    font-size: 2.5rem;
  }
  #menu-bars {
    display: initial;
  }
  .about .row {
    flex-direction: column;
  }
  .about .content {
    margin-top: 2rem;
  }
  .about .box-container {
    flex-direction: column;
  }
}

.home {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  position: relative;
}

.home #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* .home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */

.home .content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.home .content img {
  height: 30rem;
  width: 30rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1rem solid var(--green);
}
.home .content h3 {
  color: #222;
  font-size: 4rem;
  text-transform: uppercase;
}
.home .content h3 span {
  color: var(--green);
}
.home .content p {
  color: #222;
  font-size: 2.5rem;
}
.about .row {
  display: flex;
  /* flex-wrap: wrap; */
  align-items: center;
}
.about .image {
  min-width: 400px;
}
.about .image img {
  width: 100%;
  border-radius: 0.5rem;
  border: 1rem solid #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.about .content {
  margin-left: 4rem;
}
.about .row .content h3 {
  font-size: 4rem;
  color: #222;
  margin-bottom: 1rem;
}
.about h3 span {
  color: var(--green);
}
.about .info {
  font-size: 2rem;
}
.about .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about .box {
  flex: 1 1;
}
.about .box-container p {
  font-size: 1.7rem;
}
.about .box-container p {
  font-size: 1.7rem;
  line-height: 2;
}
.about .box-container p span {
  color: var(--green);
}

.portfolio .box-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}
@media (max-width: 800px) {
  .portfolio .box-container {
    grid-template-columns: repeat(1, 1fr);
  }
}
.portfolio .box {
  border: 1rem solid #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  /* height: 30rem; */
}
.portfolio .box .content {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  background: #fff9;
  display: flex;

  align-items: center;
  justify-content: center;
}
.portfolio .box:hover .content {
  left: 0;
}
.portfolio img {
  width: 100%;
}
.contact {
  position: relative;
}
.contact .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.contact .image {
  flex: 1 1 40rem;
}
.contact img {
  width: 100%;
}
.contact form {
  /* width: 600px; */
  flex: 1 1 40rem;
  padding: 1rem 2rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.contact form .input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.contact input,
textarea {
  width: 100%;
  color: #333;
  font-size: 1.7rem;
  padding: 1rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin: 1rem 0;
}
.contact input:focus,
textarea:focus {
  border: 0.1rem solid var(--green);
}
.contact .input-box input {
  width: 49%;
}
.contact textarea {
  height: 20rem;
  resize: none;
}
.contact .btn {
  color: white;
}

.footer {
  padding: 2.5rem;
  font-size: 2rem;
  color: #666;
  background: #fff;
  text-align: center;
}
.footer span {
  color: var(--green);
}
