@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cinzel:wght@400..900&family=Cormorant:ital,wght@0,300..700;1,300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Funnel+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --c_h1:#ffffff;
    --c_h2:rgb(1,1,1);
    --c_p: #ebebeb;
    --c_shadow:rgb(0, 0, 0);
    --shadow-size: 0px;
    --c_hover: #49B6B6;
    --c_divider_light:#fbff0073;
    --c_divider_dark:#e3e700;
    --c_segment:#e2c000;
    --c_segment_brigter:#ffd900;
    --c_segment_darker:#b39800;
    --c_segment_border:#001936;
    --c_icon:#e2c000;
    --c_icon_hover:#ffd900;

    --t_short:150ms;
    --t_medium:250ms;
    --t_long:350ms;

    --division-padding: 10vh;
    --fade-distance: 50px;
    --selection-bcg: #F9AB3E;
    --selection-colour: #3E8CF9;
}

html::selection,
body::selection {
    background: var(--selection-bcg);
    color: var(--selection-colour);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.2rem, 1.7vw, 2rem);
}

/* General */

h1 {
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 8rem);
    text-align: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    color: var(--c_h1);
}

h2 {
    text-transform: uppercase;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1px;
    font-size: clamp(2rem, 3.5vw, 5rem);
    color: var(--c_h2);
}

p {
    color: var(--c_p);
}

.letter {
    display: inline-block;
}

/* NAVBAR */

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    position: fixed;
    top: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.logo {
    width: 50px;
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--c_p);
    font-size: 1.3rem;
    position: relative;
    transition: 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: var(--c_hover);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--c_hover);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

@media (max-width: 1200px) {
    .hamburger {
        opacity: 1 !important;
        cursor: pointer;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        padding-top: 80px;
        padding-left: 12px;
        padding-right: 12px;
        height: 100vh;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        transition: 0.4s ease;
        text-align: center;
    }

    .nav-links.active {
        right: 0;
    }
}

.hamburger {
    width: 35px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    z-index: 3;
}

