/*
Theme Name: Darken
Theme URI: https://github.com/WordPress/community-themes/tree/trunk/darken
Author: wordpressdotorg
Author URI: https://wordpress.org/themes/author/wordpressdotorg/
Description: Darken is a meticulously designed theme for portfolio and blog websites. It features a perfect blend of fonts and colors, offering a visually appealing experience. With built-in editor styles, you can effortlessly switch your website to dark mode. This theme is modern, responsive, and optimized for speed.
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: darken
Tags: blog, portfolio, one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/

body a {
    transition: all 0.3s ease-in-out;
}

.heading-dot {
    position: relative;
    width: 100%;
}

.heading-dot:after {
    content: "\2022";
    font-size: 32px;
    line-height: 1;
    right: 0;
    vertical-align: middle;
    position: absolute;
    color: var(--wp--preset--color--secondary);
}

/* Change the WordPress default css to a 782px media query */
@media (min-width: 782px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
        width: 100%;
        position: relative;
        z-index: auto;
        background-color: inherit;
    }

    .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
        justify-content: center;
    }
}

/* Remove the WordPress default for 600px */
@media (min-width: 600px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}

/* Footer CSS */

.p-links a {
    color: var(--wp--preset--color--secondary);
}

.p-links a:hover {
    color: var(--wp--preset--color--secondary);
}

.footer-clip {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.footer-clip p {
    width: 100%;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 12s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
        /* Start at the initial position */
    }

    to {
        transform: translateX(-100%);
        /* Move left by one full container's width */
    }
}

.taxonomy-category {
    list-style: none;
    display: flex;
    padding: 0px!important;
    margin: 0px;
    flex-wrap: wrap;
}

.taxonomy-category a {
    padding: 2px 10px;
    border: 1px solid #26ed68;
    margin: 5px 5px 5px 0px;
    border-radius: 100px;
    transition: .5s ease;
}

.taxonomy-category a:hover {
    border: 1px solid #26ed6880;
    color: rgb(50, 50, 50);
    background-color: #26ed6880;
}

footer .wp-block-group {
    margin: 0px;
} 

/* Page contact  */
.wpcf7 input, .wpcf7 textarea {
    all: unset;
    border: none;
    border-bottom: 1px solid black;
    width: 100%;
}

.wpcf7 p {
    display: block;
    margin: 0 auto;
    margin-bottom: 25px;
}

p input.wpcf7-submit {
    width: 100%;
    text-align: center;
    padding:10px 0px;
    border: 2px solid #26ed68;
    border-radius: 100px;
    transition: .5s ease;
    min-width: 40vw;
    color: #26ed68;
    font-weight: bold;
    font-size: 1.2em;
} 

p input.wpcf7-submit:hover {
    border: 2px solid #26ed6880;
    color: rgb(50, 50, 50);
    background: #26ed6880;
} 

.wpcf7 input::placeholder, .wpcf7 textarea::placeholder {
    color: black;
    opacity: 1;
}

.blog .title-width {
    width: 100%;
}

.img-hover {
    display: none;
}

.title-hover:hover + .img-hover {
    display: block;
    position: absolute;
    width: 20vw;
    min-width: 200px;
    top: -1em;
    right: 0px;
    rotate: 10deg;
    z-index: 2;
    pointer-events: none;
}

.single .entry-content p:first-child {
    font-weight: bold;
}

.single .entry-content p {
    margin-bottom: 10px;
}

h2 {
    margin-top: 15px!important;
    margin-bottom: 15px!important;
}

h2 {
    margin-top: 10px!important;
    margin-bottom: 10px!important;
}