html {
  background-color: #f8f7f5;
}

main {
  width: 100%;
  height: 100vh;
  background-color: #f2f2ec;
  background-image: url(../images/main/snow.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
}

#mainVideo {
  width: 740px;
  height: 740px;
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 3.6s /*ease-in-out*/;
  z-index: 10;
  pointer-events: none;
}
#mainVideo .mo{
  display: none;
}
video#main {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

#mainVideo .contents {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
}

#mainVideo .forest {
  position: absolute;
  top: -41.7px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  transition: 0.3s;
}

#mainVideo .contents img {
  position: absolute;
  z-index: 10;
}

#mainVideo .cloud img {
  animation: dungdung 10s ease-in-out infinite alternate;
  z-index: 12;
}

#mainVideo .cloud img:nth-child(1) {
  top: 133px;
  left: 0;
  animation-delay: -1s;
}
#mainVideo .cloud img:nth-child(2) {
  top: 523px;
  left: 319px;
  animation-delay: -4s;
}

#mainVideo .cloud img:nth-child(3) {
  top: 316px;
  left: -82px;
  animation-delay: -2s;
}
#mainVideo .cloud img:nth-child(4) {
  top: 265px;
  right: -41px;
  animation-delay: -3s;
}

#mainVideo .landmark img:nth-child(1) {
  top: 131.5px;
  left: 201px;
}
#mainVideo .landmark img:nth-child(2) {
  top: 273px;
  right: 25.5px;
}
#mainVideo .landmark img:nth-child(3) {
  top: 42.5px;
  right: 212px;
}
#mainVideo .landmark img:nth-child(4) {
  top: 327.5px;
  right: 126px;
}
#mainVideo .landmark img:nth-child(5) {
  top: 343px;
  left: 124.4px;
}

#mainVideo .object img:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translate(-50%, -39px);
  transform-origin: center center;
}

