@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR&display=swap');


/*@import url(https://fonts.googleapis.com/css?family=Notos);*/
/* the important bits */



li {
  perspective: 400px;
}

.info {
  transform: rotate3d(1, 0, 0, 90deg);
  width: 100%;
  height: 100%;
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 4px;
  pointer-events: none;
  background-color: rgb(255, 183, 2)
}

.in-top .info {
  transform-origin: 50% 0%;
  -webkit-animation: in-top 300ms ease 0ms 1 forwards;
          animation: in-top 300ms ease 0ms 1 forwards;
}

.in-right .info {
  transform-origin: 100% 0%;
  -webkit-animation: in-right 300ms ease 0ms 1 forwards;
          animation: in-right 300ms ease 0ms 1 forwards;
}

.in-bottom .info {
  transform-origin: 50% 100%;
  -webkit-animation: in-bottom 300ms ease 0ms 1 forwards;
          animation: in-bottom 300ms ease 0ms 1 forwards;
}

.in-left .info {
  transform-origin: 0% 0%;
  -webkit-animation: in-left 300ms ease 0ms 1 forwards;
          animation: in-left 300ms ease 0ms 1 forwards;
}

.out-top .info {
  transform-origin: 50% 0%;
  -webkit-animation: out-top 300ms ease 0ms 1 forwards;
          animation: out-top 300ms ease 0ms 1 forwards;
}

.out-right .info {
  transform-origin: 100% 50%;
  -webkit-animation: out-right 300ms ease 0ms 1 forwards;
          animation: out-right 300ms ease 0ms 1 forwards;
}

.out-bottom .info {
  transform-origin: 50% 100%;
  -webkit-animation: out-bottom 300ms ease 0ms 1 forwards;
          animation: out-bottom 300ms ease 0ms 1 forwards;
}

.out-left .info {
  transform-origin: 0% 0%;
  -webkit-animation: out-left 300ms ease 0ms 1 forwards;
          animation: out-left 300ms ease 0ms 1 forwards;
}

