/*
Theme Name: BlankSlate
Theme URI: https://github.com/tidythemes/blankslate
Author:
Author URI:
ssDescription:
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2022.4
Requires at least: 5.2
Tested up to: 5.9
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme © 2011-2022 TidyThemes
BlankSlate is distributed under the terms of the GNU GPL
*/

:root {
    --body-background-color: hsla(0, 0%, 83%, 0.993);
    --menu-background-color:lightgray;
    --menu-item-selected-color:rgb(9, 212, 2);
    --menu-item-hover-color: rgb(9, 212, 2);
    --menu-item-color:rgb(18, 1, 255);
}
html {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-stretch: normal;
    color: black;
}

body {
    background-color:var(--body-background-color);
    height: 100%;
}

a {
    color:black;
}
/* unvisited link */
a:link {
    text-decoration: none;
    color: inherit;
}

/* visited link */
a:visited {
    text-decoration: none;
    color: inherit;
}

/* mouse over link */
a:hover {
    text-decoration: none;
}

/* selected link */
a:active {
    text-decoration: none;
    color: inherit;
}

/* .page a:link,a:visited,a:hover {
    color:black;
} */


.container {
    position: relative;
    top: 0px;
    left: 5%;
    width: 90%;
    /* background-color:yellow; */
    /* padding-bottom:100px; */
}

.posts-container {
    display: block;
    /* grid-template-columns: 100%; */
    margin-bottom: 60px;
}

.menu-main-container {
    font-family: 'Courier New', Courier, monospace;
    position: fixed;
    height: 40px;
    bottom: 0px;
    width: 100%;
    font-size: .8em;
    /* background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,1));  */
    /* background-color: transparent; */
    /* background-color: lightgray; */
    background-color: var(--menu-background-color);
    z-index: 2;
}

.home .menu-main-container {
    background-color:transparent;
}


.menu-main-container ul {
    position: relative;
    left: 40%;
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row;
}


.menu-main-container ul li {
    width: 30px;
    height: 30px;
    display: block;
}



.menu-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 10vw;
    height: 100%;
    width: 100%;
    background-color: white;
    color: var(--menu-item-color);
    border-color: var(--menu-item-color);
    font-size: 1.6em;
    font-weight: bold;
    border: 3px;
    border-radius: 6px;
    border-style: solid;
}

.menu-item a:hover {
    color: var(--menu-item-hover-color);
    border-color: var(--menu-item-hover-color);
}


.current-menu-item a {
    color: var(--menu-item-selected-color);
    border-color: var(--menu-item-selected-color);

}

.single .current-menu-item a {
    color: var(--menu-item-selected-color);
    border-color: var(--menu-item-selected-color);

}

.screen-reader-text {
    display: none;
}

.nav-links {
    font-size: 1.2em;
    color: black;
    font-weight: bold;
}

.nav-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.nav-previous {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 10%;
    height: 35px;
    z-index: 10;
    /* background-color: lightgrey */
}

.nav-next {
    position: fixed;
    bottom: 0;
    left: 90%;
    width: 10%;
    height: 35px;
    z-index: 10;
    /* background-color: lightgrey */
}

/* homepage settings */
.home .backgroundimage {
    position: fixed;
    background-position: center;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    opacity: .9;
    z-index: -2;
    background-size: cover;
}

.home .logo {
    width: 100%;
    left: 0;
    top: 20%;
    color: rgb(6, 6, 7);
    position: fixed;
    text-align: center;
    font-weight: 900;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2em;
}

/* page and post */
.container .page {
    display:block;
    margin-top: 15px;
    padding:10px;
    padding-bottom:15px;
    border-radius: 6px;
    background-color:white;
    /* height:100%;    */
}
.container .page .entry-content {
    line-height: 1.3em;
    width: 100%;
    font-size:1.1em;
    margin-top: 1em;
    white-space: pre-line;
    }

.container .page .entry-content p {
    text-indent: 10px;
}

.container .page .entry-title {
    font-size: 1.4em;
    font-weight: bold;
    /* text-indent: 3em; */
}

/* settings  blog page */
.post {
    display: block;
    position: relative;
    margin-top:     10px;
    padding: 10px;
    padding-bottom:20px;
    background-color: white;
    border: 2px;
    border-radius: 6px;
    border-style: solid;
    border-color: transparent;
    width: 100%;
}

.post .entry-title {
    font-size: 1em;
    margin-bottom: 2px;
}

.post .entry-meta {
    font-size: .8em;
    margin-bottom: 8px;
}

.post .entry-content {
    display: block;
    position: relative;
    line-height: 1.3em;
    font-size: .9em;
    width: 100%;
    overflow: hidden;
}


.post .entry-content>img {
    display: block;
    width:auto;
    margin:auto;
    margin-top:10px;
    max-height:200px;
}

.post .entry-content>.wp-video>video {
    width:unset;
    height:unset;
    display: block;
    width:auto;
    margin:auto;
    margin-top:10px;
    max-height:200px;
    /* background-color:green; */
}

/* Youtube embed */
.youtube-container {
    position: relative;
    width: 96%;
    left: 2%;
}

.youtube-player {
    position: relative;
    width: 100%;
    height: unset;
    aspect-ratio: 16 / 9;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
   }

.gallery br {
    display: none;
}

.gallery-item {
   width:22%;
   display: block;
   aspect-ratio: 1 / 1;
}

.gallery-icon img {
    display:block;
    width:100%;
    height:100%;
    object-fit: cover;
    border-radius: 4px;
}


.gallery-icon {
    width:100%;
    height:100%;
    display:block;
}

.entry-content {
    position: relative;
    width: 10%;
}

.entry-content .img {
    position: relative;
    height: 10vh;
    width: 90vw;
}


.entry-content>.wp-caption {
    position: relative;
    width: 100%;
}

.entry-content>.wp-caption>img {
    position: relative;
    height: unset;
    width: unset;
}

/* @media (orientation: landscape) {
    .posts-container {
        display: grid;
        grid-template-columns: 50% 50%;
        column-gap: 10px;
    }

} */

@media only screen and (min-width: 992px) {

    .container {
        position: relative;
        margin-top: 60px;
        width: 60%;
        left: 20%;
        font-size: 1em;
    }

    /* .posts-container {
        display: grid;
        /* grid-template-columns: 50% 50%; */
        /* column-gap: 10px; */


    .menu-main-container {
        top: 0%;
        width: 100vw;
        height: 60px;
        bottom: unset;
    }

    .home .menu-main-container {
        background-color: transparent;
    }

    .home .logo {
        font-size: 4em;
    }

    .menu-main-container ul {
        left: 80%;
        width: 20%;
        height: 100%;
    }

    .menu-main-container ul li {
        width: 40px;
        height: 40px;
    }
    
    .post {
        display: block;
        position: relative;
        width: 100%;
    }

    .gallery-item {
        width:15%;
        display: block;
        aspect-ratio: 1 / 1;
     }

     .post .entry-content>img {
        display: block;
        width:auto;
        margin:auto;
        margin-top:10px;
        /* margin-right:10px; */
        max-height:400px;
        
   }
   .post .entry-content>.wp-video>video {
    width:auto;
    margin:auto;
    margin-top:10px;
    max-height:400px;
    /* background-color:red; */
}
         
    .youtube-container {
        margin: 2%;
        width: 80%;
        left: 5%;
    }

    .post .entry-content {
        text-align: center;
    }
    .wp-caption {
        width: 100%;
    }

    .wp-caption>img {
        position: relative;
        height: unset;
        width: unset;
        float: left;
    }

    .wp-caption>p {
        position: relative;
        left: 3px;
    }
}
