/*
Theme Name: Thomas Woll
Author: Stefan Völker
Author URI: https://voelkerdigital.de
Description: WordPress Theme für Thomas Woll
Version: 1.3
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwenty
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/* ---------- Fonts ---------- */
@font-face {
    font-family: 'Suisse Intl';
    src: url('fonts/SuisseIntl-Book-WebXL.eot');
    src: url('fonts/SuisseIntl-Book-WebXL.eot?#iefix') format('embedded-opentype'),
         url('fonts/SuisseIntl-Book-WebXL.woff2') format('woff2'),
         url('fonts/SuisseIntl-Book-WebXL.woff') format('woff'),
         url('fonts/SuisseIntl-Book-WebXL.ttf') format('truetype'),
         url('fonts/SuisseIntl-Book-WebXL.svg#SuisseIntl-Book') format('svg');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Suisse Intl';
    src: url('fonts/SuisseIntl-BookItalic-WebXL.eot');
    src: url('fonts/SuisseIntl-BookItalic-WebXL.eot?#iefix') format('embedded-opentype'),
         url('fonts/SuisseIntl-BookItalic-WebXL.woff2') format('woff2'),
         url('fonts/SuisseIntl-BookItalic-WebXL.woff') format('woff'),
         url('fonts/SuisseIntl-BookItalic-WebXL.ttf') format('truetype'),
         url('fonts/SuisseIntl-BookItalic-WebXL.svg#SuisseIntl-BookItalic') format('svg');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-white: #FFFFFF;
    --color-neutral-700: #D9D9D9;
    --color-neutral-600: #E6E6E6;
    --color-neutral-500: #777777;
    --color-black: #000000;
    --color-blue: #0085FF;
}

/* ---------- Basic styles ---------- */

body { 
    font-family: 'Suisse Intl', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 120%;
    color: var(--color-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 100%;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

p, a, button {
    font-size: 1rem;
    line-height: 120%;
    color: var(--color-black);
}

p {
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

button {
    font-family: 'Suisse Intl', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: none;
    border: none;
    cursor: pointer;
}

.page-template-default {
    background-color: var(--color-neutral-700);
}

/* ---------- Navigation ---------- */

.page-navigation {
    width: 100%;
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 999;
    top: 1rem;
}

.nav-items {
    background-color: var(--color-neutral-600);
    padding: 0.5rem 0.625rem;
    border-radius: 2.5rem; 
}

.page-navigation ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.page-navigation ul li {
    list-style: none;
    display: flex;
}

.page-navigation ul li a {
    text-decoration: none;
    padding: 0.25rem 0.625rem; 
    border-radius: 2.5rem;
    color: var(--color-black);
    transition: background-color 0.25s ease;
}

.page-navigation ul li a:hover,
.page-navigation ul li.current-menu-item a, 
body.single-text .page-navigation ul li.menu-item-39 a,
body.single-post .page-navigation ul li.menu-item-24 a {
    background-color: var(--color-white);
}

/* ---------- FRONT PAGE SLIDER ---------- */

.swiper {
    width: auto;
    height: 100svh;
}

.slider-home .swiper-slide {
    width: auto !important; 
}

.swiper-slide img {
    height: 100%;
    width: auto;
}

/* ---------- WORKS ---------- */


.grid {
  background: #DDD;
}

.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* .grid-sizer,
.grid-item {
  width: 33.333%;
} */

.grid-sizer { 
    width: 25%;
}


.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  width: 100%;
  height: auto;
}

.grid-item.grid-item--width-1 {
  width: 25%;
}

.grid-item.grid-item--width-2 {
  width: 50%;
}

.grid-item--link-block {
    position: relative;
    color: var(--color-black);
}

.grid-item--link-block:hover .grid-item-overlay-inner {
    opacity: 1;
}

.grid-item-overlay-inner {
    position: absolute;
    background-color: var(--color-white);
    padding: 0.5rem 0.75rem;
    border-radius: 20rem;
    transition: opacity 0.25s ease;
    opacity: 0;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}


/* ---------- SINGLE ---------- */

.single_overlay-wrapper {
    position: absolute;
    display: flex;
    width: 100%;
    bottom: 2rem;
    justify-content: center;
    z-index: 2;
}

.single_overlay-content {
    background-color: var(--color-white);
    padding: 0.5rem 0.75rem;
    border-radius: 20rem;
}

.single_close-wrapper {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 2;
}

.single_close-button {
    background-color: var(--color-white);
    text-decoration: none;
    color: var(--color-black);
    padding: 0.5rem 0.75rem;
    border-radius: 20rem;
    transition: background-color 0.25s ease;
}

.single_close-button:hover {
    background-color: var(--color-neutral-600);
}

.single-mobile-gallery {
    display: none;
    width: 100%;
    margin-bottom: 0;
}

.single-mobile-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 0;
}

.mobile-gallery-image {
    margin-bottom: -0.25rem;
}

/* ---------- ABOUT ---------- */

.about-wrapper {
    width: 100%;
    height: 100svh;
    position: relative;
    min-height: 48rem;
}

.slider-about {
    width: 100%;
    height: 100%;
    position: absolute !important;
}

.slide-about {
    width: 100%;
    height: 100%;
}

.slide-about img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    text-align: center;
    z-index: 1;
    border-radius: 1.25rem;
    padding: 2rem;
}

