@font-face {
    font-family: "Enchanted Land";
    src: url(https://treabadesteapta.ro/assets/fonts/enchanted_land-webfont.woff) format("woff");
    font-weight: normal;
    font-style: normal;
}

:root {
    --font-serif: "Enchanted Land", serif;
    --font-sans-serif: "Manrope", sans-serif;
    --color-brown: #6D461E;
    --color-campaignBlue: rgb(6, 21, 76);
    --color--pagoBlue: #2B59C3;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans-serif);
    font-size: 16px;
    line-height: 27px;
    letter-spacing: 0.61px;
    color: rgba(255, 255, 255, 0.7);
    background-color: var(--color-campaignBlue);
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

.container {
    width: 1200px;
    max-width: 85%;
    margin: 0 auto;
}

@media screen and (max-width: 1366px) {
    .container {
        width: 1100px;
        flex-shrink: 0;
    }
}

@media screen and (max-width: 1280px) {
    .container {
        width: 980px;
        flex-shrink: 0;
    }
}

@media screen and (max-width: 1024px) {
    .container {
        width: 640px;
        flex-shrink: 0;
    }
}

@media screen and (max-width: 800px) {
    .container {
        width: 640px;
        flex-shrink: 0;
    }
}

@media screen and (max-width: 425px) {
    .container {
        width: 90%;
        flex-shrink: 0;
    }
}

.uppercase {
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

#hero-main-video {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    opacity: 0;
}

#hero-main-video.visible {
    z-index: 10;
}

#close-vid {
    opacity: 0;
    position: absolute;
    right: 50px;
    top: 75px;
    z-index: 99;
    font-size: 16px;
    letter-spacing: 0.64px;
    background-color: rgba(0, 0, 0, 0.78);
    border: none;
    appearance: none;
    border-radius: 12px;
    padding: 13px;
    padding-left: 34px;
    padding-top: 14px;
    color: white;
    cursor: pointer;
}

#close-vid::before,
#close-vid::after {
    position: absolute;
    left: 21px;
    top: 13px;
    content: "";
    display: block;
    width: 1px;
    height: 16px;
    background-color: #fff;
}

#close-vid::before {
    transform: rotate(45deg);
}

#close-vid::after {
    transform: rotate(-45deg);
}

.tv {
    position: absolute;
    top: 0;
    left: -0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
}

.tv .screen {
    width: 100%;
    min-height: calc(100% + 50px);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tv .screen.loaded {
    opacity: 1;
}

#back-to-main-site {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    line-height: 1.25em;
    margin-right: 20px;
    gap: 5px;
    position: absolute;
    width: max(90px, (100vw - 1366px) / 2);
    left: 10px;
}

@media screen and (max-width: 1365px) {
    #back-to-main-site {
        font-size: 10px;
        margin-right: 10px;
        flex-shrink: 1;
    }
}

@media screen and (max-width: 1024px) {
    #back-to-main-site {
        position: static;
        margin-right: 0;
        flex-shrink: 0;
    }
}

#site-footer {
    background-color: #fff;
    color: #161f28;
    font-size: 14px;
    line-height: 24px;
    padding: 35px 0;
}

#site-footer #footer-copy {
    opacity: 0.5;
    margin-right: 30px;
}

#site-footer a {
    color: inherit;
    text-decoration: none;
}

#site-footer nav a {
    padding: 5px;
}

#site-footer nav a:hover {
    text-decoration: underline;
}

#site-footer #footer-brands {
    display: flex;
    align-items: center;
}

#site-footer #footer-brands img {
    display: block;
    margin: 0 10px;
}

#hero-heading {
    max-width: 950px;
}


/* TYPOGRAPHY */

.h1,
.h2,
.h3,
h1,
h2,
h3 {
    color: white;
    font-family: var(--font-serif);
}

.h1 {
    font-size: 70px;
    line-height: 65px;
    letter-spacing: 3.2px;
}

.h2 {
    font-size: 50px;
    line-height: 46px;
    letter-spacing: 2px;
}

