/*
Theme Name: Sumfin Sumfin
Author: Giddy
Author URI: www.alex-giddens.com
Description: Theme for Sumfin Sumfin
Version: 1.0.3
*/



body {
    font-family: 'Source Code Pro', monospace;
    margin: 0;
    background-color: rgba(163, 193, 173);
}

h1{
    font-family: 'Jura', sans-serif;
    background:  rgba(163, 193, 173);
    padding: 8px;
    border-style: solid;
    border-radius: 15px;
    margin: 0;
    font-size: 64px;
}


p{
    line-height: 1.5;
}

a{
    text-decoration: none;
    color: black;
    transition: 0.4s;
}

a:hover{
    color: white;
}

main{
    margin: 0 auto;
}

.active{
color:white;
}

/* Navigation */

nav{
    height: 72px;
    background-color: rgba(163, 193, 173);
    width: 100%;
    margin: 0;
    position: fixed;
    font-family: 'Gruppo', cursive;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    padding: 0 16px 0 0;
    box-sizing: border-box;
    z-index: 100;
    border-bottom: rgba(255, 255, 255, 0.068);
    border-style: solid;
    border-width: 0 0 2px 0;
}

nav a{
    padding: 0 24px;
    color: rgba(0, 0, 0);
    transition: 0.4s;
    text-decoration: none;
}

nav a:hover{
    text-decoration: none;
    color: white;
}

nav ul{
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin: 0;
}

#logo-img{
    display: flex;
    height: 100%;
    background: rgba(163, 193, 173) ;
    padding: 0px 12px;
    align-items: center;
    transition: 0.4s;
}

#logo-img img{
    height: 64px;
}

#menu-icon{
    height:100%;
    font-size: 28px;
    padding: 0 4px;
    color: black; 
    display: none;
    align-items: center;
    cursor: pointer;
}

/* Blog Nav */

.blog-nav nav{
    height: 32px;
    width: 100%;
    padding:8px 0px;
    position: static;
    align-items: center;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: justify;
}
.blog-nav nav ul{
    display: flex;
    position: relative;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    
}

#menu-down{
    display: none;
}

/* Blog Nav Dropdown Menu */
#dropdown-menu{
    background-color: rgba(163, 193, 173);
    z-index: 100;
    position: static;
    transition: 0.2s;
    margin-top: -200px;
    width: 100%;
    text-align: center;
    opacity: 0;
    pointer-events: none;
  }

  #dropdown-menu ul{
    list-style: none;
    padding: 0 32px;
}
 
#dropdown-menu ul li{
    padding: 8px;
}

#dropdown-menu a{
    font-family: 'Gruppo', cursive;
    font-size: 20px;
}




/* Search Icon */

#search-icon{
    padding: 0 32px;
    cursor: pointer;
    transition: 0.4s;
}

#search-icon:hover{
    color: white;
}

/*Search Box*/

#searchbox{
    position: fixed;
    right: 50px;
    top: 20px;
    width: 200px;
    pointer-events: none;
    z-index: 50;
    transition: 0.4s;
}

#searchbox input {
    height: 32px;
    width:100%;
    font-weight: 200;
}
    

/*#searchbox #search-btn{
     height: 12px; 
     width: 12px;
     background: white url('img/search-icon.png');
     background-position: center;
     background-repeat: no-repeat;
     position: absolute;
     right:0;
     top:0;
     box-shadow: initial; 
}*/

/* Slideout Menu */
#slideout-menu{
  background-color: rgba(163, 193, 173);
  z-index: 100;
  position: fixed;
  transition: 0.4s;
  margin-top: 72px;
  width: 100%;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

#slideout-menu ul{
    list-style: none;
    padding: 0 32px;
}
 
#slideout-menu ul li{
    padding: 8px;
}

#slideout-menu a{
    font-family: 'Gruppo', cursive;
    font-size: 20px;
}

/*#slideout-menu input{
    width: 200px;
    padding: 8px;
    height: 16px;
    font-family: 'Source Code Pro', monospace;
    font-weight: 200;
    font-size: 16px;
    opacity: 1;
}*/

/* Slideout Menu Search Icon */

#slideout-search{
    padding: 0 32px;
    cursor: pointer;
    transition: 0.4s;
}

#slideout-search:hover{
    color: white;
}

/* Search Box 2 */

#searchbox-slide-menu{
    opacity: 0;
    transition: 0.4s;
}
#searchbox-2 input{
    width: 200px;
    padding: 8px;
    height: 16px;
    font-family: 'Source Code Pro', monospace;
    font-weight: 200;
    font-size: 16px;
}



/* Banner */

.banner{
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: url('img/header.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay; 
}

.banner h3{
    padding: 0 24px;
    font-size: 24px;
    font-weight: 200;
}

.banner img{
    height: 175px;
    padding-top: 10vh;
    position: relative;
}


#banner-break{
    height: 69.5px;
    background-color: rgba(255, 255, 255, 0.068);
}

