main {
    display: block;
    padding: 0;
}

main > .container-fluid {
    margin: 0;
    padding: 0;
}

.jumbotron {
    min-height: 500px;
    background: none;
    text-align: center;
    grid-area: main;
    display: grid;
    margin-bottom: 0;
    grid-template-columns: [jumbotron-start] auto [jumbotron-content-start] 0.5fr [jumbotron-content-end] auto [jumbotron-end];
}

.jumbotron > .container {
    grid-area: jumbotron-content;
}

.logo-sprite {
    object-fit: none;
    width: 100px;
    height: 100px;
    transform: scale(1.4);
}

.screenshot {
    -webkit-mask-image: -webkit-gradient(
        linear, center top, center bottom, 
        color-stop(0.00,  rgba(0,0,0,1)),
        color-stop(0.35,  rgba(0,0,0,1)),
        color-stop(0.50,  rgba(0,0,0,1)),
        color-stop(0.55,  rgba(0,0,0,1)),
        color-stop(1.00,  rgba(0,0,0,0)));
}

.jumbotron h1 {
    color: var(--primary-color);
    font-weight: bold;
}

.jumbotron:nth-child(even) {
    background: #f4f4f4;
}

.jumbotron-privacy .blockquote::before {
	content: "»";
	position: absolute;
	color: #b9d8bc;
    left: 8%;
    top: 0;
    transform: scale(8);
    z-index: -1;
}

.jumbotron-privacy .blockquote {
    width: 50%;
    position: relative;
    z-index: 1;
    color: var(--green);
}

.jumbotron-privacy h1, .jumbotron-features h1, .jumbotron-privacy .logo, .jumbotron-features .logo {
    color: var(--green);
}

.jumbotron-debian h1, .jumbotron-community h1 {
    color: var(--grey);
}

.jumbotron-debian a, .jumbotron-community a {
    font-weight: bold;
    color: rgb(100, 100, 100);
}

.jumbotron-get h1 {
    font-size: 1.8em;
}

