html{
    height: 100%;
    width: 100%;
}

body{
    z-index: 0;
    overflow-x: hidden;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: rgb(10, 10, 10);
    background-position: center;
    flex-direction: column;
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    font-family:'Arial', Arial, Helvetica, sans-serif;
}

header{
    margin-bottom: 100px;
}

.testa{
    display:flex;
    flex-direction: row;
    margin-top: 20px;
   
}

.primo{
    margin-left: 30px;
}

.testa>a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    margin-right: 25px;
    margin-left: 25px;
    margin-top: 58px;
    font-size: 15px;
    text-align: center;
    transition: all 0.5s;
    animation: discesa 1.5s ease-in 5s both;
    
}

.testa .animation{
    transition: all 0.5s;
    margin-top: -1px;
}

.testa>p{
    margin-top: 55px;
    color: white;
    font-size: 20px;
    animation: entrata 1.5s ease-in 5s both;
}

.testa .animation:hover{
    transform: scale(1.1);
    color: rgb(149, 0, 0);

}

.testa>img{
    margin-top: 20px;
    margin-left: 30px;
    width: 5%;
    min-width: 90px;
    animation: sinistra 1.5s ease-in 4.5s both;
}

.titolo{
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    height: 700px;
    background-image: url("Am\ e\ Duong.png");
    background-size: 500px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 150px;
    opacity: 0;
    animation: sfondo 2s ease-in both;
}

h1{
    color: rgb(165, 14, 14);
    text-align: center;
    font-size: 120px;
    margin-top: 150px;
    margin-bottom: 30px;
    opacity: 0;
    animation: entrata 2s ease-in 2.1s both;
}

h2{
    color: rgb(165, 14, 14);
    text-align: center;
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
    vertical-align: middle;
    animation: entrata 2s ease-in 2.1s both;
}

.corpo{
    margin-top: 160px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    color: white;
}

.corpo p{
    font-size: 25px;
}

h3{
    color: rgb(155, 0, 0);
    font-size: 45px;
    margin-right: 20px;
    margin-left: 20px;
    margin-top: 10px;
}

.sinistra{
    text-align: right;
    margin-left: auto;
    margin-right: 0;
    
}

.destra{
    text-align: left;
    margin-right: 10%;
}

.riquadro p{
    margin-right: 20px;
    margin-left: 20px;
    margin-top: -25px;
}

.riquadro{
    width: 70%;
    background-color: rgb(35, 35, 35);
    border-radius: 20px;
    margin-bottom: 130px;
    padding-bottom: 10px;
    padding-top: 10px;
    animation: sfondo 2s ease-in 4.5s both;
}

.motto{
    text-align: center;
    margin-top: 200px;
    margin-bottom: 200px;
    font-size: 60px;
    animation: sfondo 2s ease-in 4.5s both;
}

.tmotto{
    text-align: center;
    margin-top: 200px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-size: 20px;
    width: 60%;
    animation: sfondo 2s ease-in 4.5s both;
}

footer{
    height: 400px;
    background-color: rgb(35, 35, 35);
    color: white;
    text-align: center;
}

footer img{
    transition: ease-in-out 0.5s;
}

footer a{
    text-decoration: none;
    color: white;
    
}

footer img:hover{
    transform: scale(1.1);
}

.social{
    margin-top: 40px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: row;
    text-align: center;
}

.social img{
    width: 50px;
    margin-left: 20px;
    margin-right: 20px;
}

.destra_e{
    margin-right: auto;
}

.sinistra_e{
    margin-left: auto;
}

.end{
    margin-top: 120px;
}


@keyframes entrata {

    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
    
}

@keyframes discesa {

    from{
        opacity: 0;
        transform: translateY(-20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
    
}

@keyframes sinistra {

    from{
        opacity: 0;
        transform: translateX(-20px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
    
}

@keyframes sfondo {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
    
}