@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

section {
  background-color: gainsboro;
}

.banner {
  position: relative;
  display: flex;
  background-color: #222222;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-width: 100vw;
  background-repeat: no-repeat;
}

.banner a {
  text-decoration: none;
}

.banner .textbx h2 {
  font-size: 3rem;
  color: white;
  font-weight: 700;
}

.banner .textbx span {
  font-size: 3rem;
  font-weight: bold;
  color: #2196f3;
}

.banner .textbx h3 {
  font-size: 1rem;
  color: white;
  font-weight: normal;
  line-height: normal;
  letter-spacing: 1px;
}
.textbx {
  display: column;
  align-items: flex-start;
  justify-items: flex-start;
  max-width: 600px;
  margin: 2rem, 2rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  height: auto;
}

.btn-follow {
  position: relative;
  background: black;
  display: inline-block;
  padding: 14px 4rem;
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 18px;
  text-transform: capitalize;
  font-weight: 200;
  margin: 20px 0px;
  border: floralwhite 1px solid;
}
.btn-follow:hover {
  background-color: #eaeaea;
  padding: 14px 4rem;
  color: black;
  margin: 20px 0px;
  transition: 0.5s ease-in-out;
}

.hero-image {
  align-items: center;
  justify-content: center;
  min-width: 500px;
  min-height: 500px;
  border-top-left-radius: 50px;
  border-bottom-right-radius: 50px;
  border: 1px solid white;
  background-image: url("Assets/Nick-Benz-New.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  margin: 2rem;
  box-shadow: 5px 5px 15px black;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 100px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  transition: 0.5s;
}

header.sticky {
  background: #111111;
  padding: 20px 100px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header .logo {
  color: #ffffff;
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
}

header ul {
  position: relative;
  display: flex;
}

header ul li {
  position: relative;
  list-style-type: none;
  text-decoration: none;
  margin: 5px;
  border-radius: 5px;
}
ul li:hover {
  background-color: black;
  color: white;
  transition: 0.5s ease-in;
}

a {
  position: relative;
  display: inline-block;
  color: white;
  padding: 5px 20px;
}
a:hover {
  text-decoration: none;
  color: white;
}

.heading {
  display: block;
  text-align: center;
  padding: 1rem 0rem;
}

.heading h2 {
  font-weight: 600;
  font-size: 3rem;
}

.content {
  display: flex;
  grid-template-columns: repeat(2);
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
}

.contentBx {
  max-width: 100%;
  max-height: auto;
  padding: 1rem 4rem;
}

.contentBx h2 {
  margin-bottom: 10px;
}

.contentBx p {
  font-size: 0.5;
  font-weight: 600;
  color: #121212;
}

.info-div {
  max-width: 600px;
  height: auto;
  margin: 0 2rem;
  padding: 1rem;
}

.w50 h3 {
  min-width: 50%;
  font-size: 2rem;
  font-weight: 900;
}

img {
  max-width: 600px;
  border-radius: 2rem;
  margin: 1rem auto;
}

.services {
  background: #111111;
  display: grid;
  flex-direction: column;
}

.heading.white {
  color: #ffffff;
}

.services .content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  background-color: black;
  border-radius: 2rem;
  padding: 2rem;
}

.services .content .servicesBx {
  padding: 40px 30px;
  background: #222222;
  color: #ffffff;
  max-width: 300px;
  min-height: 350px;
  margin: 16px;
  text-align: center;
  transition: 0.5s;
  border-radius: 10px;
}

.services .content .servicesBx:hover {
  background: #2196f3;
  cursor: pointer;
}

.servicesBx img {
  max-width: 100px;
  background-color: white;
  filter: invert(1);
  object-fit: cover;
  border-radius: 50%;
  padding: 1rem;
}

.services .content .servicesBx h2 {
  font-size: 24px;
  font-weight: 400;
}

.work {
  display: grid;
  grid-template-columns: repeat(2);
  align-items: center;
  justify-content: center;
}
.content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.work .content .workBx img {
  max-width: 400px;
  margin: 20px;
}

.testimonial {
  background: #f7f7f7;
}

.testimonial .content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.testimonial .content .testimonialBx {
  max-width: calc(50% - 40px);
  padding: 60px 40px;
  margin: 20px;
  background: #2196f3;
}

.testimonial .content .testimonialBx p {
  color: #ffffff;
  font-style: italic;
  font-size: 16px;
  font-weight: 300;
}

.testimonial .content .testimonialBx h3 {
  margin-top: 40px;
  text-align: end;
  color: #ffffff;
  font-weight: 600;
  font-size: 20px;
  line-height: 1em;
}

.contact {
  background: #111111;
}

.formBx {
  min-width: 60%;
}

.formBx form {
  display: flex;
  flex-direction: column;
}

.formBx form h3,
.contactInfo h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.formBx form input,
.formBx form textarea {
  margin-bottom: 20px;
  padding: 15px;
  font-size: 16px;
  background: transparent;
  border: none;
  outline: none;
  background: #222222;
  color: #ffffff;
  resize: none;
}

.formBx form textarea {
  min-height: 200px;
}

.formBx form input::placeholder,
.formBx form textarea::placeholder {
  color: #999999;
}

.formBx form input[type="submit"] {
  max-width: 100px;
  background: #2196f3;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contactInfo {
  min-width: 40%;
}

.contactInfoBx {
  position: relative;
}

.contactInfoBx .box {
  position: relative;
  padding: 20px 0;
  display: flex;
}

.contactInfoBx .box .icon {
  min-width: 40px;
  padding-top: 4px;
  color: #ffffff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 24px;
}

.contactInfoBx .box .text {
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  color: #ffffff;
  flex-direction: column;
  font-weight: 300;
}

.contactInfoBx .box .text h3 {
  font-weight: 500;
  color: #2196f3;
  margin-bottom: 0;
}

.copyright {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  header,
  header.sticky {
    padding: 20px 50px;
    z-index: 1000;
  }

  .menu {
    position: fixed;
    top: 75px;
    left: -100%;
    display: block;
    padding: 100px 50px;
    text-align: center;
    width: 100%;
    height: 100vh;
    background: #000000;
    transition: 0.5s;
    z-index: 999;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
  }

  .menu.active {
    left: 0;
  }

  header ul li a {
    color: #ffffff;
    font-size: 24px;
    margin: 10px;
  }

  .toggle {
    width: 40px;
    height: 40px;
    background: url(Assets/menu.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
    cursor: pointer;
  }

  .toggle.active {
    background: url(Assets/cancel.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 25px;
    cursor: pointer;
  }

  header.sticky .toggle {
    filter: invert(1);
  }

  .banner .textbx {
    margin: 10px 20px;
    padding: 10px 10px;
  }

  .banner h2 {
    font-size: 2em;
  }

  .banner h3 {
    font-size: 0.9em;
  }
  .banner span {
    font-size: 2rem;
  }

  .textbx {
    min-width: 400px;
  }

  .btn {
    margin-top: 10px;
    padding: 10px 16px;
    font-size: 16px;
  }

  .heading h2 {
    font-size: 2rem;
    font-weight: 800;
  }

  .contentBx h3 {
    font-size: 20px;
  }

  .work .content {
    display: flex;
    flex-direction: row;
    border-radius: 10px;
  }

  .w50 {
    margin-bottom: 20px;
  }

  .services .content .servicesBx {
    margin: 10px;
  }

  .work .content .workBx {
    width: 100%;
    padding: 10px;
  }

  .testimonial .content .testimonialBx {
    max-width: calc(100% - 20px);
    padding: 40px 20px;
    margin: 10 px;
    background: #2196f3;
  }

  .testimonial .content .testimonialBx {
    margin-top: 20px;
  }

  .contactInfo {
    margin: 20px 0;
  }
  img {
    max-width: 400px;
    height: auto;
    border-radius: 2rem;
    margin: 1rem auto;
  }
  .work {
    display: grid;
    grid-template-columns: calc(2);
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  header header.sticky {
    padding: 20px 20px;
  }

  .banner .textbx {
    margin: 5rem 0.5rem;
    padding: 20px;
  }

  .content {
    display: flex;
    flex-direction: column;
  }

  .content .img {
    max-width: 600px;
  }

  .work .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .banner {
    padding: 10px 50px 100px;
    display: grid;
    grid-template-columns: calc(2);
  }

  .content .workBxCont .workBx img {
    max-width: 600px;
    height: auto;
    border-radius: 2rem;
    margin: 1rem auto;
  }
}

@media (max-width: 425px) {
  header header.sticky {
    padding: 20px 20px;
  }

  .hero-image {
    display: block;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 500px;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    border: 1px solid white;
    background-image: url("Assets/Nick-Benz-New.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 5px 5px 15px black;
  }

  .banner .textbx {
    padding: 40px;
  }

  .content {
    display: flex;
    flex-direction: column;
  }

  .content .img {
    max-width: 300px;
  }

  .work .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .banner {
    padding: 10px 50px 100px;
    display: grid;
    grid-template-columns: calc(1);
  }

  .content .workBxCont .workBx img {
    max-width: 300px;
    height: auto;
    border-radius: 2rem;
    margin: 1rem auto;
  }
}

@media (max-width: 375px) {
  header header.sticky {
    padding: 20px 20px;
  }

  .hero-image {
    display: block;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 500px;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    border: 1px solid white;
    background-image: url("Assets/Nick-Benz-New.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 5px 5px 15px black;
  }

  .banner .textbx {
    /* margin: 5rem 0.5rem; */
    padding: 40px;
    /* background-color: aqua; */
  }

  .content {
    display: flex;
    flex-direction: column;
  }

  .content .img {
    max-width: 300px;
  }

  .work .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .banner {
    padding: 10px 50px 100px;
    display: grid;
    grid-template-columns: calc(1);
  }

  .content .workBxCont .workBx img {
    max-width: 300px;
    height: auto;
    border-radius: 2rem;
    margin: 1rem auto;
  }
}
