@charset "utf-8";

/*
Theme Name: New_blog
Theme URI:
Author: Hashini madushika
Author URI:
Description: WordPressを学んで、最初のテーマです。
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

body {
    background: url(./img/background.png);
    background-size: 50%;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0.2px;
    color: darkblue;

    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;

}


img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.inner {
    max-width: 1200px;
    width: 88%;
    margin-left: auto;
    margin-right: auto;
}

header {
    position: fixed;
    width: 100%;
    padding: 22px 0;
    background-color: rgba(190, 225, 241, .6);
    z-index: 999;
}

.mainimg p.main-topic {
    font-size: 50px;
    margin-left: 100px;
    font-family: "Sevillana", cursive;
    font-weight: bold;
    width: 30%;

}

/* nav {
    display: none;
} */

.mainimg {
    background: url(./img/main_img.png)no-repeat center/cover;
    height: 50vw;
    display: flex;
    align-items: center;
}


h1 {
    width: 50px;

}

.fa-bars {
    font-size: 30px;
}



header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header ul {
    display: flex;
}


header li {
    font-size: 16px;
    font-weight: bold;
}

nav ul li a {
    display: inline-block;
    color: #fff;

    transition: all 0.3s;
}

nav ul li a:hover {
    color: var(--color-promary);
    transform: scale(1.2);
}

nav ul {
    display: flex;
}


/*main*/
main {
    padding-top: 100px;
}

/*footer*/

.last {
    height: 300px;
    margin-bottom: 80px;
    background-image: linear-gradient(0deg, rgba(88, 178, 220, 1), rgba(253, 254, 255, 1));

}

.last .bg {
    height: 100%;
    background: url(./img/footer_design-one.png) bottom repeat-x;
}

.last li {
    color: #2f8bc6;
}

.menu ul {
    display: flex;
    justify-content: center;
    padding-top: 25px;

}

.menu ul li {
    margin: 20px;
    font-size: 1.3em;


}

