@font-face {
    font-family: ShirkHand;
    src: url('Shrikhand-Regular.ttf');
}
body {
    margin: 50px 10px;
    background-image: url('fire.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

h1 {
    font-family: Shirkhand;
    color: rgb(253, 164, 90);
}

h2 {
    color: rgb(254, 199, 154);
}

h3 {
    color: rgb(240, 216, 209);
}

#logo {
    width: 100%;
    max-width: 50px;
    height: auto;
    position: absolute;
    top: 50px; left: 10px;
}

nav {
    background-color: rgba(181, 65, 3, 0.1);
    height: 300px;
    width: 100%;
    max-width: 125px;
    position: fixed;
    right: -80px; top: -250px;
    transition: 0.5s ease;
    border-bottom-left-radius: 5px;
    z-index: 5;
}

#nav-icon {
    width: 50px;
    position: fixed;
    z-index: 6;
    top: 0; right: 0;
    transition: 0.5s ease;
}

nav:hover {
    right: 0; top: 0;
    box-shadow: -4px 8px 46px -8px rgba(0,0,0,0.73);
    background-color: rgba(181, 65, 3, 0.8);
    #nav-icon {
        top: 250px; right: 75px;
    }
}

ul {
    height: 90%;
    display: flex;
    margin-top: 0;
    flex-direction: column;
    justify-content: space-evenly;
}

nav > ul > li {
    list-style: none;
}

li > a {
    text-decoration: none;
    font-size: 1.5rem;
    color: rgba(30, 39, 47);
}

li > a:hover {
    font-weight: bold;
}

.article-image {
    opacity: 0.2;
    transition: 0.5s ease;
    max-width: 100%;
    height: auto;
}

.article-image:hover{
    opacity: 1;
    box-shadow: -4px 8px 46px -8px rgba(0,0,0,0.73);
    
}

.left {
    float: left;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.right{
    float: right;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#content {
    width: 90%;
    height: auto;
    margin: 0 auto;
    
}
#article-title {
    color: white;
}
#article {
    columns: 3;
    color: white;
    background-image: url('skyline.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
    opacity: .8;
    max-height: max-content;
    overflow-y: auto;
    padding: 5px 10px;
}

#extra {
    color: white;
    padding: 20px;
    background-image: url('hollywoodsign.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: -30px;
    border-radius: 5px;
}

#summary {
    background-color: rgb(181, 65, 3, 0.7);
    margin-top: 20px;
    padding: 20px;
    border-radius: 5px;

}
#summary > a {
    font-size: 1.5rem;
    font-family: Shirkhand;
    color: rgb(30, 39, 47);
    display: flex;
    justify-content: center;
}
@media screen and (max-width: 760px) {
    #article {
        columns: 2;
    }

    #extra {
        background-position-x: 50%;
    }

    #content {
        width: 90%
    }

    .article-image {
        max-width: 50%;
    }
    
    #logo {
        max-width: 40px;
    }
    
}
@media screen and (max-width: 500px) {
    #article {
        columns: 1;
    }
    #content {
        width: 80%;
    }
    .article-image {
        max-width: 60%;
    }
    #extra {
        background-position-x: 50%;
    }

    #logo {
         max-width: 30px;
    }
}