h3 {
    font-size: 30px;
    line-height: 35px;
    letter-spacing: 1.2px;
}

.d-flex {
    display: flex;
}

.aic {
    align-items: center;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20;
}

.jcsb {
    justify-content: space-between;
}

.button {
    border-radius: 12px;
    text-transform: uppercase;
    padding: 5px 18px;
    font-family: var(--font-sans-serif);
    letter-spacing: 0.44px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.button.solid {
    background-color: var(--color--pagoBlue);
}

#main-header {
    padding: 20px 30px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
    transition: background 0.3s ease;
}

#main-header .logo a {
    display: block;
}

#main-header .logo a img {
    display: block;
}

#main-header.headroom--not-top {
    background-color: rgba(6, 20, 76, 0.9);
}

#hero {
    background: url("./assets/images/main-banner.jpeg") no-repeat center/cover;
    text-align: center;
}

#hero .container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100%;
    z-index: 2;
    height: 100vh;
    min-height: 400px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

#preload {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
}

#preload video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#preload::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, transparent, var(--color-campaignBlue));
    position: absolute;
}

#play,
.play {
    opacity: 0;
    appearance: none;
    border-radius: 50px;
    width: 80px;
    height: 80px;
    background: rgba(94, 99, 106, 0.6) url("./assets/images/play.png") no-repeat center/23px;
    border: none;
    outline: none;
    margin: 120px auto;
    transition: background 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.play {
    opacity: 1;
}

#play:hover {
    opacity: 1;
    background-color: #2b59c3;
}

#recommended-by {
    flex: 1;
    margin-left: 74px;
    font-size: 14px;
    letter-spacing: 0.48px;
}

#recommended-by img {
    margin: 0 30px;
}

@media screen and (max-width: 1024px) {
    #recommended-by {
        margin-left: 30px;
    }
}

#benefits {
    padding-top: 421px;
    background: url("./assets/images/bg_voda.png") no-repeat top/contain;
    position: relative;
}

#benefits .container {
    position: relative;
    z-index: 2;
}

#coin-1,
#coin-2,
#coin-3 {
    position: absolute;
    z-index: 1;
}

#coin-1 {
    left: 50px;
    top: 800px;
}

#coin-2 {
    right: 50px;
    top: 200px;
}

#coin-3 {
    left: 120px;
    top: 10px;
}

.steps-wrapper {
    padding-top: 520px;
}

.steps-wrapper .contest-step {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.steps-wrapper .contest-step::before {
    content: "";
    display: block;
    left: 0;
    top: 0;
    width: 72px;
    height: 72px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    margin: 15px 0;
}

.steps-wrapper .contest-step.step-1::before {
    background: url("./assets/images/ic_pasul1.png") no-repeat center/40px;
}

.steps-wrapper .contest-step.step-2::before {
    background: url("./assets/images/ic_pasul2.png") no-repeat center/40px;
}

.steps-wrapper .contest-step.step-3::before {
    background: url("./assets/images/ic_pasul3.png") no-repeat center/40px;
}

.steps-wrapper .contest-step p {
    max-width: 330px;
    width: 100%;
    margin-top: 8px;
}

#phone-card {
    width: 358px;
    margin-top: 100px;
}

#store-badges {
    display: flex;
    gap: 15px;
}

.col-6 {
    width: 50%;
}

#share-wrapper,
#share-wrapper-mobile,
#share-wrapper-backup {
    display: block;
    width: 86px;
    height: 61px;
    background: url("./assets/images/share-ribbon-small.png") no-repeat center/cover;
    position: fixed;
    bottom: 20%;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    z-index: 2;
    color: #6d461f;
    font-size: 30px;
    cursor: pointer;
}

#share-wrapper-backup {
    background: url(./assets/images/share-ribbon.png) no-repeat center/cover;
    width: 203px;
    right: -80px;
    justify-content: flex-start;
}

#share-wrapper-mobile,
#share-wrapper-backup {
    display: none;
}

