@import url("https://vendor-cdn.imweb.me/css/pretendard.css");
* {
    font-family: Poppins, Pretendard, sans-serif;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    background: url("mainbg.png") no-repeat center;
    background-size: contain;
}
a span {
    color: #333;
    white-space: nowrap;
}
header {
    background-color: #ffffffde;
    display: flex;
    height: 108px;
    width: 100%;
    justify-content: center;
    position: sticky;
    z-index: 9;
}
header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
header img {
    height: 100%;
    margin: auto;
    display: block;
}
header .img_box a {
    width: max-content;
    display: block;
    margin: auto;
    height: 100%;
}
.wrap {
    max-width: 1200px;
    margin: auto;
    position: relative;
    height: 100%;
    width: 100%;
}
header .img_box span {
    display: none;
}
header .img_box {
    margin: auto;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.service {
    display: flex;
    height: 100%;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    gap: 5%;
}
.service li {
    padding: 0 18px;
    font-size: 15px;
    transition: 0.3s;
}
.service li:last-child {
    background-color: #7407ff;
    font-size: 14px;
    height: 30px;
    border-radius: 50px;
    padding: 4px 8px;
    line-height: 22px;
    cursor: pointer;
}

.service li:last-child span {
    color: white;
}

.service li:last-child:hover {
    background-color: black;
    transition: 0.3s;
}

.service li:last-child:hover span {
    color: white;
}

.service li a {
    width: max-content;
}
.service li a:hover span {
    color: #7407ff;
}
.pp {
    color: #7407ff;
}
.main {
    background: url("mainbg.png") no-repeat center;
    height: 100vh;
    background-size: cover;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main h1 {
    font-size: 48px;
    margin-bottom: 111px;
}
.main p {
    font-size: 22px;
    margin-bottom: 74px;
}
.main .btns {
    background-color: #7407ff;
    color: #ffffff;
    width: max-content;
    margin: auto;
    padding: 15px 35px;
    border-radius: 50px;
    cursor: pointer;
}
.main .btns a {
    color: #ffffff;
}
#company {
    background: #000;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#company img {
    max-width: 400px;
    border-radius: 12px;
    margin-bottom: 27px;
}

#company h2 {
    font-size: 30px;
    margin-bottom: 27px;
}
#company p {
    font-size: 16px;
    margin-bottom: 27px;
}

#company .pp {
    font-size: 18px;
    margin-bottom: 22px;
}
.why {
    background: #000;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 100px;
}
.why h2 {
    margin-bottom: 50px;
}
.why ul {
    display: flex;
    justify-content: center;
    gap: 5%;
}
.why li {
    width: 30%;
    background: white;
    color: #000;
    padding: 50px;
    white-space: nowrap;
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.why li .pp {
    width: 100%;
    text-align: center;
    font-size: 20px;
}
.why li h3 {
    width: 100%;
    text-align: center;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 30px;
}

.why > div {
    width: 100%;
    max-width: 1100px;
}

.why > div > div:first-child {
    width: 750px;
}

.why .btns {
    background-color: #e5d7f5;
    color: #0e0e0e;
    width: max-content;
    margin: auto;
    padding: 15px 35px;
    border-radius: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}
.w100 + p {
    width: 100%;
    font-size: 18px;
    text-align: left;
}
.why h2:has(+ p) {
    margin-bottom: 0;
}

.why ul:has(.btnss) {
    flex-wrap: wrap;
    width: 100%;
    justify-content: stretch;
}
.why li.btnss {
    font-size: 14px;
}
.why li.btnss:nth-child(2n) {
    background-color: #3c215a;
    color: #ffffff;
    width: max-content !important;
    margin: auto;
    padding: 5px 8px;
    border-radius: 50px;
    height: auto;
}
.why li.btnss:nth-child(2n - 1) {
    background-color: #8d59b3;
    color: #ffffff;
    width: max-content !important;
    margin: auto;
    padding: 5px 8px;
    border-radius: 50px;
    height: auto;
}

.why .btns::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    width: 350%;
    height: 2px;
    background-color: #e5d7f5;
    border-radius: 5px;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.circle-text-wrapper {
    width: 200px;
    height: 200px;
    margin: 50px auto;
    position: relative;
    cursor: pointer;
}

.circle-text-wrapper img {
    position: absolute;
    width: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle-text {
    width: 100%;
    height: 100%;
    animation: rotateText 10s linear infinite;
}

.circle-text text {
    font-size: 14px;
    fill: white;
    letter-spacing: 1px;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
        transform-origin: 50% 50%;
    }
    100% {
        transform: rotate(360deg);
        transform-origin: 50% 50%;
    }
}

.flex {
    display: flex;
}

.flex_wrap {
    flex-wrap: wrap;
}
.w100 {
    width: 100%;
}
.master {
    height: 300px;
}

.floating {
    position: fixed;
    bottom: 5%;
    right: 5%;
    width: 50px;
    height: 50px;
}
.floating img {
    width: 100%;
    position: absolute;
}

.why .w100 {
    text-align: left;
}

#service {
    background: #000;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

#service > div {
    width: 100%;
    max-width: 1200px;
}

#service .pp {
    font-size: 18px;
}

#service h2 {
    font-size: 30px;
    margin: 10px 0;
}

#service p {
    font-size: 16px;
    line-height: 20px;
}

#service ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 76px;
}

#service li {
    width: 24%;
    background-color: white;
    border-radius: 12px;
    color: #0e0e0e;
    padding: 40px;
    text-align: left;
}

#service li img {
    height: 130px;
    object-fit: scale-down;
}

#service li h3 {
    font-size: 22px !important;
    margin-bottom: 10px;
}

