/*
Theme Name: Rebel Sun
Text Domain: Rebel Sun
Version: 1.0
Description: My theme
Tags: Pee pee, poo poo
Author: Benjamite Fizzylolly
Author URI: https://youtube.com/rebelsun
*/

@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}



body{
    background: #6C7476;
}

.foreground{
    background: #F0FFFF;
    max-width: 1150px;
    margin: auto;
}


/* Nav */

nav{
    background: #F0FFFF;
    border-bottom: black 3px solid;
}

nav:after{
    content: '';
    clear: both;
    display: table;
}

nav .logo{
    display: block;
    padding-left: 20px;
}

.logo-img{
    height: 50px;
    width: auto;
    float: left;
    padding-right: 10px;
    padding-top: 10px;
}

nav .logo h1{
    float: left;
    padding: 10px 30px 0 .5rem;
    font-family: 'Nothing You Could Do';
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
    word-spacing: -1rem;
}

nav .logo h1:hover{
    color: red;
}

nav .logo a{
    color: #1b1b1b;
    text-decoration: none;
}

nav ul{
    float: right;
    list-style: none;
    margin-right: 25px;
    position: relative;
}

nav ul li{
    float: left;
    background: #F0FFFF;
    margin: 0 5px;
}

nav ul li a{
    color: #1b1b1b;
    text-decoration: none;
    line-height: 70px;
    font-size: 18px;
    padding: 8px 15px;
}

nav ul li a:hover{
    color: red;
}

nav ul ul{
    position: absolute;
    top: 70px;
    border-top: 3px solid red;
    opacity: 0;
    visibility: hidden;
}

nav ul li:hover > ul{
    opacity: 1;
    visibility: visible;
}

nav ul ul li{
    position: relative;
    margin: 0px;
    width: 150px;
    float: none;
    display: list-item;
    border-bottom: 1px solid rgba(0,0,0,0.3);
}

nav ul ul li a{
    line-height: 50px;
}

.fa-angle-down{
    margin-left: 1px;
}

.show, .icon, input{
    display: none;
}

.dropdown-links li{
    list-style-type: none;
    margin-bottom: 1em;
    font-size: 1.5em;
}

.dropdown-links a{
    color: #1b1b1b;
}

.dropdown-links a:hover{
    color: #CE2029;
}

/* Nav */


/* Article Nav */

article .wp-block-button:not(:last-child){
    margin-right: 15px;
}

article .wp-element-button{
    color: black;
    background: white;
    border: 3px black solid;
    padding: 20px;
    margin-bottom: 25px;
}

article .wp-element-button:hover{
    background: red;
    color: white;
}

/* Article Nav */



/* Blog */

.content-header{
    margin-bottom: 35px;
}

.post-title{
    margin-bottom: 25px;
}

.post-thumbnail{
    float: left;
    margin-right: 15px;
}

.post-meta{
    margin-bottom: 15px;
}

.date, .post-date, .post-tag{
    margin-right: 10px;
}

.fa-tag, .fa-comment{
    margin-right: 5px;
}

.intro{
    min-height: 100px;
}

.comment-reply-title{
    font-size: 1.5em;
    margin-bottom: 35px;
}

.says{
    display: none;
}

.comment p{
    margin-bottom: 5px;
}

.comment-respond{
    margin-top: 35px;
}

.logged-in-as{
    margin-bottom: 15px;
}

textarea {
    max-width: 75%;
    height: 100px;
}

.comment-form-comment{
    margin-bottom: 15px;
}

.form-submit{
    margin-bottom: 0;
    display: inline-block !important;
}

.submit{
    display: inline-block !important;
    padding: 15px 30px;
    font-size: large;
    background: white;
    border: black 3px solid;
    border-radius: 25%;
}

.reply{
    margin-bottom: 35px;
}

.comment-reply-link{
    font-size: large;
}

.submit:hover{
    background: red;
    color: white;
    cursor: pointer;
}

.archive-post hr{
    margin-top: 35px;
    height: 3px;
    background: black;
}

.comment-author{
    text-align: left;
}

.fn{
    margin-bottom: 0px;
    font-style: normal;
    font-size: medium;
}

.comment-meta{
    text-align: left;
}

.pagination{
    font-size: 1.5em;
    word-spacing: .5rem;
}

.pagination .nav-links{
    font-weight: 600;
}

/* .page-numbers .current{

}

.page-numbers{

}

.pagination .next{

} */

/* Blog */



/* Forum */

/*
.bbpress-wrapper{
}*/

#bbp_topic_title{
    display: inline-block;
}

