* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

:root {
  --bg: whitesmoke;
  --highlight: mediumblue;
}

body {
  overflow: hidden;
  background-color: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
}



/* 이름 입력 창 */

.name-window {
  position: absolute;
  /* top: 50%;
  left: 50%; */
  width: min(300px, calc(100vw - 40px));
  margin: 1rem;
  /* transform: translate(-50%, -50%); */
  font-size: 1rem;
}

.name-form {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.name-form input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #111;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: none;
}

/* 
.name-form input:focus {
  outline: none;
  outline-offset: 2px;
} */

.name-form button {
  padding: 0.5rem;
  width: fit-content;
  border: 1px solid #111;
  background: transparent;
  color: #111;
  font: inherit;
  cursor: pointer;
}

.name-form button:hover {
  background: #fff;
  color: #111;
}

.greeting {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: calc(100vw - 40px);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.94);
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.visitor-name {
  font-weight: bold;
}

.greeting.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.site-name {
  font-weight: bold;
  color: var(--highlight);
}

.ani-block {
   display: none;
  position: absolute;

  .block {
    background-color: var(--highlight);
    width: 90px;
    height: 90px;
    margin: 5px;
    position: fixed;
    top: 0;
    left: 0;
  }
}

.ani-block button {
  padding: 0.5rem;
  width: fit-content;
  border: 1px solid #111;
  background: transparent;
  color: var(--highlight);
  font: inherit;
  cursor: pointer;
}

.ani-block.is-visible {
  display: block;
}

.explore-this {
  padding: 0;
  border: 0;
  /* border-bottom: 1px solid currentColor; */
  background: transparent;
  color: var(--highlight);
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}

.explore-this:hover {
  font-style: italic;
}







