@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,500&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-family: Roboto, sans-serif;
    font-weight: 200;
}

body {
    background-color: #FAFAFA;
    font-family: Roboto, sans-serif;
    font-weight: 200;
    margin: 0 auto;
}

/* header */

header {
    height: 60px;
    background-color: #fff;
    z-index: 99999;
    margin: 0 auto;
}

#contenuto_header {
    background-color: #fff;
    width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 10px;
}

#img {
    width: 130px;
    height: 40px;
    background-image: url(../img/Instagram-Logo.png);
    background-size: cover;
    background-position: center;
}


#barra_ricerche {
    background-color: #FAFAFA;
    border-radius: 15px;
    height: 32px;
    width: 270px;
    background-image: url(../img/search\ .ico);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 5px;
    border: none;
}

#icone {
    padding-left: 20px;
    word-spacing: 20px;
}

#icone a {
    text-decoration: none;
    color: black;
}

/* section */

section {
    width: 820px;
    margin: 0 auto;
    margin-top: 30px;
    margin: 0 auto;
    position: relative;
}

#flussocentrale_header {
    margin-top: 20px;
    width: 465px;
    height: 118px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid gainsboro;
    border-radius: 5px;

}

#flussocentrale_header a {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background-color: black;
    position: relative;
    background-image: url(../img/persona.jpg);
    background-size: cover;
    background-position: center;
    border: 2px solid red;
}

#flussocentrale_header a::after {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    background-color: black;
    border: 1px solid red;
    z-index: 9999;

}

#immagine1 {
    background-image: url(../img/persona.jpg);
    background-size: cover;
    background-position: center;
}

#flussocentrale_header::after a {
    content: '';
    width: 70px;
    height: 70px;
    background-color: red;
    z-index: 9999;
}

#flusso_centrale_header p{
    position: absolute;
    top: 0px;
    left: 50px;
}


#flussocentrale_scorrimento {
    margin-top: 15px;
    width: 465px;
    height: 100vh;
}

.post {
    width: 465px;
    height: 800px;
    border: 1px solid gainsboro;
    border-radius: 5px;
    background-color: #fff;
}

#post_header {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

#post_header a {
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background-color: black;
}

#nome_utente {
    padding-right: 280px;
}



#post_img {
    height: 500px;
    background-image: url(../img/cane.jpeg);
    background-size:cover;
    background-position: center center;
}



#post_icons {
    height: 40px;
    padding: 10px ;
    padding-top: 15px ;
    display: flex;
    justify-content: space-between;
}

#post_icons a {
    text-decoration: none;
    color:black;
    width: 30px;
    height: 30px;
}

#post_comments {
    height: 150px;
    padding: 10px;
    line-height: 30px;
}

#post_comments span {
    font-weight: 700;
    font-size: 14px;
}

#post_comments p {
    font-size: 14px;
}

#post_comments commenti {
    font-size: 12px;
    color: grey;
}

#post_insert {
    height: 50px;
    border-top: 1px solid grey;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:10px;
}

#post_insert a {
    color:black;
    text-decoration: none;
}

#pubblica {
    color: cornflowerblue;
}

#post_insert input {
    border: none;
    height: 30px;
    padding-right: 170px;
    font-size: 15px;
}





/* post differente */

#post2 {
    margin-top: 10px;
}

#post_img post2{
    background-image: url(..);
}




#post3 {
    margin-top: 10px;
}


/* fisso laterale */

#fissolaterale {
    width: 325px;
    height: 470px;
    position: absolute;
    top: 0px;
    right: 0px;
    margin-top: 30px;
}

#fissolaterale a {
    text-decoration: none;
    color: black;
}

#fissolaterale_testa {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#testa_img {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background-image: url(../img/2021-05-093534.jpg);
    background-size: cover;
}

#testa_link a{
    color: lightskyblue;
}

#suggerimenti {
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#suggerimenti h3 {
    color:gray;
    font-weight: 400;
}


#persone {
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#persone_img {
    width: 45px;
    height: 45px;
    border-radius: 50px;
    background-color: beige;
}

#persone_segui a {
    color:turquoise;
}


#persone_nome {
    padding-right: 70px;
}

#persone_nome p {
    color: grey;
    font-size: 12px;
}


#persone_footer {
    color: gray;
    font-size: 12px;
    justify-content: flex-start;
    padding-top: 20px;
    padding-left: 10px;

}

#link a {
    color: gray;
}

#link a:hover {
    text-decoration: underline;
}

#copyright {
    padding-top: 10px;
}


#post_insert .pubblica {
    color: aqua;
}

@media (max-width:1350px) {
    #fissolaterale {
        display: none;
    }

    #flussocentrale {
        position: relative;
        align-items: center;
        left:20%
    }
}


@media (max-width:1200px) {

    #fissolaterale {
        display: none;
    }

    #barra_ricerche {
       display: none;

    }

    #flussocentrale {
        position: relative;
        align-items: center;
        left:20%
    }
    
}


@media (max-width:900px) {
    #icone {
        position: fixed;
        bottom: 0px;
        z-index: 9999;
        align-items: center;
        width:100%;
        height: 60px;
        background-color:#fff;
        display: flex;
        justify-content:space-evenly;
        left: 0;
    }


    #logo {
        position: absolute;
        left: 350px;
        top: 10px;
    }

    body {
        max-width: 900px;
    }
}


@media (max-width: 800px) {
    body {
        
        
    }


    contenuto_header {
        width: 800px;
        margin: 0 auto;

    }

    #contenuto_header {
        width: 1000px;
    }

    #flussocentrale {
        width: 800px;
        margin: 0 auto;

    }

    #flussocentrale {
        position: relative;
        align-items: center;
        left:8%
    }

    #logo {
        position: absolute;
        left: 240px;
        top: 10px;
    }

}