body {
  background-color: rgb(229, 229, 229);
  font-family: "Roboto", sans-serif;
}

::selection {
  background-color: #ffffff;
  color: #F09819; /* White color for selected text */
}

#pattern-about-projects ::selection {
  background-color: #F09819;
  color: whitesmoke;
}

/* hide overflow, bug form AOS library */
@media (max-width: 768px) {
  .hideOverflowOnMobile {
    overflow-x: hidden;
  }
}

/* background pattern for home and contact */
.landing, #contact {
  /* background: #374637; */
  background-color: #113311;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1210' height='1210' viewBox='0 0 20 20'%3E%3Cg %3E%3Cpolygon fill='%23242' points='20 10 10 0 0 0 20 20'/%3E%3Cpolygon fill='%23242' points='0 10 0 20 10 20'/%3E%3C/g%3E%3C/svg%3E");

}

/* space between sections */
.landing,
#about,
#projects {
  padding-bottom: 4rem;
}


/* Navigation bar */

img#logo {
  padding: 0;
  max-width: 5rem;
  position: relative;
  right: 1.2rem;
}

.main-navbar .navbar-nav a {
  font-size: 1.4rem;
  color: whitesmoke;
  margin-left: 1.2rem;
}

.main-navbar .navbar-nav a:hover {
  text-decoration: 2px solid underline #f09819;
  opacity: 0.85;
}

.navbar-toggler {
  font-size: 1.7rem;
  color: whitesmoke;
  margin-top: 1.2rem;
}

@media (max-width: 767px) {
  /* space between links on the mobile menu */
  .main-navbar .navbar-nav a {
    margin-bottom: 0.5rem;
    max-width: 7rem;
  }
  .main-navbar .navbar-nav a:nth-of-type(1) {
    margin-top: 1.5rem;
  }
}

/* end of navbar */

.landing-content {
  color: whitesmoke;
  font-size: 1.4rem;
  margin-top: 1rem;
  position: relative;
  top: 2rem;
}

/* landind text */
.landing-intro {
  position: relative;
  bottom: 2rem;
}

.landing-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Name */
.landing-intro h1 span,
.landing-intro span {
  color: #f09819;
  text-shadow: none;
}

/* button about me*/
.landing-intro a.btn {
  background-color: #f09819;
  color: whitesmoke;
  border: 3px solid #f09819;
  margin-top: 2rem;
}

.landing-intro a.btn:hover {
  background-color: #374637;
}

/* button back to the top */
#scrollButton {
  position: fixed;
  right: 2rem;
  bottom: 1rem;
  color: rgb(245, 245, 245);
  background-color: #f09819;
  border: 4px solid #f09819;
  font-size: 1.8rem;
  display: none;
}

#scrollButton:hover {
  color: #f09819;
  background-color: whitesmoke;
}

@media (max-width: 800px) {
  .landing-intro {
    position: relative;
    bottom: initial;
  }
}

/* end of landing */

/* about */

.about-h,
.projects-h,
.contact-h {
  font-size: 2.7rem;
  font-weight: 700;
  margin-top: 5rem;
  margin-bottom: 3rem;
  color: #404e5c;
  border-bottom: 2px solid #404e5c;
  text-align: center;
  width: 50%;
  text-transform: capitalize;
}

.about-text {
  text-align: center;
  font-size: 1.3rem;
  background-color: rgb(252, 252, 252);
  border-radius: 4rem;
  padding: 1.5rem;
}

.about-me div.card {
  background-color: rgb(252, 252, 252);
  border-radius: 8%;
}

.techs {
  font-size: 1.1rem;
}

.interests {
  font-size: 1.3rem;
}

.interests i.fas,
.techs i.fab {
  color: #f09819;
}

.material-symbols-outlined {
  color: #F09819;
  vertical-align: middle;
  transform: translateY(-0.1rem);
}

/* end of about */

/* projects */

.projects .card, .about-text, .about-me .card {
  border: 0;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
    rgba(17, 17, 26, 0.05) 0px 8px 32px;
  transition: 0.7s ease;
}

.card-title {
  font-size: 1.3rem;
  color: #f09819;
}

.projects .card:hover {
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, #F09819 0px 8px 32px;
}

.projects .card p {
  font-size: 1.1rem;
}

.projects .card-techs {
  font-size: 1rem;
  margin-left: 1rem;
  opacity: 0.8;
}

.projects .card-link {
  color: initial;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 500;
  text-decoration: 2px underline #f09819;
  letter-spacing: 0.2rem;
  transition: letter-spacing 0.7s ease;
}

.projects .card-link:hover {
  letter-spacing: 0.35rem;
}

/* end of projects */

/* contact */

.contact {
  height: 70vh;
  background: #374637;
  color: whitesmoke;
}

.contact a {
  color: whitesmoke;
}

.contact-h {
  color: whitesmoke;
  border-bottom: 2px solid whitesmoke;
  width: 38%;
}

.contact-text,
.developed-by {
  font-size: 1.2rem;
}

.contact-text a {
  text-decoration-line: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

.contact-icons a {
  font-size: 2rem;
  padding: 1.2rem;
}

.contact-text a:hover, .contact-icons a:hover {
  color: #f09819;
}

@media (max-width: 767px) {
  .contact-h {
    width: 80%;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .contact {
    height: 50vh;
  }

  .contact-h {
    width: 50%;
  }
}
