* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: black;
}

.navstyle {
  z-index: 9;
}

.newnavstyle {
  background-color: whitesmoke;
  padding-bottom: 10px;
  transition: all 0.5s;
  z-index: 9;
}

@media (max-width: 992px) {
  .mobileMenu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: -200px;
    margin: auto;
    transform: translateX(-100%);
    transition: all ease 0.5s;
    z-index: 99;
    text-align: center;
  }

  .mobileMenu.onRight {
    top: 4%;
    left: auto;
    right: 0;
    transform: translateX(100%);
  }
  .mobileMenu.open {
    transform: translateX(0);
  }

  .bg-color {
    background-color: whitesmoke;
  }
}

.bg1 {
  background-color: #efefff;
  height: 100vh;
  z-index: -1;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 900;
}
.type {
  color: #0275d8;
  font-weight: bolder;
  text-decoration: underline;
  font-weight: bolder;
}

.title {
  font-size: 5rem;
}

.subtitle {
  font-size: 20px;
}

@media (min-width: 360px) and (max-width: 479px) {
  .bg3 {
    height: 20vh;
  }

  .button-style {
    font-size: 2vw;
  }
}

@media (min-width: 480px) and (max-width: 574px) {
  .bg3 {
    height: 20vh;
  }

  .button-style {
    font-size: 2vw;
  }
}

@media (min-width: 575px) and (max-width: 767px) {
  .button-style {
    font-size: 2vw;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .free {
    font-size: 4vw;
  }
  .button-style {
    font-size: 2vw;
  }
}

@media (min-width: 992px) {
  .subtitle {
    font-size: 2rem;
  }
}

.free {
  font-size: 5vw;
  font-weight: bolder;
}
.button-style {
  color: white;
  position: absolute;
  top: 75%;
  left: 50%;
  border-radius: 100px;
  font-size: 2vw;
  font-weight: bold;
  background-color: teal;
  transform: translate(-50%, 30%);
}

/*------Education style--------------*/

.sticky {
  top: 30vh;
  position: sticky;
}

li a {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: bolder;
  color: black;
}

li a:hover {
  text-decoration: none;
  color: black;
}

.icon {
  float: left;
}

.fa-school,
.fa-university,
.fa-diploma,
.fa-school,
.fa-location-circle,
.fa-phone-alt,
.fa-paper-plane,
.fa-briefcase {
  color: #4c4cff;
}

/*------------Services------------------*/

.box {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.bg3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    url("../images/freelancing.jpg");
  height: auto;
  background-size: cover;
  background-attachment: fixed;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 0.5s ease-in-out;
}

.cont:hover .overlay {
  height: 30%;
}

.text {
  color: white;
  font-size: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.zoom {
  width: auto;
  height: auto;
  overflow: hidden;
}

.zoom img {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.zoom:hover img {
  transform: scale(1.1);
  transition: all 1s;
}

/*******************freelancing******************/

/*---------Footer------*/

.bg-dark {
  background-color: black !important;
}

.fa-facebook-f,
.fa-twitter,
.fa-instagram {
  color: white;
  float: left;
}
