body {
    background: url('/assets/image/olga-thelavart-vS3idIiYxX0-unsplash.jpg'), #FFFFFF;
    margin: 0;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

a {
    color: white;
}

#curva {
    margin: 0;
    background-image: url("/assets/image/olga-thelavart-vS3idIiYxX0-unsplash.jpg");
}

/* Page 1 */
#page1 {
    overflow: hidden;
}

h1 {
    font-family: hand;
    font-style: normal;
    font-weight: 600;
    font-size: 20vw;
    text-align: center;
    letter-spacing: 0.08em;
    color: #396DD5;
    margin-top: 10%;
    margin-bottom: 0%;
}

h2 {
    font-family: bebas;
    font-style: normal;
    font-weight: 400;
    font-size: 5vw;
    text-align: center;
    letter-spacing: 0.025em;
    color: #262626;
    margin: 0%;
}

.slogan {
    font-size: 1.7vw;
    letter-spacing: 0.12em;
    margin: 1% 20%;
}

/* Page 2 */
#page2 {
    margin-top: 8%;
    overflow: hidden;
}

.forza {
    font-size: 5.2vw;
    letter-spacing: 0.12em;
    padding-bottom: 3%;
    margin: 2% 5%;
    border-bottom: 4px solid rgba(57, 109, 212, 0.5);
}

.table {
    margin: 0 5%;
}

u {
    text-decoration: none;
    font-family: bebas;
    font-weight: 400;
    font-size: 2.3vw;
    letter-spacing: 0.12em;
    color: #396DD4;
}

th {
    font-family: roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 1.5vw;
    text-align: center;
    letter-spacing: 0.06em;
    color: #262626;
    padding: 0% 3%;
    padding-bottom: 2%;
    margin: 0;
}

.bordo {
    border-right: 4px solid rgba(57, 109, 212, 0.5);
    border-left: 4px solid rgba(57, 109, 212, 0.5);
}

.g {
    display: none;
    font-family: roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 1.5vw;
    text-align: center;
    letter-spacing: 0.06em;
    color: #262626;
    padding: 2% 3%;
    margin: 0;
    border-bottom: 4px solid rgba(57, 109, 212, 0.5);
}

p.bordi {
    border-top: 4px solid rgba(57, 109, 212, 0.5);
    border-bottom: 4px solid rgba(57, 109, 212, 0.5);
}

img.penna {
    display: block;
    margin: auto;
    padding-top: 2%;
    transition-delay: 0s;
    transition-duration: 1s;
    transition-property: all;
    transition-timing-function: ease;
    width: 22%;
}

img.penna:hover {
    transform: rotateY(180deg);
}

/* Page 3 */
#page3 {
    overflow: hidden;
    margin: 10% 3%;
    margin-bottom: 7%;
}

.left {
    float: left;
    width: 35%;
    position: relative;
}

img.post-it {
    transform: rotate(-5deg);
    width: 100%;
}

h5 {
    transform: rotate(-7deg);
    font-family: hand;
    font-style: normal;
    font-weight: 600;
    font-size: 4vw;
    text-align: center;
    letter-spacing: 0.15em;
    color: #262626;
    margin: 0;
    padding-top: 50%;
    margin-left: 15%;
}

.right {
    float: right;
    width: 60%;
}

.compiti {
    font-size: 3.5vw;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 5%;
}

h3 {
    font-family: roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 1.875vw;
    text-align: center;
    letter-spacing: 0.06em;
    color: #262626;
    margin: 5% 5%;
}

.ps {
    font-weight: 400;
    font-size: 1.25vw;
    letter-spacing: 0.12em;
}

/* Page 4 */
#page4 {
    overflow: hidden;
    border-top: 20px solid #396DD4;
    background-color: #396DD4;
}

table.t {
    margin: 0;
    width: 100%;
    border-spacing: 0;
    table-layout: fixed;
}

.t1 {
    background-color: #333333;;
    color: white;
    font-family: bebas;
    font-weight: 400;
    font-size: 4.2vw;
    letter-spacing: 0.12em;
    margin: 0;
    padding: 5%;
}

.t2 {
    background-color: #262626;
    color: white;
    font-family: bebas;
    font-weight: 400;
    font-size: 4.2vw;
    letter-spacing: 0.12em;
    margin: 0;
    padding: 5%;
}

.t3 {
    background-color: #1A1A1A;
    color: white;
    font-family: bebas;
    font-weight: 400;
    font-size: 4.2vw;
    letter-spacing: 0.12em;
    margin: 0;
    padding: 5%;
}

.left2 {
    float: left;
    width: 25%;
    margin: 0;
}

