@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap");

* {
  font-family: "Lato", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  transition: all 0.2s linear;
}

*::selection {
  background: #1e5128;
  color: #fafafa;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 1.4rem;
}

html::-webkit-scrollbar-track {
  background: #191a19;
}

html::-webkit-scrollbar-thumb {
  background: #4e9f3d;
}

body {
  background: #191a19;
  overflow-x: hidden;
  padding-left: 35rem;
}

section {
  min-height: 100vh;
  padding: 1rem;
}

.btn {
  padding: 0.7rem 3rem;
  background: #4e9f3d;
  color: #fafafa;
  cursor: pointer;
  margin-top: 1rem;
  font-size: 2rem;
  border-radius: 5rem;
}

.btn i {
  padding: 0 0.5rem;
  font-size: 1.8rem;
}

.btn:hover {
  background: #4d9f3da4;
  color: #fafafa;
}

.heading {
  text-align: center;
  margin: 0 6rem;
  font-size: 4rem;
  padding: 1rem;
  border-bottom: 0.3rem solid #4e9f3d;
  color: #4e9f3d;
}

.heading span {
  /* background-color: red; */
  border-radius: 5rem;
  padding: 5px;
  margin: 1.5rem 0;
  color: #fafafa;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 100%;
  width: 35rem;
  background: #191a19;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
}

header .user img {
  height: 17rem;
  width: 17rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 0.5rem solid #4e9f3d;
}

header .user .name {
  font-size: 3.5rem;
  color: #fafafa;
}

header .user .post {
  font-size: 2rem;
  color: #fafafa;
}

header .navbar {
  width: 100%;
}

header .navbar ul {
  list-style: none;
  padding: 1rem 3rem;
}

header .navbar ul li a {
  display: block;
  padding: 1rem;
  margin: 1.5rem 0;
  background: #4e9f3d;
  color: #fafafa;
  font-size: 2rem;
  border-radius: 5rem;
}

header .navbar ul li a:hover {
  background: #4d9f3da4;
  color: #fafafa;
}

#menu {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: #333;
  color: #fafafa;
  cursor: pointer;
  font-size: 2.5rem;
  padding: 1rem 1.5rem;
  z-index: 1000;
  display: none;
}