.about-text-wrapper {
    text-decoration: none;
    color: var(--color-black);
    width: 100%; 
    display: block;
    max-height: 6.25rem;
    /* overflow: hidden; */
    position: relative;
    top: -1.25rem;
    transition: all 0.25s ease;
}

.about-text-wrapper-inner {
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    background-color: var(--color-white);
    border-radius: 1.25rem 1.25rem 0 0;
    overflow: hidden;
    max-height: 8.75rem;
}

.about-text-wrapper:hover {
    top: -2.5rem;
}

.about-content .about-text-wrapper:nth-child(2n) .about-text-wrapper-inner {
    background-color: var(--color-neutral-600);
}

.about-content .about-text-wrapper:last-child .about-text-wrapper-inner{
    border-radius: 1.25rem 1.25rem;
}

.about-texts-wrapper {
    display: none;
}

.about-texts-wrapper.is-active {
    display: block;
}

.about_overlay-wrapper {
    position: absolute;
    display: flex;
    width: 100%;
    bottom: 2rem;
    justify-content: center;
    z-index: 2;
}

.nav-items {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem; 
}

.nav-items .nav-item {
    text-decoration: none;
    padding: 0.25rem 0.625rem;
    border-radius: 1.25rem;
    color: var(--color-black);
    transition: background-color 0.25s ease;
}

.nav-items .nav-item.current-menu-item {
    background-color: var(--color-white);
}

/* ---------- ABOUT SINGLE ---------- */

.single-text-wrapper {
    text-decoration: none;
    color: var(--color-black);
    width: 100%; 
    display: block;
    height: 75svh;
    overflow: scroll;
    position: relative;
    background-color: var(--color-white);
    border-radius: 1.25rem;
}

.single-text-wrapper-inner {
    padding: 2rem 1.5rem 2rem 1.5rem;
    display: none;
}

.single-text-wrapper-inner.is-active {
    display: block;
}

.single-text-headline {
    text-align: center;
}

.single-text-content {
    text-align: left;
}

.close-button-wrapper {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}


/* ---------- CONTACT ---------- */

.page-template-contact .about-content {
    display: flex;
    justify-content: center;
}

.page-template-contact .single-text-wrapper {
    height: auto;
    max-width: 15rem;
}

.page-template-contact .single-text-wrapper-inner {
    display: block;
}

.page-template-contact .single-text-content {
    text-align: center;
}

.about-bg {
    position: absolute;
    width: 100%;
    height: 100svh;
    top: 0;
    left: 0;
    z-index: 0;
}

.about-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- FOOTER ---------- */

.site-footer {
    text-align: left;
    padding: 1rem 0.5rem;
    background-color: var(--color-white);
}

.site-footer p,
.site-footer a {
    font-size: 0.675rem;
}

.site-footer p {
    margin-bottom: 0;
}

.text-mobile {
    display: none;
 }

@media screen and (max-width: 768px) {


    body { 
        font-size: 0.875rem;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 0.875rem;
        margin-bottom: 0.875rem;
    }

    p, a, button {
    font-size: 0.875rem;
    color: var(--color-black);
    }   

    p {
        margin-bottom: 0.875rem;
    }

    .page-navigation {
        bottom: 2rem;
        top: auto;
    }

    .nav-items .nav-item,
    .page-navigation ul li a {
        padding: 0.4rem 0.625rem 0.25rem 0.625rem;
    }

    .single-post .page-navigation,
    .page-template-about .page-navigation,
    .single-text .page-navigation {
        display: none;
    }

    .grid-item.grid-item--width-1,
    .grid-item.grid-item--width-2 {
        width: 100%;
    }

    .about-wrapper {
        min-height: 30rem;
    }

    .about-content {
        padding: 1rem;
    }

    .single_close-wrapper {
        bottom: 2.75rem;
        right: 1rem;
        position: fixed;
    }

    .single_overlay-wrapper {
        justify-content: left;
        bottom: 2.25rem;
        padding-left: 1rem;
        position: fixed;
    }
  
    .about_overlay-wrapper {
        bottom: 2rem;
        justify-content: left;
        padding-left: 1rem;
        position: fixed;
    }

    .close-button-wrapper {
        display: none;
    }

    .single .slider-home {
        display: none;
    }

    .single-mobile-gallery {
        display: block;
    }

    .grid-item--link-block:hover .grid-item-overlay-inner {
        opacity: 0;
    }

    .site-footer {
        text-align: center;
        padding: 1rem 0.5rem 7rem 0.5rem;
    }

    .text-desktop {
        display: none;
    }

    .text-mobile {
        display: block;
    }


     
}