@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(45deg, #27287c, #351386, #680e83, #9b1389);
    background-size: 400% 400%;
    animation: gradientAnimation 7s ease infinite;
    background-color: #313131;
    margin: 0;
    overflow-x: hidden;

    min-width: 1200px;
    overflow-x: auto;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

h1 {
    color: white;
    font-family: "Funnel Display", sans-serif;
    align-items: center;
    text-align: center;
    font-size: 50px;
}

.header {
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #00000065;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

.yobimoLogo {
    width: 80px;
    margin-left: 20px;
}

.navigation {
    margin-right: 60px;
    gap: 30px;
    display: flex;
    text-align: right;
    font-family: "Funnel Display", sans-serif;
    font-weight: 600;
}

.navigation a {
    font-family: "Funnel Display", sans-serif;
    font-style: normal;
    text-decoration: none;
    color: #ffffff;
}

.introSection {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Content Overlay */
.introContent {
    font-family: "Funnel Display", sans-serif;
    font-size: 3vw;
    color: white;
    z-index: 1;
    opacity: 0%;

    animation-fill-mode: forwards;
    animation-name: welcomeAnimation;
    animation-duration: 2s;
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes welcomeAnimation {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 100%;
    }
}

.introSection::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.introduction {
    background-color: white;
    padding: 1%;

    > h2 {
        font-family: "Funnel Display", sans-serif;
        font-size: 50px;
        text-align: center;
        color: rgb(0, 0, 0);
    }
}

.introSection2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    > #whoweare {
        width: 20vw;
        height: 19vw;
        padding: 20px;
        border-radius: 20px;
        border: 1px solid black;
        > h2 {
            font-family: "Funnel Display", sans-serif;
            font-size: 2vw;
            color: rgb(0, 0, 0);
            text-align: center;
        }

        > p {
            font-family: "Funnel Display", sans-serif;
            font-size: 1vw;
            color: rgb(0, 0, 0);
            text-align: left;
        }
    }
}

.introSection3 {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 7%;
    padding-right: 7%;
    gap: 100px;

    > #title-content {
        width: 30vw;
        height: auto;
        padding: 20px;
        
        > h2 {
            font-family: "Funnel Display", sans-serif;
            font-size: 4vw;
            white-space: nowrap;
            color: rgb(0, 0, 0);
        }
    }

    > #text-content {
        > p {
            font-family: "Funnel Display", sans-serif;
            font-size: 1vw;
            color: rgb(0, 0, 0);
        }
    }
}

.expertise {
    background-color: white;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

.expertise-item {
    position: relative;
    width: 380px;
    height: 320px;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Funnel Display", sans-serif;
    transition: 0.3s ease-in-out;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;

    > h2 {
        font-size: 2vw;
    }
}

.music { background-image: url('aboutus-img/img1.jpg'); }
.animation { background-image: url('aboutus-img/img2.jpg'); }
.games { background-image: url('aboutus-img/img3.png'); }
.entertainment { background-image: url('aboutus-img/img4.png'); }

.expertise-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: background 0.3s ease-in-out;
}

/* Shine effect on hover */
.expertise-item:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

/* Hidden Description */
.expertise-desc {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    font-size: 14px;
    opacity: 0;
    text-shadow: #000000 0px 0px 10px;
    transition: opacity 0.3s ease-in-out;
}

.expertise-item:hover .expertise-desc {
    opacity: 1;
}

.expertise-item:hover {
    transform: scale(1.05);
    border-radius: 30px
}

.expertise-item h2 {
    position: relative;
    z-index: 2;
}

.contact {
    background-color: white;
    display: block;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px;

    > h1 {
        color: #000000;
    }

    > p {
        font-family: "Funnel Display", sans-serif;
        text-align: center;
    }

    > #email {
        background-color: #ffffff;
        border: 2px solid black;
        border-radius: 10px;
        padding: 20px;
        width: 20%;
        margin: auto;
        font-family: "Funnel Display", sans-serif;
        text-align: center;
        transition: 0.2s ease;
    }

    > #email:hover {
        background-color: #000000;
        color: #ffffff;
        border: 2px solid rgba(0, 0, 0, 0.596);
        transform: scale(1.04);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

.joinSection {
    background-color: white;

    font-family: "Funnel Display", sans-serif;
    padding: 0.1%;
    text-align: center;

    > h3 {
        color: black;
    }
}

.footer {
    font-family: "Funnel Display", sans-serif;
    width: 100%;
    background: #181818;
    color: #fff;
    padding: 15px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo p {
    margin-left: 30px;
    height: 20px;
}

.footer-links a {
    margin-right: 20px;
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}