.home {
  display: flex;
  justify-content: center;
  flex-flow: column;
  padding: 0 15rem;
  background: url("../assets/img/banner.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.home h3 {
  font-size: 2.5rem;
  color: #fafafa;
}

.home h1 {
  font-size: 5rem;
  color: #4e9f3d;
}

.home h1 span {
  color: #fafafa;
  /* background-color: red; */
}

.home p {
  font-size: 2rem;
  color: #fafafa;
  padding: 1rem 0;
}

.about .row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.about .row .info {
  flex: 1 1 48rem;
  padding: 2rem 1rem;
  padding-left: 6rem;
}

.about .row .info h3 {
  font-size: 2rem;
  color: #fafafa;
  padding: 1rem 0;
  font-weight: normal;
}

.about .row .info h3 span {
  color: #4e9f3d;
  padding: 0 0.5rem;
}

.about .row .counter {
  flex: 1 1 48rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.about .row .counter .box {
  width: 20rem;
  background: #222;
  text-align: center;
  padding: 2rem;
  margin: 2rem;
}

.about .row .counter .box span {
  font-size: 4rem;
  color: var(--yellow);
}

.about .row .counter .box h3 {
  font-size: 2rem;
  color: #fafafa;
}

.education .box-container {
  width: 100%;
  /* height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  background: #191a19;
  color: #fafafa;
  margin-top: 50px;
}

.education .box-container .card1 {
  width: 45vh;
  height: 350px;
  padding: 20px;
  text-align: center;
  margin: 0 10px;
  background: #d4d4d4;
  transition: 0.5s;
  border-radius: 15px;
}

.education .box-container .card1 i {
  width: 60px;
  height: 60px;
  border-radius: 50px;
  line-height: 60px;
  margin: auto;
  background: transparent;
  color: #191a19;
  font-size: 25px;
  position: relative;
  top: 80px;
}

.education .box-container .card1 h1 {
  font-size: 30px;
  color: #191a19;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  top: 70px;
  /* transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s; */
}

.education .box-container .card1 p {
  font-size: 1.5rem;
  color: #fafafa;
  line-height: 26px;
  font-weight: 300;
  font-style: bold;
  letter-spacing: 1px;
  opacity: 0;
  /* transition: 0.5s; */
  font-weight: 1, 400;
  text-align: left;
  margin-top: -50px;
}

.education .box-container .card1:hover p {
  opacity: 1;
  /* transition: 0.5s; */
}

.education .box-container .card1:hover i {
  top: -40px;
}

.education .box-container .card1:hover h1 {
  color: #fafafa;
  top: -60px;
}

#henry:hover {
  background: #292929;
}

.education .box-container .card2 {
  width: 45vh;
  height: 350px;
  padding: 20px;
  text-align: center;
  margin: 0 10px;
  background: #010101;
  transition: 0.5s;
  border-radius: 15px;
}

.education .box-container .card2 i {
  width: 60px;
  height: 60px;
  border-radius: 50px;
  line-height: 60px;
  margin: auto;
  background: transparent;
  color: #191a19;
  font-size: 25px;
  position: relative;
  top: 80px;
}

.education .box-container .card2 h1 {
  font-size: 30px;
  color: #fafafa;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  top: 70px;
  /* transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s; */
}

.education .box-container .card2 p {
  font-size: 1.5rem;
  color: #fafafa;
  line-height: 26px;
  font-weight: 300;
  font-style: bold;
  letter-spacing: 1px;
  opacity: 0;
  /* transition: 0.5s; */
  font-weight: 00;
  text-align: left;
  margin-top: -50px;
}

.education .box-container .card2:hover p {
  opacity: 1;
  /* transition: 0.5s; */
}

.education .box-container .card2:hover i {
  top: -40px;
}

.education .box-container .card2:hover h1 {
  color: #fafafa;
  top: -60px;
}

#coderhouse:hover {
  background: #292929;
}

.education .box-container .card3 {
  width: 45vh;
  height: 350px;
  padding: 20px;
  text-align: center;
  margin: 0 10px;
  background: #ffffff;
  transition: 0.5s;
  border-radius: 15px;
}

.education .box-container .card3 i {
  width: 60px;
  height: 60px;
  border-radius: 50px;
  line-height: 60px;
  margin: auto;
  background: transparent;
  /* color: #191a19; */
  font-size: 25px;
  position: relative;
  top: 80px;
}

.education .box-container .card3 h1 {
  font-size: 30px;
  color: #191a19;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  top: 70px;
  /* transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s; */
}

.education .box-container .card3 p {
  font-size: 1.5rem;
  color: #fafafa;
  line-height: 26px;
  font-weight: 300;
  font-style: bold;
  letter-spacing: 1px;
  opacity: 0;
  /* transition: 0.5s; */
  font-weight: 00;
  text-align: left;
  margin-top: -50px;
}

.education .box-container .card3:hover p {
  opacity: 1;
  /* transition: 0.5s; */
}

.education .box-container .card3:hover i {
  top: -40px;
}

.education .box-container .card3:hover h1 {
  color: #fafafa;
  top: -60px;
}

#udemy:hover {
  background: #292929;
}

@media (max-width: 753px) {
  .education .box-container .card1 {
    margin: 30px;
  }
  .education .box-container .card2 {
    margin: 30px;
  }
  .education .box-container .card3 {
    margin: 30px;
  }
}

.title-h1 {
  color: #fafafa;
  font-weight: 700;
  font-size: 5rem;
}

.top {
  position: fixed;
  bottom: 7.5rem;
  right: 2rem;
  z-index: 100;
  display: none;
}

/* media queries  */

@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }

  .home {
    padding: 1rem 4rem;
  }
}

@media (max-width: 991px) {
  header {
    left: -120%;
  }

  #menu {
    display: block;
  }

  header.toggle {
    left: 0%;
  }

  body {
    padding: 0;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 400px) {
  header {
    width: 100vw;
  }

  .heading {
    margin: 0 3rem;
  }

  .about .row .counter .box {
    width: 100%;
  }
}

