/*!
 * Perth
 * PSD Created by Peter Finlan http://dribbble.com/peterfinlan
 *
 * Coding by Theme Armada
 * Visit us for more Bootstrap themes at: http://www.themearmada.com
 * Handcrafted with love in Atlanta!
 */

/* ==========================================================================
   Global styles
   ========================================================================== */


h1 {
    font-size: 65px;
    font-family: 'Lato', sans-serif;
    color: #ffffff;
}


h2 {
  font-size: 42px;
  font-weight: 300;
  font-family: 'Lato', sans-serif;
  color: #545454;
}

h3 {
  font-size: 30px;
  font-weight: 300;
  font-family: 'Lato', sans-serif;
  color: #ffffff;
}

p {
  color: #7e7e7e;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
}

/*-------------------Margins----------------*/
.margin-0 {
    margin-bottom: 0 !important;
}

.margin-10 {
    margin-bottom: 10px !important;
}

.margin-15 {
    margin-bottom: 15px !important;
}

.margin-20 {
    margin-bottom: 20px !important;
}

.margin-30 {
    margin-bottom: 30px !important;
}

.margin-40 {
    margin-bottom: 40px !important;
}

.margin-50 {
    margin-bottom: 50px !important;
}

.margin-60 {
    margin-bottom: 60px !important;
}

.margin-70 {
    margin-bottom: 70px !important;
}

.margin-80 {
    margin-bottom: 80px !important;
}

.margin-90 {
    margin-bottom: 90px !important;
}

.margin-100 {
    margin-bottom: 100px !important;
}

/*-------------------Buttons----------------*/
.btn {
    -moz-user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.btn-lg {
    font-size: 18px;
    line-height: 1.33;
    padding: 14px 22px;
}

.btn-primary,
.btn-secondary {
    background-color: transparent;
    transition: all 0.35s ease-in-out;
}

.btn-primary {
    border-color: #ffffff;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-color: #ffffff;
    color: #545454;
}

.btn-secondary {
    border-color: #4eacdd;
    color: #4eacdd;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.open .dropdown-toggle.btn-secondary {
    background-color: #4eacdd;
    color: #ffffff;
}

/*-------------------Colors----------------*/
.dark-gray {
    color: #545454;
}

.light-gray {
    color: #f4f4f4;
}

.white {
    color: #ffffff;
}

.green {
    color: #13c4af;
}

.blue {
    color: #4eacdd;
}

/* ==========================================================================
   Navigation styles
   ========================================================================== */
.navbar-inverse {
    background-color: #4eabde;
    border-color: rgba(0, 0, 0, 0);
}

.navbar-brand {
    padding: 0px;
}

.navbar {
  margin-bottom: 0px;
}

.navbar-inverse .navbar-nav > li > a {
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
}

.navbar-inverse .navbar-toggle {
    border-color: rgba(0, 0, 0, 0);
}

.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background-color: rgba(0, 0, 0, 0);
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: rgba(0, 0, 0, 0);
    border: 0px;
    box-shadow: 0 0px 0 rgba(0, 0, 0, 0.0) inset;
}

/* ==========================================================================
   Main styles
   ========================================================================== */
#header {
    background: #4eacdd;
    height: 705px;
    overflow: hidden;
    position: relative;
}

.header-text {
    padding-top: 170px;
    position: relative;
    z-index: 2;
}

.header-img {
    position: absolute;
    transform: translate(-30%, -50%);
    max-width: 180%;
    height: auto;
    z-index: 1;
}

#main1 {
    background: #f4f4f4;
    padding-top: 40px;
    min-height: 650px;
    height: auto;
    overflow: hidden;
    position: relative;
}

.main1-img {
    position: absolute;
    max-width: 100%;
    /* height: auto; */
    box-sizing: border-box;
}

blockquote {
    border-left: 8px solid #4eacdd;
    font-size: 16.5px;
    color: #7e7e7e;
    font-style: italic;
    margin: 0 0 20px;
    padding: 0 20px;
}

#main2 {
    background: #ffffff;
    padding-top: 40px;
    height: auto;
    overflow: hidden;
}

.main2-img {
    margin-top: 30px;
    max-width: 100%;
    height: auto;
    position: relative;
}

#main3 {
    background: #f4f4f4;
    /* main1과 동일한 배경색 */
    padding-top: 40px;
    height: auto;
    overflow: hidden;
    position: relative;
}

.main3-img {
    max-width: 100%;
    height: auto;
    padding-top: 30px;
    padding-right: 0px;
    box-sizing: border-box;
}

/* ==========================================================================
   Message section styles
   ========================================================================== */
#message {
    padding: 50px 0;
    background: #13c4af;
}

#contact {
    padding-top: 30px;
    background: #ffffff;
}

/* ==========================================================================
   Bottom section styles
   ========================================================================== */
#bottom {
    padding: 220px 0;
    background: #f4f4f4;
    overflow-y: hidden;
}

.social li a {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    border: 2px solid #545454;
    background: transparent;
    color: #545454;
    padding: 14px 16px;
    display: block;
    transition: all 0.35s ease-in-out;
}

.social li a:hover {
    border-color: #aeaeae;
    color: #aeaeae;
}

.social li {
    margin: 0 15px;
}

.form-control {
    background-color: #ffffff;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    font-size: 14px;
    height: 55px;
    line-height: 1.42857;
    padding: 6px 12px;
    width: 100%;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

footer {
    background: #ffffff;
    padding: 16px;
    padding-top: 100px;
}



@media (max-width: 768px) {
    .header-text {
        padding-top: 0;
        text-align: center;
        z-index: 1;
    }

    .header-img {
        position: relative;
        margin: 20px auto;
        left: 50%;
        transform: translateX(-50%);
        /* 수평 중앙 정렬 */
        max-width: 100%;
    }
}

@media (max-width: 480px) {

    .main1-img,
    .main2-img,
    .main3-img {
        position: relative;
        margin: 0px auto 0;
        max-width: 100%;
    }

    .col-sm-6 {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 481px) and (max-width: 768px) {

    .main1-img,
    .main2-img,
    .main3-img {
        position: relative;
        margin: 0px auto 0;
        max-width: 100%;
    }

    .col-sm-6 {
        width: 100%;
        text-align: center;
    }
}
