html,
body {
  width: 100%;
}

body {
  height: 100%;
  background: #fff;
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.46;
  color: #4d5968;
}

h1,
h2,
h3 {
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
}

h1 {
  font-size: 38px;
}

h3 {
  font-size: 26px;
}

a {
  color: #4d5968;
}

a:hover {
  color: #f69b1c;
}

input,
textarea {
  width: 100%;
  height: auto;
  border-radius: 5px;
  background-color: #fbfcfd;
  padding: 13px 18px;
  border: 1px solid #eceef1;
  box-sizing: border-box;
  color: #2a3139;
  margin-bottom: 25px;
  outline: none;
  font-size: 14px;
}

input:focus {
  border-color: #525e6c;
}

select {
  width: 100%;
  height: 45px;
  background-color: #fbfcfd;
  color: #2a3139;
  font-size: 14px;
  outline: none;
  border: 1px solid #eceef1;
  margin-bottom: 25px;
  text-indent: 18px;
}

select:focus {
  border-color: #525e6c;
}

.wrap {
  width: 90%;
  max-width: 1152px;
  margin: auto;
}

.button {
  --button-color: #f69b1c;
  background: linear-gradient(135deg,#e59900 0,#f76a0c 100%);
}

.button.outline {
  background: transparent;
}


/* Header
---------------------*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  background-color: #fff;
  border-bottom: 1px solid rgba(198,202,206,.3);
  box-shadow: 0 0 4rem rgba(42,49,57,.05);
}

header .wrap {
  height: 80px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.title-area {
  width: 200px;
}

.website-logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.primary-nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a{
  display: block;
  text-decoration: none;
  padding: 18px 18px;
  font-size: 16px;
  font-weight: inherit;
}

/* Sections
---------------------*/
#section-2,
#section-3,
#before-footer {
  padding: 75px 0;
}

#section-2 h2,
#section-3 h2 {
  font-size: 32px;
}

/* Section 1
---------------------*/
#section-1 {
  width: 100%;
  padding: 180px 0 100px 0;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url('./src/impermeabilizzazione.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

#section-1::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(42,49,57,0.5);
  z-index: 1;
}

#section-1 .wrap {
  position: relative;
  z-index: 2;
}

#section-1 .text {
  color: #fff;
  margin-bottom: 70px;
}

#section-1 .text h1 {
  font-size: 40px;
  letter-spacing: 0.5px;
}

#section-1 .text p {
  font-size: 20px;
}

/* Section 2
---------------------*/
#section-2 {
  text-align: center;
  background-color: #f6f8fa;
}

#section-2 .icons-grid {
  display: grid;
  grid-template-columns: 1fr;
}

/* Section 3
---------------------*/
#section-3 {
  background-color: #fff;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #eceef1;
}

#section-3 .wrap > *:first-child {
  margin-bottom: 60px;
}

#section-3 .wrap > * {
  width: 100%;
}

#section-3 img {
  height: auto;
  border-radius: 6px;
  box-shadow: 0 3rem 9rem -3rem rgba(42, 49, 57, 0.236);
}

/* Before Footer
---------------------*/
#before-footer {
  background: linear-gradient(135deg,#e59900 0,#f76a0c 100%);
  color: #fff;
}

#before-footer > .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

#before-footer h2 {
  font-size: 34px;
}

#before-footer p {
  font-size: 20px;
}

#before-footer .button {
  background: #fff;
  color: #f69b1c;
}

/* Footer
---------------------*/
footer {
  width: 100%;
  text-align: center;
  padding: 15px 0;
}

footer p {
  margin: 0;
  font-size: 16px;
}


/* Form
---------------------*/
.form-container {
  width: 100%;
  min-width: 255px;
  box-sizing: border-box;
  background-color: rgba(255,255,255,0.85);
  padding: 40px;
  border-radius: 6px;
  box-shadow: 0 15px 38px 0 rgba(0,0,0,.1);
  text-align: left;
  color: #33475b;
}

.form-container h3 {
  margin-top: 0;
}

/* Columns
---------------------
.one-half {
  width: 48%;
  float: left;
  box-sizing: border-box;
  margin-left: 4%;
}

.first {
  margin: 0;
}*/


/* Icon Widget
------------------------------------------------*/
.icon-widget {
	text-align: center;
	padding: 45px;
}

.icon-widget h3 {
  font-size: 21px;
}

.icon-widget p {
  max-width: 280px;
	font-size: 16px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
}
.icon-widget i {
	font-size: 34px;
	color: #fff;
	padding: 16px;
	background-color: #f69b1c;
  background: linear-gradient(135deg,#e59900 0,#f76a0c 100%);
	border-radius: 6px;
	margin-bottom: 20px;
	box-shadow: 7px 5px 30px 0 rgba(72,73,121,0.15);
}

@media screen and (min-width: 768px) {
  #section-2 .icons-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  #section-3 .wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  #section-3 .wrap > * {
    width: 47%;
  }

  #section-3 .wrap > *:first-child {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 1050px) {
  #section-1 {
    height: 100vh;
    padding: 0;
  }
  #section-1 .wrap {
    display: flex;
    align-items: center;
  }
  #section-1 .text {
    padding-right: 50px;
    margin-bottom: 0;
  }
  #section-1 .text h1 {
    font-size: 50px;
  }
}

#form-msg {
  display: none;
  width: 100%;
  padding: 12px 16px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  box-sizing: border-box;
}

#form-msg.msg-success {
  display: block;
  background-color: #e6f4ea;
  color: #276b3b;
  border: 1px solid #a8d5b5;
}

#form-msg.msg-error {
  display: block;
  background-color: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6c2;
}

.msg-success {
  background-color: #e6f4ea;
  color: #276b3b;
  border: 1px solid #a8d5b5;
  border-radius: 5px;
}