#mainVideo .object img:nth-child(2) {
  /* top: 393px; */
  /* left: 322px; */
  top: 520px;
  right: 0;
  animation: airplane 40s linear infinite,
    fly 40s ease-in-out infinite alternate;
  opacity: 0;
  z-index: 11;
}
@keyframes airplane {
  0% {
    top: 115px;
  }
  100% {
    top: 520px;
    right: calc(100% - 69px);
  }
}
@keyframes fly {
  0% {
    transform: translateY(0px);
  }
  5% {
    opacity: 1;
  }

  95% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes ship {
  0% {
    top: 10px;
    left: 215.5px;
    scale: 0.5;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  95% {
    top: 60px;
    left: 325.5px;
    scale: 1.15;
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

#mainVideo .object img:nth-child(3) {
  top: 49px;
  left: 315.5px;
  animation: ship 10s linear infinite;
}
#mainVideo .object img:nth-child(4) {
  top: 186px;
  left: 322px;
  animation: bus 8s ease-out infinite;
}
#mainVideo .object img:nth-child(5) {
  top: 478px;
  left: 150px;
}

@keyframes bus {
  0% {
    top: 155px;
    left: 392px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  95% {
    top: 215px;
    left: 272px;
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes dungdung {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-33px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes ship {
  0% {
    top: 10px;
    left: 215.5px;
    scale: 0.5;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  95% {
    top: 60px;
    left: 325.5px;
    scale: 1.2;
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes busWheel {
  100% {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.fadeout {
  opacity: 0;
}

.bus-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: busWheel 80s infinite linear;
}

.logo-wrap,
.total-wrap,
.melo-wrap,
.list_btn {
  z-index: 10;
}

.logo-wrap {
  position: absolute;
  top: 60px;
  left: 80px;
  display: flex;
  flex-direction: column;
}

.logo-wrap button {
  height:34px;
  border: 1px solid #1d1d1d;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 12px;
  text-transform: uppercase;
}
.logo-wrap button.logout_btn{
  width: 111px;
}
.logo-wrap button a{
  width: 100%;
  height: 100%;
  padding:0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size:13px;
}
.logo-wrap button img {width:16px; margin-left:4px;}
.logo-wrap .logo{
  width: 160px/*183px*/;
}

.melo-wrap {
  position: absolute;
  top: 30px;
  left: 1500px;
}

.melo-wrap button {
  display:inline-block;
  width: 97px;
  height: 42px;
  border: 1px solid #1d1d1d;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 12px;
  text-transform: uppercase;
}
.melo-wrap button.logout_btn{
  width: 111px;
}
.melo-wrap button a{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.total-wrap {
  position: absolute;
  left: 80px;
  bottom: 60px;
  display: flex;
  align-items: center;
  font-family: "Space Grotesk";
}
.total-wrap p {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  margin-right: 17px;
}

.total-wrap span {
  font-size: 38px;
  font-weight: 600;
  color: #000000;
}

.list_btn {
  width: 202px;
  height: 34px; padding:15px 10px;
  border: 1px solid #1d1d1d;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size:15px;
  font-weight: 500;
  color: #000000;
  position: absolute;
  right: 80px;
  bottom: 30px /*60px;*/
}

.list_btn img {
  margin-left: 6px;
}

.circle-wrap {
  width: 1140px;
  height: 1140px;
  border-radius: 50%;
  border: 1px solid #484848;
  position: absolute;
  /*top: 20px;*/
  bottom:-200px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  translate: 0 100px;
  animation: introCircle 1.6s 0.2s ease forwards;
}

@keyframes introCircle {
  100% {
    opacity: 1;
    translate: 0px;
  }
}

.circle-wrap::after {
  content: "";
  width: 800px;
  height: 800px;
  background-image: url(../images/main/earth_wrapper.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: rotate 20s linear infinite;
  transition: 4s ease-in-out;
}

.circle-wrap.rotate::after {
  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  100% {
    transform: translate(-50%, -50%) rotate(-180deg);
  }
}

/* @media (min-height: 1081px) {
  .circle-wrap {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
} */
/* @media (max-height: 1030px) {
  .circle-wrap {
    top: -30px;
  }
} */

.earth_info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top:32px /*60px*/;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* .earth_info::before {
  content: "";
  width: 100vw;
  height: 1px;
  position: absolute;
  top: 0;
  background: rebeccapurple;
} */

.earth_info img {
  margin-bottom: 12px;
}

.earth_info .kor {
  font-family: "Kopup World";
  font-size: 18px;
  font-weight: 500;
}

.earth_info .eng {
  font-size: 16px;
  font-weight: 400;
}

.country {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  position: relative;
  transform: translate(-50%, -50%);
  transition: 0.3s ease;
  opacity: 0;
  pointer-events: none;
  animation: introcountry 0.8s 1.6s ease forwards;
}
.country.is_active{
  z-index: 1;
}
.country.is_active > img {
  border: 4px solid #fff;
}
.country.is_active > div {
  background: #414141;
  transition: 0.3s ease;
}

.country.is_active > div .kor {
  background: #4f69ed;
  color: #fff;
}
.country.is_active > div .eng {
  color: #fff;
}

.country * {
  transition: 0.3s ease;
}

.earth_info,
.logo-wrap,
.total-wrap,
.melo-wrap,
.list_btn,
.loginbox {
  opacity: 0;
  animation: introcountry 0.8s 1.6s ease forwards;
}

@keyframes introcountry {
  100% {
    opacity: 1;
    pointer-events: all;
  }
}

.country:hover {
  scale: 1.06;
}

.country img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  filter: drop-shadow(1px 1px 20px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 1;
}

.country > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
  position: absolute;
  padding: 0 10px;
  border-radius: 16px;
}

.country > div .kor {
  font-size: 16px;
  font-weight: 700;
  background: #fff;
  color: #1c1c1c;
  height: 25px;
  padding: 0 10px;
  border-radius: 500px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.country > div .eng {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  margin-top: 5px;
}

.left .country {
  flex-direction: row-reverse;
}

.left .country > div {
  align-items: flex-end !important;
  right: -30px;
  padding: 22px 110px 22px 40px;
}

.right .country > div {
  align-items: flex-start !important;
  left: -30px;
  padding: 22px 40px 22px 110px;
}
.circle-wrap .center{
  display: none;
}

#prev,#next{
  display: none;
  width: 60px;
  height: 60px;
  position: absolute;
  /* left: 50%; */
  top: 50%;
  transform: translateY(-50%);
  background-size: cover!important;
  z-index: 10;
}
#prev{
  background: url(../images/icon/c-prev.svg) no-repeat;
  left: 4%;
}
#next{
  background: url(../images/icon/c-next.svg) no-repeat;
  right: 4%;
}

@media (max-width:1820px){
	.circle-wrap {width: 1000px; height:1000px;}
}

@media (max-width:1720px){
	.list_btn {right:40px;}
}

@media (max-width:1600px){
  /*.circle-wrap{
	width: 800px;
	 height: 800px;
    top: 50%;
    transform: translate(-50% , -45%) scale(0.7);
  }
  */
  .circle-wrap .center{
    display: block;
  }
  #prev,#next{
    display: block;
  }
  .earth_info{
    max-width: 500px;
  }

  .circle-wrap{
    width: 1000px;
    height: 1000px;
    transform: translateX(-50%);
	top: 280px;
	/*top: auto;
    bottom:-500px;
	*/
  }
  .country > div{
    width: 90px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    align-items: center;
	padding: 13px 0 64px;
	/*padding: 13px 0 84px;*/
    bottom: -13px;
  }
  .country > div .kor,
  .country > div .eng{
    font-size: 13px;
  }
  .country > div .eng {margin-top:0;}
  /* .earth_info{
    top: 193px;
  } */
  .earth_info .kor{
    font-size: 16px;
  }
  .earth_info .eng{
    font-size: 14px;
    padding-top: 7px;
  }
  .earth_info img{
    margin-bottom: 14px;
    width: 18px;
  }
  .country,
 .country img{
	width:50px;
	height: 50px;
	/*
	width: 60px;
	height: 60px;
	*/
 }
 .country.is_active > img{
  border-width: 1px;
 }
	.list_btn{
		background-color: #F2F2EC;
		height: 45px;
		right: auto;
		left: 50%;
		transform: translateX(-50%);
		bottom: 43px;
	}
}

@media (max-width:1500px){
  .logo-wrap{
    top: 28px;
    left: 40px;
  }
  .melo-wrap{
    top: 28px;
    left: 1200px;
  }
  .total-wrap{
    bottom: auto;
    left: auto;
    top: 28px;
    right: 40px;

  } 
  .logo-wrap button{
    width: auto /*85px;*/
    height: 37px;
    font-size: 14px;
    margin-top: 9px;
  }
  .logo-wrap button.logout_btn{
    width: 97px;
  }
  .logo-wrap button img{
    width: 15px;
    margin-left: 6px;
  }

  .melo-wrap button{
    width: 85px;
    height: 37px;
    font-size: 14px;
    margin-top: 9px;
  }
  .melo-wrap button.logout_btn{
    width: 97px;
  }
  .melo-wrap button img{
    width: 15px;
    margin-left: 6px;
  }

  .total-wrap{
    height: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .total-wrap p{
    font-size: 14px;
    font-weight: 700;
    margin-right: 0;
    margin-bottom: 10px;
  }
 .total-wrap p br{
  display: none;
 }
 .total-wrap span{
  font-size: 20px;
 } 
}
@media (max-width:1200px){
  .country > div{
    pointer-events: none;
  }
  .circle-wrap{
    width: 800px;
    height: 800px;
	/*width: 680px;
    height: 680px;*/
    top:300px;
	/*bottom: -33%;*/
    transform: translateX(-50%);
  }
  #mainVideo{
    width: 515px;
    height: 515px;
  }
  .circle-wrap::after{
    width: 588px;
    height: 588px;
  }
  .earth_info{
    width: 100%;
    white-space: nowrap;
    top: 12%;
    /* transform: translateY(-270%) translateX(-50%); */
    position: absolute;
  } #mainVideo .cloud img:nth-child(1){
    top:93px;
    left: -56px;
    width: 184px;
  }
  #mainVideo .cloud img:nth-child(3){
    width: 162px;
    top: 222px;
    left: -55px;
  }
  #mainVideo .cloud img:nth-child(4),#mainVideo .cloud img:nth-child(2){
    display: none;
  }
  #mainVideo .landmark img:nth-child(1){
    width: 45px;
    top:91px;
    left: 139px;
  }
  #mainVideo .landmark img:nth-child(3){
    width: 83px;
    top:29px;
    right: 147px;
  }
  #mainVideo .landmark img:nth-child(4){
    width: 82px;
    right: 87px;
    top: 227px;
  }
  #mainVideo .landmark img:nth-child(5){
    width: 96px;
    top: 244px;
    left: 96px;
  }
  #mainVideo .landmark img:nth-child(2){
    width: 110px;
    top: 183px;
    right: -24px;
  }
  #mainVideo .object img:nth-child(2){
    display: none;
  }
  #mainVideo .object img:nth-child(4){
    width: 31px;
  }
  #mainVideo .object img:nth-child(3){
    width: 47px;
    animation-duration: 4s;
  }
  #mainVideo .object img:nth-child(4){
    animation-duration: 3s;
  }
