:root {
  --primary-rgb: 139, 139, 139;
  --primary: rgb(var(--primary-rgb));
  --primary-dim-strong: rgba(var(--primary-rgb), 0.7);
  --primary-dim-medium: rgba(var(--primary-rgb), 0.3);
  --primary-dim-soft: rgba(var(--primary-rgb), 0.1);

  --black-rgb: 0, 0, 0;
  --black: rgb(var(--black-rgb));
  --black-dim-strong: rgba(var(--black-rgb), 0.7);
  --black-dim-medium: rgba(var(--black-rgb), 0.3);
  --black-dim-soft: rgba(var(--black-rgb), 0.2);

  --font: #000;
  --white: #fff;
}

body {
  color: var(--font);
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 400;
  overflow-x: hidden;
  margin: 0;
  background: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1 {
  font-size: 2.8em;
  font-weight: 600;
}

h2 {
  font-size: 2.2em;
  font-weight: 500;
}

h3 {
  font-size: 2em;
  font-weight: 600;
}

h4 {
  font-size: 1.4em;
  font-weight: 600;
}

p {
  font-size: 1.2em;
}

header {
  display: flex;
  justify-content: space-between;
  background: #ffffff;
  z-index: 100;
  position: fixed;
  width: 100%;
  height: 70px;
  top: 0;
  box-shadow: 0px 1px 2px 0px var(--black-dim-soft);
}

header #logo {
  padding-left: 50px;
  display: flex;
  align-items: center;
}

header #logo a {
  display: flex;
}

header #logo a img {
  width: 180px;
  height: auto;
}

header #desktop {
  display: flex;
  margin-right: 50px;
}

header #desktop a {
  padding: 0 25px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: var(--black);
  font-size: 0.8em;
  font-weight: 600;
  position: relative;
}

header #hamburger,
header #mobile {
  display: none;
}

main {
  width: 100%;
}

.cover-box {
  position: relative;
  overflow: hidden;
}

.cover-box::after,
.cover-box .overhover::after {
  content: "";
  background-color: var(--black-dim-medium);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
}

.cover-box .overhover::after {
  display: block;
}

.cover-box .cover-img {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.cover-box .cover-img img {
  object-fit: cover;
  width: 100%;
}

.cover-box .overhover {
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: var(--white);
  position: relative;
}

.full-bg {
  background-color: var(--primary);
}

.half-bg {
  background-color: var(--primary-dim-strong);
}

.icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 52px;
}

.icon-box img {
  width: 58px;
  height: 58px;
}

.cl {
  text-transform: uppercase;
}

/* slider start */
#slider {
  height: 100vh;
}

#slider .slide #slider-logo {
  display: none;
}

#slider .slide {
  width: 60%;
  text-align: center;
  z-index: 3;
}

#slider .slide h1 {
  margin-bottom: 40px;
}
/* slider end */

/* regular start */
.regular-box {
  padding: 100px 16%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.regular-box h3 {
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 70px;
}

/* regular end */

/* block with icon start */
.block-with-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.block-with-icon-box .block-with-icon {
  display: flex;
  margin-bottom: 50px;
}

.block-with-icon-box .block-with-icon p {
  display: flex;
  align-items: center;
  padding-left: 30px;
}
/* block with icon end */

/* tiles start */
.tiles-box {
  display: flex;
  flex-wrap: wrap;
}

.tiles-box a {
  width: calc(50% - 40px);
  margin-bottom: 60px;
  margin-right: 20px;
  margin-left: 20px;
  text-decoration: none;
  color: var(--font);
  transition-duration: 0.2s;
}

.tiles-box .tile {
  width: calc(50% - 40px);
  display: flex;
  margin-bottom: 60px;
  margin-right: 20px;
  margin-left: 20px;
  transition-duration: 0.2s;
}

.tiles-box a .tile {
  width: 100%;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
}

.tiles-box .tile .tile-text {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 20px 30px;
  justify-content: space-between;
}

/* tiles end */

#about img{
  width: 400px;
  padding: 0 0 50px;
  display: flex;
  justify-content: center;
}

#about h3 {
  margin-bottom: 40px;
}

footer {
  color: var(--white);
  background: var(--primary);
  padding: 90px 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}

footer img {
  width: 280px;
  margin-bottom: 30px;
}

footer #company-info {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 1em;
}

footer  #credits {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

footer #credits #createdby {
  display: flex;
  align-items: center;
}

