@charset "UTF-8";
/*Global Styles */
@import url("onetrust.css");
@import "bootstrap.min.css";
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* FONTS */
@font-face {
    font-family: 'Clerkenwell';
    src: url('../fonts/FSClerkenwell.eot');
    src: url('../fonts/FSClerkenwell.eot?#iefix') format('embedded-opentype'),
        url('../fonts/FSClerkenwell.woff2') format('woff2'),
        url('../fonts/FSClerkenwell.woff') format('woff'),
        url('../fonts/FSClerkenwell.ttf') format('truetype'),
        url('../fonts/FSClerkenwell.svg#FSClerkenwell') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --main-font: "Clerkenwell", sans-serif;
    --second-font: "Rubik", sans-serif;
    --dark-gray: #222222;
    --white: #ffffff;
    --color-primary: #50082B;
    --color-secondary: #C6343C;
    --color-text: #ffffff;

    /* Fonts */
    --h1-title: 2rem;
    --box-padding: 3rem;
}

/* GENERAL */
*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: all 0.2s ease-in;
}

*:focus {
    outline: none !important;
    transition: all 0.2s ease-in;
}

html,
body {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    height: 100%;
    width: 100%;
    position: relative;
    height: -webkit-fill-available;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden !important;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    color: var(--color-text);
    scroll-behavior: smooth;
    position: relative;
}

body {
    margin: 0;
    background: var(--dark-gray);
}

#pleaserotate-message {
    color: var(--dark-gray);
}

main {
    min-height: calc(100vh - 100px);
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(180deg, #50082B 13.89%, #C8373C 131.28%);
}

/* HERO SECTION */

h1 {
    font-family: var(--main-font);
    font-size: var(--h1-title);
    line-height: 1.25;
    color: var(--white);
    text-align: center;
    padding-top: var(--box-padding);
}

.hero-section {
    padding: var(--box-padding) 0;
}

.masterchef-game-header {
    background: linear-gradient(180deg, #D8543F -36.79%, #C5323C 10.72%, #50082B 64.51%);
    padding-top: 4rem;
}

.hero-text a {
    background-color: var(--white);
    color: var(--color-secondary);
    font-family: var(--second-font);
    font-size: 2rem;
    border-radius: 50px;
    padding: 10px 40px;
    text-decoration: none;
    text-transform: uppercase;
    margin: 2.5rem 0;
    transition: all .5s ease-in-out;
}

.hero-text a:hover {
    background-color: var(--color-text);
    color: var(--color-primary);
}

.hero-text p {
    color: var(--color-text);
    margin: 0;
    padding: var(--box-padding) 0;
    font-size: 1.5rem;
    font-family: var(--second-font);
}

/* GAME SECTION */

#gameContainer {
    display: flex;
    justify-content: center;
}

canvas {
    image-rendering: auto;
    touch-action: none;
    overscroll-behavior: contain;
    -webkit-user-select: none;
    user-select: none;
}

.game-start-overlay {
    background-image: url('https://assets.protv.ro/assets/joc-masterchef-2025/images/feedback_background.jpg');
    background-size: cover;
    background-color: black;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.game-start-overlay .game-bg-overlay {
    width: 100%;
    height: 100%;
    background-color: #000000;
    position: absolute;
    opacity: 0.5;
}

.game-start-overlay button {
    background: linear-gradient(180deg, var(--color-primary) 13.89%, var(--color-secondary) 131.28%);
    background-color: var(--color-primary);
    background-size: 100% 200%;
    background-position: 50% 0%;
    transition: background-position .4s ease;
    color: var(--white);
    font-family: var(--second-font);
    font-size: 2rem;
    border-radius: 50px;
    border: none;
    padding: 10px 40px;
    text-decoration: none;
    text-transform: uppercase;
    margin: 2.5rem 0;
    z-index: 2;
}

#refreshMessage {
    opacity: 0;
    position: absolute;
    top: 50%;
    text-align: center;
    padding: 0 1rem;
    pointer-events: none;
}

#fsButton {
    opacity: 0;
    position: absolute;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    pointer-events: none;
}

.icon-fs {
    width: 60px;
}

.game-start-overlay button:hover {
    background-position: 50% 100%;
}

/* CAROUSEL SECTION */

.levels-carousel-section {
    padding: var(--box-padding) 0;
}

.levels-carousel-section h2 {
    font-family: var(--main-font);
    font-size: 2rem;
    padding-top: var(--box-padding);
}

.levels-carousel .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 4rem 2rem;
}

.levels-carousel .swiper-slide h3 {
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 1.75rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.levels-carousel .swiper-slide p {
    font-family: var(--second-font);
    font-size: 1.25rem;
}

.levels-carousel .swiper-slide img {
    max-height: 170px;
    position: relative;
    top: 60px;
}

.levels-carousel .swiper-slide .background {
    padding-top: 100px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 35px 6px rgba(80, 8, 43, 0.30), 0 0 10.7px 0 rgba(255, 255, 255, 0.20) inset;
    min-height: 375px;
}

.levels-carousel .swiper-button-prev,
.levels-carousel .swiper-button-next {
    background-color: var(--white);
    color: var(--color-primary);
    border-radius: 50%;
    padding: 0.5rem;
    margin-top: 5%;
}

.levels-carousel .swiper-button-prev:hover,
.levels-carousel .swiper-button-next:hover {
    background-color: var(--color-primary);
    color: var(--white);
}

#tapad_url {
    display: none;
    height: 0;
}