/*
Theme Name: nikra media
Theme URI: 
Author: 
Author URI: https://nikramedia.com
Description: nikra media Theme
Requires at least: 6.0
Tested up to: 6.4.3
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: nikramedia
Tags: one-column, wide-blocks, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

html {
    scroll-behavior: smooth;
  }


::selection {
    background-color: var(--wp--preset--color--contrast-2);
    color: white; /* Textfarbe bei Auswahl */
}

/* Für Firefox (ältere Versionen) */
::-moz-selection {
    background-color: #ff6b6b;
    color: white;
}


h1 {
    font-size: 10em;
    margin-bottom: 50px;
    font-weight: 600;
    font-style: italic;
    display: inline;
}

@media screen and (max-width:450px) {
   h1 {
    font-size: 4em;
    text-align: right;
   }

   #intermedial {
    grid-column-end: 3;
   }

   .skill-flow-1 {
    max-width: 80px;
   }

   .skill-flow-2 {
    max-width: 80px;
   }

    .skill-flow-1 .wp-block-image, .skill-flow-2 .wp-block-image{
    flex-grow: 0 !important;
   }
}

.redaction {
font-family: 'Redaction 35';
    font-style: normal;
    font-weight: bold;
}

h1 .redaction, h2 .redaction {
    font-style: italic;
    font-weight: 100;
}

h2 {

}

h3 {
    margin: 0;
}

p {
    font-size: 1.2rem;
}

html {
    cursor: url('./assets/images/pfeil.svg'), default !important;

}

a{
    cursor: url('./assets/images/pfeil.svg'), pointer !important;

}

.wp-block-site-logo {
    display: flex;
    align-self: center;
}

.custom-logo-link img {
    height: auto;
    width: 100px;
}

header {
    position:fixed;
    width: 97%;
    margin-left: auto;
    margin-right: auto;
    top: 0;
    left: 50%; 
    transform: translate(-50%, 0%);
    z-index: 99;
    mix-blend-mode: difference;
}

header a:hover {
    color: #f9dc22;
}

.wp-block-navigation__container {
    column-gap: 80px;
}

.wp-block-navigation-item__content:hover {
    text-decoration: none;
}

main {
    max-width: 97%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    margin-bottom: 0;
    padding: 0;
}

.index-main {
    max-width: 97%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    padding: 0;
    margin-top: 0;
}

section{
    width: 100%;
}

.skillset {
        overflow-x: hidden;
}

.skill-flow {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

:where(.wp-site-blocks) > * {
    margin-block-start: 0;
}

.wp-block-buttons {
    margin-top: 20px;
}

.wp-block-button a {
    padding: 10px;
    text-decoration: none;
}

.wp-block-button__link:hover {
    background-color: #f9dc22 !important;
    color: #09090b;
    
}

.intro {
    position: absolute;
    top: 0;
    left: 0;
}

.intro video {
    object-fit: cover;
    height: 100vh;
    width: 100%;
    box-shadow: inset -20px 10px 10px #00000000;
}

.index_erstes {
    margin-top: 100vh;
}

.vorstellung {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    padding-top: 100px;

    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto auto;
    gap: var(--wp--preset--spacing--20);

    overflow-x: hidden;
}

#intermedial {
    grid-row-start: 1;
    grid-column-start: 1;
    text-align: right;
}


.vorstellung-text {
    grid-row-start: 2;
    grid-column-start: 2;
    justify-self: start;

}

.index_zweites {
    margin-top: 210vh;
}

.vorschau {
    position: relative;
}

.vorschau_1 {
       border: 1px solid #424242;
}

.vorschau .vorschau_1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: all 0.2s ease;
}

.vorschau .vorschau_1 {
  opacity: 1;
}

.vorschau:hover .vorschau_1 {
  opacity: 0;
}

/* Hallo */

.hallo-container {
    display: flex;
    min-height: 400px;
    justify-content: center;
}

.hallo1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
}

.hallo2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
}


.hallo-button {
 z-index: 9;
}

.beitrag_text {
    max-width: 70%;
}

.tags {
    max-width: 600px;
    margin-right: auto;
    margin-left: 100px;
}

.wp-block-post-terms__separator:not(:last-child)::after {
    content: '';
    display: inline-block;
    background-image: url(./assets/images/seperator.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    margin-left: 0px; 
    margin-right: 6px;
    vertical-align: middle;
    
}
 
.wp-block-post-terms__separator:last-child::after {
    content: ''; 
}


.wp-block-latest-posts__list li{
    display: grid;
    grid-template: 1fr;
    grid-template-rows: auto auto;
}

.wp-block-latest-posts__featured-image {
    grid-row-start: 2;
    border-radius: 25px;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    transition: 0.3s filter linear, 0.3s -webkit-filter linear;
}

.wp-block-latest-posts__featured-image:hover {
    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
}

.wp-block-latest-posts__post-title {
    grid-row-start: 1;
}

footer .wp-block-navigation-item__label {
    color: #09090b !important;
}

footer .wp-block-navigation-item__label:hover {
    color: var(--wp--preset--color--base) !important;
}


