﻿/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
    padding-top: 3rem;
    padding-bottom: 0;
    color: #5a5a5a;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    margin-bottom: 0rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
    color: white;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    /*height: 35rem;*/
    height: 70vh; /* 50 % výšky okna */
    background-color: #777;
    color: white;
}

    .carousel-item > img {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        height: 70vh; /* 50 % výšky okna */
        /*height: 35rem;*/
    }

.cover {
    width: 100%;
    height: 100%; /* Obrázok vyplní kontajner */
    object-fit: cover; /* Obrázok si zachová pomer strán */
    object-position: center; /* Zarovnanie na stred */
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.marketing h2 {
    font-weight: 400;
}

.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}

.marketing h2 {
    font-weight: 400;
}

.marketing img {
    height: 300px; /* Nastavte požadovanú výšku */
    object-fit: cover; /* Zachová pomer strán obrázka */
}


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 2rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
    color: #f287b7;
}

.featurette img {
    height: 400px; /* Nastavte požadovanú výšku */
    object-fit: cover; /* Zachová pomer strán obrázka */
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 1rem;
    }
}