#banner-break-img{
    height: 75px;
    background: url('img/break-thin.png');
    
    background-repeat: no-repeat;
    background-blend-mode: overlay; 
    border-color: rgba(255, 255, 255, 0.05);
    border-width: 3px 0 3px 0;
    border-style: solid;
}


/* Sections */

section{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    border-bottom: rgba(255, 255, 255, 0.212);
    border-style: solid;
    border-width: 0 0 2px 0;
}

.section-heading{
    font-size: 32px;
    font-family: 'Gruppo', cursive;
    background-color: rgba(163, 193, 173);
    display: inline-block;
    padding: 8px 24px;
    color: rgba(0, 0, 0);
    
}
/*Commenting out below as not sure if it's needed and  coul be the reason
for bad alignment*/

/*.section-heading-new{
    font-size: 32px;
    font-family: 'Gruppo', cursive;
    background-color: rgba(163, 193, 173);
    display: inline-block;
    padding: 8px 24px;
    color: rgba(0, 0, 0);
    
}*/ 

.section-heading:hover{
   color: white;
}

/* Card */

.card-image{
    transition: 0.4s;
    padding: 0;
    line-height: 0;
}

.card-image:hover{
    /*border: solid 0.5px white;*/ /* border creating use causing other card elements to adjust */
    box-shadow: 0 10px 6px -6px #777;
    
}

.card .card-description {
    padding: 8px 8px 12px;
    display: block;
}
 .card-description h3{
     font-family: 'Gruppo', cursive;
     font-size: 24px;
     font-weight: bold;
 }

 .card-meta-blogpost{
        font-size: 14px;
        padding: 16px 0px;
        font-family: 'Jura', sans-serif;

 }

 /* Post Images */
 .post-image{
    padding: 0;
    line-height: 0;
    width: 100%;
    height:auto;
 }


/* Read More Button */

.btn-readmore {
    padding: 4px 12px;
    border: 0.5px solid black;
    border-radius: 36px;
    transition: 0.4s;
    display: inline-block;
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 12px;
    color: black;
    background-color: rgb(214, 223, 207);
    text-decoration: none;
    cursor: pointer;
}

.btn-readmore:hover{
    color: #777;
    background-color: white;
}

/* Inputs */ 

input,
textarea{
height: 32px;
padding: 0 16px;
font-family: 'Source Code Pro', monospace;
font-size: 14px;
font-weight: 200px;
border-radius: 24px;
border: 1px rgb(255, 255, 255) solid;
box-shadow: inset 2px 2px 4px -2px rgba(0, 0, 0, 0.4);
}

input:focus,
textarea:focus{
    outline: none;
}

/* Blog List Page */
.card-meta{
    font-size: 14px;
    padding-top: 8px;
    font-family: 'Jura', sans-serif;
}

/* Single Blog Post */

#post-container{
    display: flex;
}

#blogpost{
width: 100%;
}

#blogpost .card{
    width: 80%;
    text-align: justify;
}

#blogpost .card-image:hover{
    box-shadow: none;
}

.page-heading{
    font-family: 'Gruppo', cursive;
    font-size: 48px;
    text-align: justify;
    padding: 16px 0px;
    margin: 0px;

}

/* Pagination */

.pagination{
    padding: 24px;
    text-align: center;
    font-family: 'Source Code Pro', monospace;
    display: inline-block;
    width: 100%;
}

.pagination a{
    padding: 8px 16px;
}

.pagination a:hover{
    border-top: 3px solid rgba(255, 249, 249, 0.185);
    color: black;
    transition: 0.1s;
}

/* Comments Section */

#comments-section{
    border-top: 2px solid black;
    display: flex;
    flex-direction: column;
    align-items: center;
   text-align: left;
    font-family: 'Gruppo', cursive;
}

#comments-section textarea{
    height: 40px;
    width: 480px;
    padding: 10px;
}

#reply-title{
    font-size: 36px;
}

.comment-form-cookies-consent{
    top: -30px;
    display: inline-block;
    position: relative;
    font-size: 16x;
    }
    

#wp-comment-cookies-consent{
    display: inline-block;
    position: relative;
    cursor: pointer;
    box-shadow: initial;
    top: 10px;
}

.form-submit .submit,
.wpcf7 .wpcf7-submit{
    background: white;
    font-family: 'Gruppo', cursive;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: initial;
    border-style: solid;
    border:1px solid rgba(163, 193, 173, 0.452);
}

.form-submit .submit:hover,
.wpcf7 .wpcf7-submit:hover{
    color: #777;
    background-color: white;
}

/* Comments List */

.comments {
    margin-top: 24px;
    width: 100%;
    border-top: 2px solid rgba(255, 255, 255, 0.075) ;
}

.all-comments li{
    list-style: none;
    margin-bottom: 16px;
    border: 3px solid rgba(255, 255, 255, 0.075);
    border-radius: 25px;
    padding: 16px;
}

