@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 10px;
  color: var(--text-color);
}

:root {
  --primary-color: #f05454;
  --text-color: #17202a;
  --title-color: #212529;
  --secondary-text-color: #6c757d;
  --box-shadow: 0px 10px 30px rgba(57, 56, 61, 0.205);
}

.container {
  padding-top: 10rem;
}

/*Header*/

.content {
  margin: auto;
  padding: 0rem 4.2rem;
}

.navbar {
  position: fixed;
  z-index: 999;
  width: 100%;
  padding: 4.3rem 0;
  background: #fff;
  transition: all 0.3s ease;
}

.add-shadow {
  box-shadow: var(--box-shadow);
}

.navbar .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .menu-list {
  display: inline-flex;
}

.menu-list li {
  list-style: none;
}

.menu-list li a {
  color: var(--text-color);
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  margin-left: 5.5rem;
  transition: all 0.3s ease;
}

.menu-list li a:hover,
.menu-list li a:active {
  color: #f05454;
}

.home-active {
  background: #f05454;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.icon {
  font-size: 2.5rem;
  cursor: pointer;
  display: none;
}

.icon.menu-btn {
  color: var(--primary-color);
}

.icon.cancel-btn {
  position: absolute;
  right: 3rem;
  top: 2rem;
  color: #fff;
}

/*Banner*/

.text-container {
  color: var(--title-color);
}

.banner .title h3 {
  font-size: 5rem;
  margin-top: 16%;
  font-weight: 500;
}

.banner .title h1 {
  font-size: 8rem;
  text-transform: uppercase;
}

.line-separator {
  background: var(--primary-color);
  width: 7rem;
  height: 0.8rem;
  margin-top: 0.8rem;
}

.banner .title h4 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-top: 2rem;
}

.banner-img {
  width: 32rem;
  margin-left: 8rem;
  margin-top: 0.5rem;
}

.align-btn {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.primary-btn {
  text-decoration: none;
  padding: 1.3rem 3rem;
  border: 1.5px solid var(--primary-color);
  border-radius: 0.4rem;
  color: var(--title-color);
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: 500;
  transition: background 0.6s ease;
}

.primary-btn:hover {
  background: var(--primary-color);
  color: whitesmoke;
  box-shadow: var(--box-shadow);
}

/*Portfolio*/

.project {
  padding: 2rem 0;
}

.project .portfolio-title {
  font-weight: 700;
  font-size: 3.8rem;
  text-transform: uppercase;
  color: var(--title-color);
}

.project .button-group button {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 10rem;
  outline: none;
  cursor: pointer;
}

.project .button-group button:active,
.project .button-group button:hover {
  color: var(--primary-color);
}

.project .button-group button + button {
  padding-left: 5rem;
}

.project .grid .our-project > .title h4 {
  font-weight: 700;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-top: 1rem;
}

.project .grid .our-project .img a:hover img {
  filter: brightness(1.1) drop-shadow(1px 8px 30px #b1afaf);
}

.portfolio-text {
  margin-top: 1rem;
  font-size: 1.6rem;
  color: var(--secondary-text-color);
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.align-btn2 {
  margin-top: 3rem;
}

.secondary-btn {
  text-decoration: none;
  padding: 1rem 3rem;
  background: var(--primary-color);
  border-radius: 0.4rem;
  color: whitesmoke;
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.secondary-btn:hover {
  background: transparent;
  border: 1.5px solid var(--primary-color);
  color: var(--text-color);
  box-shadow: var(--box-shadow);
}

/*About Me*/

.about {
  padding: 2rem 0;
}

.about h2 {
  font-weight: 700;
  font-size: 4.8rem;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  padding-bottom: 4rem;
  color: var(--title-color);
}

.about-me-img {
  width: 35rem;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  margin-top: 3rem;
}

.paragraph {
  max-width: 400px;
  padding-bottom: 2.5rem;
  font-size: 1.6rem;
  line-height: 2.5rem;
  font-weight: 500;
}

.third-btn {
  text-decoration: none;
  padding: 1.5rem 3rem;
  background: var(--primary-color);
  border: none;
  border-radius: 0.4rem;
  color: whitesmoke;
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.third-btn:hover {
  background: transparent;
  border: 1.5px solid var(--primary-color);
  color: var(--text-color);
  box-shadow: var(--box-shadow);
}

/*Footer*/

section.footer-area {
  padding: 10rem 0;
  text-align: center;
}

.logo {
  width: 8rem;
  margin-bottom: 1rem;
}

.social h5 {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 500;
  margin: 1rem 0;
  color: var(--title-color);
  letter-spacing: 0.1rem;
}

.social a {
  font-size: 3.2rem;
  margin-left: 2rem;
}

.social .fas {
  color: #f05454;
}

.social .fab {
  color: #0072b1;
}

.copyrights {
  margin-top: 1rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-color);
}

.copyrights a {
  text-decoration: none;
}

@media (max-width: 868px) {
  /*Header*/

  body.disabled {
    overflow: hidden;
  }

  .icon {
    display: block;
  }

  .icon.hide {
    display: none;
  }

  .navbar .menu-list {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    max-width: 43rem;
    background: var(--text-color);
    display: block;
    padding: 10rem 0rem;
    text-align: center;
    transition: all 0.3s ease;
  }

  .home-active {
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .navbar.show .menu-list {
    left: 0%;
  }

  .navbar .menu-list li {
    margin-top: 5rem;
  }

  .navbar .menu-list li a {
    font-size: 2rem;
    color: #fff;
    margin-left: -100%;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .navbar.show .menu-list li a {
    margin-left: 0px;
  }
}