.hamburger span {
    width: 100%;
    height: 4px;
    background: var(--c_p);
    border-radius: 3px;
    transition: 0.4s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

.hamburger:hover {
    transition: 300ms ease;
    color: var(--c_hover);
}

/* STUDIO CONTENT */

.studio-hero {
    position: relative;    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-hero .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.studio-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.studio-hero h1 {
    font-size: clamp(8vw, 16vw, 18vw);
    text-transform: none;
    font-family: "Inter", sans-serif;
    font-weight: 800;
    text-shadow:
        var(--shadow-size) 0 0 var(--c_shadow),
        calc(var(--shadow-size) * -1) 0 0 var(--c_shadow),
        0 var(--shadow-size) 0 var(--c_shadow),
        0 calc(var(--shadow-size) * -1) 0 var(--c_shadow),
        var(--shadow-size) var(--shadow-size) 0 var(--c_shadow),
        calc(var(--shadow-size) * -1) calc(var(--shadow-size) * -1) 0 var(--c_shadow),
        var(--shadow-size) calc(var(--shadow-size) * -1) 0 var(--c_shadow),
        calc(var(--shadow-size) * -1) var(--shadow-size) 0 var(--c_shadow);
}

.square-box {
    display: inline-block;
    position: relative;
    width: 0.3em;
    height: 0.3em;
    border: 0.1em solid var(--c_h1);
    box-sizing: border-box;
    top: -0.425em;
    left: -0.03em;
    box-shadow:
        var(--shadow-size) 0 0 var(--c_shadow),
        calc(var(--shadow-size) * -1) 0 0 var(--c_shadow),
        0 var(--shadow-size) 0 var(--c_shadow),
        0 calc(var(--shadow-size) * -1) 0 var(--c_shadow),
        var(--shadow-size) var(--shadow-size) 0 var(--c_shadow),
        calc(var(--shadow-size) * -1) calc(var(--shadow-size) * -1) 0 var(--c_shadow),
        var(--shadow-size) calc(var(--shadow-size) * -1) 0 var(--c_shadow),
        calc(var(--shadow-size) * -1) var(--shadow-size) 0 var(--c_shadow);
}

@media (max-width: 1200px) {
    :root {
        --shadow-size: 2px;
    }
}

/* ABOUT */
.studio-about{
    background-color: rgb(21, 74, 121);
    border-top: 5px solid white;
    border-bottom: 5px solid white;
    border-image: linear-gradient(
        to right,
        var(--c_divider_light) 0%,
        var(--c_divider_dark) 25%,
        var(--c_divider_dark) 75%,
        var(--c_divider_light) 100%
    ) 1;
}

.studio-about P{
    color: var(--c_p);
    font-size: 1.5rem;
}

/* GAME */
.game{
    background: linear-gradient(
    to bottom,
    #0063d4 0%,
    #0077ff 50%,
    #0063d4 80%,
    #001936 100%
);
}

.game-app{

}

.game-app img {
    width: clamp(220px, 75vw, 1000px);
    border-radius: 50px;
    filter: brightness(1.4);
}

.game-text p {
    max-width: 80%;
    margin: 0 auto;
}
.game-border {
    border-top: 5px dashed black;
}

.game-link {
    width: 100%;
    padding: 0;
}

form input {
    background-color: rgba(255,255,255,0.9);
    border: none;
}

form input:focus {
    box-shadow: 0 0 10px var(--c_hover);
    outline: none;
}

.btn-warning {
    background-color: var(--c_segment);
    border: none;
}

.btn-warning:hover {
    background-color: var(--c_segment_brigter);
}


.segments {
    display: flex;
    width: 100%;
    background-color: var(--c_segment_border);
}

.segment {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0px;
    font-weight: 600;
    letter-spacing: 1px;
    color: black;
    text-decoration: none;
    cursor: pointer;
    background-color: var(--c_segment);
    transition: var(--t_short);

    clip-path: polygon(
        10px 0,
        100% 0,
        calc(100% - 10px) 100%,
        0% 100%
    );
}

.segment:hover {
    background: var(--c_segment_brigter);
}

.segment + .segment {
    margin-left: 3px; /* segment separator thickness */
}

.segment.first {
    cursor: auto;

        clip-path: polygon(
        0 0,
        100% 0,
        calc(100% - 10px) 100%,
        0% 100%
    );
    
}

.segment:last-child {
    clip-path: polygon(
        10px 0,
        100% 0,
        100% 100%,
        0% 100%
    );
}

.segment.first:hover{
    background-color: var(--c_segment_darker);
    transition: var(--t_short);
}

.segment.first:hover ~  .segment {
    background-color: var(--c_segment_brigter);
    transition: var(--t_short);
}

.segment:not(.first):hover {
    background-color: var(--c_segment_brigter);
    transition: var(--t_short);
}


@media (max-width: 576px) {
.segments {
    flex-direction: column;
}

.segment,
.segment.first,
.segment:last-child {
    clip-path: none !important;
    margin: 0 !important;
}
.segment.first{
    border-bottom: 5px solid var(--c_segment_border);
}

}

/* TEAM CARDS */
.card{
    background-color: rgb(245, 245, 245);
}

.card-title {
    font-size: clamp(1.3rem, 1.6vw, 1.8rem);
}

.card .text-muted {
    font-size: clamp(1.1rem, 1.3vw, 1.4rem);
}

.card-text {
    font-size: clamp(1.15rem, 1.4vw, 1.6rem);
    line-height: 1.6;
    color: rgb(5, 5, 5);
}

/* CONTACTS */

.studio-contact{

}

.studio-contact .row{
    perspective: 1000px;
}

.social-icons i {
    color: var(--c_icon);
    transition: var(--t_short);
    font-size: clamp(1.5rem, 12vw, 4.5rem);
}

.social-icons i:hover {
    transition: var(--t_medium);
    transform: scale(1.15);
    color: var(--c_icon_hover);
}

.long-gradient {
    background: linear-gradient(
        to bottom,
        #001936 0%,
        #0063d4 50%,
        #0077ff 80%,
        #0063d4 100%
    );
}

/* FOOTER */
footer{
    font-size: 1.5rem;
}

/* MED QUERIES */

@media (max-width: 992px) {
    .studio-hero{
        height: 100vh;
    }
    h1 {
        font-size: 5rem;
    }
    .studio-about P{
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .studio-hero{
        height: 50vh;
    }
    h1 {
        font-size: 2.5rem;
    }
    .studio-about P{
        font-size: 1rem;
    }
}
