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

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

ul {
  list-style: none;
}

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

h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
}

p {
  margin: 10px 0;
}

span.size-color {
  color: #28a745;
  font-size: 75px;
}

/* img {
  width: 100%;
} */

/* Logo */
#logo {
  width: 280px;
  height: 60px;
}

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

.navbar.top {
  background: transparent;
}

.navbar a {
  color: #fff;
  padding: 10px 20px;
  margin: 0 5px;
}

.navbar a:hover {
  border-bottom: #28a745 2px solid;
}

.navbar ul {
  display: flex;
}

/* Header */
.hero {
  height: 100vh;
  width: 100%;
  background: url(../img/home/hero.jpg) no-repeat center center/cover;
  position: relative;
  color: #fff;
}

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

.hero .content h1 {
  display: block;
  font-size: 55px;
  margin-bottom: 20px;
  z-index: -0;
}
.hero .content p {
  display: block;
  font-size: 25px;
  margin-top: 10px;
  text-align: center;
  z-index: -0;
}

.hero .content a {
  z-index: -0;
}

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

.hero * {
  z-index: 1;
}

/* Flex Columns */
.flex-columns .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  background: #f4f4f4;
}

.flex-columns .column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.flex-columns .column .column-1,
.flex-columns .column .column-2 {
  height: 100%;
  border: none;
}

.flex-columns img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flex-columns .column-1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px;
}

.icons {
  padding: 30px 50px;
}

.icons h3 {
  font-weight: bold;
  margin-bottom: 15px;
}

.icons i {
  background-color: #28a745;
  color: #fff;
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Clients Slider */
.wrapper {
  width: 100vw;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #28a745;
}

.slider {
  width: 1600px;
  height: 100px;
  position: relative;
  background: white;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.2);
  display: flex;
  overflow: hidden;
  z-index: -0;
}

.slide {
  height: 100px;
  display: flex;
  align-items: center;
  animation: slideshow 30s linear infinite;
}

.slide img {
  height: 70px;
  padding: 0 30px 0 30px;
}

@keyframes slideshow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.slider::before,
.slider::after {
  height: 100px;
  width: 200px;
  position: absolute;
  content: "";
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 2;
}

.slider::before {
  left: 0;
  top: 0;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

/* Contact */
.callback-form {
  width: 100%;
  padding: 20px 0;
}

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

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

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

.callback-form input,
.callback-form textarea {
  width: 100%;
  padding: 4px;
  height: 40px;
  border: #f5f5f5 1px solid;
}

.callback-form textarea {
  font-family: "Roboto", sans-serif;
  height: 200px;
  line-height: 1.6;
  font-size: 13px;
  font-weight: 580;
}

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

.callback-form .btn:hover {
  opacity: 0.9;
}

/* Footer */
#main-footer {
  background: #333;
  color: #fff;
}

#main-footer img {
  width: 200px;
}

#main-footer .footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding-top: 10px;
}

#main-footer .footer-container > *:last-child {
  background: #444;
  grid-column: 1 / span 3;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: 103px;
    padding: 10px 20px;
  }

  .navbar a {
    padding: 0px 10px;
    margin: 1px;
  }

  .hero .content p {
    font-size: 16px;
  }

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

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

  #logo {
    width: 250px;
    height: 55px;
  }

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

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

  .flex-items > div {
    padding: 20px 0;
  }

  .flex-items > div:first-child,
  .flex-items > div:nth-child(2) {
    border-bottom: rgba(51, 51, 51, 0.2) dotted 1px;
  }

  #main-footer .footer-container {
    grid-template-columns: 1fr;
  }

  #main-footer .footer-container > *:last-child {
    grid-column: 1;
    border: none;
  }

  #main-footer .footer-container > *:first-child,
  #main-footer .footer-container > *:nth-child(2) {
    border-bottom: #444 dotted 1px;
    padding: 1rem;
  }

  .slider::before,
  .slider::after {
    width: 90px;
  }
}
