﻿/*
 * Globals
 */

 * {
    font-family: 'NanumGothic', '나눔고딕', 'Nanum Gothic', 'Malgun Gothic', 'Segoe UI', Meiryo, 'Trebuchet MS', 'Dotum', AppleGothic, Helvetica, Arial, sans-serif !important
}


/* Links */

a,
a:focus,
a:hover {
    color: #fff;
}


/* Custom default button */

.btn-secondary {
    color: #333;
    text-shadow: none;
    /* Prevent inheritance from `body` */
    background-color: #fff;
    border: .05rem solid #fff;
}

.btn-secondary:focus {
    color: #333;
}

.btn-secondary:hover {
    color: #fff;
}


/*
 * Base structure
 */

html {
    height: 100%;
}

body {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    min-height: 100%;
}

.cover-container {
    width: 100%;
    max-width: 1000px;
}

.background-cover {
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
    min-height: 100%;
    min-width: 1024px;
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #333;
}


/*
 * Header
 */

.masthead {
    padding-bottom: 20px;
    margin-bottom: 2rem;
}

.masthead-brand {
    margin-bottom: 0;
    text-align: center;
}

.masthead-brand a:hover {
    text-decoration: none;
}

.nav-masthead .nav-link {
    padding: .25rem 0;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    background-color: transparent;
    border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
    margin-left: 1rem;
}

.nav-masthead .active {
    color: #fff;
    border-bottom-color: #fff;
}

.cover .cover-heading {
    word-break: break-all;
}

@media (min-width: 380px) {
    .masthead-brand {
        float: left;
    }
    .nav-masthead {
        float: right;
    }
}

@media (max-width: 380px) {
    .cover .cover-heading {
        font-size: 2rem;
    }
    .cover .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 320px) {
    .cover .cover-heading {
        font-size: 1.3rem;
    }
    .cover .lead {
        font-size: 1rem;
    }
}


/*
 * Cover
 */

.cover {
    /* padding: 0 1.5rem; */
}

.cover .btn-lg {
    padding: .75rem 1.25rem;
    font-weight: 700;
}

.sub-cover {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    color: #333;
    text-shadow: 0 0.05rem 0.1rem rgba(255, 255, 255, .5);
    padding: 10px 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 2rem rgba(0, 0, 0, .5);
}

.blockquote {
    background-color: rgba(0, 0, 0, .1);
    padding: 10px 20px;
}


/*
 * Footer
 */

.mastfoot {
    padding-top: 20px;
    color: rgba(255, 255, 255, .5);
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}