@keyframes blink-effect {
    50% {
        color: rgb(0, 13, 255);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes color {
    0% {
        background: #33CCCC;
    }
    20% {
        background: #319bff;
    }
    40% {
        background: #cc3333;
    }
    60% {
        background: #c5ff3d;
    }
    80% {
        background: #0044ff;
    }
    100% {
        background: #33CCCC;
    }
}

@keyframes color2 {
    0% {
        background: white;
    }
    20% {
        background: #142c42;
    }
    40% {
        background: #e3ff43;
    }
    60% {
        background: #ff155b;
    }
    80% {
        background: #ffbf00;
    }
    100% {
        background: white;
    }
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    word-break: keep-all;
    font-family: 'Pretendard';
    font-weight: 900;
    font-size: clamp(14pt, 2.5vw, 20pt);
    line-height: 1.5;
    box-sizing: border-box;
}

html {
    font-size: clamp(14pt, 2.5vw, 20pt);
    line-height: 1.5;
    width: 100%;
    height: 100%;
    background-image: url("../party.png");
    background-repeat: repeat-y;
    background-size: 50%;
    background-color: black;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: clamp(0.75rem, 2vw, 1rem);
    table-layout: fixed;
}

td:first-child {
    width: 30%;
    min-width: 5rem;
}

td {
    padding: clamp(0.5rem, 1.5vw, 1rem);
    word-break: break-word;
    overflow-wrap: break-word;
}

tr:first-child {
    height: 0px;
    margin: 0;
    padding: 0;
}

input {
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    width: 100%;
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 4px;
    -webkit-appearance: none;
    appearance: none;
}

input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

label {
    display: block;
    margin-bottom: clamp(0.25rem, 1vw, 0.5rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.3;
}

button {
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

button:active {
    transform: scale(0.95);
}

@media all and (min-width: 601px) and (max-width: 1024px) {
    html {
        background-size: 60%;
    }

    .section_2 {
        width: 50%;
        float: left;
        z-index: 9999999;
    }

    .A {
        padding: clamp(1.5rem, 3vw, 2rem);
        animation: color 9s infinite linear;
    }

    .J {
        padding: clamp(1.5rem, 3vw, 2rem);
        animation: color2 9s infinite linear;
    }

    .back {
        position: absolute;
        height: clamp(0.4rem, 1vw, 0.5rem);
        font-size: clamp(0.4rem, 1vw, 0.5rem);
        margin-left: clamp(1.5rem, 3vw, 2.1rem);
        margin-top: clamp(0.7rem, 1.5vw, 0.9rem);
        line-height: 1;
        z-index: 99999;
    }

    .poster {
        font-size: clamp(1.4rem, 3vw, 1.7rem);
        line-height: 1.4;
    }

    .footer {
        position: fixed;
        bottom: clamp(0.75rem, 2vw, 1rem);
        color: white;
        margin-left: clamp(1.5rem, 3vw, 2rem);
        font-size: clamp(0.875rem, 2vw, 1rem);
    }
}

@media all and (min-width: 1025px) {
    html {
        background-size: 50%;
    }

    .back {
        position: absolute;
        height: 0.5rem;
        font-size: 0.5rem;
        margin-left: 2.1rem;
        margin-top: 0.9rem;
        line-height: 0.5rem;
        z-index: 99999;
    }
    
    .poster {
        font-size: 1.7rem;
        line-height: 2.3rem;
    }

    .footer {
        position: fixed;
        bottom: 1rem;
        color: white;
        margin-left: 2rem;
    }

    .section_2 {
        width: 50%;
        float: left;
        z-index: 9999999;
    }

    .A {
        padding: 2rem;
        animation: color 9s infinite linear;
    }

    .J {
        padding: 2rem;
        animation: color2 9s infinite linear;
    }
}

@media all and (max-width: 600px) {
    html {
        width: 100%;
        height: 100%;
        background-image: url("../party.png");
        background-repeat: repeat-y;
        background-size: 100%;
        background-position: top center;
    }

    .back {
        position: absolute;
        height: clamp(0.5rem, 2vw, 0.7rem);
        font-size: clamp(0.6rem, 2.5vw, 0.7rem);
        margin-left: clamp(0.75rem, 3vw, 1.1rem);
        margin-top: clamp(0.7rem, 2.5vw, 0.9rem);
        line-height: 1;
        z-index: 99999;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }	

    .footer {
        position: fixed;
        bottom: clamp(0.75rem, 2vw, 1rem);
        color: white;
        margin-left: clamp(0.75rem, 3vw, 1rem);
        font-size: clamp(0.75rem, 2.5vw, 0.875rem);
        line-height: 1.4;
    }

    .section_2 {
        width: 100%;
        float: left;
        clear: both;
    }

    .A {
        padding: clamp(1rem, 3vw, 1.5rem);
        padding-top: clamp(1.5rem, 4vw, 2rem);
        animation: color 9s infinite linear;
        padding-bottom: clamp(12rem, 30vw, 15rem);
    }

    .J {
        padding: clamp(1rem, 3vw, 1.5rem);
        padding-top: clamp(1.5rem, 4vw, 2rem);
        animation: color2 9s infinite linear;
        mix-blend-mode: exclusion;
    }

    .poster {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        line-height: 1.4;
        padding: clamp(1rem, 3vw, 1.5rem);
    }

    .L {
        padding: clamp(0.75rem, 2vw, 1rem);
    }

    table {
        font-size: clamp(0.75rem, 2.5vw, 0.875rem);
    }

    td:first-child {
        width: 35%;
        min-width: 4rem;
    }
}
