body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
#banner {
  background: linear-gradient(rgba(0, 0, 0, 0.5), #522981),
    url(/src/assets/img/bgBarber.jpg);
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.logo {
  width: 90px;
  position: absolute;
  top: 4%;
  left: 10%;
  filter: drop-shadow(1px 1px 1px rgb(174, 0, 255));
}
.banner-text {
  text-align: center;
  color: #fff;
  padding-top: 180px;
}
.banner-text h1 {
  font-size: 80px;
  font-family: "Kaushan Script", cursive;
}
.banner-text p {
  font-size: 20px;
  font-style: italic;
}
.banner-btn {
  margin: 70px auto 0;
}
.banner-btn a {
  width: 150px;
  text-decoration: none;
  display: inline-block;
  margin: 0 10px;
  padding: 12px 0;
  color: #fff;
  border: 0.5px solid #fff;
  position: relative;
  z-index: 1;
  transition: color 0.5s;
}
.banner-btn a span {
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #00ff95;
  z-index: -1;
  transition: 0.5s;
}
.banner-btn a:hover span {
  width: 100%;
}
.banner-btn a:hover {
  color: #000;
}
#sideNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 250px;
  height: 60vh;
  position: fixed;
  margin-right: -10px;
  top: 20%;
  right: 0;
  background: #522981;
  z-index: 2;
  transition: 0.5s;
  border-radius: 25px;
}
.nav-bar {
  justify-content: center;
  align-items: center;
  text-align: end;
  justify-content: space-between;
}
.nav-links {
  list-style: none;
}
.nav-links li {
  margin: 0;
  padding: 5px 0;
}
.nav-links a {
  color: white;
  letter-spacing: 1;
  font-size: 25px;
  font-weight: 900;
  text-decoration: none;
}
.nav-links a:hover {
  color: rgb(21, 255, 0);
}

.nav-links li:hover {
  color: rgb(251, 255, 0);
  border-bottom: 5px solid rgb(0, 0, 0);
  border-radius: 5px;
}

#menuBtn {
  width: 50px;
  height: 50px;
  background: #522981;
  text-align: center;
  position: fixed;
  right: 30px;
  top: 20px;
  border-radius: 3px;
  z-index: 3;
  cursor: pointer;
}
#menuBtn img {
  width: 20px;
  margin-top: 15px;
}

@media screen and (max-width: 770px) {
  .banner-text h1 {
    font-size: 44px;
  }
  .banner-btn a {
    display: block;
    margin: 20px auto;
  }
}

/*--FEATURE--*/
#feature {
  width: 100%;
  padding: 70px 0;
  background: rgb(230, 214, 4);
}
.title-text {
  text-align: center;
  padding-bottom: 70px;
}
.title-text p {
  margin: auto;
  font-size: 20px;
  color: #522981;
  font-weight: bold;
  position: relative;
  z-index: 1;
  display: inline-block;
}

