/* @font-face {
    src: url('https://assets.codepen.io/2479807/BasierCircleMono-Regular.otf');
    font-family: 'Basier Circle Mono';
}
@font-face {
    src: url('https://assets.codepen.io/2479807/MUSETTA-Regular.otf');
    font-family: 'Musetta';
} */

.nanum-pen-script-regular {
    font-family: "Nanum Pen Script", cursive;
    font-weight: 400;
    font-style: normal;
  }

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

body {
    height: 100%;
    overflow: hidden;
    overflow-x: hidden;
    font-family: 'Basier Circle Mono', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #222;
}

button {
    /* font-family: inherit; */
    border: none;
    background: none;
    padding: 16px 24px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    outline: none;
    cursor: pointer;
    opacity: 0.5;
    font-size: 3rem;
    background-color: #273F42;
    color: #C7D1C9  ;
    
}

img {
    max-width: 100%;
}

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5% 0;
    z-index: 2;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.project-btn {
    /* position: absolute; */
    /* left: 20%; */
    /* width:50%; */

}

.projects-scroll {
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 100vh;
    width: 100vw;
    will-change: transform;
}

.projects .project {
    height: 100vh;
    width: 100vw;
    display: grid;
    place-items: center;
}

.projects .project__content {
    padding: 3vw;
    text-align: center;
    position: relative; /* 부모에 relative */
}

.projects h2 {
    font-size: 40px;
    margin-bottom: 24px;
    font-family: 'Musetta';
    color:#273F42;
}

.projects img {
    height: 40vh;
    /* filter: url(#turbulence); */
}

.projects div {
    max-width: 100%;
    padding: 5%;
    height: 60vh;
    /* filter: url(#turbulence); */
    font-size: 2.5rem;
}

.projects .project:nth-child(1) {
    background-color: #F2EAE2;
}

.projects .project:nth-child(2) {
    background-color: #f2eae2;
}

.projects .project:nth-child(3) {
    background-color: #F2EAE2;
}

.projects .project:nth-child(4) {
    background-color: #F2EAE2;
}

svg {
    display: none;
}

#first {
    opacity: 1;
}

.welcome-font {
    font-size : 3rem;
    
}

.welcome-message {
    font-size : 4rem;
    word-break: keep-all;
    font-weight: 300;
}

.welcome-text {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* 이미지 위에 글씨가 오도록 */
    /* font-family: "Nanum Pen Script", cursive; */
    font-size: 2.7rem;
    color: #273F42; 
    text-align: center;
    width: 80%;
    word-break: keep-all;
    font-weight: 400;

}

.block {
    position: fixed; /* 화면 전체를 덮도록 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9); /* 불투명 흰색(90%) */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 다른 요소 위에 오도록 */
}
.container {
    width: 100%;
    height: 100%;
    position: absolute; 
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9999;
    filter: url('#goo');
    animation: rotate-move 2s ease-in-out infinite;
    /* background-color: white; */
    opacity: 1;
    margin-bottom: 80px;
  }
  
  .dot { 
    width: 70px;
    height: 70px;
    border-radius: 80%;
    background-color: #000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  
  .dot-3 {
    background-color: #f74d75;
    animation: dot-3-move 2s ease infinite;
  }
  
  .dot-2 {
    background-color: #10beae;
    animation: dot-2-move 2s ease infinite;
  }
  
  .dot-1 {
    background-color: #ffe386;
    animation: dot-1-move 2s ease infinite;
  }
  
  @keyframes dot-3-move {
    20% {transform: scale(1)}
    45% {transform: translateY(-18px) scale(.45)}
    60% {transform: translateY(-40px) scale(.45)}
    80% {transform: translateY(-40px) scale(.45)}
    100% {transform: translateY(0px) scale(1)}
  }
  
  @keyframes dot-2-move {
    20% {transform: scale(1)}
    45% {transform: translate(-16px, 12px) scale(.45)}
    60% {transform: translate(-40px, 40px) scale(.45)}
    80% {transform: translate(-40px, 40px) scale(.45)}
    100% {transform: translateY(0px) scale(1)}
  }
  
  @keyframes dot-1-move {
    20% {transform: scale(1)}
    45% {transform: translate(16px, 12px) scale(.45)}
    60% {transform: translate(40px, 40px) scale(.45)}
    80% {transform: translate(40px, 40px) scale(.45)}
    100% {transform: translateY(0px) scale(1)}
  }
  
  @keyframes rotate-move {
    55% {transform: rotate(0deg)}
    80% {transform: rotate(360deg)}
    100% {transform: rotate(360deg)}
  }