:root {
    --fifth-color: #D6F3F1;
}

/* START BODY */
body {
    font-family: 'Lato', sans-serif; 
    max-width: 1440px;
    margin: 0 auto;

}
/* END BODY */

/* START WIDGET11 - DISCOVER */
.section-wdg-11 {
    max-width: 100%;
    background-color: var(--third-color);
    display: flex;
    background-color: var(--fifth-color);
    padding-bottom: 10%;
    padding-left: 10%;
    padding-right: 10%;
}

.section-wdg-11 > .div1 {
    width: 80%;
}
.section-wdg-11 > .div1 div{
    display: flex;
    margin-top: -6%;
    margin-bottom: -10%;
}
.section-wdg-11 > .div2 {
    width: 20%; 
    margin-top: 30px;
}
.section-wdg-11 > .div1 > .p1 {
    text-align: left;
    color: var(--second-color);
    font-size: 50px;
    margin-bottom: 160px;
}
.section-wdg-11 > .div1 > .p2 {
    text-align: left;
    width: 100%;
    color: var(--second-color);
    font-size: 16px;
}
.section-wdg-11 > .div2 a {
    border-radius: 35px;
    padding: 25px;
    font-size: 26px;
}
.section-wdg-11 > .div2 a span {
    margin-left: 30px;
    padding: 15px 25px;
}
.section-wdg-11 .register-btn {
   background: var(--second-color);
    color: white;
    font-weight: 400;
    padding: 6px 0px;
    padding-left: 15px;
    border-radius: 60.5px;
    text-decoration: none;
    display: flex;
    height: auto;
    width: 255px;
    text-align: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: -10px;
}
.section-wdg-11 .register-btn > span {
    color: var(--second-color);
    background: #fff;
    border-radius: 30px;
    padding: 14px 17px;
    margin-left: 43px;
    text-align: center;
    }
/*FINE DISCOVER SLIDER*/

@media (min-width: 750px) and (max-width: 989px){
    .section-wdg-11 > .div1 > .p1 {
    text-align: left;
    color: var(--second-color);
    font-size: 50px;
    margin-bottom: 60%;
}
    .section-wdg-11 > .div1 > .p1 {
        margin-bottom: 200px;
    }
    .section-wdg-11 .register-btn{
        margin-bottom: 65px;
    }
}

@media (max-width: 749px) {  
    /* DISCOVER SLIDER */
    
    .section-wdg-11 {
        display: block; /* da contents a block per layout verticale */
        padding: 30px 10px; /* padding per margini interni */
        background-color: var(--fifth-color);
    }
    .section-wdg-11 > .div1 {
        width: 100%;
        padding: 0;
        margin-bottom: 0px; /* spazio sotto testo */
    }
    .section-wdg-11 > .div1 > .p1 {
        font-size: 24px; /* dimensione fissa leggibile */
        margin-bottom: 100px;
        line-height: 1.3;
    }
    .section-wdg-11 > .div1 > .p2 {
        font-size: 16px;
        margin-bottom: 25px;
        line-height: 1.5;
    }
    .section-wdg-11 > .div1 > div {
        margin: 0; /* rimuove margini negativi */
    }
    .section-wdg-11 > .div1 > div > .register-btn {
    background: var(--second-color);
    color: white;
    font-weight: 400;
    padding: 6px 0px;
    padding-left: 15px;
    border-radius: 60.5px;
    text-decoration: none;
    display: flex;
    height: auto;
    width: 250px;
    text-align: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: -10px;
    margin: 0 auto 40px auto; /* centra bottone e margine sotto */
    display: flex;
    justify-content: center;
    align-items: center;
    }
    .section-wdg-11 > .div1 > div > .register-btn > span {
    color: var(--second-color);
    background: #fff;
    border-radius: 30px;
    padding: 14px 17px;
    margin-left: 43px;
    text-align: center;
    }
    .section-wdg-11 > .div2 {
        display: none; /* nasconde immagine da mobile */
    }
.section-wdg-11 .register-btn {
   background: var(--second-color);
    color: white;
    font-weight: 400;
    padding: 6px 0px;
    padding-left: 15px;
    border-radius: 60.5px;
    text-decoration: none;
    display: flex;
    height: auto;
    width: 255px;
    text-align: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: -10px;
}
}