.evident {
    margin: auto;
    display: block;
    padding-top: 15%;
}

.evident2 {
    display: none;
}

.right2 {
    float: right;
    width: 75%;
    margin: 0;
}

.evi {
    margin: 0;
    padding: 5% 3%;
    font-weight: 700;
    font-size: 2.1875vw;
    color: white;
}

/* Page 5 */
#page5 {
    overflow: hidden;
}

.fack {
    font-size: 24vw;
    letter-spacing: 0.03em;
}

.esteDF {
    float: left;
    width: 30%;
}

h4 {
    font-family: bebas;
    font-style: normal;
    font-weight: 400;
    font-size: 4.2vw;
    text-align: justify;
    letter-spacing: 0.12em;
    color: #262626;
    margin-left: 25%;
    margin-top: 25%;
    padding-left: 5%;
    padding-top: 10%;
    border: 0.4vw solid rgba(57, 109, 212, 0.75);;
}

.ele {
    float: right;
    width: 70%;
    padding-bottom: 5%;
}

.topnav {
    position: relative;
    margin-left: 10%;
    margin-right: 10%;
    background-color: rgba(57, 109, 212, 0.25);
    border-radius: 1.15vw;
    margin-bottom: 1%;
}

.topnav #d1 {
    display: none;
    background-color: rgba(57, 109, 212, 0.25);
    border-radius: 1.15vw;
}

.topnav #d2 {
    display: none;
    background-color: rgba(57, 109, 212, 0.25);
    border-radius: 1.15vw;
}

.topnav #d3 {
    display: none;
    background-color: rgba(57, 109, 212, 0.25);
    border-radius: 1.15vw;
}

.topnav #d4 {
    display: none;
    background-color: rgba(57, 109, 212, 0.25);
    border-radius: 1.15vw;
}

.topnav #d5 {
    display: none;
    background-color: rgba(57, 109, 212, 0.25);
    border-radius: 1.15vw;
}

.topnav #d6 {
    display: none;
    background-color: rgba(57, 109, 212, 0.25);
    border-radius: 1.15vw;
}

.active {
    color: black;
    padding: 2% 2.5%;
    font-family: roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 1.6vw;
    letter-spacing: 0.02em;
    margin: 0;
}

.topnav p.picu {
    color: black;
    padding: 2% 2.5%;
    font-family: roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 1.5vw;
    letter-spacing: 0.02em;
    margin: 0%;
}

.topnav p.icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding-right: 5%;
    margin-bottom: 0;
    margin-top: 2%;
}

.arrow {
    border: solid black;
    border-width: 0 0.5vw 0.5vw 0;
    display: inline-block;
    padding: 0.5vw;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

/* Page 6 */
#esterna6 {
    overflow: hidden;
    background-color: #222;
}

.fin {
	font-size: 5.5vw;
    letter-spacing: 0.08em;
    color: white;
    margin-bottom: 2%;
    margin-top: 3%;
}

.contatto{
    font-weight: 700;
    font-size: 2.1vw;
    color: white;
    margin: 5% 10%;
}

.contatto1 {
    font-weight: 700;
    font-size: 2.1vw;
    color: white;
    margin: 5% 8%;
}

.L {
    float: left;
    width: 25%;
}

.R {
    float: right;
    width: 25%;
}

.pen {
    margin: 0;
    transform: rotate(50deg);
    padding-left: 20%;
    padding-top: 20%;
    padding-bottom: 20%;
    width:100%;
}

.scarPen {
    margin: 0;
    padding-left: 75%;
    width: 50%;
}

.eviden {
    margin: 0;
    transform: rotate(90deg);
    padding-left: 55%;
    padding-top: 45%;
    padding-bottom: 20%;
    width: 80%;
}

.scarEvi {
    margin: 0;
    width: 45%;
}

button {
    font-family: bebas;
    font-style: normal;
    font-weight: 400;
    font-size: 6.7vw;
    text-align: center;
    align-items: center;
    margin: 0 auto;
    display: block;
    background-color: white;
    border-radius: 2.6vw;
    padding: 3vw 5vw;
    margin-bottom: 5%;
}

button:hover {
    background-color: #396DD4;
    color: white;
}

.cubo {
    color: #262626;
}

.cubo:hover {
    color: white;
}

/*Registrazione*/
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

:root {
    --main-color:
        /*#fada26;#ffee8d*/
        #111;
    --contrast-color:
        /*#dcc022;*/
        white;
}

label {
    font-size: 1vw;
    color: white;
}

.esternaReg {
    overflow: hidden;
}

/* Form */
form {
    max-width: 32vw;
    width: 100%;
    margin: 0 auto;
}

