/* http://meyerweb.com/eric/tools/css/reset/ 

   v2.0 | 20110126

   License: none (public domain)

*/

html, body, div, span, applet, object, iframe,

h2, h3, h4, h5, h6, p, blockquote, pre,

a, abbr, acronym, info, address, big, cite, code,

del, dfn, em, img, ins, kbd, q, s, samp,

small, strike, strong, sub, sup, tt, var,

b, u, i, center,

dl, dt, dd, ol, ul, li,

fieldset, form, label, legend,

table, caption, tbody, tfoot, thead, tr, th, td,

article, aside, canvas, details, embed, 

figure, figcaption, footer, header, hgroup, 

menu, nav, output, ruby, section, summary,

time, mark, audio, video {

    margin: 0;

    padding: 0;

    border: 0;

    font-size: 100%;

    font: inherit;

    vertical-align: baseline;

}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, 

footer, header, hgroup, menu, nav, section {

    display: block;

}

body {
    line-height: 1;
    max-width: 100%;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    animation: colorize 2s cubic-bezier(0, 0, .78, .36) 1;
    background: url(images/bg.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    
}

blockquote, q {

    quotes: none;

}

blockquote:before, blockquote:after,

q:before, q:after {

    content: '';

    content: none;

}

table {

    border-collapse: collapse;

    border-spacing: 0;

}

/* css reset */

@keyframes fadein {
  from {
    opacity: 0%;
  }

  to {
    opacity: 100%;
  }
}

html {
    scroll-behavior: smooth;    
    font-family: 'Nanum Gothic', sans-serif;
    font-size: 16px;
}

a {
    text-decoration: none;
    font-size: 1rem;
}

a:link {
    color: #123;
}

a:visited {
    color: #369;
}

a:hover {
    color: red;
}

a:active {
    
}

h1 {
    color: white;
    font-size: 3.5rem;
}
  .s1 { text-shadow: 1px 1px 2px black; }

h2 {
    color: black;
    font-size: 2rem;
    font-family: 'NanumSquareNeoExtraBold';    
}
  .s1 { text-shadow: 1px 1px 2px black; }

p {
    line-height: 150%;

    font-size: 1.5rem;   
    font-family: 'NanumSquareNeoExtraBold';
}
  .s1 {
    color: white;
    text-shadow: 1px 1px 2px black; }

hr {
    width: 100%;
    height: 2px;
    border: 0px;
    background-color: white;
}


header {
    position: fixed;
    z-index: 10;    
    top: 0px;
    width: 100%;
    background-color: rgba(255,255,255,0.8);  
}
    
.top {
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding: 5px;
    text-align: left;
}

.menu {
    font-size: 1rem;
}

ol li {
    display: inline-block;
    margin-right: 10px;
    padding: 5px;
}

.button {
    width: 54px;
    text-align: center;
    height: 16px;

}

section {
    margin: auto;
    max-width: 100%;
}

.intro {
    max-width: 1000px;
    margin: auto;
    height: 50%;
    padding-top: 200px;
    padding-bottom: 200px;
    text-align: center;
}

.intro h1 {
    animation-duration: 2s;
    animation-name: fadein;    
}

.intro p {
    animation-duration: 4s;
    animation-name: fadein;    
}    

.description {
    text-indent: 50px;
}

.middle {
    position: relative;
    z-index: 0;      
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    animation-duration: 2s;
    animation-name: fadein; 
}

footer {
    text-align: center;
    width: 100%;  
}

.bottom {
    font-size: 1rem;
    padding-bottom: 10px;
      
}

/* 여기부터 슬라이더 관련 */



    .swiper {
      max-width: 1200px;
      width: 100%;
      height: 600px;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff0;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img { 
      display: block;
      width: 100%;
      height: 560px;
      object-fit: contain;
    }

    .swiper {
      margin-left: auto;
      margin-right: auto;
    }

/* 여기부터 company 관련 */


.flex-container{

    display: inline-flex;
    flex-flow: wrap;
    height: 50%;
    padding: 10px;
    border: 0px;
    border-radius: 10px;
    margin: auto;
    background-color: #fff0;
        }

.flex-item img {
            display: block;
            width: 80%;
            height: 80%;
            object-fit: contain;   
            margin: auto;
            margin-top: 5%;
    
        }

.flex-container.center {
            margin: auto;
            padding: auto;
      }
      
.flex-item {
            width: 20%;
            height: 20%;
            min-width: 40px;
            min-height: 40px;
            padding: 5px;
            margin: 5px;
            color: white;
            border: 1px solid lightgray;            
            text-align: center;
        }
      
.company {
            background-color: white;    
            border-radius: 10px;   
            margin: auto;
        }      

/* 여기부터 contact 관련 */

.address {
    padding: 8px;
    max-width: 600px;
    background-color: white;
    text-align: left;
    margin: 0 auto;
    display: block;    
}

.box {
    padding: 8px;
}

.smallbox {
    display: inline-block;
    padding: 8px;    
}

.i1 {
    font-size: 1.0rem; 
    color: black
    font-family: 'NanumSquareNeoExtraBold';
    font-weight: bold;
}

.i2 {
    font-size: 0.8rem;   
    color: black    
    font-family: 'NanumSquareNeoRegular';
}
