@font-face {
    font-family: "MyCustomFont-1";
    src: url("Sansterdam Bold Deco.ttf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "MyCustomFont-2";
    src: url("Artbrush.ttf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

:root {
    --creative-font-1: clamp(1.2rem, 5vw, 7rem);
    --color-portfolio-1: #df5800;
    --color-portfolio-2: #ed4275;
    --color-portfolio-3: #82b927;
    --color-portfolio-4: #864dbf;
    --color-portfolio-5: #C8D92D;
}

.sec-02-content {
    position: relative;
}

.sec-02-content h2 {
    font-family: "MyCustomFont-1", sans-serif;
    font-size: var(--creative-font-1);
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translate(0, -50%);
    width: 18ch;
}


.sec-03 {
    padding: 0 4vw;
}

.sec-03-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background-color: black;

}

.sec-03-main-row {
    width: 100%;
    padding: 0 10px;
}

.sec-03-main>img {
    width: 30vw;
    margin-bottom: 3vw;
}

.sec-03-main .color-div {
    border-radius: 15px;
    padding: 2vw;
    width: 100%;
    font-size: clamp(0.8rem, 1.8vw, 18px);
    color: white;
    height: calc(100% / 4);
    align-content: center;
}

.sec-03-main .color-div:nth-child(1) {
    background-color: var(--color-portfolio-1);
}

.sec-03-main .color-div:nth-child(2) {
    background-color: var(--color-portfolio-2);
}

.sec-03-main .color-div:nth-child(3) {
    background-color: var(--color-portfolio-3);
}

.sec-03-main .color-div:nth-child(4) {
    background-color: var(--color-portfolio-4);
}

.sec-03-main .box-container {
    display: flex;
    gap: 24px;
}

.sec-03-main .box-container:nth-child(1) {
    margin-bottom: 24px;
}


.sec-03-main .box1 article {
    width: 50%;
}

.sec-03-main .box1 article .txt-01 {
    color: var(--color-portfolio-1);
}

.sec-03-main .box1 article .txt-02 {
    color: #538C00;
}

.sec-03-main .box-container:nth-child(1) .box1,
.sec-03-main .box-container:nth-child(2) .box1 {
    background-color: var(--color-portfolio-5);
    width: 60%;
    padding: 30px;
    border-radius: 15px;
    font-family: "MyCustomFont-1", sans-serif;
    display: flex;
    justify-content: space-around;
}

.sec-03-main .box-container:nth-child(1) .box1 h2,
.sec-03-main .box-container:nth-child(2) .box1 h2 {
    font-size: clamp(2rem, 4.2vw, 5.1rem);
    letter-spacing: 1px;

}

.sec-03-main .box-container:nth-child(1) .box2,
.sec-03-main .box-container:nth-child(2) .box2 {
    background-color: var(--color-portfolio-5);
    width: 40%;
    padding: 30px;
    border-radius: 15px;
    color: #007900;
    font-size: clamp(3rem, 5vw, 8rem);
    letter-spacing: 2px;
    font-family: "MyCustomFont-2", sans-serif;
    text-align: center;
    align-content: center;
}

.sec-03-scroll {
    white-space: nowrap;
    overflow: hidden;
    position: relative;

}

.sec-03-scroll:nth-child(2) .sec-03-track {
    animation: scrollRight 30s linear infinite;
}

.sec-03-track {
    display: flex;
    animation: scrollLeft 30s linear infinite;
    width: max-content;
}

.sec-03-track img {
    width: 200px;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

.sec-05-row {
    width: 100%;
    margin: 0;
    padding: 0px;
    gap: 24px;
}

.sec-05-row div {
    display: flex;
    overflow: hidden;
    justify-content: center;
    padding: 0;
}

.sec-06-main {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  background-color: #333333;
}

.sec-06-main .left-container,
.sec-06-main .right-container {
  position: relative;
  width: 50%;
  height: 100%;
}

.sec-06-main .box {
  position: absolute;
  top: 50%;
  transform: scale(0.9);
  max-width: 480px;
  width: 50%;
  aspect-ratio: 1.6 / 2;
  cursor: pointer;
  transition: all 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.left-container .box {
  left: 70%;
}

.right-container .box {
  left: 30%;
}

.sec-06-main .box img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}


.sec-07 {
    position: relative;
    margin-top: 24px;
}

.sec-07 img[alt="stand-out-text"] {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 30vw;
}

.sec-07 img[alt="vibe-sticker-text"] {
    position: absolute;
    top: 30%;
    left: 65%;
    transform: translateX(-50%) rotate(8deg);
    width: 6vw;
}


@media (max-width:767px) {
    .sec-03-main .box-container:nth-child(1) {
        margin-top: 24px;
    }

    .sec-03-main .box-container:nth-child(1) .box1,
    .sec-03-main .box-container:nth-child(2) .box1,
    .sec-03-main .box-container:nth-child(1) .box2,
    .sec-03-main .box-container:nth-child(2) .box2 {
        width: 100%;
    }

    .sec-03 {
        padding: 0;
    }

    .sec-03-main .color-div {
        padding: 6vw;
    }
}

@media (max-width:575px) {
    .sec-03-main .box-container {
        flex-direction: column;
    }

    .sec-03-main .box-container:nth-child(1) .box1,
    .sec-03-main .box-container:nth-child(2) .box1 {
        flex-direction: column;
    }

    .sec-03-main .box1 article {
        width: 100%;
    }

}