/*
Theme Name: veloskalyr
Description: veloskalyr.com
Version: 1.0
Author: JOHDA Webdesign
*/

/* Variablen */

:root
{
    --yellow: #FE0;
    --anthra: #222;
    --light: #F5F5F5;
    --white: #FFF;
}


/* Basiseinstellungen */

*
{
    margin: 0;
    padding: 0;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}


html
{
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
}

body
{
    line-height: 2rem;
    font-size: 1.25rem;
    font-family: 'Literata', serif;
    font-feature-settings: 'liga', 'onum', 'ss01';
    font-weight: 300;
    letter-spacing: -0.0075em;
    color: var(--anthra);
    overflow-x: hidden;
    background: var(--light);
}

body:before
{
    content: "";
    position: fixed;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: -1;
    background-image: linear-gradient(rgba(225,225,225,0.2) 2px, transparent 2px), linear-gradient(90deg, rgba(225,225,225,0.2) 2px, transparent 2px), linear-gradient(rgba(225,225,225,0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(225,225,225,0.2) 1px, transparent 1px);
    background-size: 4rem 4rem, 4rem 4rem, 0.8rem 0.8rem, 0.8rem 0.8rem;
}


/* Globale Eigenschaften */

.screen_width
{
    width: 100%;
    position: relative;
}

.content_width
{
    width: min(90%,1440px);
    margin: 0 auto;
    position: relative;
}

.minor_width
{
    width: min(1200px, 90%);
    margin: 0 auto;
}

.center_position
{
    margin: 0 auto;
}

.top_padding
{
    padding-top: 4rem;
}

.more_top_padding
{
    padding-top: 6rem;
}

.bottom_padding
{
    padding-bottom: 4rem;
}

.more_bottom_padding
{
    padding-bottom: 6rem;
}

.content_grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
}

.bg_color
{
    background: var(--white);
}

.bg_color_alt
{
    background: var(--light);
}


.hidden
{
    overflow: hidden !important;
}

/* Header */

header
{
    padding: 0.5rem 0;
}

#main_nav
{
    display: flex;
    justify-content: flex-end;
}

#logo
{
    height: 2rem;
    display: block;
}


/* Hero Section */

.hero_grid
{
    position: relative;
    display: flex;
    justify-content: space-between;
}

.hero_grid article:first-of-type
{
    width: 25%;
    position: relative;
    aspect-ratio: 1/1;
}

.hero_grid article:last-of-type
{
    width: calc(75% - 10vw);
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    position: relative;
}

#scale
{
    display: block;
    position: relative;

}

#scale > div
{
    aspect-ratio: 1/1;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
}

#scale > div:nth-of-type(1)
{
    width: 25%;
    border-radius: 50% 50% 50% 0;
    background: var(--anthra);
    z-index: 10;
}


#scale > div:nth-of-type(2)
{
    width: 50%;
    border-radius: 50% 50% 50% 0;
    background: var(--yellow);
    z-index: 8;
}

#scale > div:nth-of-type(3)
{
    width: 100%;
    border-radius: 50% 50% 50% 0;
    background: var(--white);
    z-index: 5;
}

/* Abschnitte */

#sec_thoughts
{
    display: block;
}

.thoughts_card
{
    position: relative;
    padding: 2rem  !important;
    background: var(--light);
    border: 1rem solid var(--white);
}

.thoughts_card > div
{
    aspect-ratio: 1/1;
    display: block;
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    border-radius: 1rem 1rem 1rem 0;
    background: var(--anthra);
    z-index: 2;
}


.services_card
{
    position: relative;
    width: 100%;
    padding: 2rem  !important;
    background: var(--light);
    margin: 0 auto;
}


/* Typografie */

#logo,
h1,
h2,
.label,
.label2,
strong,
.marker,
a,
#imprint p
{
    font-family: 'Satoshi', sans-serif;
    font-feature-settings: 'ss01', 'ss03', 'liga';
    font-size: 1.05em;
    letter-spacing: 0;
}


h1
{
    display: inline-block;
    width: 45vw;
    font-weight: 900;
    font-size: 4.2vw;
    line-height: 1.25em;
    letter-spacing: -0.025em;
    word-spacing: 0.1em;
}


h1 .marker
{
    font-family: 'Literata', serif;
    font-weight: 800;
    font-style: oblique;
    font-size: 0.95em;
}


h2
{
    font-size: 1.7rem;
    font-weight: 900;
}