@-webkit-keyframes in-top {
  from {
    transform: rotate3d(-1, 0, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}

@keyframes in-top {
  from {
    transform: rotate3d(-1, 0, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}
@-webkit-keyframes in-right {
  from {
    transform: rotate3d(0, -1, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}
@keyframes in-right {
  from {
    transform: rotate3d(0, -1, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}
@-webkit-keyframes in-bottom {
  from {
    transform: rotate3d(1, 0, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}
@keyframes in-bottom {
  from {
    transform: rotate3d(1, 0, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}
@-webkit-keyframes in-left {
  from {
    transform: rotate3d(0, 1, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}
@keyframes in-left {
  from {
    transform: rotate3d(0, 1, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}
@-webkit-keyframes out-top {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(-1, 0, 0, 104deg);
  }
}
@keyframes out-top {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(-1, 0, 0, 104deg);
  }
}
@-webkit-keyframes out-right {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(0, -1, 0, 104deg);
  }
}
@keyframes out-right {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(0, -1, 0, 104deg);
  }
}
@-webkit-keyframes out-bottom {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(1, 0, 0, 104deg);
  }
}
@keyframes out-bottom {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(1, 0, 0, 104deg);
  }
}
@-webkit-keyframes out-left {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(0, 1, 0, 104deg);
  }
}
@keyframes out-left {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(0, 1, 0, 104deg);
  }
}

/* you can ignore this ones */

ul {
  padding: 0;
  margin: 0 0 50px;
}
ul:after {
  content: "";
  display: table;
  clear: both;
}

li {
  position: relative;
  float: left;
  width: 200px;
  height: 200px;
  margin: 4px;
  padding: 0;
  list-style: none;
}
li a {
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  border-radius: 4px;
}
li h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 1000;
  color: #000000;
}
li p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  line-height: 14px;
}

li .normal {
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: rgba(52, 73, 94, 1);
  box-shadow: inset 0 2px 20px #e6ebed00;
  text-align: center;
  font-size: 50px;
  line-height: 200px;
  border-radius: 6px;
}

li .normal img {
  background-color: aquamarine;
  background-image: cover;
  border-radius: 6px;
  width: 200px;
}

* {
  box-sizing: border-box;
}

body {
  background-color: rgb(255, 183, 2);  
}

h1 {
  margin: 0 auto 5px;
  text-align: center;
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -2px; 
}

h3 {
 color: black;

}

.container2 {
  display: contents;
  position: center;
  align-content: center;
  justify-content: center;
  justify-items: center;
  width: 100wh;
  margin: 0 auto;
  
}

.container {
  display: flex;
  flex-direction: column;
  position: center;
  align-items: center;  
  justify-content: center;
  justify-items: center;
  width: 100wh;
  padding: 70px;
  margin: 0 auto;
  
}

.container3 {
  display: flex;
  flex-direction: column;
  position: center;
  align-items: center;  
  justify-content: center;
  justify-items: center;
  width: 100wh;
  padding: 20px;
  margin: 0 auto;
  
}

header {
  text-align: center;
  margin: 50px 0 25px;
  color: #000000;
 
}
header p {
  margin: 0;
  color: rgb(121, 121, 121);
  
  
}
header p2{
  margin: 0;
  color: rgb(255, 255, 255);
  font-weight: 600;
  font-size: 40px;  
}

/* 모달 스타일 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 30;
}

.modal p {
  font-size: 14px;
  line-height: 20px;
}

.modal p2 {
  font-size: 16px;
  color: orangered;
  line-height: 20px;
  font-weight: 700;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 40px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  z-index: 30;
}

/* 닫기 버튼 스타일 */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 40px;
  font-weight: 800;
  cursor: pointer;
  z-index: 30;
  font-weight: 150;
}

/* 팝업 내용 스타일을 필요에 맞게 추가하세요 */

.button {
  position: relative;  
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid white;
  border-radius: 5px;
  font-size: 0.9rem;
  padding: 0.5rem 0.9em;
  background: #000000;
  color: white;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none; /* 밑줄 제거 */
  z-index: 50;
}

.button2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid white;
  border-radius: 5px;
  font-size: 0.9rem;
  padding: 0.5rem 0.9em;
  background: #000000;
  color: white;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none; /* 밑줄 제거 */
  z-index: 50;
  padding-bottom: 20px;
}

.button:hover {
  background: #ffffff;
  color: #000000;
}

.button2:hover {
  background: #ffffff;
  color: #000000;
}

.logo2 {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Noto Sans CJK KR', sans-serif;
  pointer-events: all;
  color: rgb(255, 255, 255);
  font-weight: 400;
  font-size: 16px;
  overflow: hidden;
  padding: 0.5em 1em;
  text-decoration: none; /* 밑줄 제거 */
}

summary {
  cursor: pointer;
}

/******************* 미디어 쿼리 - 화면 너비가 1280px 이하일 때 **************************************/
@media screen and (max-width: 1280px) {

  li .normal {
    width: 100%;
    height: 100%;
    background-color: transparent;
    color: rgba(52, 73, 94, 1);
    box-shadow: inset 0 2px 20px #e6ebed00;
    text-align: center;
    font-size: 40px;
    line-height: 100px;
    border-radius: 6px;
  }
  
  li .normal img {
    background-color: aquamarine;
    background-image: cover;
    border-radius: 6px;
    width: 200px;
    height: 200px;
  }

  header {
    text-align: center;
    margin: 20px 0 20px;
    color: #000000;   
  }

  header p {
    margin: 0;
    color: rgb(121, 121, 121);   
  }

  .container2 h1 {
    font-size: 200%;
  }

  .container p {
    padding: 40px;
    text-align: center;
  }
  
  header h1 {
    font-size: 24px;
  }
  header p2{
    margin-top: 1rem;
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-size: 20px;  
  }
  .container {
    display: flex;
    flex-direction:column;
    position: center;
    align-items: center;
    justify-self: center;
    justify-content: space-evenly;
    justify-items: center;
    width: 50%;
    padding: 0px;
    margin-top: 40px 0 0 0;
  } 
  .button {
    margin-bottom: 0px;
  }

  .button2 {
    top:110px;
  }

  .logo2 {
    position: absolute;
    margin-bottom: 0px;
    z-index: 2;
    display:block;
    justify-content: center;
    align-items: center;
    
  }

    /* 모달 스타일 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 30;
}

.modal p {
  font-size: 0.8rem;
  line-height: auto;
}

.modal p2 {
  font-size: 14px;
  color: orangered;
  line-height: 20px;
  font-weight: 700;
}

.modal-content {
  position: absolute;
  top: 50%;
  width: 450px; 
  background-color: #fff;
  padding: 20px, 20px, 20px, 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  max-height: 100%;
  overflow-y: auto;
  z-index: 50; /* 다른 요소보다 위에 위치하도록 조절 */
}
/* 닫기 버튼 스타일 */
.close {
  position: absolute;
  top: 2px; /* 모달 상단 밖에 위치하도록 조절 */
  right: 2px; /* 모달 우측에 위치하도록 조절 */
  font-size: 50px;
  cursor: pointer;
  z-index: 60;
  font-weight: 150;
}
}

/******************* 미디어 쿼리 - 화면 너비가 1280px 이하일 때 **************************************/
@media screen and (max-width: 1280px) {
  .container {
    display: flex;
    flex-direction:column;
    position: center;
    align-items: center;
    justify-self: center;
    justify-content: space-evenly;
    justify-items: center;
    width: 72.5%;
    padding: 0px;
    margin-top: 40px 0 0 0;
  } 
}

/******************* 미디어 쿼리 - 화면 너비가 1024px 이하일 때 **************************************/
@media screen and (max-width: 1024px) {
  .container {
    display: flex;
    flex-direction:column;
    position: center;
    align-items: center;
    justify-self: center;
    justify-content: space-evenly;
    justify-items: center;
    width: 48%;
    padding: 0px;
    margin-top: 40px 0 0 0;
  } 

  .close {
    position: absolute;
    top: 5px; /* 모달 상단 밖에 위치하도록 조절 */
    right: 2px; /* 모달 우측에 위치하도록 조절 */
    font-size: 40px;
    cursor: pointer;
    z-index: 60;
    font-weight: 800;
  }
  
}

/******************* 미디어 쿼리 - 화면 너비가 720px 이하일 때 **************************************/
@media screen and (max-width: 720px) {
  .container {
    display: flex;
    flex-direction:column;
    position: center;
    align-items: center;
    justify-self: center;
    justify-content: space-evenly;
    justify-items: center;
    width: 45%;
    padding: 0px;
    margin-top: 40px 0 0 0;
  } 
}

/******************* 미디어 쿼리 - 화면 너비가 480px 이하일 때 **************************************/
@media screen and (max-width: 480px) {
  .container {
    display: flex;
    flex-direction:column;
    position: center;
    align-items: center;
    justify-self: center;
    justify-content: space-evenly;
    justify-items: center;
    width: 40%;
    padding: 0px;
    margin-top: 40px 0 0 0;
  } 
}




