/* Start Pre-Design */
:root {
  --dark-color: #19283f;
  --green-primary: #33d1cc;
  --green-secondary: #8c949f;
  --yellow-primary: #ff3150;
  --yellow-secondary: #ffc400;
  --secondary-color: #7f7f7f;
  --section-color: #eff7fa;
  --main-trans: 0.3s;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: "Roboto", sans-serif;
}

.custom-btn,
.btn.custom-btn:hover {
  background-color: var(--yellow-primary);
  color: var(--yellow-secondary);
  border: 0;
  outline: 0;
}

.main-title {
  position: relative;
}

.main-title::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 2px;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--green-primary);
}

.main-text .desc {
  color: var(--secondary-color);
  font-size: 1.1rem;
  width: fit-content;
  margin: 0 auto;
}

@media (min-width: 1550px) {
  .shape {
    transform: translateX(-50%) scale(1.2) !important;
  }

  .main-text h2 {
    font-size: 3rem !important;
  }

  .main-text .desc {
    font-size: 1.25rem;
  }
}

@media (min-width: 2000px) {
  .shape {
    transform: translateX(-50%) scale(1.3) !important;
  }

  .main-text h2 {
    font-size: 4rem !important;
  }

  .main-text .desc {
    font-size: 1.75rem;
  }
}

@media (min-width: 2400px) {
  .shape {
    transform: translateX(-50%) scale(1.5) !important;
  }

  .main-text h2 {
    font-size: 5rem !important;
  }

  .main-text .desc {
    font-size: 2rem;
  }
}
/* End Pre-Design */

/* Start Header */
.navbar {
  background-color: var(--dark-color);
}

.navbar .navbar-toggler {
  color: white;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.navbar .navbar-toggler[aria-expanded="true"] {
  color: var(--green-primary);
}

.navbar .navbar-toggler[aria-expanded="true"] ~ .custom-btn {
  margin-left: 0 !important;
}

.navbar .search {
  color: var(--green-primary);
  cursor: pointer;
  border-left: 2px solid var(--green-primary);
  border-radius: 1px;
}

.navbar .search-input {
  position: absolute;
  bottom: -35px;
  right: 120px;
  background-color: var(--green-primary);
  outline: 0;
  border: 0;
  border-radius: 8px;
  caret-color: white;
  color: white;
  transition: var(--main-trans);
}

.navbar .search-input::placeholder {
  color: white;
}

.navbar-nav .nav-link,
.navbar-nav .nav-link.show {
  color: white;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--green-primary);
}

@media (min-width: 1550px) {
  .container-fluid-xxl {
    max-width: 100%;
    padding: 0 2em;
  }

  .navbar-nav .nav-link,
  .navbar .search,
  .navbar .login {
    font-size: 1.25rem;
  }

  .navbar .search-input {
    right: 30px;
  }
}

@media (min-width: 2000px) {
  .navbar-nav .nav-link,
  .navbar .search,
  .navbar .login {
    font-size: 1.5rem;
  }
}

@media (min-width: 2400px) {
  .navbar-nav .nav-link,
  .navbar .search,
  .navbar .login {
    font-size: 1.75rem;
  }
}
/* End Header */

/* Start Landing */
.landing {
  background-color: var(--dark-color);
  height: calc(100vh - 72px);
}

.landing .introduction .desc {
  color: var(--green-secondary);
}

