@import url("https://fonts.googleapis.com/css?family=Playfair+Display:400");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
body {
  min-height: 100vh;
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  font-size: 17px;
  color: #333;
}

.container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: #960f3e;
  text-decoration: none;
}
a:hover {
  color: #e99725;
  text-decoration: underline;
}
a:active {
  color: #960f3e;
}

footer {
  color: white;
  margin-top: 100px;
  background: linear-gradient(-25deg, rgba(190, 66, 101, 0.8), rgba(190, 66, 101, 0) 50%), linear-gradient(to right, #960f3e, black);
  /*linear-gradient(336deg, #604, rgba(0,0,255,0) 70.71%);*/
  padding-bottom: 50px;
}
footer svg {
  display: block;
}
footer svg path {
  fill: #fff;
}
footer a {
  color: white;
}
footer ul {
  margin-top: 30px;
  margin-left: 50px;
  display: inline-block;
  vertical-align: top;
  list-style: none;
}
footer ul::first-line {
  color: lightpink;
  font-size: 0.9em;
  text-transform: uppercase;
}
footer ul li {
  padding-top: 0.5em;
  font-size: 0.9em;
}
footer ul li:before {
  font-family: "Material Icons";
  font-size: 1.5em;
  vertical-align: middle;
  display: inline-block;
  width: 1.3em;
}
footer ul li.telefono:before {
  content: "phone";
}
footer ul li.email:before {
  content: "email";
}
footer ul li.casa:before {
  content: "home";
}

@media screen and (max-width: 768px) {
  footer ul {
    margin-left: 0;
    padding-left: 20px;
    display: block;
  }
}
header {
  min-height: 60vh;
  position: relative;
  background: url(../img/strada.jpg);
  background-size: cover;
  background-position-x: 50%;
  background-position-y: 60%;
  animation: fadein 1s;
  margin-bottom: 150px;
}
header > div {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  position: absolute;
  width: 100%;
  bottom: 0;
}
header > div nav {
  position: relative;
}
header > div nav #title {
  margin-bottom: 30px;
  color: white;
  text-shadow: 0 0 6px #300;
  display: flex;
  align-items: center;
}
header > div nav #title img {
  height: 120px;
  margin-right: 15px;
}
header > div nav #title p {
  margin: 5px 0 0;
  font-size: 0.95em;
  letter-spacing: 0.12em;
  word-spacing: 0.2em;
  text-transform: uppercase;
}
header > div nav ul {
  padding: 0;
  margin-bottom: 20px;
}
header > div nav ul li {
  display: inline-block;
  font-size: 1.1em;
}
header > div nav ul li a {
  display: inline-block;
  line-height: 40px;
  padding: 0 15px;
  text-decoration: none;
  color: white;
  border-bottom: 2px solid rgba(255, 255, 255, 0);
  cursor: pointer;
  transition: 0.6s;
}
header > div nav ul li a:hover {
  color: #e99725;
  border-color: #e99725;
  text-decoration: none;
  transition: 0.2s;
}
header > div nav ul li a:active {
  color: #960f3e;
  border-color: #960f3e;
  transition: 0s;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

h1 {
  font-size: 3.3em;
  line-height: 1em;
  margin: 0;
}

/*nav > a {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 10px 20px 0;
	cursor: pointer;
}
nav > a i.material-icons {
	color: white;
}*/
section {
  margin: 0 auto 130px;
}

section:first-of-type p {
  margin: 0;
  font-size: 1.6em;
}

h2 {
  text-transform: uppercase;
  text-align: center;
  font-size: 2.5em;
  padding-bottom: 10px;
  margin: 0 0 30px;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background-color: #960f3e;
  margin: 20px auto;
}

hr {
  width: 80px;
  height: 2px;
  border-width: 0;
  background-color: #960f3e;
  margin: 3em auto 3em;
}

.material-icons {
  color: #960f3e;
}

.medaglie {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.medaglie .material-icons {
  font-size: 80px;
  border: 2px solid #960f3e;
  border-radius: 50%;
  padding: 30px;
  margin-bottom: 20px;
}

.medaglie a {
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.medaglie a:hover > i {
  color: #e99725;
  border-color: #e99725;
}

.medaglie a:active > i {
  color: #960f3e;
  border-color: #960f3e;
}

.medaglie div {
  /*float: left;
  margin: 10px 0 25px;
  width: 24.9999%;*/
  text-align: center;
  color: #960f3e;
}

.medaglie div p {
  color: black;
  display: none;
}

.centrata {
  text-align: center;
}

.centrata ul {
  display: table;
  text-align: left;
  margin: 0 auto;
}

.centrata li {
  padding: 5px;
}

.sinistra {
  max-width: calc(55% + 80px);
  margin-bottom: 100px;
  overflow: auto;
}

.sinistra i {
  font-size: 12em;
  float: left;
  margin: -70px 30px 0 -10px;
}

.stretta {
  max-width: 55%;
  background-color: #eee;
  padding: 20px 40px;
  overflow: auto;
}

.stretta h2 {
  margin: 20px 0 0;
}

.stretta p {
  margin-top: 20px;
}

.stretta i {
  font-size: 10em;
  float: right;
  margin-left: 15px;
}

.wide {
  width: 111%;
  margin-left: -5.5%;
  margin-right: -5.5%;
}

.evidenziata {
  font-size: 110%;
  background-color: #e99725;
}

.evidenziata h2 {
  color: #960f3e;
}

.evidenziata a {
  display: block;
  text-align: center;
  color: #960f3e;
  font-weight: bold;
  font-size: 1.1em;
}

.azione {
  margin: 35px auto 25px;
  display: table;
  border-radius: 4px;
  padding: 15px 30px;
  background: #e99725;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.2s;
}

.azione:hover {
  background: #960f3e;
  color: white;
  text-decoration: none;
  box-shadow: 0 5px 20px #999;
}

.azione:active {
  color: #e99725;
  text-decoration: none;
  box-shadow: 0 0 5px #999;
}

.carousel {
  position: relative;
  height: 250vh;
  background: #333;
}
.carousel .train {
  position: sticky;
  top: 0;
  overflow: hidden;
  height: 100vh;
  padding: 25px 0;
  box-sizing: border-box;
  white-space: nowrap;
}
.carousel .train img {
  height: 100%;
  margin-right: 30px;
}

#vanto i {
  font-size: 7em;
}

#vanto p:first-of-type {
  font-size: 5em;
  margin: 0;
  color: #960f3e;
}

#vanto p:last-of-type {
  font-size: 1.5em;
  margin: 0;
  color: #960f3e;
}