form input,
form select,
form textarea {
    width: 30.4vw;
    padding: 0.78125vw;
    border: 1px solid gray;
    background-color: var(--contrast-color);
    border-radius: 10px;
    margin: 0.35vw 0;
    font-size: 1vw;
    -webkit-appearance: none;
    color: black;
    font-family: roboto;
}

form select {
    width: 100%;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: 0;
}

::placeholder {
    color: #1d1d1d;
}

#newsletterForm input[type="text"],
#newsletterForm input[type="email"] {
    width: 48%;
    float: left;
}
#newsletterForm input[type="text"],
#newsletterForm input[type="email"],
#newsletterForm input[type="submit"],
#newsletterForm select,
#newsletterForm #newsletterTrattDati {
    margin: 1%;
    color: black;
}
@media only screen and (max-width: 600px) {
    #newsletterTrattDati {
        padding: 10px 0;
        clear: both;
    }
}

/*Fine Form*/
/*Input type checkbox e radio*/
input[type="checkbox"],
input[type="radio"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    display: block;
    float: left;
    opacity: 0;
    /*width: 1vw;*/
    z-index: -1;
    font-family: roboto;
}

input[type="checkbox"]+label,
input[type="radio"]+label {
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    font-size: 1.5vw;
    font-weight: 300;
    padding-left: 5vw;
    padding-right: 0.625vw;
    position: relative;
    font-family: roboto;
}

input[type="checkbox"]+label:before,
input[type="radio"]+label:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: roboto;
    font-weight: 400;
}

input[type="checkbox"]+label:before,
input[type="radio"]+label:before {
    border-radius: 4px;
    border: solid 1px;
    content: '';
    display: inline-block;
    font-size: 0.66vw;
    height: 2vw;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 2vw;
    font-family: roboto;
}

input[type="checkbox"]:checked+label:before,
input[type="radio"]:checked+label:before {
    content: 'X';
    font-family: roboto;
    color: black;
    background-color: var(--contrast-color);
}

input:disabled{
    opacity: 0.5;
}

#recaptcha > div{
    margin: 2vw auto;
}

input[type="datetime-local"]:before{
    content: '*Quando vorresti essere contattato?';
    color: #000;
    width:100%;
}

input[type="datetime-local"]:active:before, input[type="datetime-local"]:hover:before, input[type="datetime-local"]:visited:before,  input[type="datetime-local"]:focus:before{
    content: '';
    width: 100%;
}

/* Footer */
.esterna {
    overflow: hidden;
    border-style: solid;
    border-top: 1%;
    border-color: white;
    padding-top: 1%;
    padding-bottom: 3%;
    margin-left: 5%;
    margin-right: 5%;
}

.social {
    float: left;
    width: 50%;
    color: white;
    text-align: center;
    font-family: bebas; 
	font-size: 1.7vw;
    margin: 0%;
    color: white;
}

.contattaci {
    float: right;
    width: 50%;
    color: white;
    text-align: center;
    font-family: bebas; 
	font-size: 1.7vw;
    margin: 0%;
    color: white;
}

.power {
    font-family: bebas; 
	font-size: 1vw;
	text-align: center;
    margin-bottom: 1%;
    margin-top: 0%;
    color: white;
}

img {
    margin-left: 1%;
    margin-right: 1%;
    width: 10%;
}

@font-face {
    font-family: hand;
    src: url('/assets/font/My_handwriting.ttf');
}

@font-face {
    font-family: bebas;
    src: url('/assets/font/BebasNeue-Regular.ttf');
}

@font-face {
    font-family: roboto;
    src: url('/assets/font/RobotoCondensed-Regular.ttf');
}

/* Responsive */
@media only screen and (min-width: 1921px) {

}

@media only screen and (min-width: 1441px) and (max-width: 1920px) {

}

@media only screen and (min-width: 1201px) and (max-width: 1440px) {

}

@media only screen and (min-width: 993px) and (max-width: 1200px) {

}

@media only screen and (min-width: 769px) and (max-width: 992px) {
    /* Page 6 */
    form {
        max-width: 350px;
    }
    
    form input {
        width: 333px;
        margin: 2% 0;
        height: 30px;
        font-size: 17px;
    }

    form select {
        width: 350px;
        margin: 2% 0;
        height: 35px;
        font-size: 15px;
    }

    form textarea {
        width: 333px;
        margin: 2% 0;
        height: 100px;
        font-size: 17px;
    }

    input[type="checkbox"]+label, 
    input[type="radio"]+label {
        font-size: 1.5vw;
    }

    .rc-anchor-content {
        width: 20%;
    }

    .L {
        display: none;
    }

    .R {
        display: none;
    }
    
    .pen {
        display: none;
    }

    .scarPen {
        display: none;
    }

    .eviden {
        display: none;
    }

    .scarEvi {
        display: none;
    }
}

