/*
Theme Name:   Twenty Twenty Child By Carter Clifford
Theme URI:    http://example.com/twenty-fifteen-child/
Description:  Twenty Twenty One Child Theme
Author:       Carter Clifford
Author URI:   carterlc.ca
Template:     twentytwentyone
Version:      1
*/

#grainy-texture>* {
    position: relative !important;
    z-index: 10 !important;
}

h2 {
    font-family: dystopian, sans-serif, monospace !important;
    font-style: normal;
    font-weight: 400 !important;
}

div.entry-content h2:nth-child(1) {
    font-size: clamp(6rem, 30vw + 1rem, 20rem) !important;
    color: white;
    text-shadow: none;
    -webkit-transition: 500ms linear 0s;
    -moz-transition: 500ms linear 0s;
    -o-transition: 500ms linear 0s;
    transition: 500ms linear 0s;
    outline: 0 none;
}

div.entry-content h2:nth-child(2) {
    font-size: clamp(1rem, 4vw + 1rem, 4rem) !important;
}

.site-header has-logo has-title-and-tagline has-menu {
    width: 150px;
    height: 150px;
}

#masthead img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

nav#site-navigation {
    margin-left: 0;
}

h1.entry-title {
    font-family: dystopian, sans-serif, monospace !important;
}

h1.page-title {
    font-family: dystopian, sans-serif, monospace !important;
}

div#page header#masthead div.site-header {
    display: none;
}

.about-section {
    max-width: var(--responsive--alignwide-width);
    margin-left: auto;
    margin-right: auto;
}

.contact-section {
    max-width: var(--responsive--alignwide-width);
    margin-left: auto;
    margin-right: auto;
}

.contact-section p {
    padding-top: 40px;
}

.contact-section ul {
    list-style: none;
}

nav #menu-secondary-menu {
    padding: 0;
}

nav #menu-secondary-menu li {
    display: inline;
    padding-right: 40px;
}

.about-section p {
    padding-top: 40px;
}

.about-section img {
    width: 100%;
    max-height: 20em;
    object-fit: contain;
}

div.site-branding {
    flex: 1;
    text-align: left;
}

nav#site-navigation {
    margin-left: auto;
}

/* Media querys */
@media only screen and (min-width:1200px) {

    div#page header#masthead div.site-header {
        display: block;
        flex: 0.65;
        align-items: center;
        justify-content: center;
    }

    .about-section {
        display: flex;
    }

    .about-section p {
        padding: 0 40px;
        border-left: 3px solid white;
        margin-left: 40px;
    }

    .contact-section {
        display: flex;
    }

    .contact-section p {
        border-left: 3px solid white;
        margin-left: 40px;
        padding: 0 40px;
    }

    nav #menu-secondary-menu li {
        display: block;
        padding: 10px 0;
    }

    #masthead div {
        padding: 0;
        z-index: 1000;
    }
}

.current-menu-item a:first-child {
    text-decoration: none !important;
    font-weight: bold;
}

#primary-menu-list li a {
    text-decoration: none;
    color: white;
    text-shadow: none;
    -webkit-transition: 500ms linear 0s;
    -moz-transition: 500ms linear 0s;
    -o-transition: 500ms linear 0s;
    transition: 500ms linear 0s;
    outline: 0 none;
}

#primary-menu-list li a:hover,
#primary-menu-list li a:focus {
    color: #fff;
    text-shadow: -1px 1px 10px #ffc, 1px -1px 10px #fff;
}

#menu-secondary-menu li a {
    text-decoration: none;
    color: white;
    text-shadow: none;
    -webkit-transition: 500ms linear 0s;
    -moz-transition: 500ms linear 0s;
    -o-transition: 500ms linear 0s;
    transition: 500ms linear 0s;
    outline: 0 none;
}

#menu-secondary-menu li a:hover,
#menu-secondary-menu li a:focus {
    color: #fff;
    text-shadow: -1px 1px 10px #ffc, 1px -1px 10px #fff;
}

#colophon li a svg {
    text-decoration: none;
    color: white;
    text-shadow: none;
    -webkit-transition: 500ms linear 0s;
    -moz-transition: 500ms linear 0s;
    -o-transition: 500ms linear 0s;
    transition: 500ms linear 0s;
    outline: 0 none;
 }

 #colophon li a svg:hover,
 #colophon li a svg:focus {
    color: #fff;
    filter: drop-shadow(-1px 1px 5px #ffffff);
}

div.entry-content h2:nth-child(1):hover,
div.entry-content h2:nth-child(1):focus {
    text-shadow: -1px 1px 10px rgba(255, 255, 204, 0.521), 1px -1px 50px #ffffff7e;
}