.icon-grid {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.icon-grid figure {
    width: 100px;
    flex-flow: row wrap;
    justify-content: flex-start;
}

.icon-grid .logo-sprite {
    transform: none;
}

/*===== START Icons / Logos */

.fa.logo {
    font-size: 8rem;
}

.logo-sprite.logo-privacy {
object-position: -9px -150px;
}

.logo-sprite.logo-debian {
    object-position: -15px -273px;
}

.logo-sprite.logo-pioneer {
    object-position: -15px -401px;
}

.logo-sprite.logo-radicale {
    object-position: -143px -7px;
}

.logo-sprite.logo-ejabberd {
    object-position: -144px -272px;
}

.logo-sprite.logo-syncthing {
    object-position: -140px -401px;
}

.logo-sprite.logo-tor {
    object-position: -140px -778px;
}

.logo-sprite.logo-mumble {
    object-position: -145px -144px;
}

.logo-sprite.logo-minetest {
    object-position: -144px -525px;
}

.logo-sprite.logo-ttrss {
    object-position: -143px -652px;
}

.logo-sprite.logo-dots {
    object-position: -138px -913px;
}



/*===== END Icons / Logos */

@media screen and (max-width: 992px) {
    .jumbotron {
        grid-template-columns: [jumbotron-start] auto [jumbotron-content-start] 0.8fr [jumbotron-content-end] auto [jumbotron-end];
    }

    .jumbotron-privacy .blockquote {
        width: 90%;
    }
}

.jumbotron.jumbotron-features {
    background: linear-gradient(to bottom, white, 5% #f4f4f4);
    display: block;
}

.jumbotron-features > h1 {
    height: 5rem;
    font-size: 2.5rem;
}

.background-box {
    position: absolute;
    left: calc(50% - 11.7rem);
    top: 8.4rem;
    width: 23.4rem;
    height: 22.7rem;
    background: url("../images/pioneer-edition.jpg") no-repeat;
    background-size: 20.4rem auto;
}

@media (max-width: 767px) {
    .background-box {
        display: none;
    }
}

.description {
    background: linear-gradient(to right, rgba(255,255,255,0.88) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    padding: 2.4rem 3.2rem 3.2rem 3.2rem;
    position: relative;
    z-index: 2;
    overflow: visible;
}

@media (min-width: 768px) {
    .description {
        margin: 0 0 0 calc(50% - 3rem);
    }
}

.more-link a {
    color: rgb(64,196,75);
    font-weight: bold;
    font-style: italic;
    text-decoration: none;
}
                                    
.more-link a:after {
    content: " >";
    text-align: right;
}

.more-link a:hover {
    color: rgb(47,153,56);
}

.boxes {
    position: relative;
    overflow: hidden;
    width: auto;
    left: 0%;
}


@media (min-width: 992px) {
    .boxes {
        height: 100rem;
    }
}

@media (min-width: 992px) {
    .box {
        position: absolute;
    }
}

@media (max-width: 991px) {
    .box {
        padding: 0 2rem 0 6rem;
    }
}

.box p:before {  /*triangle of speech bubble*/
    content:" ";
    position: absolute;
    left: 2.5rem;
    width: 0;
    height: 0;
    border-top: 1.5rem solid #d6f3d8;
    border-right: 1.5rem solid transparent;
    bottom: -1.5rem
}
                                    
.box p {
    z-index: 2;
    position: relative;
    margin-top: 0;
    padding: 1rem;
    line-height: 1.25;
    font-style: italic;
    color: rgb(64,196,75);
    background: rgb(203,239,206);
    background: linear-gradient(30deg, rgba(203,239,206,1) 0%,rgba(255,255,255,1) 30%);
    border-radius: 5px;
}
                                    

.box .graybox {
    position: relative;
    left: -3.2rem;
    width: 17.7rem;
    height: 20.4rem;
    background: url("../images/graybox.png") no-repeat 0 -9rem;
    z-index: 1;
}

.box .graybox:before { /*long line*/
    content: " ";
    position: absolute;
    height: 1rem;
    width: 200rem;
    right: 97%;
    top: -53.5rem;
    transform: skewY(30deg); /* Standard syntax */
    background: rgb(122,189,255);
    z-index: 0;
}
                                    
                                    
@media (min-width: 992px) {
    .box.description1 {
        left: 47%;
        width: 20rem;
    }
}

.box.description1 .graybox:before { /*long line*/
    height: 1rem;
}

@media (min-width: 992px) {
    .box.description2 {
        left: 60%;
        top: 30rem;
        width: 25rem;
    }
}

.box.description2 .graybox {
    background-size: 14rem;
    background-position: 0 -11.5rem;
    left: -2rem;
    height: 16rem;
}
.box.description2 .graybox:before { /*long line*/
    height: 0.7rem;
    top: -54rem;
}

@media (min-width: 992px) {
    .box.description3 {
        left: 24.5%;
        top: 32rem;
        width: 20rem;
    }
}

.box.description3 .graybox {
    background-position: 0 -10rem;
    background-size: 12rem;
    left: -1.5rem;
    height: 12rem;
}
.box.description3 .graybox:before { /*long line*/
    height: 0.6rem;
    top: -55rem;
}

.box.link {
    z-index: 0;
}

.box.link a {
    position: relative;
    display: block;
    padding-left: 6.4rem;
    text-decoration: none;
    line-height: 1;
    font-style: italic;
}
.box.link  a:hover {
    text-decoration: underline;
}
.box.link  a:before {
    content: " ";
    position: absolute;
    height: 6.4rem;
    width: 6.4rem;
    margin: -1rem 0 0 -7rem;
    background: url("../images/icons.png") no-repeat 0 0;
    background-size: auto 6.4rem;
}
.box.link .graybox:before { /*long line*/
    height: 0.4rem;
    top: -55rem;
}
.box.link .graybox {
    background-size: 9rem;
    left: -1.5rem;
    background-position: 0 -7.5rem;
    height: 10rem;
}
.box.link a {
    top: -2rem;
    left: -0.5rem;
    background: white
}

@media (min-width: 992px) {
    .box.link1 {
        left: 69%;
        top: 50rem;
        width: 20rem;
    }
}


.box.link1 a:before {
    background-position: 0 0;
}

@media (min-width: 992px) {
    .box.link2 {
        left: 45%;
        top: 64rem;
        width: 28rem;
    }
}

.box.link2 a:before {
    background-position: -8rem 0;
}

@media (min-width: 992px) {
    .box.link3 {
        left: 14%;
        top: 73rem;
        width: 28rem;
    }
}

.box.link3 {
    z-index: 2;
}

.box.link3 a:before {
    background-position: -16rem;
}

.line {
    position: absolute;
    height: 0.3rem;
    width: 200rem;
    right: 128%;
    transform: skewY(30deg); /* Standard syntax */
    background: rgb(122,189,255);
    z-index: 0;
}

@media (min-width: 992px) {
    .line {
        top: 51rem;
    }
}

@media (max-width: 991px) {
    .line {
        display: none;
    }
}

.line:nth-last-of-type(2) {right: 113%;}
.line:nth-last-of-type(3) {right: 92%;}
.line:nth-last-of-type(4) {right: 108%;}
.line:nth-last-of-type(5) {right: 63%;}
.line:nth-last-of-type(6) {right: 45%;}
.line:nth-last-of-type(7) {right: 30%;}

.lastlink {
    transform: scale(1.5);
}

@media (min-width: 992px) {
    .features .lastlink {
        padding-top: 97rem;
    }

    .lastlink {
        position: absolute;
        left: 50%;
        transform: translateX(-50%) scale(2);
        bottom: 8rem;
        margin: 3.2rem 0;
    }
}