.logos-title {
  justify-content: center;
}

.logos-section {
  text-align: center;
  color: #fafafa;
  font-size: 2rem;
}

.logos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.logo {
  width: 120px;
  height: 120px;
}

.logo:hover {
  transform: scale(1.15);
}

.logos-grid h1 {
  color: #fafafa;
}

#portfolio .container {
  margin: 30px;
}

#portfolio .container .row {
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.image {
  background: #1e5128;
  position: relative;
  flex: 1;
  max-width: 460px;
  height: 300px;
  margin: 20px;
  overflow: hidden;
  border-radius: 15px;
}

.image img {
  opacity: 0.8;
  position: relative;
  vertical-align: top;
  transition: 0.6s;
  transition-property: opacity;
}

.image:hover img {
  opacity: 1;
}

.image .details {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  color: #fafafa;
  width: 100%;
  height: 100%;
}

.image .details h2 {
  text-align: center;
  font-size: 35px;
  text-transform: uppercase;
  font-weight: 300;
  margin-top: 70px;
  transition: 0.4s;
  transition-property: transform;
}

.image .details h2 span {
  font-weight: 900;
}

.image:hover .details h2 {
  transform: translateY(-30px);
}

.image .details p {
  margin: 30px 30px 0 30px;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  opacity: 0;
  transition: 0.6s;
  transition-property: opacity, transform;
}

.image:hover .details p {
  opacity: 1;
  transform: translateY(-40px);
}

.more {
  position: absolute;
  background: #4e9f3d;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  bottom: -60px;
  transition: 0.6s;
  transition-property: bottom;
  font-size: 25px;
}

.image:hover .more {
  bottom: 0;
}

.more .read-more {
  color: #fafafa;
  text-decoration: none;
  font-size: 25px;
  font-weight: 500;
  /* text-transform: uppercase; */
  cursor: default;
}

.more .read-more span {
  font-weight: 900;
}

.more .icon-links i {
  color: #fafafa;
  font-size: 25px;
}

.more .icon-links a:not(:last-child) i {
  margin-right: 20px;
}

/* Responsive CSS */

@media (max-width: 1080px) {
  .image {
    flex: 100%;
    max-width: 480px;
  }
}

@media (max-width: 400px) {
  .image .details p {
    font-size: 16px;
  }

  .more .read-more,
  .more .icon-links a i {
    font-size: 18px;
  }
}

.social-icons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  size: 50rem;
}

.social-icons .h3 i {
  text-decoration: none;
  color: #fafafa;
  /* background-color: #fafafa; */
}

/*************contact-style-section*******************/
.contact-style {
  line-height: 1.5;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.footer .container {
  max-width: 1170px;
  margin: auto;
}

.footer .container .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: baseline;
  align-content: center;
}
.footer ul {
  list-style: none;
}

.footer {
  background-color: #191a19;
  padding: 30px 0;
}

.footer .footer-col {
  width: 25%;
  padding: 0 15px;
}

.footer .footer-col h4 {
  font-size: 30px;
  color: #fafafa;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}
.footer .footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #4e9f3d;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}
.footer .footer-col ul li {
  color: #fafafa;
  font-size: 17px;
}
.footer .footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}
.footer .footer-col ul li a {
  font-size: 20px;
  color: #fafafa;
  text-decoration: none;
  font-weight: 300;
  color: #bbbbbb;
  display: block;
  transition: all 0.3s ease;
}
.footer .footer-col ul li a:hover {
  color: #fafafa;
  padding-left: 8px;
}
.footer .footer-col .social-links a i {
  display: inline-block;
  height: 60px;
  width: 60px;
  background-color: #292929;
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 60px;
  border-radius: 50%;
  color: #fafafa;
  transition: all 0.5s ease;
  font-size: 25px;
}
.footer .footer-col .social-links a i:hover {
  color: #292929;
  background-color: #fafafa;
}

@media (max-width: 767px) {
  .footer .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
}
@media (max-width: 574px) {
  .footer .footer-col {
    width: 100%;
  }
}
