@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&display=swap");
html {
  font-size: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
  /* font-family: var(--font-inter); */
}

ul {
  list-style: none;
}

a {
  color: #333;
  text-decoration: none;
}

h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
  margin-top: 1rem;
}
h3 {
  margin: 1rem 0;
}

p {
  margin: 10px 0;
}

img {
  width: 100%;
}
ol > li {
  margin-left: 1rem;
}
blockquote {
  background: #555;
  padding: 1rem;
  border-radius: 0.25rem;
  font-style: italic;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #333;
  color: #fff;
  opacity: 0.9;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0px;
  padding: 0 30px;
  transition: 0.5s ease-in;
}

.navbar.top {
  background: transparent;
}

.navbar .logo-wrapper a {
  color: #fff;
  display: flex;
  align-items: center;
}
.navbar .logo-wrapper-mobile {
  display: none;
}
.navbar .logo {
  font-weight: 400;
  width: 4rem;
  height: 4rem;
}
.navbar .logo-mobile {
  max-width: 4rem;
  max-height: 4rem;
}
.navbar .logo-text {
  font-family: "Goldman", cursive;
  text-transform: uppercase;
  font-size: 1.5rem;
}

.navbar .nav-menu {
  display: flex;
}

.navbar .nav-menu a {
  color: #fff;
  padding: 15px;
  margin: 0 5px;
}

.navbar .nav-menu ul a:hover {
  border-bottom: #f00 2px solid;
}

.navbar ul {
  display: flex;
  align-items: center;
}

/* Header */
.hero {
  background: url("../img/home/showcase.webp") no-repeat center center/cover;
  background-attachment: fixed;
  height: 100vh;
  position: relative;
  color: #fff;
  opacity: 0.8;
}

/* Service */
.laptop-repair {
  background: url("../img/services/laptop-repair.jpg") no-repeat center
    center/cover;
}
.computer-virus {
  background: url("../img/services/virus-removal.jpg") no-repeat center
    center/cover;
}

.hero.schedule {
  height: 20vh;
}

.hero .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 0 20px;
}

.hero .content h1 {
  font-size: 55px;
}

.hero .content p {
  font-size: 23px;
  max-width: 600px;
  margin: 20px 0 30px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero * {
  z-index: 10;
}

.hero.blog {
  background: url("../img/home/blog.jpg") no-repeat center center/cover;
  height: 30vh;
}

/* Icons */
.icons {
  padding: 30px;
}

.icons h3 {
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.icons i {
  background-color: #f00;
  color: #fff;
  padding: 0.8rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  height: 4rem;
  width: 4rem;
  display: block;
  text-align: center;
}

.cases img:hover {
  opacity: 0.7;
}

.team img {
  border-radius: 2%;
}

/* Call back form */

.callback-form {
  width: 100%;
  padding: 20px;
}

.callback-form label {
  display: block;
  margin-bottom: 5px;
}

.callback-form .form-control {
  margin-bottom: 15px;
}

.callback-form input {
  width: 100%;
  padding: 0.375rem;
  height: 40px;
  border: #333 1px solid;
}

.callback-form input:focus,
.callback-form textarea:focus {
  outline-color: #f00;
}

.callback-form textarea {
  width: 100%;
  padding: 0.375rem;
  height: 200px;
  border: #333 1px solid;
}

.callback-form .btn {
  padding: 12px 0;
  margin-top: 20px;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0.75rem 3rem;
}

.footer p {
  display: block;
}

.footer a {
  color: #fff;
}

.footer .footer-link:hover {
  color: #f00;
}

.footer .social {
  padding: 1rem 0;
  width: 100%;
  text-align: center;
}
.footer .social > * {
  margin-right: 30px;
  color: #fff;
}

/* Schedule */
.schedule {
  place-items: center;
}
.rs-widget-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 35px;
  height: 100%;
  width: 100%;
}
.rs-widget-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Mobile */
@media (max-width: 1040px) {
  .navbar .nav-menu .btn-pill {
    display: none;
  }
}
@media (max-width: 880px) {
  .navbar .logo-wrapper {
    display: none;
  }
  .navbar .logo-wrapper-mobile {
    display: flex;
  }
  .navbar .logo-wrapper-mobile a {
    display: flex;
    align-items: center;
    color: #fff;
  }
  .flex-items {
    flex-direction: column;
    text-align: center;
  }

  .flex-columns .column,
  .flex-grid .column {
    flex: 100%;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .hero .content h1 {
    font-size: 3rem;
  }
  .navbar {
    flex-direction: column;
    height: 120px;
  }

  .navbar .logo-mobile {
    max-width: 5rem;
  }

  .navbar .nav-menu a {
    padding: 10px 10px;
    margin: 0 3px;
  }

  .flex-items {
    flex-direction: column;
  }

  .flex-columns .column,
  .flex-grid .column {
    flex: 100%;
    max-width: 100%;
  }
}
