@charset "utf-8";

@font-face {
    font-family: 'SchoolSafetyFoundation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-2@1.0/HakgyoansimBareonbatangR.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SchoolSafetyFoundation';
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    overflow-x: hidden;
}

.inner {
    max-width: 1800px;
    margin: 0 auto;
}

/* ----------------------------- */
/* header */
header {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 0 10px;
    width: 100px;
    height: 100px;
    border-radius: 50% 50% 0 50%;
    background-color: #231815;
    color: #fff;
    text-align: center;
    line-height: 100px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.6);
}

header:hover {
    animation: bounce .3s 2;
}

@keyframes bounce {
    0% {
        transform: scale(1.1);
        background-color: #413a38;

    }

    100% {
        transform: scale(1);
        background-color: #231815;
    }
}

/* section1. mainbanner */
main {
    width: 100%;
    overflow-x: hidden;
    padding-top: 5rem;
}

.mainbanner {}

.mainbanner .inner {
    max-width: 100%;
    width: 100%;
}

.mainbanner h2 {
    font-family: 'Paperozi';
    font-size: clamp(3rem, 3rem + 2vw, 6rem);
    font-weight: 900;
    text-align: center;
    padding: 1rem 0;
}

.mainbanner .flow {
    overflow: hidden;
    margin: 2rem 0;
    width: 90%;
    margin: 2rem auto;
}

.mainbanner .flowtext {
    display: flex;
    width: 300%;
}

.mainbanner .flowtext p {
    white-space: nowrap;
    letter-spacing: 1px;
    animation: flow 20s infinite linear;
    letter-spacing: 2px;
}

@keyframes flow {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.mainbanner .banner {
    position: relative;
    width: 90%;
    margin: 0 auto;
}

.mainbanner .banner video {
    width: 100%;
}

.mainbanner .banner h3 {
    font-family: 'Paperozi';
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: clamp(2rem, 2rem + 2vw, 5rem);
    color: #fff;
}

/* section2. about */
.about {
    text-align: center;
}

.about .inner {
    padding-bottom: 3rem;
}

.char {
    opacity: 0;
}

.about h3 {
    font-size: clamp(1.2rem, 1.2rem + 1vw, 1.8rem);
    padding-bottom: 3rem;
}

.about h3::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    clip-path: polygon(50% 0%, 85% 50%, 50% 100%, 15% 50%);
    background-color: #2b2b2b;
    margin: 1rem auto;
    opacity: var(--diaopacity, 0);
    transition: opacity 0.2s;
}

.afterline::after {
    content: '';
    display: block;
    width: var(--width, 0px);
    height: 5px;
    background-color: #2b2b2b;
    margin: 2rem auto 0;
}

.beforeline::before {
    content: '';
    display: block;
    width: var(--width, 0);
    height: 3px;
    border-top: 3px solid #2b2b2b;
    border-bottom: 3px solid #2b2b2b;
    margin: 2rem auto 0;
}

.rightline::before {
    content: '';
    display: block;
    width: var(--width, 0);
    height: 3px;
    border-top: 3px solid #2b2b2b;
    border-bottom: 3px solid #2b2b2b;
    margin: 2rem 0 3rem;
}

.leftline {
    position: relative;
    padding-top: 3rem;
}

.leftline::before {
    content: '';
    display: block;
    width: var(--width, 0);
    height: 3px;
    border-top: 3px solid #2b2b2b;
    border-bottom: 3px solid #2b2b2b;
    position: absolute;
    right: 0;
    top: 0;
}

.about h4 {
    font-size: clamp(1.3rem, 1.3rem + 1vw, 2.2rem);
    padding: 1rem 0;
}

.about p {
    padding: 2rem 0;
    font-size: clamp(0.8rem, 0.8rem + 1vw, 1.2rem);
}

.about .line {
    padding: 0;
}

/* section3. project */
.project {
    position: relative;
    margin-bottom: 3rem;
}

.project .inner {
    max-width: 100%;
}

.project .inner>* {
    display: flex;
    justify-content: space-between;
    padding: 3rem 0 0;
}

.project .inner>*>* {
    width: 50%;
}

.project .leftside>* {
    padding-left: 10rem;
    padding-right: 3rem;
}

.project .rightside>* {
    padding-left: 3rem;
    padding-right: 10rem;
}

.project img {
    display: block;
    width: 100%;
}

.project .linetext {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    width: 8px;
    height: 0;
    /* background-color: black; */
    border-left: 3px solid #231815;
    border-right: 3px solid #231815;
    border-bottom: 3px solid #231815;
    transform-origin: top;
    z-index: 9;
}

.project .projecttext {
    text-align: center;
    padding: 3rem 0;
    /* margin: 3rem 0; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project .wedding .projecttext {
    margin: 0;
}

.project .profilelist div {
    display: flex;
}

.project .profilelist img {
    width: 50%;
    object-fit: cover;
}

.project .projecttext>* {
    margin: 1rem 0;
}

.project h3 {
    font-size: clamp(1.5rem, 1.5rem + 1vw, 2.5rem);
}

.project p {
    margin-top: 1rem;
    font-size: clamp(0.8rem, 0.8rem + 1vw, 1.2rem);
}

.project .button {
    display: block;
    margin: 3rem auto 0;
    width: 185px;
    padding: 1rem 2rem;
    padding-left: 1rem;
    background-color: #2b2b2b;
    border-radius: 30px 30px 10px 30px;
    color: #fff;
    position: relative;
    transition: all .5s;
}

.project .button:hover {
    color: #2b2b2b;
    background-color: #fff;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
}

.project .button::after {
    content: '';
    width: 15px;
    height: 15px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: all .5s;
}

.project .button:hover::after {
    right: 20px;
    border-top: 1px solid #2b2b2b;
    border-right: 1px solid #2b2b2b;
}

/* section4. hoopbg */
.hoopbg {
    background: #d9d9d9;
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('../images/hoopblackbg.jpg') no-repeat right center/cover;
    padding-top: 40%;
    position: relative;
}

.hoopbg svg {
    position: absolute;
    width: 17%;
    top: 51.2%;
    left: 49.85%;
    /* opacity: 0; */
    transform: translateY(-50%);
}

/* section5. gallerybanner */
.gallerybanner {}

.gallerybanner .gallery {
    width: 70%;
    margin: 5rem auto;
}

.gallerybanner .gallery .swiper-slide img {
    width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    color: black;
}

/* section6. location */
.location {
    text-align: center;
}

.location h3 {
    font-size: clamp(1.5rem, 1.5rem + 1vw, 2.5rem);
    padding: 1rem 0;
}

.location p {
    padding: 1rem 0 3rem;
}

.location img {
    max-width: 300px;
    width: 30%;
    filter: invert(100%);
    margin: 1rem 0 3rem;
}

/* footer */
footer {
    background-color: #2b2b2b;
    color: #f1f1f1;
}

footer .footertop {
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

footer .footertop ul {
    display: flex;
    max-width: 300px;
    justify-content: space-between;
}

footer .footerbottom {
    padding: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .footerbottom .info {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-around;
}

footer .footerbottom .copy {
    width: 100%;
    text-align: center;
    color: #a7a7a7;
    padding: 1rem 0;
}