:root {
    --primary-rgb: 239, 246, 255;
    --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.5);
    --black-dim-soft: rgba(var(--black-rgb), 0.2);

    --font: #001b2b;
    --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: 700;
}

h2 {
  font-size: 2.2em;
  font-weight: 700;
}

h3 {
  font-size: 2em;
  font-weight: 700;
}

h4 {
  font-size: 1.4em;
  font-weight: 700;
}

p {
  font-size: 1.2em;
}

header {
    display: flex;
    z-index: 100;
    position: fixed;
    width: 100%;
    background: var(--black);
    height: 70px;
    align-items: center;
    padding: 0 30px;
}

header a {
  text-decoration: none;
  color: white;
}

header #logo {
  /* padding-left: 50px;
  display: flex;
  align-items: center; */
  display: none;
}

header #logo a {
  display: flex;
}

header #logo a img {
  width: 180px;
  height: auto;
  padding-top: 20px;
}

header #desktop a {
  padding: 0 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 0.7em;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
  transition-duration: 0.3s;
}

header #desktop a:hover {
  background: var(--primary);
  color: var(--font);
}

header #hamburger, header #mobile {
  display: none;
}

main {
  width: 100%;
}

#about p {
  text-align: center;
}

.cover-box {
  position: relative;
  overflow: hidden;
}

.cover-box::after, .cover-box .overhover::after {
  content: '';
  background-color: var(--black-dim-medium);
  position: absolute;
  z-index: 2;
}

.cover-box .overhover::after {
  display: block;
}

.cover-box .cover-img {
  position: absolute;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.cover-box .cover-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  margin-top: 0;
}

.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);
}

.tiles-box .half-bg {
  background-color: var(--primary-dim-strong);
}

.icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 46px;
  box-shadow: 0 0 8px rgb(0 0 0 / 30%);
}

.icon-box img {
  width: 58px;
  height: 58px;
}

.cl {
  text-transform: uppercase;
  color: var(--white);
}

/* slider start */
#slider {
  height: 100vh;
}

#slider .slide #slider-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

#slider .slide {
  width: 90%;
  text-align: center;
  z-index: 3;
}

#slider .slide h1 {
  margin-bottom: 40px;
}
/* slider end */

/* regular start */
.regular-box {
  /* padding: 100px; */
  z-index: 3;
}

.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;
}

.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 a:hover {
  background: var(--primary);
}

.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: 0 20px 0 30px;
  justify-content: center;
}
/* tiles end */

#about h3 {
  margin-bottom: 40px;
}

footer {
  color: var(--font);
  background: var(--primary);
  padding: 60px 20px 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  font-weight: 700;
  font-size: 0.7em;
  box-shadow: 0 0 8px rgb(0 0 0 / 30%);
}

footer img {
  width: 200px;
  margin-bottom: 30px;
  box-shadow: 0 0 8px rgb(0 0 0 / 70%);
}

footer #company-info {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 1em;
}

footer #company-logo span{
  position: absolute;
  right: 170px;
  text-align: right;
  font-size: 0.9em;

}

footer #company-logo img{
  position: absolute;
  width: 130px;
  height: auto;
  right: 30px;

}

#slider .slide #slider-logo img {
  width: 280px;
  background: white;
  box-shadow: 0 0 12px black;
}

#slider .slide h2 {
  text-shadow: 0 0 12px black;
}

.tile-text p {
  font-size: 0.9em;
}

.w-tiles-box {
  width: 100%;
  display: flex;
  justify-content: space-around;
  height: 320px;
  position: relative;
}

.w-tiles-box a {
  display: flex;
  width: 30%;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  position: relative;
  transition-duration: 0.3s;
  border: 1px solid var(--font);
}

.w-tiles-box a::after {
  content: "";
  background-color: var(--black-dim-medium);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  transition-duration: 0.3s;
  opacity: 1;
}

.w-tiles-box a:hover {
  box-shadow: 0 0 12px black;
}

.w-tiles-box a:hover::after {
  opacity: 0;
}

.w-tiles-box a img {
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
}

.w-tiles-box a h4 {
  position: absolute;
  color: white;
  text-transform: uppercase;
  z-index: 3;
  font-size: 1em;
  font-weight: 700;
  text-shadow: 0 0 12px black;
}

footer #credits #createdby img {
  box-shadow: none;
  width: 100px;
}

@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 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: 2.0em;
  }
  
  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;
  }

  #slider {
    min-height: 100vh;
    height: 100vh;
  }

  .tile-text p {
    font-size: 0.8em;
  }
}

@media only screen and (max-width: 1200px) {
  #slider .slide h1 {
    display: none;
  }

  header #desktop {
    display: none;
  } 
  
  header #hamburger {
    color: white;
    display: block;
    float: left;
    padding: 0 25px;
    font-size: 42px;
    border: none;
    background-color:black;
  }

  header #mobile {
    top: 60px;
    position: absolute;
    color: var(--white);
    background: var(--black);
    width: 100%;
    align-items: center;
    flex-direction: column;
  }

  header #mobile a {
    padding: 20px 0;
    color: var(--white);
    font-size: 0.8em;
    text-decoration: none;
    font-weight: 600;
  }

  #slider .slide {
    width: 90%;
  }

  .regular-box {
    padding: 100px 5%;
  }

  h2 {
    font-size: 1.8em;
  }
  
  h3 {
    font-size: 1.6em;
  }

  p {
    font-size: 1em;
  }

  header #logo a img{
    height: 0;
  }
}

@media only screen and (max-width: 960px) {
  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.3em;
  }
  
  h3 {
    font-size: 1.2em;
  }

  h4 {
    font-size: 1em;
  }

  header {
    height: 60px;
  }

  header #logo {
    padding-top: 50px;
    padding-left: 25px;
  }

  #slider .slide #slider-logo {
    z-index: 3;
    justify-content: center;
  }

  .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: 80px 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;
  }

  #company-logo{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
  }

  footer #company-logo span{
    position: unset;
    right: unset;
    text-align: right;
    font-size: 0.9em;

  }

  footer #company-logo img{
    position: unset;
    width: 130px;
    height: auto;
    right: unset;

  }

  .w-tiles-box {
    height: unset;
    flex-direction: column;
  }

  .w-tiles-box a {
    width: 100%;
    height: 320px;
    margin-bottom: 50px;
  }
}

@media only screen and (max-width: 600px) {
  body {
    font-size: 18px;
  }

  header #logo {
    margin: auto;
  }

  #hamburger {
    display: block;
  }
  
  h1 {
    font-size: 1.6em;
  }

  h2 {
    font-size: 1em;
  }
  
  h3 {
    font-size: 1.2em;
  }

  .w-tiles-box a {
    height: 240px;
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 480px) {
  h1 {
    font-size: 1.4em;
  }

  h2 {
    font-size: 0.8em;
  }

  #slider .slide #slider-logo {
    margin-bottom: 20px;
  }

  #slider .slide h1 {
    margin-bottom: 20px;
  }

  .w-tiles-box a {
    height: 200px;
    margin-bottom: 20px;
  }
}