@font-face {
  font-family: 'Hug Me Tight - OTF';
  src: url(../tipography/HugMeTight_OTF.woff2);
}

body, p, h1 {
    margin: 0;
}

body {
    background-color: #009fe3;
}

a {
    text-decoration: none;
}

img#bg1 {
    position: fixed;
    top: -10%;
    right: -1rem;
}

img#bg2 {
    position: fixed;
    left: -15rem;
    bottom: -10rem;
}

header {
    width: 100%;
}

div#banner {
    width: 100%;
    height: 100vh;
}


div.logo {
    width: 100%;
}

div#banner img#logo {
    display: block;
    margin: auto;
    max-width: 640px;
    margin-bottom: 2rem;
}

div.logo img#dlogo {
    display: none;
}

div.heading-wrapper {
    height: 100vh;
}

div.heading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 50%;
    color: #21282e;
    font-family: 'Hug Me Tight - OTF';
    font-size: 2rem;
    flex-direction: column;
    padding-left: 2rem;
}

div.testo {
    text-align: center;
    padding: 4rem;
}

p.address {
    margin-top: 1rem;
}

span.underline {
    background:linear-gradient(180deg, transparent 50%, #fdd75685 60%);
}

div.heading2 {
    position: absolute;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
}

img#piatto {
    position: absolute;
    width: 25%;
    left: 0;
    bottom: 40%;
}

img#doraemon {
    width: 70%;
    position: relative;
    bottom: 25%;
    z-index: 1;
}

img#X-e-linee {
    position: absolute;
    width: 100%;
    margin-right: 10%;
    margin-bottom: 15%;
    z-index: 0;
}

div.heading p {
    font-family: 'Hug Me Tight - OTF';
    color: white;
    text-shadow: 1px 3px rgb(0 0 0 / 55%);
    font-size: 100%;       
}

div.heading h1 {
    color: white;
    font-weight: normal;
    font-size: 100%;
    text-shadow: 1px 3px rgb(0 0 0 / 55%);
}

a.contact {
    cursor: pointer;
    font-size: 1.5rem;
    font-family: 'Hug Me Tight - OTF';
    border: 2px solid black;
    padding: 10px 15px;
    border-radius: 32px;
    color: #000000;
    background: white;
}

a.contact:hover {
    color: white;
    background: black;
}

div#main-container {
    width: 100%;
    text-align: center;
}

@keyframes floating {
    0% {transform: translateY(30px);}
    50% {transform: translateY(0px);}
    100% {transform: translateY(30px);}  
}

img#doraemon {   
    animation: floating 2s infinite;
    animation-timing-function: ease-in-out;
}

@keyframes floating2 {
    0% {transform: translateY(0px);}
    50% {transform: translateY(15px);}
    100% {transform: translateY(0px);}  
}

img#piatto {
    animation: floating2 2s infinite;
    animation-timing-function: ease-in-out;
}

div.logo img#dlogo {
    animation: floating 2s infinite;
    animation-timing-function: ease-in-out;
}

div.copyright {
    text-align: right;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

div.copyright p {
    color: white;
    text-shadow: 1px 2px 3px black;
}


/* mobile */ 

@media(min-width: 280px) and (max-width: 1023px) {
    img#bg1 {
        width: 50%;
        position: fixed;
        top: -1%;
        right: -1rem;
    }

    img#bg2 {
        width: 50%;
        position: fixed;
        left: -20%;
        bottom: -5%;
    }

    div.heading {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
        color: #21282e;
        font-family: 'Hug Me Tight - OTF';
        font-size: 2rem;
        flex-direction: column;
        padding-left: unset;
    }

    div#banner img#logo {
        max-width: 280px;
        margin-bottom: 2rem;
    }

    div.logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    div.logo img#dlogo {
        display: block;
        max-width: 220px;
        margin-bottom: 2rem;
    }

    div.testo {
        text-align: center;
        font-size: 20px;
        padding: 0px 2rem;
        margin-bottom: 2rem;
    }

    a.contact {
        font-size: 1rem;
        font-family: 'Hug Me Tight - OTF';
        border: 2px solid black;
        padding: 10px 12px;
        border-radius: 32px;
        color: #000000;
        background: white;
    }

    div.heading2 {
        display: none;
    }   

    div.copyright {
        margin-bottom: 0.5rem;    
        font-size: 8px;
        text-align: center;
    }
}