.all-comments .comment-meta{
    background: rgba(223, 223, 223, 0.199);
    border-radius: 20px;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.all-comments .photo{
    display: none;
}
.all-comments .says{
    display: none;
}

.all-comments .reply{
    font-weight: bold;
}

.all-comments .children{
    margin-top: 16px;
}



/* No Results Page */

.no-results{
    text-align: center;
    font-family: 'Gruppo', cursive;
}

.no-results img{
    width: 50%;
}

/* 404 Page */

.container-404{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    border-bottom: rgba(255, 255, 255, 0.068);
    border-style: solid;
    border-width: 0 0 2px 0;
}

.container-404 h2{
    font-size: 36px;
}
.container-404 h3{
    font-family: 'Gruppo', cursive;
    font-size: 24px;
    text-align: center;

}

.container-404 ul{
    list-style-type: none;
}
.container-404 li{
    padding: 6px;
}
.container-404 img{
width: 40%;
}

/* Contact Form */

.wpcf7 {
    display: block;
    text-align: center;
    margin: auto;
}

.wpcf7 input,
.wpcf7 textarea
{
    box-sizing:border-box;
    width: 33%;
    margin: 0;
    padding: 0 16px;
    height: 32px;
}
.wpcf7-form-control.wpcf7-submit{
width: 100px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: rgba(255, 255, 255, 0.274);
    border-radius: 25px;
    padding: 8px 24px;
    display: inline-block;

}

.wpcf7-not-valid-tip {
    color: #dc3232b4;
    font-size: 1em;
    font-weight: normal;
    display: block;
}
/* Footer */

footer{
    padding: 8px;
    display: flex;
   justify-content: center;
    font-family: 'Gruppo', cursive;
    text-align: center;
}

footer #socials a .fa-facebook,
footer #socials a .fa-instagram,
footer #socials a .fa-soundcloud,
footer #socials a .fa-mixcloud{
    text-decoration: none;
    margin: 10px;
}

footer i{
    font-size: 36px;
    padding: 12px 12px 6px 12px;
}

footer a:hover{
    color: white;
    transition: 0.4s;
}


footer #socials ul{
    display: inline-flex;
    list-style: none;
    justify-content: center;
    padding: 0px;
    text-decoration: none;
}

.footer .built-by{
   font-family: 'Source Code Pro', monospace;
   font-weight: 200;
   font-size: 12px;
   padding-bottom: 36px;
}

.footer .built-by a{
    cursor: pointer;
}

/* Media Queries */


@media (max-width: 900px){
    nav ul{
        display:none;
    }

    #menu-icon{
        display: flex;
    }

    #slideout-menu{
        display: block;
    }

    #searchbox{
        display: none;
    }

    #banner-break-img{
        background-size: 150%;

    }

    .blog-nav nav ul{
        display: none;
    }

    #menu-down{
        display: block;
    }

    #blogpost {
        width: 100%;
    }

    .container-404 img{
        width: 80%;
        }

    #comments-section textarea{
            height: 40px;
            width: 240px;
            padding: 10px;
    }

 
}

@media (max-width: 600px){
    main {
        width: 100%;
        overflow-x: hidden !important;
    }

    h1{
        font-size: 48px;
    }

    .section-heading{
        font-size: 24px;
        padding: 8px 12px;
    }

    .card {
        text-align: center;
        margin: 0;
        padding-top: 0px;
    }

    #logo-img{
        padding:0;
    }

    .page-heading{
        font-size: 36px;
        text-align: left;
    }

    #banner-break-img{
        background-size: 250%;

    }
    .wpcf7 input,
    .wpcf7 textarea{
        width: 66%;
    }

}

@media (max-width: 719px){
    main{
        width: 95%;
    }

    section{
        flex-direction: column;
    }

    .card,
    .card .card-image img{
        width: 100%;
    }

    .post-image{
        width: 100%;
    }

    #blogpost .card{
        width: 100%;
    }

}

@media (min-width: 720px) and (max-width: 899px){
    main{
        width: 95%;
    }

    section{
        flex-direction: inline-block;
    }

    .card{
        width: 45%;
    }

    .card .card-image img {
        width: 100%;
    }

    .post-image{
        width: 100%;
    }


    #blogpost .card{
        width: 95%;
    }

    .container-404 img{
        width: 60%;
        }

}

@media(min-width:900px){
    main{
        width: 95%;
    }

    .banner{
        height: 30vh;
    }

    .banner img{
        padding-top: 6vh;
    }

    .card{
        width: 30%; 
    }

    .card .card-image img{
       width: 100%;
    }

    .post-image{
        width: 100%;
    }

    #slideout-menu{
        display: none;
    }

    #dropdown-menu{
        display: none;
    }

    #blogpost .card{
        width: 80%;
    }

    #banner-break-img{
        background-size: 150%;
        background-repeat: repeat-x;

    }

  

}

@media(min-width: 1000px) and (max-width: 1150px){
    .banner img{
        padding-top: 10vh;
        height: 15vh;
    }

}

@media(min-width: 1200px){
    main{
        width: 90%;
    }

    #banner-break-img{
        background-size: 100%;

    }

    .banner{
        height: 50vh;
    }

    .banner img{
        padding-top: 10vh;
    }

}
