@import url('https://fonts.googleapis.com/css2?family=Love+Ya+Like+A+Sister&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300&display=swap&text=abcdefghilmnopqrstuvzNA,');
@import url('https://fonts.googleapis.com/css2?family=Lobster+Two&display=swap&text=Restiamoincontatto!');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500&display=swap&text=Ilpanechevoiserbate,èquellodegliaffamati');

main#home{
    margin-top: 2rem;
}

#home div{
    /* border: 1px solid black; */
}

#home section{
    width: 100%;
    max-width: 70rem;
    flex-wrap: nowrap;
    margin: 1rem 0;
    background-color: white;
}

#home section>.text-container{
    width: 26rem;
    height: 23rem;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1rem;
}

#home section>.img-container{
    flex: 1;
    height: 23rem;
    background-size: cover;
}

#home section>.text-container>header{
    flex-direction: column;
}

#home section>.text-container>header>h3{
    font-family: 'Love Ya Like A Sister', cursive;
    font-size: 3rem;
    line-height: 2.5rem;
    font-weight: 400;
    justify-content: center;
    text-align: center;
    margin: 0 1rem;
}

#home section>.text-container>header>h4{
    font-size: 1.3rem;
    font-weight: 300;
    justify-content: center;
    margin: 0.5rem 1rem;
}

#home section>.text-container>p{
    font-size: 1.2rem;
    text-align: center;
    justify-content: center;
    margin: 1rem 3rem;
}

#home section>.text-container>footer>.button{
    font-family: 'Love Ya Like A Sister', cursive;
    font-size: 3.3rem;
    font-weight: 400;
    color: white;
    justify-content: center;
    width: 21rem;
    height: 4.5rem;
    padding-top: 0.3rem;
    border-radius: 2.4rem;
    margin: 0.5rem;
    background-color: black;
    cursor: pointer;
}

#home #ozanam{
    justify-content: center;
}

#home #ozanam>.group{
    position: relative;
    margin-top: 4rem;
    height: 9rem;
    flex-direction: column;
}

#home #sentence{
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
    user-select: none;
}

#home #sentence-shadow{
    position: absolute;
    font-family: 'Dancing Script', cursive;
    font-size: 3.9rem;
    line-height: 1.2;
    color: #c07120;
    opacity: 0.15;
    text-align: center;
    margin-top: 1.4rem;
    user-select: none;
    z-index: -10;
}

#home #sentence-ozanam{
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 1.13rem;
    justify-content: flex-end;
    margin-top: 1.33rem;
    user-select: none;
}

#home #image-ozanam{
    position: absolute;
    z-index: -2;
}

#home #image-ozanam>img{
    position: relative;
    right: 18rem;
    width: 12rem;
}

#home #carita{
    display: block;
    font-family: 'Kiwi Maru', serif;
    font-weight: 300;
    font-size: 1.3rem;
    text-align: center;
    margin: 2rem;
    letter-spacing: 0.1rem;
}

#home #carita>span{
    position: relative;
    top: 0.07rem;
    color: #c07120;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 0rem;
    text-shadow: 0rem 0rem 1rem #c0712094;
}

#home #ssvp{
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem;
}

#home #ssvp>.img-container{
    width: 34rem;
    padding: 1rem;
}

#home #ssvp>.text-container{
    width: 34rem;
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    align-items: center;
}

#home #social{
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 2rem;
}

#home #social>.text-container{
    flex-direction: column;
    align-items: center;
    width: 34rem;
    padding: 1rem;
}

#home #social>.text-container>.title{
    font-family: 'Lobster Two', cursive;
    font-size: 3rem;
    line-height: 2.5rem;
    justify-content: center;
    align-items: center;
}

#home #social>.text-container>.subtitle{
    font-size: 1.4rem;
    font-weight: 300;
}

#home #social>.img-container{
    width: 34rem;
    justify-content: center;
}

#home #social>.img-container img{
    width: 5.5rem;
    height: 5.5rem;
    margin: 1rem 2rem;
}

#home #map{
    width: 100%;
}

#home #sponsor{
    width: 100%;
    max-width: 70rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem;
}

#home #sponsor>.img-container{
    width: 50rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#home #sponsor>.img-container>img:nth-child(1){
    width: 6rem;
    height: 6rem;
    margin: 1rem 2rem;
}

#home #sponsor>.img-container>img:nth-child(2){
    width: 15.75rem;
    height: 6rem;
    margin: 1rem 2rem;
}

#home #sponsor>.img-container>img:nth-child(3){
    width: 15.75rem;
    height: 6rem;
    margin: 1rem 2rem;
}

#home #sponsor>.text-container{
    display: block;
    width: 30rem;
    padding: 1rem;
    text-align: center;
}

.flex-row-reverse{
    flex-direction: row-reverse;
}

.yellow{
    background-color: #FFC700 !important;
}

.red{
    background-color: #FF0000 !important;
}

.orange{
    background-color: #FF8A00 !important;
}

.lightblue{
    background-color: #00D1FF !important;
}

.green{
    background-color: #27AE60 !important;
}

@media (max-width: 1024px){
    #home section{
        max-width: 43rem;
        flex-direction:column;
    }

    #home section>.text-container{
        width: auto;
        height: auto;
    }

    #home section>.img-container{
        flex: none;
    }
}

@media (max-width: 650px){
    #home section{
        max-width: 25rem;
    }

    #home section>.img-container{
        height: 19rem;
    }

    #home section>.text-container>p {
        font-size: 1.1rem;
        margin: 1rem;
    }
    
    #home #ozanam>.group {
        left: 5rem;
    }

    #home #image-ozanam>img{
        right: 10rem;
    }

    #home .desktop{
        display: none !important;
    }

    #home .mobile{
        display: flex !important;
    }
}