#service li p {
    font-size: 16px;
    margin-bottom: 20px;
}

#portfolio {
    background: #000;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: auto;
    width: 100%;
    padding: 150px 0;
    box-sizing: content-box;
}

#portfolio .pp {
    font-size: 18px;
    margin-bottom: 20px;
}

#portfolio h2 {
    font-size: 30px;
    margin-bottom: 50px;
}

footer {
    background: #000000;
    color: #ffffff;
    color: rgba(255, 255, 255, 1);
    font-size: 11px;
    padding-top: 30px;
    padding-bottom: 30px;
}

footer a {
    color: rgba(255, 255, 255, 1) !important;
}

footer div {
    font-size: 11px;
    margin-bottom: 0.8em;
}

footer ul {
    gap: 15px;
    margin-bottom: 20px;
}

#event {
    background: #000;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

#event h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

#event p {
    font-size: 16px;
}

#event .flex {
    margin-top: 30px;
}

#event .flex p {
    font-size: 22px;
    text-align: left;
    font-weight: bold;
}

#event .flex p span {
    color: red;
}

#event > div {
    max-width: 1200px;
    width: 100%;
}

#event .flex {
    max-width: 1200px;
    width: 100%;
    justify-content: center;
}

#event .flex div {
    width: 45%;
}

#event a {
    color: #0e0e0e;
    height: 25px;
    width: 80px;
    background-color: white;
    display: flex;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

#event input[type="text"] {
    width: 100%;
    background-color: transparent;
    border: 1px solid #fff;
    height: 34px;
    padding: 6px 12px;
    outline: none;
    color: white;
    margin-bottom: 15px;
}

#event .flex div:last-child p {
    font-size: 16px;
    margin-bottom: 5px;
}

#event input[type="tel"] {
    width: 65px;
    max-width: 70px;
    background-color: transparent;
    border: 1px solid #fff;
    height: 20px;
    padding: 6px 12px;
    outline: none;
    color: white;
    margin-bottom: 15px;
    box-sizing: content-box;
}

.phonenumber_wrap {
    display: flex;
}

#event textarea {
    width: 100%;
    height: 82px;
    padding: 6px 12px;
    background-color: transparent;
    border: 1px solid #fff;
    resize: none;
    overflow-y: auto;
    color: white;
    margin-bottom: 15px;
}

#event #ppp {
    height: 160px;
}

#event .flex .checkbox {
    width: 100%;
    text-align: left;
}

#event .flex div:last-child .btn {
    margin: auto;
    margin-top: 20px;
    width: 120px;
    height: 37px;
    transition: 1s;
}

#event .flex .btn:hover {
    background-color: #7407ff;
    color: white;
    transition: 1s;
}

#instagram-feed {
    max-width: 1200px;
    width: 100%;
    padding: 5%;
}

#instagram-feed a {
    width: 25%;
    padding: 1%;
}

#instagram-feed a:hover img {
    filter: brightness(0.5);
    transition: 1s;
}

#instagram-feed a img {
    width: 100%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    footer {
        padding-left: 5%;
    }
    .service {
        right: 5%;
    }
}

@media (max-width: 768px) {
    .service {
        display: none;
    }
    .why ul,
    #service ul {
        flex-wrap: wrap;
    }

    #service ul {
        justify-content: center;
        gap: 2%;
    }
    .why ul li {
        width: 90%;
        margin: auto;
        height: auto;
        margin-bottom: 5%;
        padding: 20px;
    }
    .why .btns::before {
        display: none;
    }
    .why li h3 {
        margin-bottom: 10px;
    }
    .why h2 {
        word-break: keep-all;
        font-size: 5vw;
        width: 90%;
        margin: auto;
        margin-bottom: 30px;
    }
    .why > div.flex {
        flex-wrap: wrap;
    }
    .why ul:has(.btnss) {
        justify-content: center;
        width: 90%;
        margin: auto;
    }
    .why li.btnss:nth-child(2n - 1),
    .why li.btnss:nth-child(2n) {
        width: 30% !important;
        margin-bottom: 2%;
    }
    #service li img {
        max-width: 100%;
    }
    .why .w100 {
        margin-top: 50px;
        margin-bottom: 30px;
    }
    .w100 + p {
        margin-bottom: 10px;
    }
    .why .w100,
    .w100 + p {
        text-align: center;
        word-break: keep-all;
    }
    #service li {
        width: 40%;
        margin-bottom: 2%;
        padding: 20px;
    }
    #service li p {
        font-size: 12px;
    }
    #portfolio {
        padding: 0;
    }
    #instagram-feed {
        gap: 2%;
    }
    #instagram-feed a {
        width: 49%;
    }
    #event .flex {
        flex-wrap: wrap;
    }
    #event {
        height: auto;
    }
    #event .flex > div {
        width: 100%;
        padding: 0 5%;
        margin-bottom: 5%;
    }
    body {
        background: #000;
    }
    .why {
        padding: 30px 0;
    }
    footer {
        padding-left: 5%;
    }
    header {
        height: 50px;
    }
    .main h1 {
        font-size: 7vw;
        word-break: keep-all;
        margin-bottom: 30px;
    }
    #company {
        height: auto;
        padding: 100px 0;
    }
    #company img + p {
        margin-top: 10px;
    }
    #company h2 {
        font-size: 5vw;
        word-break: keep-all;
    }
    .main p {
        margin-bottom: 20px;
        font-size: 16px;
        word-break: keep-all;
    }
    #service {
        height: auto;
        padding: 50px 0;
    }
    #company p {
        margin-bottom: 10px;
        font-size: 14px;
        word-break: keep-all;
    }
    #company img {
        width: 90%;
        margin: auto;
    }
}
