@import url("https://fonts.googleapis.com/css?family=Montserrat:300|Spartan&display=swap");

* {
  font-family: 'Noto Sans KR', sans-serif;
  box-sizing: border-box;
  user-select: none;
}


html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  /* width: 100vw; */
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

header {

  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7%;
  width: 100vw;
  z-index: 5;
  /*height: 7em;*/
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(0.66rem, 2vw, 1rem);
  letter-spacing: 0.5em;
}

header>div {
  display: flex;
}

header div a {
  color: #391165;
}

header div a img {
  width: 300px;
  display: block;
}




.ch {
  position: fixed;
  bottom: 5%;
  right: 3%;
  z-index: 9999;
}

.ch a {
  cursor: pointer;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

.page {
  padding-top: 350px;
  width: 100vw;
  height: 100%;
  margin: 0;
  /*display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;*/
}

/*
nav ~ .content-page {
  margin-top: 11rem;
}

.content-page {
  font-size: 2rem;
}*/

#intro {
  text-align: center;
  width: 100vw;
  height: 100vh;
  margin: 0;
}

#intro .introGap {
  width: 100%;
  height: 50px;
  content: '';
}

@media (max-width: 720px) {
  #intro {
    margin-top: 0;

  }

}


#intro>#intro-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

#intro>#intro-description {
  font-size: 1.25rem;
}

nav {
  position: sticky;
  top: 0;
  bottom: 0;
  width: 100vw;
  min-height: 4.5rem;
  background: white;
  box-shadow: 0 5px 18px -7px rgba(0,0,0,0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 2;
  padding-top: 5em;
}

nav a.tab:not(.placeholder),
nav a.tab:not(.placeholder)::after {
  border: none;
  outline: none;
  cursor: pointer;
  flex: 1;
  line-height: 4.5rem;
  font-size: 17px;
  vertical-align: center;
}

nav a.tab:not(.placeholder)::before,
nav a.tab:not(.placeholder)::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
}

nav a.tab:not(.placeholder)::before {
  content: "";
  border-bottom: solid 4px #2b0950;
  transition: 0.5s ease;
  z-index: 1000;
}



nav a {
  position: relative;
  background: transparent;
  text-align: center;
  height: 4.5rem;
  text-decoration: none;
  color: #40403F;
}


@media (max-width: 750px) {
  nav a {
    height: 3.5rem;
    font-size: 14px;
  }

  nav a.tab:not(.placeholder),
  nav a.tab:not(.placeholder)::after {

    flex: 1;
    line-height: 3.5rem;
    font-size: 14px;
    vertical-align: center;
  }

}

/*nav a.tab:not(.placeholder)::after {
  content: attr(data-text);
  color: white;
  background: #2b0950;
}
@media (max-width: 720px) {
  nav a.tab:not(.placeholder)::after {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.5rem;
  }
}
nav a.tab:not(.placeholder):hover::after {
  opacity: 1;
  transition: 0.5s ease;
}*/
nav a.tab:not(.placeholder).active::before {
  opacity: 1;
  transition: 0.5s ease;
}






@media (max-width: 720px) {
  header {
    padding: 0 3%;
  }

  h1.bf::before {
    background-size: 45px;
  }

}

@media (max-width: 400px) {
  header div a img {
    width: 200px;
  }

}

@media (max-width:375px) {
  nav {
    display: none;
  }
  header{
    box-shadow: 0 5px 18px -7px rgba(0,0,0,0.2);
    background-color: rgba(255,255,255,0.9);
  }

  header div a img {
    width: 180px;
  }

}


/*인트로 중앙정렬*/
@media (max-width: 900px) {
  #intro {
    height: 100vh;
  }

  #intro .introGap {
    width: 100%;
    height: 150px;
    content: '';
  }

}

@media (max-width: 740px) {
  #intro {
    height: 500px;
  }

  #intro .introGap {
    width: 100%;
    height: 100px;
    content: '';
  }

}

@media (max-width: 500px) {
  #intro {
    height: 400px;
  }

  #intro .introGap {
    width: 100%;
    height: 125px;
    content: '';
  }

}