body {
  background: rgb(242, 240, 234);
  overflow-x: hidden;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
}

main {
  display: flex;
  flex-direction: column;
  /* margin: 0 auto; */
  /* justify-content: center; */
  align-items: center;
}

.content-title {
  font-family: "Lato", sans-serif;
  font-size: 1.3em;
  margin-bottom: 0.5em;
}

.content-title a {
  text-decoration: none;
  color: inherit;
}

.content-info {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1em;
}

.main-block {
  margin-bottom: 5em;
}

.main-block h3 {
  font-size: 0.9em;
}

.industries-container,
.recenter-work-container {
  margin-top: 1em;
}

.header-bar {
  width: 35px;
  height: 4px;
  background: #f26101a6;
  margin: 0 auto;
  margin-top: 0px;
  margin-bottom: 20px;
}

/* Feature */
.feature {
  background-color: #f6f6f6;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  height: 80vh;
  width: 100vw;
}

.feature-container {
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: relative;
  background: rgb(242, 240, 234);
}

.feature-text-container {
  position: absolute;
  width: 45%;
  right: 0;
  top: 0;
  padding: 200px 40px 200px 100px;
  bottom: auto;
}

.feature-text-shadow {
  display: block;
  position: absolute;
  font-size: 400px;
  left: 100px;
  top: 100px;
  z-index: 10;
  font-family: "Karla", sans-serif;
  font-weight: 900;
  line-height: 300px;
  color: rgba(241, 96, 0, 0.2);
  width: calc(100% * 3);
}

.feature-text-container:hover .feature-text-shadow {
  color: rgba(241, 96, 0, 0.1);
  transition: 1s;
}

.feature-text-title {
  position: relative;
  font-size: 3em;
  color: white;
  font-weight: 800;
  z-index: 1000;
  margin-bottom: 32px;
}

.feature-text-subtitle {
  font-size: 1.5em;
  color: white;
  font-weight: 300;
  z-index: 1000;
  position: relative;
  margin-bottom: 1em;
}

.feature-text-readmore {
  font-size: 1.5em;
  color: white;
  font-weight: 300;
  z-index: 1000;
  position: relative;
}

/* Recent work */
.recent-work {
  margin-top: 48px;
}

.recent-work-card {
  padding-bottom: 2%;
  margin-bottom: 2%;
  position: relative;
}

.recent-work-img {
  position: relative;
  line-height: 0;
  height: 150px;
}

