@font-face {
    font-family: 'BPreplay';
    src: url('../fonts/bpreplay.eot');
    src: url('../fonts/bpreplay.eot?#iefix') format('embedded-opentype'),
    url('../fonts/bpreplay.woff2') format('woff2'),
    url('../fonts/bpreplay.woff') format('woff'),
    url('../fonts/bpreplay.ttf') format('truetype'),
    url('../fonts/bpreplay.svg#bpreplayregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'BPreplay';
    src: url('../fonts/bpreplaybold.eot');
    src: url('../fonts/bpreplaybold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/bpreplaybold.woff2') format('woff2'),
    url('../fonts/bpreplaybold.woff') format('woff'),
    url('../fonts/bpreplaybold.ttf') format('truetype'),
    url('../fonts/bpreplaybold.svg#bpreplaybold') format('svg');
    font-weight: bold;
    font-style: normal;

}


*, ::after, ::before {
    box-sizing: border-box; }

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent; }

body {
    position: relative;
    margin: 0;
    font-family: 'BPreplay', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.4px;
    color: #080808;
    text-align: left;
    background-color: #fff8eb;
    padding: 50px 0;
    z-index: 3;
}

.animated-bkg {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(-45deg, #FFF6FC, #ffeaf9, #fdfdff, #ffdfeb);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -1;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


h1, h4, .h4, h5, .h5, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: bold;
}

p {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 1.2rem;
}


.container {
    position: relative;
    margin-right: 10%;
    margin-left: 10%;
}


.menu {
    position: fixed;
    bottom: 60px;
    right: 10%;
    text-align: right;
}

a {
    color: #83AAC3;
}

.menu a {
    text-decoration: none;
    display: inline-block;
    z-index: 2;
    color: #9C87D2;
}

.link-1 {
    transform: rotate(90deg);
    transform-origin: top right;
    position: absolute;
    right: 0;
    bottom: 35px;
}

.link-2 {
    transform: rotate(55deg);
    transform-origin: top right;
    position: absolute;
    right: 20px;
    bottom: 35px;
}

.link-3 {
    transform: rotate(30deg);
    transform-origin: top right;
    position: absolute;
    right: 40px;
    bottom: 25px;
}

.link-4 {
    position: absolute;
    right: 55px;
    bottom: 0;
}


.plus-cont {
    display: block;
    position: relative;
    height: 160px;
    width: 230px;
    z-index: 1;
}

.plus {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    height: 40px;
    width: 40px;
    background: url("../img/plus-v.png") no-repeat center ;
    background-size: contain;
    z-index: 2;

}

.plus-blur {
    display: block;
    position: absolute;
    bottom: -5px;
    right: -5px;
    height: 50px;
    width: 50px;
    background: #feffeb;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    z-index: 1;
}

@media(max-width: 992px) {
    .container {
        margin-right: 5%;
        margin-left: 5%;
    }
    .menu {
        right: 5%;
        bottom: 5%;
    }

    .menu {
        right: 30px;
        bottom: 30px;
    }

    .menu a, .plus-cont {
        display: none;
    }

    .plus-cont:after {
        display: block;
        content: '';
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: .95;
        background-color: #feffeb;
        filter: blur(5px);
        -webkit-filter: blur(5px);
        z-index: 1;
    }

    .overflow-hidden {
        overflow: hidden;
    }
}

@media(max-width: 768px) {
    .container {
        margin-right: 30px;
        margin-left: 30px;
    }
}

@media(max-width: 575px) {
    .container {
        margin-right: 15px;
        margin-left: 15px;
    }

    .menu {
        right: 15px;
        bottom: 15px;
    }
}


.mb-1 {
    margin-bottom: 1rem;
}

.mb-05 {
    margin-bottom: 0.5rem;
}

.yac {
    max-width: 340px;
    width: 100%;
    height: auto;
    margin-left: 0px ;
}


a {
    text-decoration: underline;
    color: #83AAC3;
}


@media(max-width: 1100px) {
    .yac {
        margin-left: 0;
    }
}

@media(max-width: 575px) {
    .yac {
        max-width: 240px;
    }
}

.page-text {
    max-width: 620px;
}

ul {
    padding-left: 1rem;
    margin-bottom: 1.2rem;
}

li {
    margin-bottom: .6rem;
}

.medium {
    font-size: 1.17em;
}

table {
    margin-bottom: 2rem;
    border-radius: 10px;
    border: 0;
    overflow: hidden;
}

table, th, td {
    border: 1px solid #9C87D2;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    vertical-align: middle;
}


td {
    text-align: left;
    padding: 8px 10px;
}

.divider {
    height: 1px;
    border-top: 1px solid #9C87D2;
    margin: 1.5rem 0;
    max-width: 100px;
}

/*Home*/


.home {
    background-image: url('../img/home-1.png'), url('../img/home-2.png');
    background-position: left bottom, right top;
    background-repeat: no-repeat, no-repeat;
    background-size: 500px, 350px;
    min-height: 100vh;
    padding: 50px 0;
}

@media(max-height:730px) {
    .home {
        background-image: url('../img/home-2.png');
        background-position: right top;
        background-repeat: no-repeat;
        background-size: 400px;
        padding-top: 150px;
    }
}


@media(max-width:768px) {
    .home {
        background-image: url('../img/home-1.png'), url('../img/home-2.png');
        background-position: left bottom, right top;
        background-repeat: no-repeat, no-repeat;
        background-size: 400px, 300px;
        padding-top: 150px;
    }
}

@media(max-width:575px) {
    .home {
        background-image: url('../img/home-2.png');
        background-position: right top;
        background-repeat: no-repeat;
        background-size: 160px;
        padding-top: 200px;
        padding-bottom: 0;
        overflow: hidden;
        height: 100vh;
    }
}

.intro-text {
    max-width: 380px;
}


.lang {
    display: flex;
    flex-direction: row;
}

.lang .ita {
    max-width: 30px;
    height: auto;
}

.lang .eng {
    max-width: 40px;
    height: auto;
}

/*Origini*/
.origini {
    background-image: url('../img/page-1.png');
    background-position: right top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 400px;
}

@media(max-width:768px) {
    .origini {
        background-size: 250px;
    }
}

@media(max-width:575px) {
    .origini {
        background-size: 190px;
        background-attachment: scroll;
        padding-top: 70px;
    }
}

/*Metodo*/
.metodo {
    background-image: url('../img/page-3.png');
    background-position: right top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 550px;
}

@media(max-width:992px) {
    .metodo {
        background-position: right -50px top;
        background-size: 450px;
    }
}

@media(max-width:768px) {
    .metodo {
        background-size: 350px;
    }
}

@media(max-width:575px) {
    .metodo {
        background-position: right -30px top;
        background-attachment: scroll;
        background-size: 250px;
        padding-top: 90px;
    }
}

/*Cosa quando quanto*/
.cosa {
    background-image: url('../img/page-5.png');
    background-position: right top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 350px;
}

@media(max-width:768px) {
    .cosa {
        background-size: 150px;
    }
}

@media(max-width:575px) {
    .cosa {
        background-size: 200px;
        background-attachment: scroll;
        background-position: right -40px top;
        padding-top: 90px;
    }
}


/*Sentiamoci*/
.sentiamoci {
    background-image: url('../img/page-4.png'), url('../img/home-2.png');
    background-position: left -100px bottom -100px, right top;
    background-repeat: no-repeat, no-repeat;
    background-size: 500px, 350px;
    min-height: 100vh;
    padding: 50px 0;
}


@media(max-width:768px) {
    .sentiamoci {
        background-image: url('../img/home-1.png'), url('../img/home-2.png');
        background-position: left bottom, right top;
        background-repeat: no-repeat, no-repeat;
        background-size: 400px, 300px;
        padding-top: 150px;
    }
}

@media(max-width:575px) {
    .sentiamoci {
        background-image: url('../img/home-2.png');
        background-position: right top;
        background-repeat: no-repeat;
        background-size: 160px;
        padding-top: 200px;
        padding-bottom: 0;
    }
}

.d-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.img-method {
    max-width: 80px;
    height: auto;
    margin-right: 5px;
}

.mb-0 {
    margin-bottom: 0;
}

@media(max-width:575px) {
    .d-flex {
        flex-direction: column;
        justify-content: left;
        align-items: start;
    }

}

div#mc_embed_signup_scroll {
    display: flex;
}

input[type="email"] {
    font-family: 'BPreplay', sans-serif;
    padding: 8px;
    border-radius: 4px;
    margin-right: 5px;
    box-shadow: none;
    border: 1px solid  #83AAC3;
    width: 200px;
    height: 40px;
    -webkit-appearance: none;
    font-size: 16px;
}

input[type="submit"] {
    font-family: 'BPreplay', sans-serif;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid  #83AAC3;
    box-shadow: none;
    background-color: #83AAC3;
    color: #ffffff;
    height: 40px;
    -webkit-appearance: none;
    font-size: 16px;
}

input:focus {
    outline: none;
    -webkit-appearance: none;
    box-shadow: none;
}

::placeholder {
    color: #83AAC3;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #83AAC3;
}

::-ms-input-placeholder {
    color: #83AAC3;
}