@media (min-width: 1550px) {
  .landing .intro {
    font-size: 3rem;
  }

  .landing .desc {
    font-size: 1.25rem;
  }

  .landing .start {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 2000px) {
  .landing .intro {
    font-size: 4rem;
  }

  .landing .desc {
    font-size: 1.75rem;
  }

  .landing .start {
    font-size: 2rem !important;
  }
}

@media (min-width: 2400px) {
  .landing .intro {
    font-size: 5rem;
  }

  .landing .desc {
    font-size: 2rem;
  }

  .landing .start {
    font-size: 2.5rem !important;
  }
}
/* End Landing */

/* Start Services */
.services .services-cont {
  counter-reset: services;
}

.services .services-cont .service {
  position: relative;
  counter-increment: services;
}

.services .services-cont .service::before {
  content: counter(services);
  color: var(--section-color);
  display: inline-block;
  font-size: 13rem;
  line-height: 1;
  font-family: cursive;
}

.services .services-cont .service svg {
  margin-top: -1.5em;
  font-size: 3.5rem;
  color: var(--green-primary);
}

.services .services-cont .service h6 {
  color: var(--yellow-secondary);
}

.services .services-cont .service p {
  color: var(--green-secondary);
}

@media (max-width: 767.8px) {
  .services .services-cont .service:not(:first-child):before {
    margin-top: 0.1em;
  }
}

@media (min-width: 1550px) {
  .services .services-cont .service h6 {
    font-size: 2.25rem !important;
  }

  .services .services-cont .service p {
    font-size: 1.25rem;
  }
}

@media (min-width: 2000px) {
  .landing .start {
    font-size: 2rem !important;
  }

  .services .services-cont .service::before {
    font-size: 15rem;
  }

  .services .services-cont .service svg {
    font-size: 4.5rem;
    margin-top: -1.5em;
  }

  .services .services-cont .service h6 {
    font-size: 3rem !important;
  }

  .services .services-cont .service p {
    font-size: 1.5rem;
  }
}

@media (min-width: 2400px) {
  .landing .start {
    font-size: 2.5rem !important;
  }

  .services .services-cont .service::before {
    font-size: 17rem;
  }

  .services .services-cont .service svg {
    font-size: 5rem;
    margin-top: -1.5em;
  }

  .services .services-cont .service h6 {
    font-size: 3.25rem !important;
  }

  .services .services-cont .service p {
    font-size: 1.75rem;
  }
}
/* End Services */

/* Start Portfolio */
.portfolio {
  background-color: var(--section-color);
}

.portfolio .portfolio-filter button {
  transition: var(--main-trans);
  font-weight: 500;
}

.portfolio .portfolio-filter button:hover {
  color: var(--yellow-primary);
}

.portfolio .portfolio-filter button.active {
  background-color: var(--yellow-primary);
  color: var(--yellow-secondary);
}

.portfolio .portfolio-filter button.active:hover {
  color: var(--yellow-secondary);
}

.portfolio .container .image {
  max-height: 170px;
  margin-bottom: 1.5em;
  position: relative;
}

.portfolio .container .image::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: calc(100% - 15px);
  background-color: rgb(51 209 204 / 70%);
  transition: var(--main-trans);
  z-index: 1;
}

.portfolio .container .image:hover::after {
  width: calc(100% - 40px);
}

.portfolio .container .image::before {
  content: attr(data-name);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: white;
  font-size: 2rem;
  letter-spacing: 1px;
  text-transform: capitalize;
  display: none;
  z-index: 2;
}

.portfolio .container .image:hover::before {
  display: unset;
}

.portfolio .container .image img {
  width: 100%;
  height: 100%;
  padding: 0.5em;
  background-color: white;
  box-shadow: 0 0 5px 0px rgb(0 0 0 / 40%);
}

@media (min-width: 1550px) {
  .portfolio-filter button {
    font-size: 1.75rem !important;
  }

  .portfolio .container .image::before {
    font-size: 3rem;
  }

  .portfolio .container .image {
    max-height: 225px;
  }
}

@media (min-width: 2000px) {
  .portfolio-filter button {
    font-size: 2rem !important;
  }

  .portfolio .container .image::before {
    font-size: 3.5rem;
  }

  .portfolio .container .image {
    max-height: 270px;
  }
}

@media (min-width: 2400px) {
  .portfolio-filter button {
    font-size: 2.25rem !important;
  }

  .portfolio .container .image::before {
    font-size: 4rem;
  }

  .portfolio .container .image {
    max-height: 310px;
  }
}
/* End Portfolio */

/* Start About */
.about .about-text {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  color: var(--secondary-color);
}

.about .container .text p {
  color: var(--secondary-color);
}