.recent-work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-work-img::after {
  transition: 0.5s;
  background-color: rgba(241, 96, 0, 0);
  content: "";
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.recent-work-card:hover .recent-work-img::after {
  transition: 0.5s;
  background-color: rgba(241, 96, 0, 0.15);
  content: "";
}

.recent-work-text {
  font-family: "Lato", sans-serif;
  background: white;
  padding: 16px;
  color: black;
  height: 165px;
}

.recent-work-title {
  font-weight: 800;
  padding-bottom: 8px;
}

.recent-work-subtitle {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
}

.industries-img {
  position: relative;
  line-height: 0;
  height: 200px;
  box-shadow: 10px 10px 30px 12px rgba(0, 0, 0, 0.1);
}

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

.industries-img::after {
  transition: 0.5s;
  background-color: rgba(241, 96, 0, 0);
  content: "";
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.industries-card:hover .industries-img::after {
  transition: 0.5s;
  background-color: rgba(241, 96, 0, 0.15);
  content: "";
}

.industries-img::after {
  background-color: rgba(0, 0, 0, 0.25);
}

.themes-container {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.themes-card {
  width: 32%;
  padding-bottom: 2%; /* 32:18, i.e. 16:9 */
  margin-bottom: 2%; /* (100-32*3)/2 */
}

.themes-card:hover .industries-img::after {
  transition: 0.5s;
  background-color: rgba(241, 96, 0, 0.15);
  content: "";
  transition-timing-function: ease-in;
  transition-property: transform;
}

.industries-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.industries-name {
  position: absolute;
  color: white;
  font-size: 2em;
  font-weight: 600;
  width: 15%;
  text-align: center;
  z-index: 1;
}

* {
  box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
  height: 90%;
  width: 100%;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.indicators {
  text-align: center;
  background: rgb(242, 240, 234);
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 16px;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #e8d7c5;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #ff985e;
}

.article-feature {
  height: 100%;
  background-size: cover;
  flex-direction: column;
  background-color: #0000009a;
  background-blend-mode: darken;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1s;
  animation-name: fade;
  animation-duration: 1s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.industries-name,
.footer-container {
  font-family: "Roboto", sans-serif;
}

/*  Mobile Layouts */

@media only screen and (max-width: 318px) {
  .next {
    right: 0px;
  }

  .template-homepage {
    width: 100vw;
  }

  .feature {
    background-size: contain;
  }

  .main-block {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
  }

  .content-title {
    text-align: center;
  }

  .recent-work-container,
  .industries-container {
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .recent-work-content {
    box-shadow: 10px 10px 30px 12px rgba(0, 0, 0, 0.1);
    transition-timing-function: ease-in;
    transition: 0.2s;
    transition-property: transform;
  }

  .recent-work-card,
  .industries-card {
    width: 32%;
    padding-bottom: 2%;
    margin-bottom: 2%;
    position: relative;
    /* width: 70vw;
    padding: 0;
    margin-top: 1em;
    margin-bottom: 1em; */
  }

  .main-block h3 {
    width: 70%;
    display: flex;
    justify-content: center;
    align-self: center;
  }

  .footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px 75px 8px 5px;
  }

  .themes-card {
    width: 100%;
  }

  .industries-name {
    width: 50%;
  }
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
  .main-container {
    width: 80vw;
  }
  .hamburger {
    height: 0px;
    width: 70px;
    padding: 20px;
    float: right;
    cursor: pointer;
    position: absolute;
    right: 1px;
  }

  .next {
    right: 0px;
  }

  .template-homepage {
    width: 100vw;
  }

  .feature {
    background-size: contain;
  }

  .main-block {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
  }

  .content-title {
    text-align: center;
  }

  .recent-work-container,
  .industries-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .recent-work-content {
    /* width: 20em; */
    box-shadow: 10px 10px 30px 12px rgba(0, 0, 0, 0.1);
    transition-timing-function: ease-in;
    transition: 0.2s;
    transition-property: transform;
  }

  .recent-work-card,
  .industries-card {
    width: 80%;
    padding-bottom: 2%;
    margin-bottom: 2%;
    position: relative;
    margin-top: 1em;
    margin-bottom: 1em;
  }

  .main-block h3 {
    width: 70%;
    display: flex;
    justify-content: center;
    align-self: center;
  }

  .footer-container {
    display: flex;
    align-content: center;
    padding: 10px 75px 8px 55px;
    flex-direction: column;
  }

  .scarlatti {
    display: flex;
    justify-content: center;
    align-self: center;
  }

  /* .header .menu-icon {
    cursor: pointer;
    float: right;
    padding: 28px 20px;
    position: absolute;
    right: 5px;
    user-select: none;
  } */
  .themes-card {
    width: 100%;
  }

  .industries-name {
    width: 50%;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .next {
    right: 0px;
  }

  .template-homepage {
    width: 100vw;
  }

  .feature {
    background-size: contain;
  }

  .main-block {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
  }

  .content-title {
    text-align: center;
  }

  .recent-work-container,
  .industries-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
  }

  .recent-work-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* flex-direction: column;
    justify-content: center;
    align-items: center; */
  }

  .recent-work-content {
    width: 20em;
    box-shadow: 10px 10px 30px 12px rgba(0, 0, 0, 0.1);
    transition-timing-function: ease-in;
    transition: 0.2s;
    transition-property: transform;
  }

  .recent-work-card {
    width: 32%;
    padding-bottom: 2%;
    margin-bottom: 2%;
    position: relative;
    /* margin-top: 1em;
    margin-bottom: 1em; */
  }

  .industries-card {
    width: 70vw;
    padding: 0;
    margin-top: 1em;
    margin-bottom: 1em;
  }

  .main-block h3 {
    width: 70%;
    display: flex;
    justify-content: center;
    align-self: center;
  }

  .footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px 75px 8px 5px;
  }

  .industries-name {
    width: 50%;
  }

  /* .header-search,
  #search {
    margin-top: .5em;

  } */
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  /* body {
    background-color: green;
  } */

  .scarlatti {
    display: flex;
    justify-content: center;
    align-self: center;
  }

  .main-block h3 {
    display: flex;
    align-self: center;
    width: 50%;
  }

  /* .header .menu-icon {
    position: absolute;
    right: 5px;
  } */

  /* .recent-work {
    width: 50vw;
  } */

  /* .header-navigation {
    justify-content: space-between;
  }

  .header-hamburger {
    display: flex;
    margin-right: 2em;
  } */

  /* .header-search {
    width: 10em;
  } */

  /* .header-search {
    position: absolute;
    left: 15em;
  } */

  /* .header-nav-items {
    display: none;
  } */

  .template-homepage {
    width: 100vw;
  }

  .feature {
    background-size: contain;
  }

  .main-block {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
  }

  .content-title {
    text-align: center;
  }

  .recent-work-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 600px;
  }

  .industries-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* max-width: 970px; */
  }

  .industries-card {
    width: 20em;
    padding: 0;
    margin-top: 1em;
    margin-bottom: 1em;
  }

  .recent-work-content {
    /* width: 15em; */
    box-shadow: 10px 10px 30px 12px rgba(0, 0, 0, 0.1);
    transition-timing-function: ease-in;
    transition: 0.2s;
    transition-property: transform;
  }

  .content-info {
    width: 20em;
  }

  .recent-work-card {
    width: 20em;
    padding-bottom: 2%;
    margin-bottom: 2%;
    position: relative;
    /* width: 70vw;
    padding: 0px 8px;
    margin-top: 1em;
    margin-bottom: 1em; */
  }

  /* .main-block h3 {
    width: 70%;
    display: flex;
    justify-content: center;
    align-self: center;
  } */

  .footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }

  .main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 970px;
    margin: auto;
  }

  .themes-card {
    width: 50%;
  }
}

