/* GLOBAL */

/* 
font-family: 'Roboto', sans-serif;
*/

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

html {
  font-size: 62.5%;
}

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

h1 {
  font-family: "Roboto", sans-serif;
  font-size: 4rem;
}

li,
button,
label,
input,
p {
  font-size: 2rem;
}

h2 {
  font-family: "Roboto", sans-serif;
  font-size: 4.8rem;
}
h3 {
  font-size: 2.3rem;
}
h4,
h5 {
  font-size: 2.8rem;
  font-weight: 900;
}

h6{
  font-size: 2rem;
  font-weight: 100;

}

a {
  color: white;
  text-decoration: none;
}

button {
  padding: 2rem 6rem;
  background-color: rgb(26, 26, 26);
  border: 2px solid red;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background 0.2s ease-out;
}
button:hover {
  background-color: rgb(255, 0, 0);
}
button:focus {
  outline: none;
}

/* NAV */

.logoanimatie{
  height: 10rem;
  background-image: url(/img/asafety_wit.png);
  min-width: 25rem;
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease-in-out;
}

.logoanimatie:hover{
  height: 10rem;
  background-image: url(/img/asafety_wit_rood.png);
  background-size: contain;
  min-width: 25rem;
}

.main-head {
  background: rgb(26, 26, 26);
  background-image: url(/img/logoiconpattern.png);
  background-size: cover;
  border-bottom: red solid 2px;
  color: white;
  position: sticky;
  top: 0px;
  z-index: 3;
}

.main-head a {
  border-bottom: 0px solid rgba(255, 0, 0, 0);
  padding: 1rem;
}

.main-head li a:hover {
  padding-bottom: 2rem;
  border-bottom: 5px solid rgb(255, 0, 0, 1);
  transition: padding 0.2s ease-in-out;
  transition: border-bottom 0.2s ease-in-out;
}

nav {
  min-height: 10vh;
  padding: 2rem;
  display: flex;
  width: 90%;
  margin: auto;
  flex-wrap: wrap;
}
nav ul {
  display: flex;
  flex: 1 1 40rem;
  justify-content: space-around;
  align-items: center;
  list-style: none;
}
#logo {
  flex: 2 1 40rem;
  display: flex;
  align-items: center;
}
nav img {
  min-height: 3rem;
  height: 6vh;
  display: flex;
  align-items: center;
}

.hero {
  min-height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(150, 150, 200, 0.6)),
    url("/img/safetystairs.jpg");
  background-size: cover;
  background-position: top;
  background-attachment: fixed;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h2 {
  font-family: "Roboto";
  font-weight: 900;
  font-style: italic;
}

.hero h3 {
  max-width: 100rem;
  padding: 5rem;
  font-family: "Roboto";
  font-weight: 400;
  line-height: 4rem;
}

/* ABOUT */

#about {
  padding-top: 15vh;
  /* min-height: 90vh; */
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  flex-direction: column;
}

.about-head {
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}

.about-head h2 {
  padding: 1rem 0;
  color: rgb(255, 0, 0);
  /* text-decoration: underline; */
}
.about-head h3 {
  padding: 4rem;
  max-width: 800px;
}

.about-collumn{
  flex: 1 1 70rem;
  min-height: 30vh;
  padding: 5rem;
}

.about-row{
  flex-direction: row;
  padding-top: 2rem;
}


.about-image{
  background-image: url(/img/safety.jpg);
  filter:  sepia(30%) ;
  display: flex;
  background-size: cover;
}

.testimonial {
  color: white;
  background-color: rgba(220,0,0, 1.0);
  background-image: url(/img/logoiconpattern.png);
  background-size: cover;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin: auto;
  padding: 5rem 10% 5rem 10%;
  line-height: 7rem;
  margin-top: 10rem;
}

.testimonial h3 {
  font-size: 3rem;
  font-family: "Roboto";
  font-weight: 900;
  font-style: italic;
}

.testimonial h4 {
  font-family: "Roboto";
  font-weight: 300;
  font-style: italic;
}

.testimonial h5{
  color: black;
}

.cloud {
  position: absolute;
  top: 0%;
  right: 0%;
  pointer-events: none;
}
.moving-cloud-1 {
  z-index: 2;
  opacity: 0.2;
  animation: cloudAnimation 3s infinite alternate ease-in-out;
}
.moving-cloud-2 {
  top: 20%;
  z-index: 1;
  opacity: 0.2;
  animation: cloudAnimation 5s infinite alternate ease-in-out;
}

