::selection {
  background-color: #E13300;
  color: white;
}

::-moz-selection {
  background-color: #E13300;
  color: white;
}

.not-found .foot {
  padding: 10px;
  font-family: "Avenir", "Avenir Next", sans-serif;
  color: white;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body.not-found {
  background: #16243c;
}

a {
  color: #003399;
  background-color: transparent;
  font-weight: normal;
}

.not-found h3 {

  font-size: 3rem;
  font-weight: normal;
  margin: 0 0 1px 0;
  padding: 1px;
}

code {
  font-family: Consolas, Monaco, Courier New, Courier, monospace;
  font-size: 12px;
  background-color: #f9f9f9;
  border: 1px solid #D0D0D0;
  color: #002166;
  display: block;
  margin: 14px 0 14px 0;
  padding: 12px 10px 12px 10px;
}

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;

}

.error-page h1 {
  font-size: 30vh;
  font-weight: bold;
  position: relative;
  margin: -8vh 0 0;
  padding: 0;
}

.error-page h1:after {
  content: attr(data-h1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: transparent;
  /* webkit only for graceful degradation to IE */
  background: -webkit-repeating-linear-gradient(-45deg, #71b7e6, #69a6ce, #b98acc, #ee8176, #b98acc, #69a6ce, #9b59b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 400%;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.25);
  animation: animateTextBackground 10s ease-in-out infinite;
}

.error-page h1+p {
  color: #d6d6d6;
  font-size: 8vh;
  font-weight: bold;
  line-height: 10vh;
  max-width: 600px;
  position: relative;
}

.error-page h1+p:after {
  content: attr(data-p);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: transparent;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
}

#particles-js {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

@keyframes animateTextBackground {
  0% {
    background-position: 0 0;
  }

  25% {
    background-position: 100% 0;
  }

  50% {
    background-position: 100% 100%;
  }

  75% {
    background-position: 0 100%;
  }

  100% {
    background-position: 0 0;
  }
}

@media (max-width: 767px) {
  .error-page h3 {
    font-size: 7vw;
  }

  .error-page h3+p {
    font-size: 8vw;
    line-height: 10vw;
    max-width: 70vw;
  }
}

a.back {
  position: fixed;
  right: 40px;
  bottom: 40px;
  background: -webkit-repeating-linear-gradient(-45deg, #71b7e6, #69a6ce, #b98acc, #ee8176);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 24px;
  padding: 15px 30px;
  text-decoration: none;
  transition: 0.25s all ease-in-out;
}

a.back:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* new 404 */
#fountainG {
  margin: 0 auto;
  margin-top: 5px;
  position: relative;
  width: 80px;
  height: 10px;
}

.cntr {
  display: table;
  width: 100%;
  height: 100%;
}

.cntr .cntr-innr {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

/*** STYLES ***/
.not-found .search {
  position: relative;
  height: 45px;
  width: 180px;
  box-sizing: border-box;
  margin: 12px 0 10px 0;
  border: 2px solid #FFFFFF;
  border-radius: 2px;
  transition: all 200ms ease;
  cursor: text;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.search:focus,
.search:hover {
  background: #e7e7e7;
  color: black;
}

.search.active,
.search:focus:after,
.search:hover {
  width: 280px;
  margin-right: 0px;
}

.not-found .search:hover i {
  top: -9px;
  left: 93%;
}

.search img {
  top: -8px;
  left: -31px;
  position: absolute;
  padding: 10px;
  width: 37px;
  transition: 0.5s all ease-in-out;
}

.cntr .search input {
  width: 100%;
  border: none;
  padding: 7px 9px;
  margin: -7px -1px -7px -3px;
  box-sizing: border-box;
  font-family: Helvetica;
  font-size: 23px;
  color: inherit;
  outline-width: 0px;
  background-image: none !important;
}

.fountainG {
  position: absolute;
  top: 0;
  background-color: #ffffff;
  width: 4px;
  height: 4px;
  -moz-animation-name: bounce_fountainG;
  -moz-animation-duration: 2.1s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-direction: linear;
  -moz-transform: scale(0.3);
  -moz-border-radius: 7px;
  -webkit-animation-name: bounce_fountainG;
  -webkit-animation-duration: 2.1s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: linear;
  -webkit-transform: scale(0.3);
  -webkit-border-radius: 7px;
  -ms-animation-name: bounce_fountainG;
  -ms-animation-duration: 2.1s;
  -ms-animation-iteration-count: infinite;
  -ms-animation-direction: linear;
  -ms-transform: scale(0.3);
  -ms-border-radius: 7px;
  -o-animation-name: bounce_fountainG;
  -o-animation-duration: 2.1s;
  -o-animation-iteration-count: infinite;
  -o-animation-direction: linear;
  -o-transform: scale(0.3);
  -o-border-radius: 7px;
  animation-name: bounce_fountainG;
  animation-duration: 2.1s;
  animation-iteration-count: infinite;
  animation-direction: linear;
  transform: scale(0.3);
  border-radius: 7px;
}

#fountainG_1 {
  left: 0;
  -moz-animation-delay: 0.84s;
  -webkit-animation-delay: 0.84s;
  -ms-animation-delay: 0.84s;
  -o-animation-delay: 0.84s;
  animation-delay: 0.84s;
}

#fountainG_2 {
  left: 10px;
  -moz-animation-delay: 1.05s;
  -webkit-animation-delay: 1.05s;
  -ms-animation-delay: 1.05s;
  -o-animation-delay: 1.05s;
  animation-delay: 1.05s;
}

#fountainG_3 {
  left: 20px;
  -moz-animation-delay: 1.26s;
  -webkit-animation-delay: 1.26s;
  -ms-animation-delay: 1.26s;
  -o-animation-delay: 1.26s;
  animation-delay: 1.26s;
}

#fountainG_4 {
  left: 30px;
  -moz-animation-delay: 1.47s;
  -webkit-animation-delay: 1.47s;
  -ms-animation-delay: 1.47s;
  -o-animation-delay: 1.47s;
  animation-delay: 1.47s;
}