@media(min-width: 720px) and (max-width: 1000px) {
    img#bg1 {
        width: 50%;
        position: fixed;
        top: -2%;
        right: -1rem;
    }

    img#bg2 {
        width: 50%;
        position: fixed;
        left: -20%;
        bottom: -10%;
    }

    div.logo img#dlogo {
        display: block;
        max-width: 320px;
        margin-bottom: 3rem;
    }

    div#banner img#logo {
        max-width: 330px;
        margin-bottom: 1rem;
    }

    div.testo {
        text-align: center;
        font-size: 25px;
        padding: 0px 2rem;
        margin-bottom: 2rem;
    }

    a.contact {
        font-size: 1.5rem;
        font-family: 'Hug Me Tight - OTF';
        border: 2px solid black;
        padding: 15px 15px;
        border-radius: 32px;
        color: #000000;
        background: white;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {

    img#bg1 {
        width: 30%;
        position: fixed;
        top: -1%;
        right: -1rem;
    }

    img#bg2 {
        width: 30%;
        position: fixed;
        left: -13%;
        bottom: -13%;
    }

    div.heading-wrapper {
        width: 100%;
        height: 100%;
    }

    div.heading {
        width: 50%;
        padding-left: unset;
    }

    div.logo img#dlogo {
        display: none;
    }

    div.heading2 {
        position: absolute;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        top: 0;
        right: 0;
        height: 100%;
        width: 50%;
    }

    img#X-e-linee {
        position: absolute;
        width: 100%;
        margin-right: 10%;
        margin-bottom: 15%;        
    }
}

@media only screen 
and (min-device-width : 280px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {

    img#X-e-linee {
        transform: unset;
    }

    img#doraemon {
        width: 60% !important;
        bottom: 25% !important;
    }

    img#bg1 {
        width: 30%;
        position: fixed;
        top: -1%;
        right: -1rem;
    }

    img#bg2 {
        width: 30%;
        position: fixed;
        left: -13%;
        bottom: -13%;
    }

    div.heading-wrapper {
        width: 100%;
        height: 100%;
    }

    div.heading {
        display: block;
        width: 50%;
        padding-left: unset;
    }

    div.logo img#logo {
        max-width: 250px;
        margin-bottom: 2rem;
    }

    div.testo {
        text-align: center;
        font-size: 16px;
        padding: 0px 2rem;
        margin-bottom: 1rem;
    }

    div.logo img#dlogo {
        display: none;
    }

    div.heading h1 {
        color: white;
        font-weight: normal;
        font-size: inherit;
        text-shadow: 1px 2px rgb(0 0 0 / 50%);
    }

    div.heading p {
        font-family: 'Hug Me Tight - OTF';
        color: white;
        text-shadow: 1px 2px rgb(0 0 0 / 50%);
        font-size: unset;
    }

    a.contact {
        font-size: 16px;
        font-family: 'Hug Me Tight - OTF';
        border: 2px solid black;
        padding: 9px 9px;
        border-radius: 32px;
        color: #000000;
        background: white;
    }

    div.heading2 {
        position: absolute;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        top: 0;
        right: 0;
        height: 100%;
        width: 50%;
    }

    img#X-e-linee {
        transform: unset;
        position: absolute;
        width: 100%;
        margin-right: 10%;
        margin-bottom: 10%;        
    }

    img#piatto {
        bottom: 7rem;
    }

    div.copyright {
        margin-bottom: 0.5rem;    
        font-size: 8px;
        text-align: right;
        margin-left: 1rem;
    }
}



@media(min-width: 1025px) and (max-width: 1280px){
    img#bg1 {
        position: fixed;
        top: -14%;
        right: -5rem;
    }

    img#bg2 {
        position: fixed;
        left: -19rem;
        bottom: -14rem;
    }

    div.heading-wrapper{
        height: 100%;
    }

    img#doraemon {
        width: 70%;
        position: relative;
        bottom: 15%;
    }

    img#X-e-linee {
        position: absolute;
        width: 100%;
        margin-right: 10%;
        margin-bottom: 20%;
    }
}

@media(min-width: 414px) and (max-width: 430px){
    img#bg2 {
        bottom: -3%;
    }
}

