/* RE */
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;
  font-size: 16px;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */

body {
  line-height: 1;
  background: rgb(250, 250, 250);
  color: #000000;
  font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
  margin: 0 0;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

/* GENERAL */

h1 {
  font-size: 55px;
  font-weight: 900;
  font-family: "Playfair Display", serif;
  line-height: 1;
  margin-top: 20px;
  text-transform: uppercase;
}
h2 {
  font-size: 55px;
  font-weight: 900;
  font-family: "Playfair Display", serif;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 6px;
}
h3 {
  font-size: 17px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

h4 {
  font-size: 22px;
  font-weight: bold;

  line-height: 49px;
}

a {
  text-decoration: none;
}

.center {
  text-align: center;
}

.float-up {
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  -o-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-name: float-up;
  -moz-animation-name: float-up;
  -o-animation-name: float-up;
  animation-name: float-up;
  -webkit-animation-iteration-count: 1;
  -moz-animation-iteration-count: 1;
  -o-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-timing-function: ease-out;
  -moz-animation-timing-function: ease-out;
  -o-animation-timing-function: ease-out;
  animation-timing-function: ease-out;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  position: relative;
  top: 500px;
}
@-webkit-keyframes float-up {
  0% {
    top: 500px;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  35% {
    top: -20px;
  }
  100% {
    top: 50px;
  }
}
@-moz-keyframes float-up {
  0% {
    top: 500px;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  35% {
    top: -20px;
  }
  100% {
    top: 50px;
  }
}
@-o-keyframes float-up {
  0% {
    top: 500px;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  35% {
    top: -20px;
  }
  100% {
    top: 50px;
  }
}
@-keyframes float-up {
  0% {
    top: 500px;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  35% {
    top: -20px;
  }
  100% {
    top: 50px;
  }
}

/* SITE CONTAINER */
#main {
  width: 100%;
  max-width: 750px;
  margin: 0px auto;
  font-size: 16px;
  line-height: 1.6;
}

.logo {
  display: block;
  margin: 5% auto;
  padding: 5%;
}

#container {
  float: left;
  width: 100%;

  padding: 0px;
}

.card {
  padding: 20px;
  color: #000000;
  border-radius: 14px;
  margin-bottom: 20px;

  transition: ease 0.3s;
}
.card:hover {
}

.cardcover {
  background-color: #ffffff;
  background-image: url(http://www.progettare.casa/assets/cover.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: 200px;
  border-radius: 14px;
  margin-bottom: 20px;
  -webkit-box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.4);
  box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.4);
  transition: ease 0.3s;
}
.cardcover:hover {
  -webkit-box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.8);
  box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.8);
  transition: ease 0.3s;
}

.gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.icone {
  width: 33px;
  height: 33px;
  float: left;
  padding-right: 20px;
  padding-top: 8px;
}

.cardcolore {
  background: rgb(241, 28, 168);
  background: linear-gradient(
    45deg,
    rgba(241, 28, 168, 1) 0%,
    rgba(253, 118, 45, 1) 100%
  );
  color: #ffffff;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  -webkit-box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.4);
  box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.4);
}
.cardcolore:hover {
  -webkit-box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.8);
  box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.8);
  transition: ease 0.3s;
}

.testo {
  width: 80%;
  margin: 5px auto;
}

.galleriapic {
  width: 100%;
}

.galleriapic img {
  max-width: 150px;
  border-radius: 4px;
}
.galleriabig img {
  max-width: 695px;
}

.button {
  border-radius: 20px;
  font-size: 15px;
  transition: ease 0.3s;
  color: rgb(241, 28, 168);
  border: 2px solid rgb(241, 28, 168);
  text-align: center;
  display: block;
  text-decoration: none;
  margin: 10px 20% 0 20%;
  padding: 6px 0;
}
.button:hover {
  color: #ffffff;
  transition: ease 0.3s;
  background: rgb(241, 28, 168);
  background: linear-gradient(
    45deg,
    rgba(241, 28, 168, 1) 0%,
    rgba(253, 118, 45, 1) 100%
  );
}

.info1 {
  color: #ffffff;
  padding: 10px;
  margin: 30px 0;
}

#social-test {
  text-align: center;
  font-size: 30px;
}

#social-test .social {
  padding-left: 0px;
}
#social-test li {
  color: rgb(0, 0, 0);
  list-style-type: none;
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 4px;
  cursor: pointer;

  transition: ease 0.2s;
}
#social-test li:hover {
  color: #ffffff;
  background: rgb(241, 28, 168);
  background: linear-gradient(
    45deg,
    rgba(241, 28, 168, 1) 0%,
    rgba(253, 118, 45, 1) 100%
  );
}

#social-test .social:hover > li {
  opacity: 0.5;
}

#social-test .social:hover > li:hover {
  opacity: 1;
}

#footer {
  margin-top: 100px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

/* MEDIAQUERIES */

@media screen and (max-width: 750px) {
  #main {
    width: 91%;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 32px;
  }
  h4 {
    font-size: 16px;
  }
  #container {
    width: 100%;
    margin-top: -30px;
  }

  #social-test {
    font-size: 20px;
  }

  .galleriapic img {
    max-width: 45%;
  }
}

@media screen and (min-width: 768px) {
}