@keyframes ship {
  0% {
    top: 10px;
    left: 200.5px;
    scale: 0.8;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  95% {
    top: 33px;
    left: 250px;
    scale: 1.15;
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes bus {
  0% {
    top: 125px;
    left: 250px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  95% {
    top: 140px;
    left: 200px;
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.country.is_active > div{
  background-color: rgba(65, 65, 65, 0.84);
}
.logo-wrap .logo{
  width: 110px;
}
}
@media (max-width:500px){
  .logo-wrap{
	top:40px; left:20px;
    width: calc(50% - 40px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    /*border-right: solid 1px rgba(112, 112, 112, 0.15);*/
  }
  .melo-wrap{
    width: calc(50% - 40px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border-right: solid 1px rgba(112, 112, 112, 0.15);
  }

}

@media (max-width:768px){
	.top_wrap {position:relative;}
  .earth_info{
  top:152px /*24%*/;
  }
  .earth_info .eng{
    display: none;
  }
  .circle-wrap{
	top:340px;
	/*bottom: -60%;*/
    /*bottom: -43%;*/
  }

  .melo-wrap{
    top: 28px;
    left: 500px;
  }

  .country{
    pointer-events: none;
    overflow: visible;
    opacity: 1;
  }
  .country > div{
    padding: 10px 0;
    bottom:45px;
    /* opacity: 0; */
    pointer-events: none;
  }
  .country.is-center {
    pointer-events: all;
  }
  .country.is-center > div{
    background-color: rgba(65, 65, 65, 0.4);
    backdrop-filter: blur(10px);
    opacity: 1;
    pointer-events: all;
  }
  .country:hover{
    scale: 1;
  }
}
@media (max-width:1200px){
  #mainVideo .mo{
    display: block;
  }
  #mainVideo .web{
    display: none;
  }

}
/* .country_list.mo{
  display: none;
} */

.country_list.mo{
  display: none;
}

.loginbox {display:flex; flex-flow:row wrap; align-items:center; position:absolute; top: 60px; right: 80px; z-index:10;}
.loginbox a {color:#000; }
.loginbox a:not(:last-child):after{content:""; display:inline-block; width:1px; height:13px; margin:0 10px; margin-top:-1px; background:#9d9d92; vertical-align: middle;}

@media (max-width:500px){
	.loginbox {top:15px; right:20px;}
	.logo-wrap {width:auto; border-rigth:none;}
	.circle-wrap {top: 340px;}
}