@media(min-width: 912px) and (max-width: 1024px){
    div.heading {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
        color: #21282e;
        font-family: 'Hug Me Tight - OTF';
        font-size: 2rem;
        flex-direction: column;
        padding-left: unset;
    }

    div.logo {
        display: flex;
        width: 400px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    div.logo img#dlogo {
        display: block;
        width: 420px;
        margin-bottom: 5rem;
    }

    div#banner img#logo {
        display: block;
        margin: auto;
        max-width: 640px;
        margin-bottom: 1rem;
    }

    div.testo {
        font-size: 20px;
        text-align: center;
        padding: 1rem;
    }

    div.heading h1 {
        color: white;
        font-weight: normal;
        font-size: inherit;
        text-shadow: 1px 2px rgb(0 0 0 / 50%);
    }

    div.heading p {
        font-family: 'Hug Me Tight - OTF';
        color: white;
        text-shadow: 1px 2px rgb(0 0 0 / 50%);
        font-size: unset;
    }

    a.contact {
        cursor: pointer;
        font-size: 1rem;
        font-family: 'Hug Me Tight - OTF';
        border: 2px solid black;
        padding: 14px 14px;
        border-radius: 35px;
        color: #000000;
        background: white;
    }

    div.heading2 {
        display: none;
    }
}

@media(min-width: 912px) and (max-width: 1024px) and (orientation: landscape) {
    div.logo {
        margin:auto;
    }
}    

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {

    img#bg1 {
        width: 30%;
        position: fixed;
        top: -1%;
        right: -1rem;
    }

    img#bg2 {
        width: 30%;
        position: fixed;
        left: -13%;
        bottom: -13%;
    }

    div.heading-wrapper {
        width: 100%;
        height: 100%;
    }

    div.heading {
        width: 50%;
        padding-left: unset;
    }

    div.logo img#dlogo {
        display: none;
    }

    div.heading2 {
        position: absolute;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        top: 0;
        right: 0;
        height: 100%;
        width: 50%;
    }

    img#X-e-linee {
        position: absolute;
        width: 100%;
        margin-right: 10%;
        margin-bottom: 10%;        
    }

}

@media only screen 
and (min-device-width : 915px) 
and (max-device-width : 932px) 
and (orientation : landscape) {

    img#bg1 {
        width: 30%;
        position: fixed;
        top: -1%;
        right: -1rem;
    }

    img#bg2 {
        width: 30%;
        position: fixed;
        left: -13%;
        bottom: -13%;
    }

    div.heading-wrapper {
        width: 100%;
        height: 100%;
    }

    div.heading {
        display: block;
        width: 50%;
        padding-left: 1rem;
    }

    div.logo img#logo {
        max-width: 250px;
        margin-bottom: 2rem;
    }

    div.testo {
        text-align: center;
        font-size: 16px;
        padding: 0px 2rem;
        margin-bottom: 2rem;
    }

    div.logo img#dlogo {
        display: none;
    }

    div.heading h1 {
        color: white;
        font-weight: normal;
        font-size: inherit;
        text-shadow: 1px 2px rgb(0 0 0 / 50%);
    }

    div.heading p {
        font-family: 'Hug Me Tight - OTF';
        color: white;
        text-shadow: 1px 2px rgb(0 0 0 / 50%);
        font-size: unset;
    }

    a.contact {
        font-size: 16px;
        font-family: 'Hug Me Tight - OTF';
        border: 2px solid black;
        padding: 9px 9px;
        border-radius: 32px;
        color: #000000;
        background: white;
    }

    div.heading2 {
        position: absolute;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        top: 0;
        right: 0;
        height: 100%;
        width: 50%;
    }

    img#X-e-linee {
        position: absolute;
        width: 100%;
        margin-right: 10%;
        margin-bottom: 5%;        
    }

    img#piatto {
        bottom: 7rem;
    }

}

@media (min-width: 280px) and (max-width: 280px) {
    div.logo img#logo {
        max-width: 250px;
        margin: 1rem 2rem 2rem 2rem !important;        
    }

    div.testo {       
        margin-bottom: 1rem !important;
    }
}