h2 > span
{
    display: inline-block;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 1.1rem;
    text-align: center;
    background: var(--yellow);
    margin: 0 0.5em auto -0.25em;
}

.hero_grid > article > p
{
    display: inline-block;
}

.marker
{
    font-weight: 900;
    text-decoration: underline  0.15em var(--yellow);
    text-underline-offset: 0.05em;
    padding: 0 0.20em;
    margin: 0 -0.20em;
}

.label
{
    position: absolute;
    padding: 1rem;
    top: -6rem;
    right: 0;
    font-weight: 200;
    font-size: 1rem;
    line-height: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.label2
{
    position: absolute;
    padding: 1rem;
    top: -8rem;
    left: 0;
    font-weight: 200;
    font-size: 1rem;
    line-height: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.thoughts_card > p
{
    line-height: 2rem;
    font-size: 1.5rem;
    font-weight: 400;
    font-style: oblique;
}

.two_col
{
    columns: 2;
    column-gap: 4rem;
}

h2 + p,
p + p,
p + table,
table + p
{
    margin-top: 2rem;
}

strong
{
    font-weight: 900;
}


td
{
    vertical-align: top;
    padding-bottom: 1rem;
}

td:nth-of-type(2)
{
    padding-left: 2rem;
}


#imprint p
{
    line-height: 1rem;
    font-size: 0.6rem;
    letter-spacing: 0.025em;
}


/* Buttons und Links */

#logo
{
    text-decoration: none;
    font-size: 1rem;;
    font-weight: 900;
    letter-spacing: 0.01em;
    color: var(--anthra);
}

.book_button
{
    display: inline-block;
    background: var(--anthra);
    margin: 0 0 0 auto;
    padding: 0.5rem 1rem;
    color: var(--light);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    border-radius: 2em 2em 2em 0;
    transition: all 0.15s ease-in-out;
    position: relative;
    left: -2rem;
    bottom: -2rem;
}

.book_button:hover
{
    background: var(--yellow);
    color: var(--anthra);
    text-decoration: none;
}

/* Slider */

.slick-track {
    display: flex !important;
    justify-content: space-around !important;
}

.slick-slider
{
    margin-bottom: 0 !important;
}


.slick-prev:before {
    content: '\27F5' !important;
    position: absolute;
    top: 0;
    left: -3rem;
}

.slick-next:before {
    content: '\27F6' !important;
    position: absolute;
    top: 0;
    right: -3rem;
}

.slick-prev:before, .slick-next:before {
    font-family: 'Icofont' !important;
    font-size: 2rem !important;
    line-height: 1;
    opacity: 1 !important;
    color: var(--light) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots
{
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    display: flex;
    justify-content: center;
    margin-top: 2rem !important;
    height: 1rem;
}

.slick-dots > li
{
    position: relative !important;
    display: block !important;
    width: 1rem !important;
    height: 1rem !important;
    margin: 0 !important;
    margin: 0 0.25rem !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-dots > li > button
{
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    padding: 0 !important;
    background: var(--light);
    border: 0.1rem solid var(--anthra);
    border-radius: 0.5rem;
    color: rgba(0,0,0,0);
}

.slick-dots > li > button:hover
{
    background: var(--anthra);
    cursor: pointer;
}

.slick-dots > li.slick-active > button
{
    background: var(--anthra);
}

.slick-dots > li > button::before
{
    content: "" !important;
}


/* Responsive */


@media only screen and (max-width: 960px)
{
	
	:root
	{
		--light: #F3F3F3;
	}
	
    html
    {
        font-size: 1.2rem;
    }
	
	body:before
{
    content: "";
    position: fixed;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,0.2) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,0.2) 2px, transparent 2px), linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 4rem 4rem, 4rem 4rem, 0.8rem 0.8rem, 0.8rem 0.8rem;
}
	
	
    .hero_grid
    {
        flex-direction: column;
    }
    .hero_grid article:first-of-type
    {
       width: 30%;
       margin: 0 auto 6vw auto;
    }

    .hero_grid article:last-of-type
    {
        width: 100%;
    }
	
    h1
    {
        width: 100%;
        font-size: 6.6vw;
        line-height: 8vw;
        text-align: center;
    }
	
    tr
    {
        display: flex;
        flex-direction: column;
    }
	
    p,
    td
    {
        hyphens: auto;
    }
}


@media only screen and (max-width: 400px)
{
    html
    {
        font-size: 1rem;
    }
}