@font-face {
    font-family: 'Futura';
    src: url('../fonts/Futura_Book_font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Futura';
    src: url('../fonts/Futura_Bold_font.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Futura';
    src: url('../fonts/Futura_Light_font.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Futura';
    src: url('../fonts/Futura_medium_bt.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, a, img, ol, ul, li {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* Page styles */
body {
    min-height: 100vh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    font-family: 'Futura', arial, sans-serif;
    font-size: 90%;
    line-height: 1.5;
}
header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.headerLink {
    padding: 5px;
    font-weight: bold;
    text-decoration: none;
    color: #20409A;
    font-size: 1.2em;
}
.headerLink:hover {
    text-decoration: underline;
}
.brandLogo {
    width: 100%;
}
section#main-content {
   /* display: flex;
    flex-direction: column;
    flex: 1 1;
    align-items: center;
    justify-content: space-evenly;*/
}
#ctaHeader {
    box-sizing: border-box;
    font-size: 2.8rem;
    line-height: 1em;
    color: #ffffff;
    padding: 10px 0;
    background: #c9ad72;
    text-align: center;
    width: 100%;
    font-weight: 500;
    font-family: 'Knockout', sans-serif;
    text-transform: uppercase;
}
#app-wrapper {
    box-sizing: border-box;
    width: 100vw;
}
.row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    margin: 10px;
}
body.online .row.offline {
    display: none;
}
body.offline .row.online {
    display: none;
}
.solo-image-wrapper {
    flex: 1;
    max-width: 100%;
    padding: 0 16px 16px;
}
.row img,
.solo-image-wrapper img {
    display: block;
    width: 100%;
}
.videoOuterWrapper, .imgWrapper {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
    align-self: center;
}
.videoWrapper #video {
    width: 100%;
}
.importantInfo {
    color: #ffffff;
    box-sizing: border-box;
    padding: 0 5px;
    text-align: center;
}
footer {
    width: 100%;
    color: #FFFFFF;
    background: #20409A url("../img/stilecapri-stripes.png");
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 300px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0 5px;
    text-align: center;
}
.footerText {
    font-size: 14px;
}
.footerText a:link, .footerText a:visited {
    color: #FFFFFF;
    text-decoration: none;
}
.footerText a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.dalogo {
    width: 200px;
    margin-top: 1em;
}

.peronilogo {
    width: 150px;
    margin-top: 1em;
}

@media screen and (max-width: 800px) {
    #webLink {
        top: 5px;
        right: 5px;
        padding: 1px 10px;
        font-size: 15px;
    }

    #ctaHeader {
        font-size: 24px;
        padding: 10px 5px;
    }
    #app-wrapper {
        width: 100%;
    }
    .row {
        grid-template-columns: repeat(1, 1fr);
    }
    .videoOuterWrapper {
        width: 100%;
    }

    footer {
        background-image: none;
    }
}
