@import url("https://fonts.googleapis.com/css?family=Raleway:200,300,400,500,600");

/* General styles */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Raleway", Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 38px;
    color: #333;
    min-width: 600px;
}

body:before {
    content: ' ';
    background-image: url(../images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

h1 {
    font-size: 46px;
    font-weight: 400;
    line-height: 16px;
}

h2 {
    font-size: 30px;
    font-weight: 300;
}

h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

h4 {
    font-size: 18px;
    font-weight: 300;
    line-height: 20px;
}

div.header {
    width: 100%;
    width: auto;
    text-align: center;
    min-height: 50%;
    height: auto;
    position: relative;
    background-image: url("../images/AdobeCC.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.logo {
    position: absolute;
    top: 0px;
    left: 80px;
    width: 114px;
    height: 227px;
    background-image: url("../images/SwinLogo.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.headings {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0%;
    margin: auto;
    color: #FFF;
}

div.intro {
    width: 100%;
    margin-top: 100px;
    margin-bottom: 50px;
    text-align: center;
}

div.faqContent {
    width: 100%;
    width: auto;
    padding: 10px;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 100px;
    font-size: 16px;
    font-weight: 400;
}

div.content {
    width: 100%;
    width: auto;
    padding: 10px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 100px;
    font-weight: 400;
}

.columnContent {
    flex: 1;
    margin-left: 200px;
    margin-right: 200px;
    &:first-child {
        margin-left: 0;
    }
    &:last-child {
        margin-right: 0;
    }
}

a {
    color: #333;
    text-decoration: none;
}

.faq {
    font-weight: 600;
}

.black {
    background-color: #000;
}

/* 3 column layout for guides */

div.guides {
    width: 100%;
    width: auto;
    margin-left: 100px;
    margin-right: 100px;
    text-align: center;
    font-size: 14px;
    line-height: 28px;
}

div.highlights {
    width: 100%;
    width: auto;
    margin-left: 100px;
    margin-right: 100px;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
}

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

.column {
    flex: 1;
    margin: 40px;
    padding: 40px;
    background: #FFF;
    border-radius: 16px;
    min-width: 150px;
    &:first-child {
        margin-left: 0;
    }
    &:last-child {
        margin-right: 0;
    }
}

.columnHighlights {
    flex: 1;
    margin: 20px;
    padding: 40px;
    background: #FFF;
    border: 1px solid #999;
    border-radius: 16px;
    &:first-child {
        margin-left: 0;
    }
    &:last-child {
        margin-right: 0;
    }
}

img.guide {
    max-width: 60px;
    height: auto;
}

img.highlights {
    max-width: 50px;
    height: auto;
}

hr {
    width: 80%;
    height: 1px;
    margin-left: auto;
    margin-right: auto;
    background-color: #666;
    border: 0 none;
    margin-bottom: 50px;
}

div.about {
    width: 100%;
    width: auto;
    padding-top: 40px;
    text-align: center;
    font-size: 16px;
    line-height: 30px;
    background: #333;
    color: #CCC;
}

div.moreinfo {
    width: 100%;
    width: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: left;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    color: #333;
    background: #CCC;
}

div.footer {
    width: 100%;
    width: auto;
    padding: 30px;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    color: #999;
    background: #333;
}

/* ################### CSS for Mobile Devices ########################### */

/* 3 column layout for guides for mobile devices */

@media screen and (max-width: 980px) {
    .columns .column {
        margin-bottom: 5px;
        flex-basis: 40%;
        &:nth-last-child(2) {
            margin-right: 0;
        }
        &:last-child {
            flex-basis: 100%;
            margin: 0;
        }
    }
    .columnContent {
        flex: 1;
        margin-left: 40px;
        margin-right: 40px;
        &:first-child {
            margin-left: 0;
        }
        &:last-child {
            margin-right: 0;
        }
    }

    .columnHighlights {
        flex-basis: 100%;
        margin: 0 0 5px 0;
    }

    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        font-family: "Raleway", Arial, Helvetica, sans-serif;
        font-weight: 300;
        font-size: 16px;
        line-height: 30px;
        color: #333;
        min-width: 600px;
    }
    
    .headings {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 10%;
        margin: auto;
        color: #FFF;
    }

    .logo {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 227px;
        height: 114px;
        background-image: url("../images/SwinLogo2.png");
    }
    
    div.guides {
        width: 100%;
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
        font-size: 14px;
        line-height: 28px;
    }
    div.highlights {
        width: 100%;
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
        font-size: 14px;
        line-height: 20px;
    }
}

/* ###################################################################### */

@media screen and (max-width: 680px) {
    .columns .column {
        flex-basis: 100%;
        margin: 0 0 5px 0;
    }
     .columnHighlights {
        flex-basis: 100%;
        margin: 0 0 5px 0;
    }

    .headings {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 20%;
        margin: auto;
        color: #FFF;
    }

    div.intro {
        width: 100%;
        margin-top: 50px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .columnContent {
        flex: 1;
        margin-left: 20px;
        margin-right: 20px;
        &:first-child {
            margin-left: 0;
        }
        &:last-child {
            margin-right: 0;
        }
    }
    div.guides {
        width: 100%;
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
        font-size: 14px;
        line-height: 28px;
    }
    div.highlights {
        width: 100%;
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
        font-size: 14px;
        line-height: 20px;
    }
    div.about {
        width: 100%;
        width: auto;
        padding-top: 40px;
        text-align: center;
        font-size: 12px;
        line-height: 20px;
        background: #333;
        color: #CCC;
    }
    h1 {
        font-size: 40px;
        font-weight: 400;
        line-height: 14px;
    }
    h2 {
        font-size: 26px;
        font-weight: 300;
    }
    h3 {
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
    }

    h4 {
        font-size: 16px;
        font-weight: 300;
        line-height: 12px;
    }
    
}