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

/** ---------- NAV BAR ---------- **/

ul {
    padding-top: 25px;
    margin: auto;
    width: 50%;
    text-align: center;
}
li {
    display: inline;
    position: relative;
}
#navbarbg {
    position: fixed;
    background-color: rgb(10, 10, 10);
    height: 100px;
    width: 100%;
    transition: top 0.3s;
    z-index: 10;
}
#navbar a {
    position: relative;
    bottom: 0;
    transition: 0.2s;
    padding-left: 30px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: "Helvetica";
    line-height: 1em;
    font-weight: 500;
    font-size: 1em;
    transition: 0.2s;
}
#navbar a:hover {
    bottom: 5px;
    transition: 0.2s;
    transition-timing-function: ease-in-out;
    font-family: "Helvetica";
    font-size: 1em;
    color: rgb(120, 120, 120);
    text-decoration: none;
    text-align: center;
    transition: 0.2s;
}

/** ---------- INFO PANEL ---------- **/

.infocontainer {
    position: fixed;
    z-index: 40;
}
.info {
    position: relative;
    padding-left: 56.9vw;
    padding-right: 5vw;
    top: 220px;
    bottom: 50px;
    font-family: "Helvetica";
    font-size: 1.2em;
    line-height: 1.4em;
    font-weight: 400;
    color: rgb(255, 255, 255);
}
.info img {
    margin-top: 20px;
    border-radius: 20px;
}
.infopanel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 0;
    background-color: rgb(10, 10, 10);
    transition: 0.75s;
    overflow-y: scroll;
}
.infopanel .close {
    position: relative;
    left: 1860px;
    top: 20px;
    font-family: "Helvetica";
    font-weight: 200;
    font-size: 1.2em;
    cursor: pointer;
    background-color: transparent;
    color: rgb(120, 120, 120);
    transition: 0.2s;
    text-decoration: none;
}
.infoopen {
    position: absolute;
    right: 20px;
    top: 25px;
    font-family: "Helvetica";
    font-size: 1em;
    font-weight: 400;
    cursor: pointer;
    background-color: transparent;
    color: rgb(120, 120, 120);
    transition: 0.2s;
    z-index: -1;
}
.infoopen:hover {
    color: rgb(120, 120, 120);
    top: 20px;
    transition: 0.2s;
}

/** ---------- INFO PANEL TITLE ---------- **/

#infotitle {
    position: absolute;
    left: 6vw;
    right: 6vw;
    top: 70px;
    margin-right: auto;
    font-family: "Helvetica";
    font-size: 6vw;
    font-weight: 600;
    color: rgb(255, 255, 255);
    text-align: center;
    transition: top 0.5s;
}

/** ---------- HOME PAGE COLUMN STRUCTURE---------- **/

.homecol.left {
    top: 250px;
    position: absolute;
    left: 0;
    width: 50%
}
.homecol.right {
    top: 250px;
    position: absolute;
    right: 0;
    width: 50%
}

/** ---------- HOME PAGE TITLE ---------- **/

#titlebg {
    transition: top 0.5s;
    position: fixed;
    width: 100%;
    top: 60px;
    border: 1px solid black;
    background-color: rgb(250, 250, 250);
    z-index: 20;
}
h1 {
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "Helvetica";
    font-size: 6vw;
    color: rgb(0, 0, 0);
    text-align: center;
    z-index: 20;
}
h1 a {
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "Helvetica";
    font-size: 6vw;
    color: rgb(0, 0, 0);
    text-align: center;
    z-index: 20;
    text-decoration: none;
    transition: 0.2s;
}
h1 a:hover {
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "Helvetica";
    font-size: 6.1vw;
    color: rgb(0, 0, 0);
    text-align: center;
    z-index: 20;
    text-decoration: none;
}

/** ---------- HOME PAGE IMAGES ---------- **/

.homeheadlinescontainer {
    margin-left: 50px;
    margin-right: 50px;
    padding-bottom: 50px;
    position: relative;
}
.homeheadlines {
    display: block;
    width: 100%;
    height: auto;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}
.homeheadlinescontainer:hover .overlay {
    top: 0;
    height: 100%;
}
.memeheadlinestext {
    width: 100%;
    color: black;
    background-color: rgba(255, 255, 255, 0.9);
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1.5em;
    font-family: "Helvetica";
    position: absolute;
    text-align: left;
}

