html {
  box-sizing: border-box;
}

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

html,
body {
  font-family: 'Roboto', sans-serif;
}

p {
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: #000;
}

a:hover {
  color: #666;
}

.header {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
}

.logo {
  width: 100%;
  padding: 1rem;
  margin: 0;
}

.logo img {
  width: 100%;
  height: auto;
}

.gallery-wrapper {
  width: 100%;
  padding: 1rem;
}

.owl-carousel .item {
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 256px;
}

.main,
.footer {
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
  padding-bottom: 1rem;
}

.main {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.content-clients {
  position: relative;
}

.content-clients .back {
  position: absolute;
  top: -.6rem;
  right: 0rem;
}

.content-clients p b {
  font-weight: 500;
}

.footer p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 500;
}

@media screen and (min-width: 740px) {
  .logo {
    width: 20%;
    padding: 1rem 0 1rem 1rem;
  }

  .gallery-wrapper {
    width: 80%;
  }

  .owl-carousel .item {
    height: 400px;
  }  
}

@media screen and (min-width: 1024px) {
  html,
  body {
    width: 100%;
    height: 100vh;
  }

  .header,
  .gallery-wrapper,
  .owl-carousel,
  .owl-carousel .item {
    height: calc(100vh - 4rem);
  }

  .logo {
    padding: 2rem 0 2rem 2rem;
  }

  .gallery-wrapper {
    padding: 2rem 2rem 0 2rem;
  }

  .main {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    left: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: hidden;
  }

  .main .content {
    padding: 2rem 2.5rem 3rem 2.5rem;
    max-width: 810px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: left;
    z-index: 1;
    max-height: 100vh;
    overflow-y: auto;
  }

  .content p {
    font-size: 20px;
  }

  .content.content-clients p {
    font-size: 15px;
  }

  .content-clients .back {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .footer {
    position: absolute;
    width: 20%;
    left: 0;
    bottom: 2rem;
    padding-bottom: 0;
  }
}