@charset "UTF-8";

@font-face {
    font-family: 'nunito_regular';
    src: url('nunito-sans-v15-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'nunito_bold';
    src: url('nunito-sans-v15-latin-700.woff2') format('woff2');
}

/* Basic Variables ------------------------------------------------ */
:root {
    --light:#FFF;
    --dark: #000;
    --line: #CCC;

    --FSS: 24px;
    --FSD: 32px;
    --FSL: 64px;

    --mt: 50vw;
}

@media (max-width: 1920px) {
    :root {
        --FSS: 1.25vw;
        --FSD: 1.66vw;
        --FSL: 3.33vw;
    }
}
@media (orientation: portrait) {
    :root {
        --FSS: 2.5vw;
        --FSD: 3vw;
        --FSL: 6vw;

        --mt: 85vw;
    }
}
@media (max-width: 450px) {
    :root {
        --FSS: 4vw;
        --FSD: 4.5vw;
        --FSL: 7vw;

        --mt: 100vw;
    }
}

/* Basics --------------------------------------------------------- */
html{
    scroll-behavior: smooth;
}
body{
    margin: 0;
    cursor: default;
    color: var(--dark);
    font-family: 'nunito_regular', sans-serif;
    background-color: var(--light);
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

i, em{
    font-style: normal;
}
strong{
    font-style: normal;
}

ol { 
    padding-left: 1em; 
}
ul {
	list-style: none;
    padding-left: 0.9em;
    margin-left: 0;
}
ul li:before {
    content: "–";
    position: absolute;
    margin-left: -0.8em;
}

h1, h2, h3, h4, h5, h6{
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

p{ 
    word-break: break-word;
}

img, .ns, nav, button, .button{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
::selection {
    background: var(--dark);
    color: var(--light);
}

img{
    vertical-align: middle;
}
*{
    box-sizing: border-box;
}

a{
    white-space: nowrap;
}
figure{
    margin: 0;
}


/* Links ------------------------------------------------------------ */
a{ 
    color: inherit;
    outline: 0;
}
a:hover{ 
    text-decoration: none;
}
.nb{
    border: none;
    text-decoration: none;
}


/* Font Styles ----------------------------------------------------- */
html, body, .FSD{ 
    font-size: var(--FSD);
}
.FSS{
    font-size: var(--FSS);
}
.FSL{
    font-size: var(--FSL);
    line-height: 1.2em;
}
.bold{
    font-family: 'nunito_bold', sans-serif;
}



/* ------------------------------------------------------------------ */
header{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--mt);
    z-index: -1;
}
header figure, header picture, header img{
    width: 100%;
    height: 100%;
}
header img{
    object-fit: cover;
}
.bg{
    position: absolute;
    opacity: 0;
    transition: opacity 3s ease;
}
.show{
    opacity: 1;
}

main{
    background-color: var(--light);
    margin-top: var(--mt);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.wrap{
    width: 47rem;
    background-color: var(--light);
}
main .wrap{
    transform: translateY(-7rem);
}
.m_cont{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.2rem 0;
}
.logo img{
    width: 6rem;
    height: auto;
    margin-bottom: 2.2rem;
}
h1{
    text-align: center;
    width: 80%;
    margin-bottom: 1rem;
}
.m_cont p, .m_cont ul, .m_cont h2, .m_cont h3, .m_cont h4{
    width: 30rem;
}
.kontakt{
    display: flex;
    justify-content: center;
    gap: 10rem;
    text-align: center;
    margin-top: 1rem;
}
.kontakt svg{
    width: auto;
    height: 1.7rem;
    transition: opacity .2s ease;
}
.kontakt svg path{
    fill: var(--dark);
}
.kontakt h2{
    margin-bottom: .5rem;
}
.c2{
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.kd{
    display: flex;
    gap: .5rem;
}

.button{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 4rem;
    padding: 0 1rem;
    height: 1.7rem;
    background-color: var(--dark);
    color: var(--light);
    border-radius: 1rem;
    transition: opacity .2s ease;
}
.button:hover, a svg:hover{
    opacity: .7;
}

footer{
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--light);
}
footer .wrap{
    display: flex;
    justify-content: space-between;
    border-top: solid 1px var(--line);
    padding: 1rem 0 2rem 0;
}
footer a{
    margin-left: 1rem;
}


@media (orientation: portrait) {
    .wrap{
        width: 90vw;
    }
    .m_cont p, .m_cont ul, .m_cont h2, .m_cont h3, .m_cont h4{
        width: 80vw;
    }
    .kontakt{
        gap: 5rem;
    }
    footer .wrap{
        flex-direction: column;
        justify-content: flex-start;
    }
    footer a{
        display: block;
        margin: 0 1rem 1rem 0;
    }
    footer .wrap div:first-child{
        order: 1;
    }
    footer .wrap div:last-child{
        order: 0;
        margin-bottom: 1rem;
    }
}
@media (max-width: 450px) {
    .kontakt{
        flex-direction: column;
        gap: 3rem;
        margin-top: 1rem;
    }
    .c2{
        width: 100%;
    }
    .kontakt h2{
        margin-bottom: 1rem;
    }
    .kd{
        gap: 1rem;
    }    
    .m_cont p, .m_cont ul, .m_cont h2, .m_cont h3, .m_cont h4{
        width: 84vw;
    }
    .button{
        border-radius: 2rem;
        padding: 0 1.5rem;
    }
    .button, .kontakt svg{
        height: 2.5rem;
    }
}