footer #credits #createdby span {
  font-size: 14px;
  margin: 0 6px;
}

footer #credits #createdby img {
  width: 130px;
  margin: 0;
}

.tile-text p {
  font-size: 0.9em;
}

@media only screen and (max-width: 1700px) {
  .regular-box {
    padding: 100px 10%;
  }
 
  h1 {
    font-size: 2.6em;
  }

  h2 {
    font-size: 2.1em;
  }

  h3 {
    font-size: 2em;
  }

  p {
    font-size: 1.1em;
  }

  .icon-box {
    padding: 46px;
  }

  .icon-box img {
    width: 52px;
    height: 52px;
  }
}

@media only screen and (max-width: 1400px) {
  #slider .slide {
    width: 80%;
  }

  .regular-box {
    padding: 90px 10%;
  }

  h1 {
    font-size: 2.4em;
  }

  h2 {
    font-size: 2em;
  }

  h3 {
    font-size: 1.8em;
  }

  h4 {
    font-size: 1.2em;
  }

  p {
    font-size: 1.1em;
  }

  .regular-box h3 {
    margin-bottom: 50px;
  }

  .block-with-icon-box .block-with-icon {
    margin-bottom: 40px;
  }

  .tiles-box .tile {
    margin-bottom: 40px;
  }

  .tiles-box a {
    margin-bottom: 40px;
  }

  footer {
    padding: 60px 0;
  }

  #slider {
    min-height: 100vh;
    height: 100vh;
  }

  .tile-text p {
    font-size: 0.8em;
  }
}

@media only screen and (max-width: 1200px) {
  header #desktop {
    display: none;
  }

  header #hamburger {
    display: block;
    padding: 0 25px;
    font-size: 42px;
    background: var(--white);
    border: none;
  }

  header #mobile {
    top: 60px;
    position: absolute;
    color: var(--black);
    width: 100%;
    align-items: center;
    flex-direction: column;
    background: var(--white);
    box-shadow: 0px 1px 2px 0px var(--black-dim-soft);
  }

  header #mobile a {
    padding: 20px 0;
    color: var(--black);
    font-size: 0.8em;
    text-decoration: none;
    font-weight: 600;
  }

  #slider .slide {
    width: 90%;
  }

  .regular-box {
    padding: 80px 5%;
  }

  h2 {
    font-size: 1.8em;
  }

  h3 {
    font-size: 1.6em;
  }

  p {
    font-size: 1em;
  }

  #about img{
    width: 300px;
  }
}

@media only screen and (max-width: 960px) {
  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.4em;
  }

  h4 {
    font-size: 1.1em;
  }

  header {
    height: 60px;
  }

  header #logo {
    padding-left: 25px;
  }

  #slider .slide #slider-logo {
    display: flex;
    z-index: 3;
    justify-content: center;
    margin-bottom: 40px;
  }

  #slider .slide #slider-logo img {
    width: 280px;
  }

  .block-with-icon-box .block-with-icon .icon-box {
    display: none;
  }

  .block-with-icon-box .block-with-icon p {
    text-align: center;
    padding-left: 0;
  }

  .regular-box {
    padding: 40px 5%;
  }

  .regular-box h3 {
    margin-bottom: 40px;
  }

  .tiles-box {
    flex-direction: column;
    align-items: center;
  }

  .tiles-box a {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
  }

  .tiles-box a .tile,
  .tiles-box .tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .tiles-box .tile .tile-text {
    text-align: center;
    padding-top: 15px;
    max-width: 320px;
  }

  .tiles-box .tile .tile-text h4 {
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 600px) {
  body {
    font-size: 18px;
  }

  header #logo a img {
    width: 120px;
  }

  h1 {
    font-size: 1.6em;
  }

  h2 {
    font-size: 1.3em;
  }

  h3 {
    font-size: 1.2em;
  }

  #about img{
    width: 240px;
  }

  footer  #credits {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
  }

  footer img {
    width: 240px;
  }
}

@media only screen and (max-width: 480px) {
  h1 {
    font-size: 1.4em;
  }

  h2 {
    font-size: 1em;
  }

  #slider .slide #slider-logo {
    margin-bottom: 20px;
  }

  #slider .slide h1 {
    margin-bottom: 20px;
  }
}

@media only screen and (min-width: 1200px) {
  .tiles-box a:hover {
    background: var(--primary-dim-soft);
  }

  .tiles-box > .tile:hover {
    background: var(--primary-dim-medium);
  }
}
