/* manrope-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/manrope-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/manrope-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  src: url('./fonts/manrope-v15-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/montserrat-v26-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --background-main: #fff;
    --background-secondary: #323232;
    --text-main: #323232;
    --text-secondary: #fff;
    --headline-main: #1e1e1e;
    --accent: #159a34;

    --border-separator: #dadada;
}

html, body{
    margin: 0;
}

html{
    font-family: "Manrope", Arial;
    font-weight: 400;
    color: var(--text-main);

    line-height: 1.5em;

    font-size: 1rem;
}

body{
    min-height: 100vh;
    display: flex;
    flex-flow: column;
}

header{
    border-bottom: 1px solid var(--border-separator);
}

header .content{
    display: flex;
    flex-flow: column-reverse;
    justify-content: space-between;
    align-items: start;
    padding: 1rem;
    gap: 1rem;
}

header .content a{
    font-family: 'Montserrat';
    font-weight: 400;
    color: var(--text-main);
}

header .content a.selected{
    text-decoration: underline;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6{
    font-weight: 400;
    margin: 0;
    color: var(--headline-main);
}

h1{
    font-size: 1.8rem;
    line-height: 1.5em;
    text-transform: uppercase;
    font-weight: 800;

    margin-bottom: 0.5rem;
}

h2{
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.5em;
}

a{
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
}

a.button{
    font-size: 0.8rem;
}

p{
    margin: 0;
}

.button{
    color: var(--text-main);
    border-bottom: 1px solid var(--accent);
    display: inline-block;
    padding: 0.5rem 0;

    display: flex;
    flex-flow: row;
    width: 100%;

    position: relative;
}

.separator{
    width: 150px;
    border-bottom: 1px solid var(--accent);
    margin: 1rem 0;
}

.small{
    font-size: 0.9rem;
    font-weight: 700;
}

.button::after{
    content: url("./images/arrow.svg");
    display: inline-block;
    width: 20px;
    height: 18px;
    position:absolute;

    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.vertical-center{
    justify-content: center;
}

.uppercase{
    text-transform: uppercase;
}

.accent{
    display: flex;
    flex-flow: column;
    position: relative;

    justify-content: center;
    align-items: center;

    background: var(--accent);
    color: var(--text-secondary);

    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.5em;
}

.accent span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.content{
    max-width: 300px;
    margin: auto;
    padding: 4rem 1rem;
}

.grid_3 div{
    display: flex;
    flex-flow: column;
    align-items: start;
}

img{
    max-width: 100%;
}

main{
    flex-grow: 1;
    display: flex;
    align-items: center;
}

footer{
    background: var(--accent);
    color: var(--text-secondary);
}

footer .content{
    display: flex;
    flex-flow: column;
    gap: 2rem;
    padding: 2rem 1rem;
}

footer .content .links{
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
    color: white;
}

footer .content .sm-icons{
    display: flex;
    flex-flow: row;
    gap: 2rem;
}

footer .content .sm-icons img{
    width: 2rem;
    height: 2rem;
    filter: invert(1);
}

footer a{
    color: var(--text-secondary);
}

footer a:hover{
    text-decoration: underline;
}

.grid_3{
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.space-bottom{
    margin-bottom: 2rem;
}

.button.short{
    width: 100%;
}

.grid_3 div.hide-on-mobile{
    display: none;
}

a.button{
    padding-left: 0px;
    transition: 0.2s color ease, 0.2s padding ease;
    box-sizing: border-box;
}

a.button:hover{
    color: var(--background-main);
    padding-left: 10px;
}

a.button:before{
    content: '';
    background-color: var(--accent);
    height: 100%;
    position: absolute;
    width: 0%;
    left:  0;
    top: 0;
    transition: 0.2s width ease;
    z-index: -1;
}

a.button:hover:before{
    width: 100%;
}

.language-switch{
    transform: translateX(-0.5rem);
}

header .content .language-switch a{
    padding: 0.5rem;
}

@media only screen and (min-width: 768px){
    .language-switch{
        transform: translateX(0.5rem);
    }

    header .content{ 
        flex-flow: row;
        align-items: center;
    }

    .button{
        width: 250px;
    }

    .button.short{
        width: 150px;
    }

    .content{
        max-width: 650px;
    }

    .grid_3{
        grid-template-columns: 1fr 1fr;
        gap: 2rem 0.5rem;
    }

    .grid_3 > div:nth-child(3){
        order: 4;
    }
}

@media only screen and (min-width: 1025px){
    .grid_3 > div:nth-child(3){
        order: unset;
    }

    footer{
        background: var(--background-secondary);
    }

    footer .content{
        flex-flow: row;
        justify-content: space-between;
    }

    .content{
        max-width: 1400px;
    }

    html{
        font-size: 1rem;
    }

    main{
        font-size: 0.8rem;
    }

    h1{
        font-size: 1.3rem;
    }

    h2{
        font-size: 1rem;
    }

    .small{
        font-size: 0.8rem;
        line-height: 1.5em;
    }

    .accent{
        font-size: 1.5rem;
    }

    header .content{
        padding: 2rem 4rem;
    }

    .button{
        width: 300px;
    }

    .separator{
        width: 250px;
    }

    .content{
        padding: 4rem;
        margin: auto;
    }

    footer .content{
        padding: 2rem 4rem 4rem 4rem;
    }
    
    .grid_3{
        grid-template-columns: 2fr 1.5fr 2fr;
        gap: 0.5rem;
    }

    .grid_3 div.hide-on-mobile{
        display: flex;
    }

    .logo{
        width: 300px;
    }

    .space-right{
        padding-right: 2rem;
    }
}

@media only screen and (min-width: 1400px){

    html{
        font-size: 1rem;
    }

    h1{
        font-size: 2rem;
    }

    h2{
        font-size: 1.3rem;
    }

    .small{
        font-size: 0.9rem;
    }

    .space-bottom{
        margin-bottom: 6rem;
    }

    .accent{
        font-size: 2rem;
    }

    main{
        font-size: 1rem;
    }

    a.button{
        font-size: 1rem;
    }
}