/** ---------- STORY PAGE COLUMN STRUCTURE ---------- **/

.mainstory {
    display: flex;
    flex-direction: column;
    width: 60%;
    padding-top: 180px;
    margin-bottom: 80px;
}
.relatedarticles {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    background-color: rgb(10, 10, 10);
}
.relatedarticles a {
    position: relative;
    bottom: 0;
    transition: 0.2s;
}
.relatedarticles a:hover {
    bottom: 20px;
    transition: 0.2s;
}
.sidebar {
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 100px;
    margin-bottom: 20px;
    display: inline-block;
    height: 300px;
}
.relatedtext {
    position: absolute;
    display: block;
    font-family: "Helvetica";
    font-size: 2em;
    font-weight: 400;
    color: rgb(255, 255, 255);
    margin-left: 70px;
    margin-top: 25px;
}

/** ---------- STORY PAGE TITLE ---------- **/

h2 {
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "Helvetica";
    font-size: 3vw;
    color: rgb(0, 0, 0);
    text-align: center;
    z-index: 20;
}
h2 a {
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "Helvetica";
    font-size: 3vw;
    color: rgb(0, 0, 0);
    text-align: center;
    z-index: 20;
    text-decoration: none;
    transition: 0.2s;
}
h2 a:hover {
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "Helvetica";
    font-size: 3.2vw;
    color: rgb(0, 0, 0);
    text-align: center;
    z-index: 20;
}

/** ---------- STORY TEXT STYLE ---------- **/

.storytext {
    display: block;
    font-family: "Helvetica";
    font-size: 2em;
    font-weight: 400;
    color: rgb(0, 0, 0);
    margin-top: 40px;
    margin-left: 50px;
    padding: 20px;
    background-color: rgb(220, 220, 220);
    border-radius: 25px;
}
.storytext a {
    color: rgb(120, 120, 120);
    transition: 0.2s;
}
.storytext a:hover {
    color: rgb(0, 0, 0);
    transition: 0.2s;
}
.inlineimages {
    margin-left: 50px;
    margin-top: 40px;
    border-radius: 20px;
    border: 1px solid rgb(230, 230, 230);
}

/** ---------- MEMEING EXAMPLE PAGE COLUMN STRUCTURE---------- **/

.examplecolumn {
    float: left;
    width: 33%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-top: 200px;
}
.examplerow:after {
    content: "";
    display: table;
    clear: both;
}
.examplecolumn img {
    margin-top: 20px;
    width: 100%;
    border: 1px solid rgb(0, 0, 0);
}

/** ---------- MEMEING STYLE ---------- **/

.memeingcontainer {
    position: relative;
}
.memeing {
    position: relative;
    padding-left: 60px;
    padding-right: 60px;
    font-family: "Helvetica";
    font-size: 1.5em;
    line-height: 1.4em;
    font-weight: 400;
    color: rgb(255, 255, 255);
    overflow-x: hidden;
    min-width: 800px;
}
.memeing a {
    color: rgb(100, 100, 100);
    transition: 0.2s;
}
.memeing a:hover {
    color: rgb(255, 255, 255);
}
h3 {
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 10px;
    white-space: nowrap;
    font-family: "Helvetica";
    font-size: 1.5em;
    line-height: 1.4em;
    font-weight: 400;
    color: rgb(120, 120, 120);
}
.sidepanel {
    width: 0;
    position: absolute;
    top: 60px;
    padding-bottom: 40px;
    padding-top: 19px;
    left: 848px;
    height: 75%;
    background-color: rgb(0, 0, 0);
    overflow-x: hidden;
    transition: 0.75s;
    border-radius: 25px;
}
.sidepanel .closebtn {
    position: relative;
    left: 700px;
    font-size: 1em;
    text-decoration: none;
    color: rgb(120, 120, 120);
}
.sidepanel .closebtn:hover {
    color: rgb(255, 255, 255);
}
.openbtn {
    position: absolute;
    left: 810px;
    top: 60px;
    width: 20px;
    cursor: pointer;
    background: url(Memes/questionCat.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px;
    border-radius: 15px;
    transition: 0.8s;
}
.openbtn:hover {
    transition: 0.8s;
    left: 830px;
}
iframe {
    padding-top: 20px;
    padding-bottom: 20px;
}