.icon ul {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.icon ul li {
    margin: 10px;
    width: 25px;
}

.icon ul .facebook {
    size: 100px;
}

.samllfooter {
    text-align: center;
    margin-bottom: 20px;
}

/*catogory*/




.category h2 {
    font-size: 18px;
    padding: 25px 25px;
    width: 100%;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    margin: 50px auto;
    text-align: center;
    background-color: rgba(255, 255, 255, .6);
    border-radius: 50px;

}

.category nav {
    display: flex;
}

.category ul {

    padding: 50px;
    text-align: center;
    font-size: 16px;


    background-color: rgba(255, 255, 255, .8);
    ;
}

.category ul li {
    position: relative;
    text-decoration: none;
    margin: 20px 0;

}

.category ul li:after {
    content: "";
    position: absolute;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}

.category ul li:hover {
    border-bottom: 2px solid rgba(88, 178, 220, 1);



}

.category ul li:hover:after {
    width: 100%;

}




/*about*/
.about h2 {
    font-size: 18px;
    padding: 25px 25px;
    width: 100%;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    margin: 50px auto;
    text-align: center;
    background-color: rgba(255, 255, 255, .6);
    border-radius: 50px;
}

.about .profile {
    background: url(./img/IMG_5511\ 3.jpeg) no-repeat center/cover;

    color: #fff;



    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
    padding-top: 50px;
    padding-bottom: 150px;
    padding-left: 70px;
    padding-right: 10px;
}


/*main_bolg*/
.blog {
    margin: 55px 0 100px;
}

.blog .pic {
    width: 50%;
}


.blog h2 {
    font-size: 32px;
    padding: 25px 25px;
    width: 100%;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    /* margin: 10px auto; */
    text-align: center;
    text-transform: uppercase;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    /* background-color: lightgray; */

    border-top: 20px;



}



.blog h3 {
    font-size: 20px;
    font-weight: bold;

}

.attachment-thumbnail {
    width: 100%;
}

.blog article {
    background-color: #fff;
    padding: 20px;
    margin: 50px 0;
    transition: 0.3s;
}

.blog article:hover {
    background-color: rgba(255, 255, 255, .6);
}

.blog .explain {
    width: 45%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.blog .explain p {
    text-align: justify;
}

.explain .time {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}


.blog .more a {
    display: inline-block;
    font-size: 14px;
    background-color: rgba(190, 225, 241, .6);

    width: 150px;
    padding: 3px 13px;
    text-align: center;
    font-weight: bold;
    margin: 10px 0;

}

.more a {
    border: 0;
    padding: 10px 30px;
    background: #fff;
    font-size: 18px;
    border-radius: 5px;
    color: #2f8bc6;
}

.more a:hover {
    background-color: #2f8bc6;
    color: #fff;
}

[data-link] {
    cursor: pointer;
}

.blog a {
    display: inline-block;
    font-size: 14px;
    /* background-color: rgba(190, 225, 241, .6); */


    /* padding: 3px 13px; */
    text-align: center;
    font-weight: bold;
    margin: 10px 0;
}

.paragraph {

    margin: 20px 0;
}

.text {
    font-size: 20px;
    font-weight: bold;
}

.sliding {
    display: flex;
    justify-content: center;
}

.sliding a {
    padding: 20px;
    background-color: rgba(190, 225, 241, .6);
    margin-left: 10px;
    margin-bottom: 100px;
    border-radius: 40%;
    font-size: 10px;
}

.sliding span {
    padding: 20px;
    background-color: rgba(190, 225, 241, 1);
    margin-left: 10px;
    margin-bottom: 100px;
    border-radius: 40%;
    font-size: 10px;
    display: inline-block;
}

.sliding a i {
    font-size: 16px;
    color: #2f8bc6;
    font-weight: bold;
    opacity: 0.9;

}

/*hover effet*/
.sliding a:hover {
    background-color: #fff;
    transition: 0.5;

}

.sliding a:hover i {
    color: blue;
    transition: 0.5;
}


/* single_blog */

.post {
    background-color: rgba(255, 255, 255, .6);
    /* padding: 50px; */
    padding: 1em;
    margin: 50px 0;
}

.post h2 {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    padding: 30px 0;
    /* background-color: aliceblue; */
    /* border-radius: 25%; */
    border-bottom: 3px solid #0008b0;

}

.post h3 {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    padding: 30px 0;
    border-bottom: 3px solid #0008b0;
}





.content h3 {
    /* background-color: rgba(255, 255, 255, .5);
    padding: 10px 5px; */
    width: 150px;
    /* border-radius: 25%; */
    margin: 20px 0;
    font-size: 16px;
    font-weight: bold;
    text-align: center;

}

.content p {
    font-size: 18px;
    padding: 20px;
    margin: 20px 0;
}

.content img {
    margin-bottom: 40px;


    /* margin-top: 10px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    */

}

.comment-box h3 {
    font-size: 16px;
    font-weight: bold;
    background-color: rgba(255, 255, 255, .5);
    padding: 10px 5px;
    margin: 20px auto;
    width: 300px;
    text-align: center;
}

.blog .pic,
.blog .explain {
    width: 100%;
}

/* about */

.topic h1 {
    font-weight: bold;
    text-align: center;
    background-color: aliceblue;
    width: 200px;
    padding: 10px 10px;
    margin: 30px auto;

}

.me p {
    background-color: rgba(253, 254, 255, .5);
    font-size: 14px;
    padding: 20px;
    margin: 30px;
}

.mypic {
    max-width: 400px;
    width: 80%;
    margin: auto;
    padding: 40px;
    background-color: rgba(253, 254, 255, .4);
    margin: 20px auto;
}

/*searching _bar*/
.search form {
    width: fit-content;
    margin: auto;
}

.search input {
    background-color: rgba(253, 254, 255, .3);
    padding: 20px;
}

.search button {
    background-color: aliceblue;
    padding: 10px;
}



/*contact*/
.con h1 {
    font-weight: bold;
    text-align: center;
    background-color: aliceblue;
    width: 200px;
    padding: 10px 10px;
    margin: 20px auto;

}


* {
    padding: 0;
    margin: 0;

}



.comment-box input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    margin-bottom: 15px;
    font-weight: bold;
    background-color: rgba(253, 254, 255, .3);
    color: #fff;


}

.comment-box input:focus {
    border: 3px solid #2f8bc6;
    outline: 0;
}

.comment-box textarea {
    width: 100%;
    height: 150px;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    color: #fff;

    background-color: rgba(253, 254, 255, .3)
}

.comment-box textarea:focus {
    border: 3px solid #2f8bc6;
    outline: 0;
}

.comment-box button {
    border: 0;
    padding: 10px 30px;
    background: #fff;
    font-size: 18px;
    border-radius: 5px;
    color: #2f8bc6;
    margin-bottom: 100px;
}

.comment-box button:hover {

    color: #fff;
    background-color: #2f8bc6;
}

.comment-box p .logged-in-as {
    display: none;
}

p.form-submit {
    width: 200px;
}

.commets-list ol li {
    background-color: rgba(253, 254, 255, .3);
    margin: 20px;
    padding: 20px;
}

.commets-list {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

.comment-box input[type="submit"] {
    border: 0;
    padding: 10px 30px;
    background: #fff;
    font-size: 18px;
    border-radius: 5px;
    color: #2f8bc6;
    margin-bottom: 100px;
    width: auto;
}

.comment-box input[type="submit"]:hover {

    color: #fff;
    background-color: #2f8bc6;
}



/*404*/
.error {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

/*  aricle_comment */
.comment-form .author {
    background-color: rgba(253, 254, 255, .3);

}

.comment-form-author {
    color: #fff;



}

.comment-form-comment {
    color: #fff;

}

.comment-form .submit {
    background-color: rgba(253, 254, 255, .3);
    color: #fff;
}

.comment-form .comment {
    background-color: rgba(253, 254, 255, .3);

}

.comment-form input:focus {
    border: 3px solid #2f8bc6;
    outline: 0;

}

.comment-form textarea:focus {
    border: 3px solid #2f8bc6;
    outline: 0;
}

.comment-form textarea {
    width: 100%;
    height: 150px;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    color: #fff;

    background-color: rgba(253, 254, 255, .3)
}

.comment-form input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    margin-bottom: 15px;
    font-weight: bold;
    background-color: rgba(253, 254, 255, .3);
    color: #fff;


}

.comment-form .submit {
    border: 0;
    padding: 10px 30px;
    background: #fff;
    font-size: 18px;
    border-radius: 5px;
    color: #2f8bc6;
    text-align: center;
}

.comment-form .submit:hover {

    color: #fff;
    background-color: #2f8bc6;
}

.comment-form .comments-list h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.comment-body {
    padding: 10px;
    margin-bottom: 15px;
}

.comment-body .comment-author {
    margin-bottom: 10px;
}

.comment-body .fn {
    margin-left: 10px 0;
}

.comment-body .comment-metadata {
    margin-bottom: 15px;

}

.comment-body .comment-content {
    margin-bottom: 15px;

}

.comment-body .reply {
    margin-bottom: 15px;

}





/*mobile表示(640px以下)*/
@media (max-width:640px) {

    /*menubar*/
    .dropdown {
        display: inline-block;
        position: relative;
    }

    .dropdown button {
        color: blue;
        padding: 10px 15px;
        border: none;
        cursor: pointer;



    }

    .dropdown a {
        display: block;
        color: #fff;
        text-decoration: none;
        padding: 10px 15px;
        text-align: left;


    }

    .dropdown .ex {
        display: none;
        position: absolute;
        right: 0;
        background-color: rgba(190, 225, 241, .9);
        min-width: 50px;



    }

    .dropdown:hover .ex {
        display: block;

    }

    nav .ex {
        display: none;
    }
}



/*pc表示(640px以上)*/
@media (min-width:640px) {
    h2 {
        width: 100%;
    }


    header {
        nav {
            display: block;
        }
    }

    header li {
        margin-left: 50px;
    }


    .fa-bars {
        display: none;
    }


    .blog {
        width: 58%;
    }

    .blog article {
        display: block;
    }

    /* .blog .pic,
    .blog .explain {
        width: 100%;
    } */

    .post {
        width: 58%;
    }


    .information {
        width: 30%;
        margin-top: 100px;
    }



    .allpost {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

    }


    .pc {
        margin-top: 250px;
    }

    .about .profile {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 100px;
        padding-top: 50px;
        padding-bottom: 150px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .commentbox {
        width: 80%;
        margin: 10%;
        margin-top: 40px;

    }



}