#fountainG_5 {
  left: 40px;
  -moz-animation-delay: 1.68s;
  -webkit-animation-delay: 1.68s;
  -ms-animation-delay: 1.68s;
  -o-animation-delay: 1.68s;
  animation-delay: 1.68s;
}

#fountainG_6 {
  left: 50px;
  -moz-animation-delay: 1.89s;
  -webkit-animation-delay: 1.89s;
  -ms-animation-delay: 1.89s;
  -o-animation-delay: 1.89s;
  animation-delay: 1.89s;
}

#fountainG_7 {
  left: 60px;
  -moz-animation-delay: 2.1s;
  -webkit-animation-delay: 2.1s;
  -ms-animation-delay: 2.1s;
  -o-animation-delay: 2.1s;
  animation-delay: 2.1s;
}

#fountainG_8 {
  left: 70px;
  -moz-animation-delay: 2.31s;
  -webkit-animation-delay: 2.31s;
  -ms-animation-delay: 2.31s;
  -o-animation-delay: 2.31s;
  animation-delay: 2.31s;
}

@-moz-keyframes bounce_fountainG {
  0% {
    -moz-transform: scale(1);
    background-color: #ffffff;
  }

  100% {
    -moz-transform: scale(0.3);
    background-color: #ffffff;
  }
}

@-webkit-keyframes bounce_fountainG {
  0% {
    -webkit-transform: scale(1);
    background-color: #ffffff;
  }

  100% {
    -webkit-transform: scale(0.3);
    background-color: #ffffff;
  }
}

@-ms-keyframes bounce_fountainG {
  0% {
    -ms-transform: scale(1);
    background-color: #ffffff;
  }

  100% {
    -ms-transform: scale(0.13);
    background-color: #ffffff;
  }
}

@-o-keyframes bounce_fountainG {
  0% {
    -o-transform: scale(1);
    background-color: #ffffff;
  }

  100% {
    -o-transform: scale(0.63);
    background-color: #ffffff;
  }
}

@keyframes bounce_fountainG {
  0% {
    transform: scale(1);
    background-color: #ffffff;
  }

  100% {
    transform: scale(0.3);
    background-color: #ffffff;
  }
}

.not-found svg {
  position: absolute;
  z-index: -1;
  opacity: 0.3;
}

body.not-found {
  text-align: center;
  font-family: "Roboto", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
}

.not-found .error-page span {}

.not-found .intro {
  margin: 0 auto;
  /* margin-top: 80px; */
  color: #fff;
  font-size: 40px;
  font-family: "Montserrat", sans-serif;
}

.not-found small p {
  font-size: 2rem;
  color: royalblue;
}

.not-found button {
  padding: 12px 14px;
  margin-right: -13px;
  font-size: 19px;
  border: 2px solid white;
  cursor: pointer;
  background: #1b286c;
  color: white;
}

.not-found button:hover {
  background: #142032;
}

/*
	.cntr .search i{
		top: -8px;
		left: -31px;
		position: absolute;
		padding: 10px;
		width: 37px;
		transition: 0.5s all ease-in-out;
	}
	.not-found .search:hover i:after{
		content:"invia";
		color:red
	}
*/
.not-found input[type="search"] {
  padding: 9px 19px;
  margin: 1px;
  font-size: 17px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  height: auto;
  min-width: 100px;
}