@keyframes cloudAnimation {
  from {
    transform: translate(10%, -3%);
  }
  to {
    transform: translate(0%, 0%);
  }
}

/* SERVICES*/

#services{
  padding: 15vh 0 10vh 0;
}

.services-head {
  background: rgb(255, 0, 0);
  padding: 2rem;
  margin-top: 15vh;
  min-height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}
.services-head h3 {
  padding: 3rem 0 0 0;
}

.cards {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 35rem;
  min-height: 35vh;
  margin: 5rem 2rem;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1), 0px 20px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.card-icon {
  background-color: rgb(26, 26, 26);
  background-image: url(/img/logoiconpattern.png);
  background-size: cover;
  padding: 2rem;
}

.card-icon:hover {
  background-color: rgb(255, 0, 0);
  transition: background-color 0.3s ease-in-out;
}

.card img {
  height: 10rem;
}

.card1 {
  background: url(/icons/construction/013designteam.svg) no-repeat center;
}

.card2 {
  background: url(/icons/construction/030stepladder.svg) no-repeat center;
}

.card3 {
  background: url(/icons/construction/024planning.svg) no-repeat center;
}

.iconcolor {
  background-size: 10rem;
  min-height: 15rem;
  filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg)
    brightness(104%) contrast(97%);
}

/* .cardhover {
} */

.cardhover:hover {
  filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg)
    brightness(0%) contrast(97%);
  transition: background 0.3s ease-in-out;
  transition: filter 0.3s ease-in-out;
}

.card h4 {
  color: rgb(255, 0, 0);
  text-align: center;
  font-family: "Roboto";
  font-weight: 900;
  font-style: italic;
  padding: 1rem;
}
.card p {
  font-size: 1.5rem;
  color: rgb(32, 32, 32);
  padding: 2rem;
}

/* CONTACT */

#contact {
  min-height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(150, 150, 200, 0.6)),
    url("/img/safetystairs.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-wrapper {
  background: rgba(0, 0, 0, 0.8);
  background-image: url(/img/logoiconpattern2.png);
  background-size: cover;
  width: 60%;
  color: white;
  /* border-radius: 20px; */
}
.form-wrapper button {
  border: none;
  background-color: rgba(200, 0, 0, 1);
  border-bottom: red solid 0.5rem;
  font-family: "Roboto";
  font-weight: 400;
}

.form-wrapper button:hover {
  background-color: rgba(255, 0, 0, 1);
  background-image: url(/img/logoiconpattern.png);
  background-size: cover;
}

.form-head {
  text-align: center;
  margin-top: 4rem;
}
.form-head h2{
font-weight: 900;
font-style: italic;
}

.name-form,
.email-form {
  padding: 3rem;
  text-align: center;
}
.form-wrapper label {
  margin: 0rem 3rem;
}
.form-wrapper button {
  width: 100%;
  padding: 2rem;
  margin-top: 8rem;
  /* border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px; */
}
.form-wrapper input {
  padding: 1rem 3rem;
  min-width: 40%;
}

/* FOOTER */

footer {
  color: white;
  border-top: red solid 0.2rem;
  background: rgba(26, 26, 26, 1);
  background-image: url(/img/logoiconpattern.png);
  background-size: cover;
}
.footer-wrapper {
  display: flex;
  padding: 1rem;
  margin: auto;
  min-height: 5vh;
  width: 90%;
  align-items: center;
  flex-wrap: wrap;
}
footer ul {
  display: flex;
  list-style: none;
  flex: 1 1 40rem;
  justify-content: space-around;
  align-items: center;
}
footer h6 {
  flex: 1 1 40rem;
  padding: 2rem;
}
footer a img {
  width: 4rem;
  height: 4rem;
  margin: 0 2rem;
}

/* media queries */

@media screen and (max-width: 960px) {
  html {
    font-size: 45%;
  }
  .about-head h2{
    font-size: 3rem;
  }

  nav {
    text-align: center;
  }
  .main-head li a {
    padding-bottom: 0.5rem;
  }

  .main-head a:hover {
    padding-bottom: 1rem;
  }

  #logo {
    padding-bottom: 1rem;
    justify-content: center;
  }
  .card {
    min-height: 25vh;
    margin: 1.5rem 3rem;
  }

  .form-wrapper {
    width: 100%;
    border-radius: 0px;
  }
  .form-wrapper button {
    border-radius: 0px;
  }

  footer {
    text-align: center;
  }
  footer h6 {
    padding-bottom: 3rem;
  }
}