.title-text h1 {
  font-size: 50px;
}
.feature-box {
  width: 80%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
}
.features {
  flex-basis: 50%;
}
.features-img {
  flex-basis: 50%;
  margin: auto;
}
.features-img img {
  width: 70%;
  border-radius: 10px;
}
.features h1 {
  text-align: left;
  margin-bottom: 10px;
  font-weight: 100;
  color: #575757;
}
.features-desc {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.feature-icon .fa {
  width: 50px;
  height: 50px;
  font-size: 30px;
  line-height: 50px;
  border-radius: 8px;
  color: #522981;
  border: 1px solid #522981;
}
.feature-text p {
  padding: 0 20px;
  text-align: initial;
}
@media screen and (max-width: 770px) {
  .title-text h1 {
    font-size: 35px;
  }
  .features {
    flex-basis: 100%;
  }
  .features-img {
    flex-basis: 100%;
  }
  .features-img img {
    width: 100%;
  }
}

/*--SERVICE--*/
#service {
  width: 100%;
  padding: 70px 0;
  background: #efefef;
}
.service-box {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: auto;
}
.single-service {
  flex-basis: 48%;
  text-align: center;
  border-radius: 7px;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
}
.single-service img {
  width: 100%;
  border-radius: 7px;
}
.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  border-radius: 7px;
  cursor: pointer;
  background: linear-gradient(rgba(0, 0, 0, 0.5), #522981);
  opacity: 0;
  transition: 1s;
}
.single-service:hover .overlay {
  opacity: 1;
}
.service-desc {
  width: 80%;
  position: absolute;
  bottom: 40%;
  left: 50%;
  opacity: 0;
  transform: translateX(-50%);
  transition: 1s;
}
hr {
  background: #fff;
  height: 2px;
  border: 0;
  margin: 15px auto;
  width: 60%;
}
.service-desc p {
  font-size: 14px;
}
.single-service:hover .service-desc {
  bottom: 40%;
  opacity: 1;
}
@media screen and (max-width: 770px) {
  .single-service {
    flex-basis: 100%;
    margin-bottom: 30px;
  }
  .service-desc p {
    font-size: 12px;
  }
  hr {
    margin: 5px auto;
  }
  .single-service:hover .service-desc {
    bottom: 25% !important;
  }
}
/*---TESTIMONIAL---*/
#testimonial {
  width: 100%;
  padding: 70px 0;
}
.testimonial-row {
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.testimonial-col {
  flex-basis: 28%;
  padding: 10px;
  margin-bottom: 30px;
  border-radius: 5px;
  box-shadow: 0 10px 20px 3px #52298114;
  cursor: pointer;
  transition: transform 0.5s;
}
.testimonial-col p {
  font-size: 14px;
}
.user {
  display: flex;
  align-items: center;
  margin: 20px 0;
}
.user img {
  width: 40px;
  margin-right: 20px;
  border-radius: 3px;
}
.user-info .fa {
  margin-left: 10px;
  color: #27c0ff;
  font-size: 20px;
}
.user-info small {
  color: #522981;
}
.testimonial-col:hover {
  transform: translateY(-7px);
}
@media screen and (max-width: 770px) {
  .testimonial-col {
    flex-basis: 100%;
  }
}
/*---Cita---*/

#cita {
  width: 100%;
  padding: 70px 0;
}
.cita-row {
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.container {
  max-width: 700px;
  width: calc(100% - 100px);
}
.header {
  margin-bottom: 2em;
  color: var(--secondary);
  font-size: 1.5em;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.form-section {
  margin-bottom: 1em;
  display: flex;
  align-items: center;
}
.form-label {
  width: 5em;
  margin-right: 1em;
  font-size: 0.8em;
  font-weight: 600;
  text-align: right;
}
.input-container {
  display: flex;
  width: 100%;
}
.form-input,
.form-select {
  width: 100%;
  background: white;
}

.input-icon {
  background-color: #f1faf1;
}
.form-input,
.input-icon,
.form-select {
  border: 1px solid rgba(147, 128, 108, 0.25);
  padding: 0.5em 0.75em;
}
.form-input:first-child,
.input-icon:first-child,
.form-select:first-child {
  border-radius: 5px 0 0 5px;
}
.form-input:last-child,
.input-icon:last-child,
.form-select:last-child {
  border-radius: 0 5px 5px 0;
}
.button {
  text-align: center;
  text-transform: capitalize;
  width: 100%;
  background: blueviolet;
  color: white;
  margin-top: 1em;
  padding: 1em;
  border: 0;
  border-radius: 0.3em;
  cursor: pointer;
  transition: all ease 0.5s;
  overflow: hidden;
}
.button:hover {
  text-indent: -20px;
  background: blueviolet;
}
.button:after {
  content: "→";
  transition: all ease 0.5s;
  position: relative;
  opacity: 0;
  left: -12px;
}
.button:hover:after {
  content: "→";
  transition: all ease 0.5s;
  opacity: 1;
  left: 8px;
}
.button:focus {
  -webkit-animation: radial-pulse 1s;
  animation: radial-pulse 1s;
}
@-webkit-keyframes radial-pulse {
  0% {
    box-shadow: 0 0 0 0 #32a09f;
  }
  100% {
    box-shadow: 0 0 0 0.4em rgba(0, 0, 0, 0);
  }
}

@keyframes radial-pulse {
  0% {
    box-shadow: 0 0 0 0 #32a09f;
  }
  100% {
    box-shadow: 0 0 0 0.4em rgba(0, 0, 0, 0);
  }
}

@media only screen and (max-width: 545px) {
  .container {
    width: calc(100% - 50px);
  }
  .form-section {
    margin-bottom: 0.5em;
    display: flex;
    flex-direction: column;
  }
  .form-label {
    width: 100%;
    margin-bottom: 0.5em;
    margin-right: 0;
    font-size: 0.8em;
    font-weight: 600;
    text-align: left;
  }
}
@media only screen and (max-width: 300px) {
  .container {
    width: calc(100%);
  }
  .form-container {
    border-radius: 0;
  }
}
iframe {
  margin-top: 10px;
}

/*--FOOTER--*/
#footer {
  padding: 100px 0 20px;
  background: #efefef;
  position: relative;
}
.footer-row {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-left,
.footer-right {
  flex-basis: 45%;
  padding: 10px;
  margin-bottom: 20px;
}
.footer-right {
  text-align: right;
}
.footer-row h1 {
  margin: 10px 0;
}
.footer-row p {
  line-height: 35px;
}
.footer-left .fa,
.footer-right .fa {
  font-size: 20px;
  color: #522981;
  margin: 10px;
}
.footer-img {
  max-width: 370px;
  opacity: 0.1;
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
}
.social-links {
  text-align: center;
}
.social-links .fa {
  height: 40px;
  width: 40px;
  font-size: 20px;
  line-height: 40px;
  border: 2.5px solid #522981;
  margin: 40px 5px 0;
  color: #522981;
  cursor: pointer;
  transform: 0.5s;
}
.social-links .fa:hover {
  background: #522981;
  color: #fff;
  transform: translateY(-7px);
}
.social-links p {
  font-size: 12px;
  margin-top: 20px;
}
@media screen and (max-width: 770px) {
  .footer-left,
  .footer-right {
    flex-basis: 100%;
    font-size: 14px;
  }
  .footer-img {
    top: 25%;
  }
}