@media only screen 
and (min-width: 1024px) 
and (max-width: 1024px)
and (orientation : landscape) {

    img#bg1 {
        width: 30%;
        position: fixed;
        top: -1%;
        right: -1rem;
    }

    img#bg2 {
        width: 30%;
        position: fixed;
        left: -13%;
        bottom: -13%;
    }

    div.heading-wrapper {
        width: 100%;
        height: 100%;
    }

    div.heading {
        width: 50%;
        padding-left: 1rem;
    }

    div.logo {
        width: 480px;
    }

    div.logo img#logo {
        max-width: 250px;
        margin-bottom: 2rem;
    }

    div.testo {
        text-align: center;
        font-size: 20px;
        padding: 0px 2rem;
        margin-bottom: 2rem;
    }

    div.logo img#dlogo {
        display: none;
    }

    div.heading h1 {
        color: white;
        font-weight: normal;
        font-size: inherit;
        text-shadow: 1px 2px rgb(0 0 0 / 50%);
    }

    div.heading p {
        font-family: 'Hug Me Tight - OTF';
        color: white;
        text-shadow: 1px 2px rgb(0 0 0 / 50%);
        font-size: unset;
    }

    a.contact {
        font-size: 16px;
        font-family: 'Hug Me Tight - OTF';
        border: 2px solid black;
        padding: 9px 9px;
        border-radius: 32px;
        color: #000000;
        background: white;
    }

    div.heading2 {
        position: absolute;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        top: 0;
        right: 0;
        height: 90%;
        width: 50%;
    }

    img#doraemon {
        margin-bottom: 1rem;
    }

    img#X-e-linee {
        position: absolute;
        width: 100%;
        margin-right: 10%;       
    }

    img#piatto {
        bottom: 10rem;
    }

}

@media only screen and (min-width: 1280px) and (max-width: 1280px) {
    div#banner img#logo {
        max-width: 600px;
        margin-bottom: unset;
    }

    div.testo {
        padding: 3rem;
    }
}

@media only screen 
and (min-width: 1180px) 
and (max-width: 1368px)
and (orientation : landscape) {

    img#bg1 {
        width: 30%;
        position: fixed;
        top: -1%;
        right: -1rem;
    }

    img#bg2 {
        width: 30%;
        position: fixed;
        left: -13%;
        bottom: -13%;
    }

    div.heading-wrapper {
        width: 100%;
        height: 100%;
    }

    div.heading {
        width: 50%;
        padding-left: 1rem;
    }

    div.logo {
        width: 560px;
        margin-bottom: 2rem;
    }

    div.logo img#logo {
        max-width: 250px;
        margin-bottom: 2rem;
    }

    div.testo {
        text-align: center;
        font-size: 22px;
        padding: 0px 2rem;
        margin-bottom: 2rem;
    }

    div.logo img#dlogo {
        display: none;
    }

    div.heading h1 {
        color: white;
        font-weight: normal;
        font-size: inherit;
        text-shadow: 1px 2px rgb(0 0 0 / 50%);
    }

    div.heading p {
        font-family: 'Hug Me Tight - OTF';
        color: white;
        text-shadow: 1px 2px rgb(0 0 0 / 50%);
        font-size: unset;
    }

    a.contact {
        font-size: 20px;
        font-family: 'Hug Me Tight - OTF';
        border: 2px solid black;
        padding: 12px 15px;
        border-radius: 32px;
        color: #000000;
        background: white;
    }

    div.heading2 {
        position: absolute;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        top: 0;
        right: 0;
        height: 90%;
        width: 50%;
    }

    img#doraemon {
        margin-bottom: 1rem;
    }

    img#X-e-linee {
        position: absolute;
        width: 100%;
        margin-right: 10%;       
    }

    img#piatto {
        bottom: 10rem;
    }

}

@media only screen 
and (min-width: 653px) 
and (max-width: 653px)
and (orientation : landscape) {

    div#banner img#logo {
        max-width: 240px;
        margin-bottom: 1rem;
    }

    div.testo {
        text-align: center;
        font-size: 15px;
        padding: 0px 2rem;
        margin-bottom: 1rem;
    }

    a.contact {
        font-size: 12px;
        font-family: 'Hug Me Tight - OTF';
        border: 2px solid black;
        padding: 6px 5px;
        border-radius: 32px;
        color: #000000;
        background: white;
    }

    img#doraemon {
        width: 65%;
        bottom: 12%;
    }

    img#piatto {
        bottom: 5rem;
    }

    img#X-e-linee {        
        margin-bottom: 3%;
    }
}

@media only screen 
and (min-device-width : 914px) 
and (max-device-width : 914px) 
and (orientation : landscape) { 

    div#banner img#logo {
        width: 330px;
        margin-bottom: unset;
    }

    div.testo {
        font-size: 20px;
        padding: 2rem;
        margin-bottom: unset;
    }

    a.contact {
        font-size: 16px;
        padding: 10px 12px;
    }
}

@media only screen 
and (min-width: 1024px) 
and (max-width: 1024px) {

    div.copyright {
        margin-bottom: 0.5rem;    
        font-size: 12px;
        text-align: center;
    }

}