@media screen and (max-width: 1024px) {
    #benefits .container.d-flex {
        flex-direction: column;
    }
    .steps-wrapper {
        padding-top: 50px;
    }
    .col-6 {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    #share-wrapper {
        display: none;
    }
    #share-wrapper-mobile {
        display: flex;
    }
    #share-wrapper-mobile,
    #share-wrapper-backup {
        bottom: 15%;
    }
}

@media screen and (max-width: 425px) {
    #share-wrapper-mobile,
    #share-wrapper-backup {
        bottom: 5%;
    }
}

#share-wrapper a,
#share-wrapper-backup a {
    font-size: 30px;
    display: block;
    padding: 5px;
    margin: 0 15px;
    color: #6d461f;
}

#share-wrapper-backup a {
    padding: 0;
}

#episodes {
    margin-top: -100px;
    padding-top: 461px;
    padding-bottom: 103px;
    background: url("./assets/images/benefits-banner1.jpeg") no-repeat top/contain;
}

#episodes .h1 .icon-arrow-script {
    font-size: 30px;
}

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

.icon-arrow-script {
    display: block;
    width: 2.233em;
    height: 1em;
    background: url("./assets/images/icon-arrow-script.png") no-repeat center/contain;
}

.episodes-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 33px;
}

.episodes-wrapper .episode-preview {
    height: 350px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    transition: all 0.55s ease-out;
}

.episodes-wrapper .episode-title {
    margin-top: 24px;
    display: block;
}

.episodes-wrapper .card-info {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.episodes-wrapper .card-info .icon-arrow-script {
    margin: auto;
    font-size: 30px;
}

.episodes-wrapper .episode-card {
    position: relative;
    border-radius: 12px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    transition: all 0.3s ease;
}

.episodes-wrapper .hover-hide {
    display: block;
}

.episodes-wrapper .hover-show {
    display: none;
}

.episodes-wrapper .card-wrapper {
    margin-bottom: 30px;
}

.episodes-wrapper .card-wrapper:hover .episode-card {
    border-color: rgba(255, 255, 255, 0.5);
}

.episodes-wrapper .card-wrapper:hover .episode-preview {
    background-size: 120% auto;
}

.episodes-wrapper .card-wrapper:hover .hover-hide {
    display: none;
}

.episodes-wrapper .card-wrapper:hover .hover-show {
    display: block;
}

.overlay {
    z-index: 99;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: none;
    transition: all 0.25s ease;
    overflow: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.overlay.active {
    display: flex;
}

.overlay.visible {
    background-color: #3c3c3d;
}

.overlay.visible .modal {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    transition: all 0.3s linear 0.25s;
}

.overlay.visible.white {
    background-color: #fff;
}

.overlay.visible.grey {
    background-color: rgba(0, 0, 0, 0.4);
}

.overlay .modal {
    min-width: 700px;
    width: 50%;
    min-height: 58.16125%;
    opacity: 0;
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    margin: auto;
    background-color: white;
    border-radius: 9px;
    display: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
}

.overlay .view-modal {
    max-width: 700px;
}

.overlay .modal.active {
    display: block;
}

.overlay .modal .content {
    display: flex;
    flex-flow: column;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.overlay.white span.close.white {
    border-color: rgba(0, 0, 0, 0.12);
}

.overlay.white span.close.white:hover {
    background-color: #000;
}

.overlay.white span.close.white:hover i {
    color: white;
}

.overlay.white span.close.white i {
    color: black;
}

.modal-language-text {
    font: normal normal bold 21px/40px Manrope;
    letter-spacing: -0.71px;
    color: #000;
    margin-bottom: 30px;
}

div#modal-language-selector {
    box-shadow: 10px 10px 30px #0000000F;
    border-radius: 10px;
    width: 280px;
    min-width: 280px;
    height: 350px;
    min-height: 350px;
}

.modal-language-select-container {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.02);
    width: 168px;
    height: 50px;
    margin: 4px 0;
}

.modal-language-country {
    color: #000;
    font: 11px/40px Manrope;
    letter-spacing: 0px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 27px;
}

img.modal-language-flag {
    margin-left: 11px;
}

.modal-language-country:hover {
    color: #000;
}

.modal-language-select-container:hover {
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.language-switcher {
    width: 34px;
    height: 34px;
    border-radius: 40px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.12);
    margin-left: 50px;
}

.language-switcher .lang-wrapper {
    transition: all 0.3s ease;
    display: grid;
}

.language-switcher:hover .lang-wrapper {
    transform: translateY(-50%);
}

.language-switcher .lang-wrapper-modal {
    display: -ms-grid;
    display: grid;
}

.language-switcher .lang-wrapper .lang,
.language-switcher .lang-wrapper-modal .lang {
    font-family: "Manrope", sans-serif;
    font-weight: 900;
    font-size: 11px;
    line-height: 32px;
    text-align: center;
    letter-spacing: 0.55px;
}

.language-switcher .lang-wrapper .lang.active {
    order: -1;
}

div#language-modal-trigger:hover {
    cursor: pointer;
}

