﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

body, html {
    height: 100%;
    color: #666;
    font-family: 'Nunito', sans-serif;
}

p{
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.navbar {
    padding: 0 1rem;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.sub-navbar {
    background-color: #f1f8f2;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-link.selected {
    background-color: #f1f8f2;
    border-radius: 6px 6px 0px 0px;
}

.nav-link.selected-sub {
    border-bottom: 1px solid green;
}

.container {
    padding-top: 2rem;
}

.container-wide {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.container-nopad {
    padding-top: 0px;
}

.container-alt {
    background: #eeeeee;
}

.standout {
    font-size: 1.3rem;
}

.standout-bg {
    font-size: 1.3rem;
    padding: 10px;
    color: green;
    background-color: #f1f8f2;

}

.header-hero {
    font-size: 3.5rem;
    text-align: center;
    padding: 1.5rem;
    text-transform: uppercase;
    color: #000000;
}

.header-home {
    position: relative;
    text-align: center;
    color: #ffffff;
    font-size: 3.5rem;
    text-transform: uppercase;
    text-shadow: 1px 0px #666666;
}

    .header-home p {
        position: absolute;
        top: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.5;
    }

@media (max-width: 768px) {
    .header-home {
        font-size: 2.5rem;
    }
}

@media (max-width: 450px) {
    .header-home {
        font-size: 1.5rem;
    }
}

    .header-timjonas {
        text-align: center;
        position: relative;
        top: 32px;
        font-size: 1.3rem;
        margin-bottom: 0px;
    }

    .content-menu {
        margin-bottom: 2rem;
    }

        .content-menu a {
            display: inline-block;
            line-height: 1.8;
            width: 100%;
        }

    .hero-spider-list {
        background: url(https://lh3.googleusercontent.com/d/1VmG_jO_50hcd258o4CHMQPwNgMiERmn1=w1110?authuser=0);
        height: 300px;
        margin-bottom: 4rem;
        background-position-x: -20px;
        background-position-y: -135px;
        text-align: right;
        padding: 1rem;
    }

        .hero-spider-list p {
            color: white;
            font-size: 30px;
            text-decoration: none;
        }

    a .hero-spider-list {
        text-decoration: none;
    }


    /* Sticky footer styles
-------------------------------------------------- */
    html {
        font-size: 14px;
    }

    @media (min-width: 768px) {
        html {
            font-size: 16px;
        }
    }

    .border-top {
        border-top: 1px solid #e5e5e5;
    }

    .border-bottom {
        border-bottom: 1px solid #e5e5e5;
    }

    .box-shadow {
        box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    }

    button.accept-policy {
        font-size: 1rem;
        line-height: inherit;
    }

    /* Sticky footer styles
-------------------------------------------------- */
    html {
        position: relative;
        min-height: 100%;
    }

    body {
        /* Margin bottom by footer height */
        margin-bottom: 60px;
    }

    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        white-space: nowrap;
        line-height: 60px; /* Vertically center the text there */
    }

    /* Parallax scrolling
-------------------------------------------------- */

    .parallax-window {
        height: 600px;
    }

    @media only screen and (max-width: 600px) {
        .parallax-window {
            height: 300px;
        }
    }

    /* Home page links
-------------------------------------------------- */

    .tj-home-logo {
        width: 157px;
        position: relative;
        top: 36px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .section {
        padding-bottom: 2rem;
    }

    .section-hero {
        background-color: #f1f8f2;
    }

    .section-gray {
        background-color: #efefef;
    }

    .grid-list {
        text-align: center;
    }

    .home-page__link {
        display: block;
        text-align: right;
        padding: 1rem;
        font-size: 1.2rem;
    }

.image-container {
    position: relative;
    width: 25%;
    display: inline-flex;
    overflow: hidden;
    margin-bottom: 1rem;
    border: solid 1px #fff;
}

    .image-container-gallery {
        width: 33.3%;
        height: 348px;
    }

    @media only screen and (max-width: 600px) {
        .image-container {
            width: 50%;
            height: initial;
        }
    }

    @media only screen and (max-width: 992px) {
        .image-container {
            width: 50%;
            height: initial;
        }
    }

    .image-container-mid {
        width: 33.3;
    }

    .image-container-wide {
        width: 100%;
    }

        .image-container-wide img {
            width: 100%;
            max-width: 800px;
        }

    .image-container:after {
        content: "";
        display: block;
        padding-bottom: 100%; /* The padding depends on the width, not on the height, so with a padding-bottom of 100% you will get a square */
    }

    .image-container img {
        position: absolute; /* Take your picture out of the flow */
        top: 0;
        bottom: 0;
        left: 0;
        right: 0; /* Make the picture taking the size of it's parent */
        width: 100%; /* This if for the object-fit */
        height: 100%; /* This if for the object-fit */
        object-fit: cover;
        object-position: center;
        transform-origin: 0.5 0.5;
        transition: transform .25s, visibility .25s ease-in;
    }

    /* The Transformation */
    .image-container:hover img {
        transform: scale(1.1);
    }

.image-container div {
    position: absolute;
    bottom: -30px;
    text-align: center;
    width: 100%;
    height: 55px;
    font-size: 1.1rem;
    background-color: #f1f8f2;
}

    /* Image gallery
-------------------------------------------------- */

    .gallery {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
    }

        .gallery li {
            padding: 0px;
            margin: 0px 3px 5px 3px;
            height: 24%;
            width: 24%;
            border: 2px solid #efefef;
        }

    .gallery-wide-image {
        width: 100%;
    }

    .gallery-wide-text {
        margin-bottom: 2rem;
    }

    .gallery-mid {
        width: 50%;
        padding: 1rem;
    }

        .gallery-mid img {
            width: 100%;
        }

    .showcase img {
        width: 100%;
        padding: 0.5rem;
    }

    /* The side navigation menu */
    .sidenav {
        width: 210px;
        background-color: #efefef;
        overflow-x: hidden;
        float: left;
    }


        /* The navigation menu links */
        .sidenav a {
            padding: 5px;
            text-decoration: none;
            font-size: 18px;
            color: #666666;
            display: block;
            transition: 0.3s;
        }

            /* When you mouse over the navigation links, change their color */
            .sidenav a:hover {
                color: #000000;
            }

        /* Position and style the close button (top right corner) */
        .sidenav .closebtn {
            position: absolute;
            top: 0;
            right: 25px;
            font-size: 36px;
            margin-left: 50px;
        }



    /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
    @media screen and (max-height: 450px) {
        .sidenav {
            padding-top: 15px;
        }

            .sidenav a {
                font-size: 18px;
            }
    }

    @media screen and (max-width: 450px) {
        .sub-navbar {
            background-color: #efefef;
        }

        .hero-spider-list {
            background-position-x: -172px;
            background-position-y: -83px;
        }
    }

    @media screen and (min-width: 450px) {
        .navbar-light {
            display: none;
        }
    }


