/*
========================================
= Landing                              =
========================================
*/



:root
{
    --landing-padding-height: 250px;
    --landing-background-linear-gradient-first: var(--secondary-background-color);
    --landing-background-linear-gradient-second: #0d002d;
    --landing-color: var(--secondary-color);
}


div.landing
{
    position: relative;
    padding-top: var(--landing-padding-height);
    padding-bottom: var(--landing-padding-height);
    width: 100%;
    height: calc(100vh - (var(--header_navigation-top-height) + var(--header_navigation-bottom-height)) - (var(--landing-padding-height) * 2));
    background-image: linear-gradient(180deg, var(--landing-background-linear-gradient-first), var(--landing-background-linear-gradient-second));
    color: var(--landing-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: space-evenly;
}

div.landing:before
{
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

div.landing.landing-new_york:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/new-york.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.landing.landing-innsbruck:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/innsbruck.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.landing.landing-los_angeles:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/los-angeles.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.landing.landing-lyon:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/lyon.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.landing.landing-miami:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/miami.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.landing.landing-paris:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/paris.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.landing.landing-seattle:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/seattle.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.landing.landing-tokyo:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/tokyo.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.landing.landing-toronto:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/toronto.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.landing.landing-toulouse:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/toulouse.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.landing.landing-vienna:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/vienna.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.landing.landing-nevada:before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png"), url("../img/backgrounds/nevada.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 0 0, 100% 100%, center center;
    background-size: 40%, 50%, cover;
}

div.block
{
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 10%;
    padding-right: 10%;
    width: calc(100% - (10% * 2));
}

div.block:before
{
    content: ' ';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0.1;
    z-index: -1;
}

div.block:nth-child(odd):before
{
    background-image: url("../img/backgrounds/top-right-dots-background.png"), url("../img/backgrounds/bottom-left-dots-background.png");
    background-repeat: no-repeat, no-repeat;
	background-position: 100% 0, 0 100%;
	background-size: 50%, 30%;
}

div.block:nth-child(even):before
{
    background-image: url("../img/backgrounds/top-left-dots-background.png"), url("../img/backgrounds/bottom-right-dots-background.png");
    background-repeat: no-repeat, no-repeat;
	background-position: 0 5px, 100% calc(100% - 10px);
	background-size: 30%, 50%;
}

div.illustration
{
    position: relative;
    margin-top: 50px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

div.illustration > img.illustration-img
{
    position: relative;
    width: calc((100% / 3) * 1);
    height: auto;
}

div.illustration > div.illustration-text
{
    position: relative;
    width: calc((100% / 3) * 2 - 50px);
}

div.grid
{
    display: grid;
    align-items: center;
}

div.grid-1
{
    grid-template-columns: repeat(1, calc(100% / 1));
}

div.grid-2
{
    grid-template-columns: repeat(2, calc(100% / 2));
}

div.grid-3
{
    grid-template-columns: repeat(3, calc(100% / 3));
}

div.grid-4
{
    grid-template-columns: repeat(4, calc(100% / 4));
}

div.grid-5
{
    grid-template-columns: repeat(5, calc(100% / 5));
}

div.grid > a.image-link
{
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

a.image-link
{
    position: relative;
    color: var(--primary-color);
    text-decoration: underline;
}

img.grid-image
{
    position: relative;
    width: 100%;
    max-width: 200px;
    height: auto;
}


@media screen and (max-width: 1000px)
{
    div.illustration
    {
        position: relative;
        margin-top: 80px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    div.illustration:nth-child(even)
    {
        flex-direction: column-reverse;
    }

    div.illustration > img.illustration-img
    {
        position: relative;
        margin-bottom: 50px;
        width: 100%;
        height: auto;
    }

    div.illustration > div.illustration-text
    {
        position: relative;
        width: 100%;
    }
}