@media only screen and (min-width: 992px) {
  /* body {
    background-color: yellow;
  } */

  .main-block h3 {
    display: flex;
    align-self: center;
    /* width: 50%; */
  }

  .template-homepage {
    width: 100vw;
  }

  .feature {
    background-size: contain;
  }

  .main-block {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .content-title {
    text-align: center;
  }

  .recent-work-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 970px;
  }

  .industries-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 970px;
  }

  .industries-card {
    padding: 0;
    margin-top: 1em;
    margin-bottom: 1em;
  }

  .recent-work-content {
    width: 18em;
    /* margin-left: 1em;
    margin-right: 1em; */
    box-shadow: 10px 10px 30px 12px rgba(0, 0, 0, 0.1);
    transition-timing-function: ease-in;
    transition: 0.2s;
    transition-property: transform;
  }

  .recent-work-content:hover {
    transform: translateY(-5px);
  }

  .recent-work-card {
    /* width: 18em; */
    padding-bottom: 2%;
    margin-bottom: 2%;
    position: relative;
    /* width: 25vw; */
    /* padding: 0px 45px; */
    margin-top: 1em;
    margin-bottom: 1em;
  }

  /* .main-block h3 {
    width: 70%;
    display: flex;
    justify-content: center;
    align-self: center;
  } */

  .footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 970px;
  }

  /* .header-hamburger {
    display: none;
  } */
}
