
/*-----Content Section Style Rules-----*/
#content {
  margin: 10px auto;
  width: 100%;
  overflow: hidden;
  background: url("images/background.jpg") repeat-x; 
  text-align:center;
  display:flex;
  flex-direction:column;
}

#content h2{
    color:white;
    padding-top:10px;
    padding-bottom:10px;
    font-weight:bold;
    font-size:16pt;
    font-style:italic;
}

    #content li {
        border: 1px solid white;
        width: 95%;
        margin-left: 2%;
        margin-top: 10px;
        margin-bottom: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        list-style-type: none
    }

    #content img {
        width: 99%;
        height: 150px;
        border:1px solid white;
    }

    #content a{
        text-decoration:none;
    }

    #content a:hover {
        text-decoration-color:orange;
    }

    #content p {
        font-size: 13pt;
        color: white;
        font-weight: bold;
        text-decoration: none;
        border-top: 1px dashed white;
    }


#footer {
    width: 100%;
    text-align: center;
    background-color: #bb700e;
    color: white;
    font-size: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
}

    #footer a {
        text-decoration: none;
        color: blue;
    }



/*----------@media styles for screens >=960px----------*/
@media screen and (min-width: 481px) {

    #content{
        display:flex;
        flex-direction:row;
        justify-content:center;
    }

    #new_series, #new_movies{
        width:45%;
    }

    #new_series{
        border-right: 1px dashed white;
        padding-right:2%;
    }

    #new_movies{
        padding-left: 2%;
    }

    #lista_seriale {
        display: flex;
        flex-direction: column;
    }


    #new_series li, #new_movies li {
        width: 95%;
    }
}



/*----------@media styles for screens >=960px----------*/
@media screen and (min-width: 801px) {

    #new_series {
        border-right: 2px dashed white;
        padding-right: 3%;
    }

    #content h2 {
        font-size: 18pt;
    }

    #content p {
        font-size: 15pt;
    }
}

@media screen and (min-width: 1121px) {

    #new_series, #new_movies {
        width: 50%;
    }

    #lista_seriale {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    #new_series li, #new_movies li {
        width: 45%;
    }

    #new_series {
        border-right: 2px dashed white;
        padding-right: 0%;
    }

    #content h2 {
        font-size: 20pt;
    }

    #content p {
        font-size: 16pt;
    }
}
