@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@200..900&display=swap');
/* 폰트 설정 (구글폰트, 본명조) */

p {
  color: #000000;
  text-align: center;
  font-family: "Noto Serif KR", serif;
  font-size: 48px;
  font-weight: 700;

  word-break: keep-all;
  text-wrap: balance;
}

a       {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

button  {
  background: none;
  color: inherit;
  border: none;
  cursor: pointer;
  outline: inherit;
}

.indexBody {
  width: 100vw;
  height: 100vh;
  margin: 0;
  
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;

  -ms-overflow-style: none;
}

::-webkit-scrollbar {
  display: none;
}

.box{
  background-color: white;
  color:#000000;
  width: 33vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outterText{
  background-color: white;
  position: absolute;
}

.innerText{
  background-color: #f8f8f8;
  visibility: hidden;
}

.about{
  background-color: #f8f8f8;
  position: absolute;
  width: 408px;
  height: 90px;
  visibility: hidden;
}

.logoImg  {
  width: 33vw;
}

@media (min-width: 1201px) {
  .box:hover  {
    background-color: #f8f8f8; /* 호버 시 배경 색상 */ 
  }

  .box:hover .outterText{
    visibility: hidden; /* 호버 시 배경 색상 */  
  }
  
  .box:hover .innerText{
    visibility: visible; /* 호버 시 배경 색상 */  
  }
}

@media screen and (max-width: 1200px) {
  p {
    font-size: 18px;
  }

  .indexBody  {
    flex-direction: column;
  }

  .box  {
    width: 100vw;
  }

  .box.active  {
    background-color: #f8f8f8; /* 호버 시 배경 색상 */ 
  }

  .box.active .innerText {
    visibility: visible; /* 호버 시 배경 색상 */  
  }

  .box.active .outterText {
    visibility: hidden; /* 호버 시 배경 색상 */  
  }
}
