/* Default Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  font-family: "Rowdies", sans-serif;
}

html {
  font-size: 62.5%;
}
/* Default Styles */

/* Container */
.container {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, #D0F0C0, #355E3B);
}

/* Navigation */
.menu-icon {
  width: 3rem;
  height: 3rem;
  position: fixed;
  top: 5rem;
  right: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  cursor: pointer;
  z-index: 200;
}

.line {
  width: 3rem;
  height: 0.2rem;
  background-color: #bbb;
  transition: transform 0.3s;
}

.change .line-1 {
  transform: rotateZ(45deg) translate(0.7rem, -0.1rem);
}

.change .line-2 {
  transform: rotateZ(-45deg) translate(0.7rem, -0.1rem);
}

.navigation {
  background-image: linear-gradient(to right, #D0F0C0, #355E3B); 
  position: fixed;
  top: -8rem;
  right: -63rem;
  width: 50rem;
  transform: rotateZ(-15deg);
  height: 100vh;
  z-index: 100;
  display: flex;
  align-items: center;
  padding-left: 8rem;
  z-index: 150;
  transition: all 0.6s;
}

.change .navigation {
  top: 0;
  right: 0;
  transform: rotateZ(0);
}

.nav-items {
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
}

.change .nav-items {
  opacity: 1;
  visibility: visible;
  transition: 0.5s 0.7s;
}

.navigation .section-border {
  opacity: 0;
  visibility: hidden;
}

.change .navigation .section-border {
  opacity: 1;
  visibility: visible;
  transition: all 0.5s 0.7s;
}

.nav-items a {
  font-family: "Caveat", cursive;
  font-size: 3.3rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: #eee;
  margin: 1rem 0;
  transition: color 0.5s;
}

.nav-items a:hover {
  color: #568203;
}
/* End of Navigation */

/* Landing */
.landing {
  width: 100%;
  height: 100vh;
  position: relative;
}

.section-bg-heading {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-size: 13rem;
  font-family: "Caveat", cursive;
  background: -webkit-linear-gradient(left, #367c2b , #688354);
  background: -o-linear-gradient(right, #367c2b , #688354);
  background: -moz-linear-gradient(right, #367c2b ,#688354);
  background: linear-gradient(to right, #367c2b , #688354); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #A9BA9D;
  opacity: 0.5;
}

.logo {
  position: absolute;
  top: 4rem;
  left: 5rem;
  font-size: 3rem;
  display: flex;
  align-items: center;
}

.logo span:nth-child(1) {
  color: #fff;
}

.logo span:nth-child(2) {
  font-size: 5rem;
  font-family: "Caveat", cursive;
  font-weight: bold;
  color: #367c2b;
}

.banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
}

.section-border {
  height: 55rem;
  width: 0.3rem;
  background-color: #bbb;
  margin-right: 10rem;
  position: relative;
}

.section-border::before {
  content: "";
  width: 3rem;
  height: 3rem;
  border: 0.2rem solid #bbb;
  border-radius: 50%;
  background-color: #6C7C59;
  position: absolute;
  left: -1.65rem;
  top: -3rem;
}

.section-border::after {
  content: "";
  width: 3rem;
  height: 3rem;
  border: 0.2rem solid #bbb;
  border-radius: 50%;
  background-color:#6C7C59;
  position: absolute;
  left: -1.65rem;
  bottom: -3rem;
}

.developer-info {
  margin-right: 15rem;
}

.greeting {
  font-size: 1.6rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.1rem;
}

.name {
  font-size: 11rem;
  width: 60rem;
  margin: 4rem 0 2rem 0;
  color: #fff;
  text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

.name span {
  color: #367c2b;
  font-family: "Caveat", cursive;
}

.prof {
  font-size: 1.8rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.2rem;
  margin-bottom: 6rem;
}

.prof span {
  font-family: "Caveat", cursive;
  font-size: 3rem;
  font-weight: bold;
  text-transform: capitalize;
  margin-left: 1.2rem;
}

.about {
  width: 60rem;
  font-family: "Caveat", cursive;
  font-size: 2.5rem;
  line-height: 1;
  color: #a9abae;
  margin-bottom: 5rem;
}

/*
.social-media {
  margin-bottom: 5rem;
}

.social-media i {
  font-size: 2.5rem;
  color: #fff;
  margin-right: 2rem;
  text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
*/
.dev-img-wrapper {
  width: 60rem;
  height: 60rem;
  border-radius: 50%;
  background-color: #568203;
  
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}

.dev-img-wrapper img {
  width: 100%;
  height: 100%;
}

.dev-work {
  width: 25rem;
  height: 9rem;
  background-color: #444C38;
  font-size: 2rem;
  text-transform: uppercase;
  color: #fff;
  border: 0.2rem solid #367c2b;
  border-radius: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
  position: absolute;
}

.dev-experience {
  bottom: 10rem;
  right: 40rem;
}

.dev-projects {
  bottom: 1rem;
  right: -2rem;
}

.dev-work span:nth-child(1) {
  font-size: 5rem;
  width: 50%;
  text-align: center;
}

.dev-work span:nth-child(2) {
  font-family: "Caveat", cursive;
  color: #367c2b;
  font-weight: 1000;
  width: 60%;
}

.section-heading {
  font-family: "Caveat", cursive;
  font-size: 6rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: #fff;
  margin-bottom: 3rem;
}

.sub-heading {
  font-size: 2rem;
  color: #568203;
  text-transform: uppercase;
}

.sub-heading span {
  font-family: "Caveat", cursive;
  font-size: 3.5rem;
  text-transform: capitalize;
  color: #fff;
}

/* End of Landing */

/* skills */
.skills {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* margin-bottom: 10rem; */
}

.skills-cards {
  width: 140rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10rem;
  padding-bottom: 10rem;
  z-index: 100;
}

.skill-card {
  width: 40rem;
  height: 55rem;
  background-color: #355E3B;
  margin: 2rem;
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.skill-img {
  width: 36rem;
  height: 20rem;
  border-radius: 1rem;
  overflow: hidden;
}

.skill-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 1.5s;
}

.skill-img img:hover {
  transform: scale(1.3);
}



.skill-name {
  font-family: "Caveat", cursive;
  font-size: 4rem;
  font-weight: 300;
  color: #fff;
  margin-top: -2rem;
}

.skill-desc {
  font-family: "Caveat", cursive;
  font-size: 2.4rem;
  color: #ccc;
}

.skill-btn {
  font-family: "Caveat", cursive;
  width: 20rem;
  height: 4rem;
  background-color: transparent;
  font-size: 2.2rem;
  text-align: left;
  color: #fff;
  border: none;
  cursor: pointer;
}

.skill-btn i {
  color:#568203;
  margin-left: 1rem;
  transition: margin-left 0.3s;
}

.skill-btn:hover i {
  margin-left: 2rem;
}

.skills .btn {
  margin: 5rem 0 0 0;
}

.skills .section-border {
  height: 140rem;
  position: absolute;
  top: 50%;
  right: 15rem;
  transform: translateY(-50%);
  margin: 0;
}
/* End of Skills */

/* Contact */
.contact {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .section-border {
  position: absolute;
  left: 20rem;
  top: 30%;
}

.contact-content {
  width: 120rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-left div {
  display: flex;
  align-items: center;
  margin: 3rem 0;
}

.contact-left i {
  width: 5rem;
  height: 5rem;
  background-color: #1d222a;
  border: 0.2rem solid #bbb;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #eee;
  margin-right: 9rem;
  position: relative;
}

.contact-left i::after {
  content: "";
  width: 4rem;
  height: 0.2rem;
  background-color: #bbb;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -4rem;
}

.contact-info {
  width: 20rem;
  display: flex;
  flex-direction: column;
}

.contact-info span {
  width: 100%;
}

.contact-info span:nth-child(1) {
  font-family: "Caveat", cursive;
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-info span:nth-child(2) {
  font-size: 1.8rem;
  font-weight: 300;
  color: #776;
  text-decoration: none;
}

/* End of Contact */

/* Footer */
.footer {
  width: 100%;
  height: 10rem;
  border-top: 0.1rem solid #568203;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.icons i {
  font-size: 2rem;
  color: #fff;
  margin-right: 2rem;
  text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.copyright,
.author {
  font-size: 1.6rem;
  color: #fff;
}

.copyright span {
  font-family: "Caveat", cursive;
  font-size: 2.5rem;
  font-weight: bolder;
  color: #367c2b;
  margin-right: 1rem;
}


/* End of Footer */
/* End of Container */

/* Responsive */
@media (max-width: 1700px) {
  html {
    font-size: 57%;
  }

  .navigation {
    right: -70rem;
  }

  .skills .section-border {
    left: 10rem;
  }

  .contact .section-border {
    left: 10rem;
  }

  .contact-content {
    width: 120rem;
  }
}

@media (max-width: 1500px) {
  html {
    font-size: 52%;
  }

  .name {
    font-size: 5rem;
    width: 40rem;
  }

  .about {
    width: 45rem;
  }

  .dev-img-wrapper {
    width: 40rem;
    height: 40rem;
  }

  .dev-work {
    width: 20rem;
    height: 7rem;
    padding: 0 1rem;
  }

  .dev-work span:nth-child(1) {
    font-size: 2rem;
    width: 35%;
  }

  .dev-experience {
    bottom: 22rem;
    right: 25rem;
  }

  .dev-projects {
    bottom: 14rem;
    right: -4rem;
  }

  .section-bg-heading {
    font-size: 23rem;
  }
  

  .skills {
    height: 100%;
    padding: 10rem 0 20rem 0;
  }

  .skills-cards {
    width: 100rem;
  }

  .skills .section-border {
    height: 85rem;
  }

  .contact-content {
    width: 110rem;
  }
}

@media (max-width: 1200px) {
  html {
    font-size: 45%;
  }

 

  .skills .section-border {
    right: 10rem;
  }

  .contact-content {
    width: 100rem;
    justify-content: space-evenly;
  }

  .contact-right {
    margin-right: -15rem;
  }

  .input-groups {
    flex-direction: column;
  }

  .input-groups input {
    width: 60rem;
  }
}

@media (max-width: 900px) {
  html {
    font-size: 39%;
  }

  .section-border {
    display: none;
  }

  .section-bg-heading {
    font-size: 20rem;
  }

  .skill-desc {
    font-size: 4rem;
  }

  .contact-info span:nth-child(1) {
    font-size: 2.7rem;
  }
  
  .contact-info span:nth-child(2) {
    font-size: 2.3rem;
  }

  .contact-content {
    width: 110rem;
  }

  .contact-right {
    margin-right: -5rem;
  }

  .developer-img {
    display: none;
  }

  .contact-content {
    justify-content: space-evenly;
    margin-top: 0.5rem;
  }

  .contact-right {
    display: none;
  }

  .sub-heading {
    display: none;
  }

  .contact-left div {
    margin: 0.2rem 0;
  }

  .footer {
    border-top: none;
  }


}

@media (max-width: 700px) {
  html {
    font-size: 30%;
  }

  .logo {
    margin-left: 2rem;
  }

  .section-bg-heading {
    font-size: 17rem;
  }

  .developer-img {
    display: none;
  }

  .skills-cards {
    width: 60rem;
  }

  .contact-content {
    width: 70rem;
  }

  .name {
    font-size: 6rem;
  }

  }

@media (max-width: 500px) {
  .navigation {
    width: 100%;
    right: -100rem;
    justify-content: center;
  }

  .banner {
    width: 70%;
  }

  .developer-info {
    margin-bottom: 40rem;
  }

  .section-heading {
    text-align: center;
  }

  .skills-cards {
    width: 60rem;
  }

  .contact-content {
    width: 60rem;
  }

  .input-groups input {
    width: 50rem;
  }

  .icons {
    display: none;
  }

  .sub-heading {
    display: flex;
  }

  .contact-left div {
    margin: 2rem 0;
  }

  .contact-content {
    margin-bottom: 5rem;
  }
}
/* End of Responsive */
