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

body{
    font-family: 'Poppins','Bitter', Georgia, 'Times New Roman', Times, serif;
}

div.main-content{
    opacity: 100%;
}

div.side-navigation{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 0;
    height: 100%;
    box-shadow: 1px 1px 7px rgb(197, 196, 196);
    background: white;
    transition: all ease-out 0.3s;
    padding-top: 50px;
}

div.side-navigation a{
    font-size: 1.5em;
    display: none;
    padding: 30px 0 30px 30px;
    transition: all ease 0.3s;
}

div.side-navigation a:hover{
    background: rgb(197, 196, 196);
}

i#close{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2em;
}

i#close:hover{
    color: gray;
}

nav{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 4%;
    text-align: center;
    z-index: 1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    justify-content: space-between;
    background: white;
}

div#menu{
    font-size: 1.3em;
    font-weight: 600;
    padding: 15px;
    cursor: pointer;
}

div#menu:hover{
    background: rgb(197, 196, 196);
}

nav > a, nav > p{
    font-size: 1.5em;
    padding: 15px 0;
    text-decoration: none;
}

main#movies{
    width: 92%;
    margin: 120px auto 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
}

div.movie{
    flex: 25%;
    text-align: center;
}

.hidden{
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s;
}

.hidden:nth-of-type(3), .hidden:nth-of-type(7){
    transition-delay: 200ms;
}

.hidden:nth-of-type(2), .hidden:nth-of-type(6){
    transition-delay: 400ms;
}

.hidden:nth-of-type(1), .hidden:nth-of-type(5){
    transition-delay: 600ms;
}

.show{
    opacity: 1;
    transform: translateX(0);
}

div.image-container{
    position: relative;
}

.movie img{
    width: 250px;
    height: 400px;
    box-shadow: 1px 1px 7px gray;
    cursor: default;
}

ul.genres{
    display: flex;
    list-style-type: none;
    justify-content: space-between;
    flex-wrap: wrap;
}

ul.genres li{
    text-shadow: 2px 2px 5px black;
    color:  #FAF9F6;
}

div.movie div.about-movie{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

div.about-movie i{
    font-size: 1.3em;
    color: yellow;
    display: inline;
    text-shadow: 2px 2px 5px black;
    cursor: default;
}

div.about-movie i.empty{
    color: transparent;
}

p.movie-name{
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 10px;
}

summary{
    font-size: 0.9em;
    margin-top: 5px;
    text-align: center;
    cursor: pointer;
}

p.review{
    font-size: 0.85em;
    margin-top: 3px;
}

section#pagination{
    width: 89%;
    display: flex;
    justify-content: center;
    margin: 45px auto;
}

section#pagination div , section#pagination a{
    padding: 15px;
    cursor: pointer;
}

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

a.page#active, section#pagination > div:hover, section#pagination > a:hover{
    background: black;
    color: white;
}

hr:not(#blog-post-line){
    width: 89%;
    margin: 0 auto 45px auto;
}

section#about{
    width: 89%;    
    margin: 0 auto;
    text-align: center;
}

section#about p.header{
    font-size: 1.5em;
    margin-bottom: 30px;
    text-align: center;
}

img#tomi-picture{
    width: 500px;
    height: auto;   
    margin: 0 auto;
}

section#about p.title{
    margin-top: 40px;
    font-size: 1.35em;
    font-weight: 600;
}

section#about p.mission{
    font-size: 0.90em;
    margin: 20px;
    width: 80%;
    font-style: italic;
}

section#about p.about{
    font-size: 0.90em;
    text-align: center;
    margin: 0 auto 100px auto;
    word-spacing: 3px;
}

section.footer img{
    width: 60px;
    height: auto;
}

section.footer{
    width: 89%;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
}

p.w3 a{
    color: black;
    text-decoration: underline;
}

p.footer-heading{
    font-size: 1.3em;
    margin-bottom: 20px;
    word-spacing: 3px;
}

p.footer-text{
    font-size: 0.90em;
    line-height: 18px;
    margin-bottom: 15px;
}

section.footer p:not(.footer-heading, .number){
    font-size: 0.90em;
}

div.blog-posts div img{
    float: left;
    margin-right: 10px;
}

div.container{
    display: flex;
    flex-direction: column;
    column-gap: 0;
}

div.blog-posts div > div{
    padding: 15px 0 15px 5px;
}

div.blog-post:hover{
    background: rgb(197, 196, 196);
    cursor: pointer;
}

hr#blog-post-line{
    width: 100%;
    margin: 0;
}


p.number{
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

div.tags{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

a.tag{
    font-size: 0.8em;
    padding: 2px;
    margin: 0 5px 5px 0;
    background: rgb(207, 207, 207);
}

a.tag#active{
    font-size: 0.8em;
    padding: 4px;
    margin: 0 5px 5px 0;
    background: black;
    color: white;
}

a.tag:not(#active):hover{
    font-size: 0.8em;
    padding: 4px;
    margin: 0 5px 5px 0;
    background: black;
    color: white;
    transition: all ease 0.1s;
}

@media screen and (max-width: 600px){
    nav{
        padding: 0 15px 0 5px;
        justify-content: left;
    }
    
    nav a{
        display: none;
    }

    .hidden{
        opacity: 0;
        transform: translateX(-100%);
        transition: all 1s;
    }

    .hidden:nth-of-type(3), .hidden:nth-of-type(7){
        transition-delay: 0ms;
    }
    
    .hidden:nth-of-type(2), .hidden:nth-of-type(6){
        transition-delay: 0ms;
    }
    
    .hidden:nth-of-type(1), .hidden:nth-of-type(5){
        transition-delay: 0ms;
    }

    .show{
        opacity: 1;
        transform: translateX(0);
    }

    main#movies{
        width: 90%;
        flex-direction: column;
    }

    .movie img{
        width: 100%;
        height: auto;
    }

    ul.genres{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    section#about{
        width: 87%;
    }

    img#tomi-picture{
        width: 100%;
    }

    section.footer{
        width: 87%;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    section.footer > footer, section.footer > div{
        margin-bottom: 30px;
    }

    div.blog-posts div > div{
        padding: 15px 0 15px 15px;
    }
}