#bbp_topic_subscription{
    display: inline-block !important;
}

/* Forum */



/* Contact */

.wpforms-field{
    text-align: left;
}

/* Contact /




/* Main */

main{
    text-align: center;
    color: #1b1b1b;
    word-spacing: .1em;
    padding: 35px 20%;
    margin: 0 auto;
}

article {
    font-size: 1em;
}

article ~ p, a, span{
    font-size: 1em;
    line-height: 1.5em;
    color: #1b1b1b;
}

article a:hover{
    color: #CE2029;
}

h2{
    color: #1b1b1b;
    text-align: center;
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 35px;
}

h3{
    color: #CE2029;
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 50px;
    padding-top: 50px;
}

h4{
    color: #CE2029;
    font-size: 1.1em;
    text-align: left;
    margin-bottom: 50px;
    padding-top: 50px;
}

h5{
    font-size: 1.1em;
    font-weight: 500;
    margin: auto;
    max-width: 500px;
    margin-bottom: 35px;
}

p{
    text-align: left;
    font-size: 1.1em;
    line-height: 1.8em;
    margin-bottom: 35px;
}

.jump{
    color: #1b1b1b;
}

.jump:hover{
    color: #CE2029;
}

q {
    display: block;
    font-style: italic;
    font-size: 1.2em;
}

.quote{
    margin-bottom: 35px;
}

cite{
    display: block;
    font-size: .8em;
    margin-bottom: 35px;
}

cite a {
    color: #1b1b1b;
}

cite a:hover{
    color: red;
}

.author{
    display: block;
    font-size: .7em;
    margin-top: .5em;
    margin-bottom: 35px;
}

.contents{
    text-align: left;
    margin-bottom: 35px;
    margin-left: 20px;
    margin-top: -20px;
}

.contents li{
    margin-left: 20px;
}

.contents a{
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
}

.articles li{
    margin-bottom: 1em;
    font-size: 1.2em;
}

.articles a{
    text-decoration: none;
    color: #1b1b1b;
}

.articles a:hover{
    color: #CE2029;
}

.source{
  text-decoration: none;
  font-size: .9em;
}

/* Main */



/* Footer */

footer{
    border-top: 3px solid black;
    padding: 15px 35px;
}

.wp-block-search{
    font-size: 1.25em;
}

.wp-block-search__input{
    display: inline-block !important;
}

.wp-block-search button{
    font-size: 1em;
    padding: 5px 10px;
    background: white;
    color: black;
}

.wp-block-search button:hover{
    font-size: 1em;
    padding: 5px 10px;
    background: white;
    color: red;
}

.wp-block-loginout a{
    color: black;
    text-decoration: none;
    font-size: 1.25em;

}

.wp-block-loginout a:hover{
    color: red;
}

.search-result-li{
    list-style: none;
    font-size: large;
}

.search-result-li a:hover{
    color: red;
}


/* Images */

.article-img{
    display: block;
    width: 500px;
    max-width: 100%;
    height: auto;
    margin: auto;
    margin-bottom: 20px;
    padding-top: 20px;
}

.ascii-box{
    text-align: center;
    padding: 20px 0px;
}

.ascii{
    display: inline-block;
    text-align: left;
    letter-spacing: 5px;
}

/* Images */



@media all and (max-width: 819px){
    main{
        padding: 35px 30px;
    }

    nav ul{
        margin-right: 0px;
        float: left;
    }
    nav .logo{
        padding-left: 20px;
        width: 100%;
    }
    nav ul li, nav ul ul li{
        display: block;
        width: 99%;
    }
    nav ul ul{
        top: 70px;
        position: static;
        border-top: none;
        float: none;
        display: none;
        opacity: 1;
        visibility: visible;
    }
    nav ul ul li{
        border-bottom: 0px;
    }
    nav ul ul a{
        padding-left: 40px;
    }
    .show{
        display: block;
        color: #1b1b1b;
        font-size: 18px;
        padding: 0 20px;
        line-height: 70px;
        cursor: pointer;
    }
    .show:hover{
        color: #CE2029;
    }
    .icon{
        display: block;
        color: #1b1b1b;
        position: absolute;
        right: 40px;
        line-height: 70px;
        font-size: 25px;
        cursor: pointer;
    }
    .icon:hover{
        color: #CE2029;
    }
    nav ul li a:hover{
        box-shadow: none;
    }
    .show + a, ul{
        display: none;
    }
    .articles, .dropdown-links, .article-list{
        display: block;
    }
    [id^=btn]:checked + ul{
        display: block;
    }
}