.modal-language-text {
    font: normal normal bold 21px/40px Manrope;
    letter-spacing: -0.71px;
    color: #000;
    margin-bottom: 30px;
}

div#modal-language-selector {
    box-shadow: 10px 10px 30px #0000000F;
    border-radius: 10px;
    width: 280px;
    min-width: 280px;
    height: 350px;
    min-height: 350px;
}

.modal-language-select-container {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.02);
    width: 168px;
    height: 50px;
    margin: 4px 0;
}

.modal-language-country {
    color: #000;
    font: 11px/40px Manrope;
    letter-spacing: 0px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 27px;
}

img.modal-language-flag {
    margin-left: 11px;
}

.modal-language-country:hover {
    color: #000;
}

.modal-language-select-container:hover {
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

img.infografic-mobile {
    display: none;
}

#end-campaign {
    padding: 46px 0;
}

#voda-img {
    max-height: 304px;
}

#end-campaign .container.d-flex {
    justify-content: center;
}

.end-campaign-container.d-flex {
    flex-direction: column;
    max-width: 443px;
    align-content: center;
    justify-content: center;
}

@media screen and (max-width: 1024px) {
    .episodes-wrapper {
        display: block;
    }
}

@media screen and (min-width: 769px) {
    .visible-sm {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .language-switcher:hover .lang-wrapper {
        -webkit-transform: initial;
        transform: initial;
    }
    .language-switcher .lang-wrapper .lang.active {
        order: 2;
    }
    img.infografic-desktop {
        display: none;
    }
    img.infografic-mobile {
        display: block;
    }
    .hidden-sm {
        display: none !important;
    }
    .h1 {
        font-size: 50px;
        line-height: 46px;
        letter-spacing: 2px;
    }
    .h2 {
        font-size: 40px;
        line-height: 38px;
    }
    .container.d-flex {
        flex-direction: column;
    }
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    #main-header .d-flex {
        flex-direction: row;
    }
    #back-to-main-site.visible-sm {
        margin-left: 10px;
        width: auto;
    }
    .language-switcher {
        margin-left: 0;
    }
    #close-vid {
        right: 25px;
        top: 50px;
    }
    #store-badges {
        flex-direction: column;
    }
    .col-6 {
        width: 100%;
    }
    .steps-wrapper .contest-step p {
        max-width: 210px;
    }
    .episodes-wrapper {
        display: block;
    }
    .episodes-wrapper .episode-preview {
        height: 160px;
    }
    #site-footer .container {
        text-align: center;
        flex-direction: column-reverse;
        gap: 20px;
    }
    #main-header {
        padding-left: 0;
        padding-right: 0;
    }
    #coin-1,
    #coin-2 {
        display: none;
    }
    #coin-3 {
        left: 50px;
        top: -70px;
        width: 120px;
        height: auto;
    }
    #benefits {
        padding-top: 320px;
        background-size: 220vw;
        background-position: 67% 0;
    }
    #phone-card {
        max-width: 100%;
    }
    .steps-wrapper {
        padding-top: 50px;
    }
    #episodes {
        background-size: 320vw;
        padding-top: 400px;
        padding-bottom: 50px;
    }
}