@media only screen and (min-width: 577px) and (max-width: 768px) {
    /* Page 6 */
    form {
        max-width: 320px;
    }
    
    form input {
        width: 308px;
        margin: 2% 0;
        height: 30px;
        font-size: 17px;
    }

    form select {
        width: 320px;
        margin: 2% 0;
        height: 35px;
        font-size: 15px;
    }

    form textarea {
        width: 308px;
        margin: 2% 0;
        height: 80px;
        font-size: 17px;
    }

    input[type="checkbox"]+label, 
    input[type="radio"]+label {
        font-size: 1.5vw;
    }

    .rc-anchor-content {
        width: 20%;
    }

    .L {
        display: none;
    }

    .R {
        display: none;
    }
    
    .pen {
        display: none;
    }

    .scarPen {
        display: none;
    }

    .eviden {
        display: none;
    }

    .scarEvi {
        display: none;
    }

}

@media only screen and (max-width: 576px) {
    /* Page 1 */
    h1 {
        font-size: 25vw;
    }
    
    h2 {
        font-size: 6vw;
    }
    
    .slogan {
        font-size: 3vw;
    }
    
    /* Page 2 */
    .forza {
        margin-bottom: 0%;
        font-size: 7vw;
    }
    
    .table {
        display: none;
    }
    
    .g {
        display: block;
        margin-left: 5%;
        margin-right: 5%;
        font-size: 3vw;
        padding-top: 5%;
    }

    u {
        font-size: 4vw;
    }

    p.bordi {
        display: block;
    }
    
    img.penna {
        width: 50%;
        padding-top: 5%;
    }
    
    /* Page 3 */
    .left {
        width: 100%;
    }

    img.post-it {
        width: 60%;
        margin: auto;
        display: block;
        transform: rotate(0deg);
    }

    h5 {
        font-size: 7.5vw;
        transform: rotate(0deg);
        padding: 0;
        margin: 0 15%;
        margin-top: 25%;
    }

    .right {
        width: 100%;
    }

    .compiti {
        margin-top: 5%;
        font-size: 5vw;
    }

    h3 {
        font-size: 3.5vw;
    }

    .ps {
        font-size: 3vw;
    }
    
    /* Page 4 */
    .left2 {
        width: 100%;
    }

    .evident2 {
        max-width: 40%;
        transform: rotate(-38.8deg);
        padding: 0%;
        margin: 0 auto;
        display: block;
    }

    .evident {
        display: none;
    }

    .gue {
        display: none;;
    }
    
    .right2 {
        width: 100%;
    }

    .evi {
        font-size: 3.5vw;
    }
    
    /* Page 5 */
    .fack {
        font-size: 30vw;
    }
    
    .esteDF {
        width: 100%;
    }

    h4 {
        padding-top: 0;
        padding-left: 2%;
        margin-top: 0;
        margin-left: 28%;
        font-size: 5vw;
    }

    .ele {
        width: 100%;
    }

    .topnav p.icon {
        margin-top: 0%;
    }

    .active {
        font-size: 3vw;
    }

    .topnav p.picu {
        font-size: 2.8vw;
    }

    /* Page 6 */
    .fin {
        font-size: 7vw;
    }

    .contatto {
        font-size: 2.8vw;
    }

    .contatto1 {
        font-size: 2.8vw;
    }

    form {
        max-width: 304px;
    }
    
    form input {
        width: 293px;
        margin: 2% 0;
        height: 30px;
        font-size: 15px;
    }

    form textarea {
        width: 293px;
        margin: 2% 0;
        height: 80px;
        font-size: 15px;
    }

    form select {
        width: 304px;
        margin: 2% 0;
        height: 35px;
        font-size: 13px;
    }

    input[type="checkbox"]+label, 
    input[type="radio"]+label {
        font-size: 2.2vw;
    }

    .rc-anchor-content {
        width: 20%;
    }

    .L {
        display: none;
    }

    .R {
        display: none;
    }
    
    .pen {
        display: none;
    }

    .scarPen {
        display: none;
    }

    .eviden {
        display: none;
    }

    .scarEvi {
        display: none;
    }

    /* Footer */
    .cont {
        font-size: 4vw;
    }

    .e {
        font-size: 3vw;
    }

    .so {
        font-size: 4vw;
    }

    .power {
        font-size: 3vw;
    }
}







/******************************* ASPESI ***********************/
.topnav{
    user-select: none;
}

html {
    scroll-behavior: smooth;
}