/* barlow-condensed-italic - latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 400;
  src: url('fonts_2/BarlowCondensed-MediumItalic.ttf'); /* IE9 Compat Modes */
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 600;
  src: url('fonts_2/BarlowCondensed-BoldItalic.ttf'); /* IE9 Compat Modes */
}


* {
font-family: 'Barlow Condensed',  Arial;
padding: 0;
margin: 0;
box-sizing:border-box;
}
body {
  /*Fallback if gradeints don't work */
  background: #EE743B;
  /*Linear gradient... */
  background:
    radial-gradient(
     at center, #D42D27, #EE743B
    );
    min-height: 100vh;
    position: relative;
}
.base_immagine {
  background-image: url('scegli_meme.jpg');
  height: 507px;
  width: 1000px;
  background-position: center;
  background-size: cover;
  position: relative;
}
.base_immagine p {
  font-size: 4rem;
  font-weight: 400;
  line-height: 3.5rem;
font-style: italic;
}
.base_immagine p span:last-of-type{
  font-size: 4.5rem;
  font-weight: 600;
}
.base_immagine #risultato_1 {
  text-align: right;
  position: absolute;
  top: 49%;
  left: 2%;
  transform: translateY(-113%);
  color: grey;
  text-transform: uppercase;
  width: 42%;
}
.base_immagine #risultato_2 {
  text-align: left;
  position: absolute;
  top: 49%;
  left: 48%;
  transform: translateY(-113%);
  color: white;
    text-transform: uppercase;
}


h1 {
  font-size: 3rem;
}
h2 {
  margin:0 auto 2rem auto;
  font-weight: 400;
  max-width: 95%;
}
.container_wrap {
  max-width: 1150px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
input {
  width: 50%;
  padding: 15px 10px;
  border-radius: 10px;
font-size: 1.2rem;
  margin-bottom: 15px;
  border: none;
  text-align: center;
}
#valore_1 {
    border-color: #2C312D;
  color: #2C312D;
}
#valore_2 {
    border-color: #B83226;
  color: #B83226;
}
#valore_1:focus {
  outline: none !important;
    border:1px solid #2C312D;
    box-shadow: 0 0 10px #2C312D;
}
#valore_2:focus {
  outline: none !important;
    border:1px solid #B83226;
    box-shadow: 0 0 10px #B83226;
}
#valore_1::placeholder {
  color: #2C312D;
}
#valore_2::placeholder {
  color: #B83226;
}
  .result {
    visibility: hidden;
    position: absolute;
    top: -1000vw;
  }
  #finally_download {
    position: absolute;
    top: -1000vw;
  }
  .button {
    width:50%;
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
  }
  #download {
    color: white;
    background-color: #B83226;
    margin-bottom: 1rem;
  }
  #reset {
    background-color: #2C312D;
    color: white
  }
  .base_immagine {
    margin: 1rem 0;
    /* border-radius: 10px; */
  }
  @keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
.disclaimer {
  background-color: white;
  color: black;
  text-align: center;
  width: 100%;
  padding: 10px 0;
}

@media only screen and (max-width: 992px) {
  h1 {
    font-size: 10vw;
    text-align: center;
}
h2 {
  font-size: 6vw;
    text-align: center;
}
input {
    width: 95%;
}
  .base_immagine {
    height: 48vw;
    width: 95vw;
}
.base_immagine p {
    font-size: 6vw;
    line-height: 6vw;
}
.base_immagine p span:last-of-type {
    font-size: 7vw;
    font-weight: 600;
}
.base_immagine #risultato_1 {
  top: 61%;
}
.base_immagine #risultato_2 {
  top: 61%;
}
}


html, body {
  overflow-x: hidden;
}
#to_resolve {
  width: 1980px;
  height:986px;
  background-position: center;
  background-size: cover;
  position: relative;
  background-image: url('scegli_meme.jpg');
  position: absolute;
  top: -1000vw;
}
#to_resolve p {
  font-size:9rem;
  font-weight: 400;
  line-height: 7.5rem;
font-style: italic;
}
#to_resolve p span:last-of-type{
  font-size: 9.5rem;
  font-weight: 600;
}
#to_resolve #to_resolve_risultato_1 {
  text-align: right;
  position: absolute;
  top: 49%;
  left: 2%;
  transform: translateY(-113%);
  color: grey;
  text-transform: uppercase;
  width: 42%;
}
#to_resolve #to_resolve_risultato_2 {
  text-align: left;
  position: absolute;
  top: 49%;
  left: 48%;
  transform: translateY(-113%);
  color: white;
    text-transform: uppercase;
}

@media only screen and (max-width: 992px) {
  #to_resolve {
    height: 192vw;
    width: 380vw;

  }
  #to_resolve p {
    font-size: 24vw;
    line-height: 24vw;
  }
  #to_resolve p span:last-of-type{
    font-size: 30vw;
    font-weight: 600;
  }
  #to_resolve #to_resolve_risultato_1 {
    top: 61%;
  }
  #to_resolve #to_resolve_risultato_2 {
    top: 61%;
  }
}