#download {
  text-align: center;
  background: linear-gradient(to bottom, #960f3e, #e99725);
  padding-bottom: 50px;
}

.allerta {
  background-color: white;
  color: #960f3e;
  border: 1px solid #960f3e;
  padding: 5px 10px;
  text-align: left;
  overflow: hidden;
}

.allerta i {
  float: left;
  font-size: 7em;
}

.play-button {
  width: 200px;
  margin-top: 30px;
}

#download article {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#download article a:nth-of-type(3) {
  display: inline-flex;
}

.fdroid-button {
  background: #000;
  border-radius: 10px;
  color: #9BF !important;
  padding: 7px 10px 9px;
  text-decoration: none !important;
  border: 1px solid white;
  font-size: 0.8em;
  line-height: 160%;
}

.fdroid-button span {
  color: white !important;
  text-transform: uppercase;
}

.fdroid-button b {
  font-size: 1.3em;
  color: white !important;
}

.github-button {
  text-align: left;
  padding: 5px 10px;
}

.github-button b {
  font-size: 2em;
}

.chiara {
  color: white;
}

.chiara a {
  color: #e99725;
}

.codice {
  color: white;
  background-image: url(../img/tastiera.jpg);
  background-position: center;
  background-size: cover;
}

h3 {
  text-transform: uppercase;
  font-size: 2rem;
  margin-top: 0;
}

#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 15px;
}

#about img {
  width: 100%;
}

.kofi {
  vertical-align: baseline;
  height: 17px;
  margin-right: 3px;
  margin-bottom: -2.5px;
}

@media screen and (max-width: 768px) {
  header {
    display: grid;
    align-items: end;
    padding-top: 30px;
  }
  header > div {
    position: initial;
  }
  header > div nav #title {
    flex-direction: column;
  }
  header > div nav #title img {
    margin: 15px 0;
  }
  header > div nav ul {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    column-gap: 30px;
  }
  header > div nav ul li {
    display: block;
  }

  .container {
    width: initial;
    margin: 0;
  }

  .medaglie {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  header nav.container, .centrata, .sinistra, .stretta {
    max-width: 100%;
    padding-left: 25px;
    padding-right: 20px;
  }

  .sinistra i {
    float: none;
    display: table;
    margin: -40px auto 10px;
  }

  .stretta i {
    float: none;
    display: table;
    margin: 0 auto;
  }

  .sinistra p {
    margin-top: 0;
  }

  .wide {
    width: initial;
    margin-left: 0;
    margin-right: 0;
  }

  #download article {
    flex-direction: column;
    height: 250px;
  }

  #about {
    grid-template-columns: 1fr;
  }

  #about p {
    margin-bottom: 40px;
  }
}

/*# sourceMappingURL=home.css.map */