@media (min-width: 1550px) {
  .about .about-text {
    max-width: 600px;
    font-size: 1.25rem;
  }

  .about .container .text {
    flex: 0 0 auto;
    width: 55%;
  }

  .about .container .image {
    flex: 0 0 auto;
    width: 45%;
  }

  .about .container .text h4 {
    font-size: 2.25rem;
  }

  .about .container .text p {
    font-size: 1.25rem;
  }

  .about .container .text a {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 2000px) {
  .about .about-text {
    max-width: 700px;
    font-size: 1.5rem;
  }

  .about .container .text {
    flex: 0 0 auto;
    width: 60%;
  }

  .about .container .image {
    flex: 0 0 auto;
    width: 40%;
  }

  .about .container .text h4 {
    font-size: 2.5rem;
  }

  .about .container .text p {
    font-size: 1.5rem;
  }

  .about .container .text a {
    font-size: 2rem !important;
  }
}

@media (min-width: 2400px) {
  .about .about-text {
    max-width: 900px;
    font-size: 2rem;
  }

  .about .container .text {
    flex: 0 0 auto;
    width: 65%;
  }

  .about .container .image {
    flex: 0 0 auto;
    width: 35%;
  }

  .about .container .text h4 {
    font-size: 3rem;
  }

  .about .container .text p {
    font-size: 2rem;
  }

  .about .container .text a {
    font-size: 2.5rem !important;
  }
}
/* End About */

/* Start Team */
.team {
  background-color: var(--section-color);
}

.team .title {
  color: var(--yellow-secondary);
}

.team .desc {
  color: var(--secondary-color);
}

.team p.name {
  background-color: var(--green-primary);
  color: white;
  letter-spacing: 1px;
}

.team p.card-text .card-text-desc {
  position: relative;
}

.team p.card-text .card-text-desc svg.left,
.team p.card-text .card-text-desc svg.right {
  position: absolute;
  font-size: 0.75rem;
}

.team p.card-text .card-text-desc svg.left {
  top: -3px;
  left: 9px;
}

.team p.card-text .card-text-desc svg.right {
  bottom: 9px;
  right: 12px;
}

@media (min-width: 1550px) {
  .team .title {
    font-size: 3rem !important;
  }

  .team .desc {
    font-size: 1.25rem;
  }

  .team p.name {
    font-size: 1.5rem !important;
  }

  .team p.card-text {
    font-size: 1.15rem;
  }
}

@media (min-width: 2000px) {
  .team .title {
    font-size: 4rem !important;
  }

  .team .desc {
    font-size: 1.75rem;
  }

  .team p.name {
    font-size: 2rem !important;
  }

  .team p.card-text {
    font-size: 1.5rem;
  }

  .team p.card-text .card-text-desc svg.left,
  .team p.card-text .card-text-desc svg.right {
    position: absolute;
    font-size: 1rem;
  }

  .team p.card-text .card-text-desc svg.left {
    top: -3px;
    left: 2px;
  }

  .team p.card-text .card-text-desc svg.right {
    bottom: 9px;
    right: 2px;
  }
}

@media (min-width: 2400px) {
  .team .title {
    font-size: 5rem !important;
  }

  .team .desc {
    font-size: 2rem;
  }

  .team p.name {
    font-size: 2.5rem !important;
  }

  .team p.card-text {
    font-size: 1.8rem;
  }

  .team p.card-text .card-text-desc svg.left,
  .team p.card-text .card-text-desc svg.right {
    position: absolute;
    font-size: 1.25rem;
  }

  .team p.card-text .card-text-desc svg.left {
    top: -3px;
    left: 0px;
  }

  .team p.card-text .card-text-desc svg.right {
    bottom: 9px;
    right: 0px;
  }
}
/* End Team */

/* Start Tech */
.tech {
  overflow: hidden;
}

.tech .row {
  width: max-content;
  animation: scroll-left 70s linear infinite;
}

.tech svg {
  width: 80px;
  fill: var(--secondary-color);
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 2000px) {
  .tech svg {
    width: 100px;
  }
}

@media (min-width: 2400px) {
  .tech svg {
    width: 120px;
  }
}
/* End Tech */

/* Start Project */
.project {
  background-color: var(--dark-color);
}

.project .title {
  color: white;
}

.project .desc {
  color: var(--green-secondary);
}

@media (min-width: 1550px) {
  .project .title {
    font-size: 3rem !important;
  }

  .project .desc {
    font-size: 1.25rem;
  }

  .project a {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 2000px) {
  .project .title {
    font-size: 4rem !important;
  }

  .project .desc {
    font-size: 1.75rem;
  }

  .project a {
    font-size: 2rem !important;
  }
}

@media (min-width: 2400px) {
  .project .title {
    font-size: 5rem !important;
  }

  .project .desc {
    font-size: 2rem;
  }

  .project a {
    font-size: 2.5rem !important;
  }
}
/* End Project */

/* Start Blog */
.blog .card-text {
  color: var(--secondary-color);
}

@media (min-width: 1550px) {
  .blog .card-text {
    font-size: 1.5rem;
  }

  .blog .card-title {
    font-size: 1.75rem !important;
  }
}

@media (min-width: 2000px) {
  .blog .card-text {
    font-size: 1.75rem;
  }

  .blog .card-title {
    font-size: 2.25rem !important;
  }
}

@media (min-width: 2400px) {
  .blog .card-text {
    font-size: 2rem;
  }

  .blog .card-title {
    font-size: 2.75rem !important;
  }
}
/* End Blog */

/* Start Subscription */
.subscription {
  background-color: var(--yellow-secondary);
}

.subscription .form input[type="email"] {
  border: 0;
  outline: 0;
  border-bottom: 1px solid white;
  background-color: transparent;
  color: white;
  font-size: 1.25rem;
}

.subscription .form input[type="email"]::placeholder {
  color: white;
}

.subscription .form input[type="submit"] {
  background-color: var(--dark-color);
}

@media (min-width: 1550px) {
  .subscription .form .title {
    font-size: 1.75rem;
  }

  .subscription .form input[type="email"] {
    font-size: 1.5rem;
  }

  .subscription .form input[type="submit"] {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 2000px) {
  .subscription .form .title {
    font-size: 2.25rem;
  }

  .subscription .form input[type="email"] {
    font-size: 2rem;
  }

  .subscription .form input[type="submit"] {
    font-size: 1.75rem !important;
  }
}

@media (min-width: 2400px) {
  .subscription .form .title {
    font-size: 2.75rem;
  }

  .subscription .form input[type="email"] {
    font-size: 2.5rem;
  }

  .subscription .form input[type="submit"] {
    font-size: 2.25rem !important;
  }
}
/* End Subscription */

/* Start Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--green-secondary);
}

.footer .creator {
  color: var(--green-primary);
}

.footer .right {
  color: var(--yellow-secondary);
}

.footer .title {
  color: white;
}

.footer .link-list-item {
  width: 100%;
  list-style: none;
  justify-items: center;
}

.footer .nav-link {
  width: fit-content;
  margin-top: 0.75em;
}

.footer .socials a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 0.75em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer .socials a.facebook {
  background-color: #1877f2;
}

.footer .socials a.x {
  background-color: #000000;
}

.footer .socials a.linkedin {
  background-color: #0a66c2;
}

.footer .socials a.youtube {
  background-color: #ff0000;
}

.footer svg {
  width: 30px;
  height: 100%;
}

@media (min-width: 992px) {
  .footer .link-list-item {
    justify-items: unset;
  }
}

@media (min-width: 1550px) {
  .footer .container > .row {
    font-size: 1.5rem;
  }

  .footer img {
    width: 25%;
  }

  .footer .title {
    font-size: 2rem;
  }

  .footer .btn {
    font-size: 1.5rem !important;
  }

  .footer .socials a {
    width: 60px;
    height: 60px;
  }
}

@media (min-width: 2000px) {
  .footer .container > .row {
    font-size: 2rem;
  }

  .footer img {
    width: 30%;
  }

  .footer .title {
    font-size: 2.5rem;
  }

  .footer .btn {
    font-size: 2rem !important;
  }

  .footer .socials a {
    width: 80px;
    height: 80px;
  }

  .footer svg {
    width: 40px;
  }
}

@media (min-width: 2400px) {
  .footer .container > .row {
    font-size: 2.5rem;
  }

  .footer .title {
    font-size: 3rem;
  }

  .footer .btn {
    font-size: 2.5rem !important;
  }

  .footer .socials a {
    width: 80px;
    height: 80px;
  }

  .footer svg {
    width: 45px;
  }
}
/* End Footer */
