/************************************************* 
GENERAL STRUCTURE 
*************************************************/
body {
    font-weight: 400;
    font-size: 18px !important;
    line-height: 25px !important;
}
p {
    font-weight: 400;
    font-size: 18px !important;
    line-height: 25px !important;
}
h1, h2, h3, h4, p {
    margin: 0;
}
h1 {
    margin-bottom: 30px;
}
h2 {
    font-size: 28px;
    line-height: 35px;
    margin-bottom: 30px;
}
h3, p {
    margin-bottom: 20px;
}
p {
    line-height: 30px;
}
img {
    display: block;
}
section {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #858585;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #858585;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #858585;
}
.bg-primary {
    background-color: var(--tertiary-color);
    color: #fff;
}
.section-full-heigth {
    height: 100vh;
    display: flex;
    align-items: center;   
}
.text-center {
    text-align: center;
}
.text-highlighted {
    color: var(--clr-secondary);
    font-weight: 700;
}
#sticky-button {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0 20px;
}
.slick-arrow {
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    font-size: 0;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 30px;
}
.slick-prev {
    left: -40px;
    background-image: url('https://cdn.dineme.net/web/img/chevron-left-white.svg');
}
.slick-next {
    right: -40px;
    background-image: url('https://cdn.dineme.net/web/img/chevron-right-white.svg');
}
@media(max-width: 767px){
    .hidden-xs {
        display: none !important;
    }
}
@media(min-width: 768px){
    .visible-xs {
        display: none !important;
    }
    .text-highlighted {
        font-size: 40px;
    }
    .carousel {
        width: calc(100% - 80px);
        margin: 0 auto;
    }
}
@media(min-width: 992px){
    body {
        font-size: 24px !important;
        line-height: 35px !important;
    }
    p {
        font-size: 24px !important;
        line-height: 35px !important;
    }
}
/************************************************* 
VISUAL
*************************************************/
#visual {
    min-height: 70vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
    background: url('https://cdn.dineme.net/web/img/pre-launch-landing/visual.jpg');
    background-size: cover !important;
    background-position: center;
}
#visual video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
#visual .logo {
    width: 210px;
}
#visual h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    width: 73%;
    margin: 0 auto;
}
#visual p {
    color: #fff;
}
#visual .form-error {
    display: flex;
    justify-content: center;
    padding: 0;
    font-size: 13px;
    background: #ffffffab;
    border-radius: 5px;
    margin-top: -30px;
    display: none;
}
@media(min-width: 768px) {
    #visual .logo {
        width: 420px;
    }
    #visual h1 img {
        margin-bottom: 7vh;
    }
    #visual h2 {
        margin-bottom: 180px;
        font-size: 40px;
        line-height: 60px;
        width: 100%;
    }
    #visual > div {
        width: 100%;
        max-width: 600px;
        margin-top: 12vh;
    }
}
@media(min-width: 992px) {
    #visual > div {
        max-width: 780px;
    }
    #visual {
        min-height: 100vh;
    }
}
/************************************************* 
FORM NEWSLETTER
*************************************************/
.form-newsletter .row > div:first-child {
    width: 100%;
}
.form-newsletter input:not([type='checkbox']) {
    width: 100%;
    height: 50px;
    border: none;
    width: 100%;
    border-radius: 2px;
    margin-bottom: 20px;
    padding: 0 10px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}
.form-newsletter a {
    color: var(--tertiary-color);
}
input[type='checkbox'] {
    margin: 0 10px 0 0;
    width: 15px;
    height: 15px;
}
form button[type='submit'] {
    margin-top: 0;
    white-space: nowrap;
}
label {
    text-align: left;
}
.input-check {
    display: flex;
    align-items: baseline;
}
.input-check label {
    font-size: 14px;
    line-height: 19px;
}
.input-check:last-child {
    margin-bottom: 30px;
}
#newsletter .form-error {
    display: flex;
    justify-content: center;
    padding: 0;
    font-size: 13px;
    border-radius: 5px;
    display: none;
}
@media(min-width: 992px) {
    .form-newsletter  > .row{
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
        flex-direction: row;
    }
}

#intro img {
    max-width: 840px;
    margin: 0 auto;
}

.form-newsletter-thankyou {
    display: none;
}
/************************************************* 
CAROUSEL
*************************************************/
#about {
    height: 100vh;
    background-color: #2E2C2B;
}
#about > div {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}   
.carousel .item-slide {
    padding: 0 20px;
}
.carousel-nav {
    max-width: 996px;
    margin: 0 auto;
}
.carousel-nav ul {
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    list-style-type: none;
}
.carousel-nav ul li {
    opacity: 0.5;
    cursor: pointer;
    font-weight: 600;
    transition: all .4s ease-in-out;
    font-size: 14px;
}
.carousel-nav ul li.active {
    opacity: 1;
}
.carousel .item-slide {
    display: flex;
    align-items: center;
}
.progress {
    width: calc(100% - 40px);
    max-width: 996px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    display: block;
    height: 2px;
    overflow: hidden;
    
    background-color: rgba(255, 255, 255, 0.5);
    background-image: linear-gradient(to right, #fff, #fff);
    background-repeat: no-repeat;
    background-size: 0 100%;
    
    transition: background-size .4s ease-in-out;
}
.card-image img {
    width: 100%;
}
.card-text {
    padding: 0  60px;
    flex: 1;
}
.card-text h3 {
    font-weight: 600;
    font-size: 30px;
    line-height: 37px;
}
.card-text p {
    font-weight: 400;
    font-size: 24px;
    color: #fff;
}
@media(min-width: 768px) {
    #about {
        margin-bottom: 30px;
    }
    .carousel-nav {
        display: block !important;
    }
    .card-image {
        width: 200px;
    }
}
@media(min-width: 992px) {
    .card-image {
        width: 300px;
    }
    .carousel-nav ul li {
        font-size: 18px;
    }
        
    .card-text h3 {
        font-size: 40px;
        line-height: 47px;
    }
}
@media(min-width: 1200px) {
    #about > div {
        left: 50%;
        transform: translate(-50%, -50%);
    }   
}
/************************************************* 
BOX LARGE
*************************************************/
.content-box {
    padding: 0 20px;
}
.content-box .image img {
    display: block;
}
.content-box p {
    color: var(--primary-color);
}

@media(max-width: 767px) {
    .content-box .image {
        margin-bottom: 20px;
    }
    .content-box .text {
        text-align: center;
    }
    #text-verified {
        display: flex;
        background-color: #fff;
        gap: 20px;
        flex-wrap: wrap ;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
        padding: 20px;
    }
    #text-verified img {
        width: 64px;
    }
    #text-verified .text {
        text-align: left;
        flex: 1;
    }
}
@media(min-width: 768px) {
    .content-box #text-verified {
        background-color: #fff;
    }
    .content-box.single {
        background-color: transparent;
    }
    .content-box {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding-top: 60px;
        padding-bottom: 60px;
        background-color: #fff;
    }
    .content-box.single {
        align-items: stretch;
    }
    .content-box > div {
        width: 40%;
    }
    .corner-border {
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
    }
    .text-highlighted { 
        margin-top: 20px;   
        font-size: 30px;
        line-height: 38px;  
        color: #406eff; 
    }
    .content-box.single {
        gap: 20px;
        padding: 0 20px;
    }
    .content-box.single > div {
        width: 50%;
    }
    #text-verified {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
    }
    #text-verified .text {width: 100%;}
}

@media(min-width: 1200px) {
    .text-highlighted {
        font-size: 40px;
        line-height: 50px;
    }
}
/************************************************* 
NEWSLETTER
*************************************************/
#newsletter {
    max-width: 992px;
}
#newsletter .icon-brand {
    margin-bottom: 30px;
}
@media(min-width: 992px) {
    #newsletter form {
        width: 80%;
        margin: 0 auto;
    }
}

/************************************************* 
MODAL FORM
*************************************************/
#trigger-modal {
    width: 1px;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 0;
}
.modal-shadow {
    display: none;
    width: 100vw;
    height: 100%;
    z-index: 20;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
}
#modal-form {
    display: none;
    width: 100vw;
    height: 100%;
    z-index: 20;
    position: fixed;
    top: 0;
    left: 0;
    overflow: auto;
    z-index: 9999;
}
#modal-form > .row { 
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}   
#modal-form .btn-close {
    width: 36px;
    height: 36px;
    position: absolute;
    right: 30px;
    top: 30px;
    z-index: 14985670;
    cursor: pointer;
}
#modal-form p {
    color: var(--primary-color);
}
#modal-form .image img {
    display: block;
}
#modal-form .form-newsletter {
    padding: 20px;
    background-color: #fff;
}
@media(min-width: 768px){
    .modal-body {
        max-width: 940px;
        display: flex;
        align-items: center;
        background-color: #fff;
    }
    .modal-body .form-content, .modal-body .image {
        width: 50%;
    }
    .modal-body .form-newsletter > .row {
        display: block;
    }
    .modal-body .form-newsletter button[type='submit'] {
        width: 100%;
        display: block;
    }
}
/************************************************* 
ANIMATION
*************************************************/
:root {
    --time-anim-fade: 0.5s;
    --time-anim-inside-delay: 0.2s;
    --time-anim-inside-top: 0.5s;

    --margin-anim-top: 20px;

    --margin-anim-top-cards: 20px;
}
.animate-content  {
    opacity: 0;
    -webkit-transition:all var(--time-anim-fade) ease-in-out;
    -o-transition:all var(--time-anim-fade) ease-in-out;
    transition:all var(--time-anim-fade) ease-in-out;
}
.animate-content.animate-active{
    opacity: 1;
}
.animate-content .animate-inside, 
.animate-top {
    position: relative;
    overflow: hidden;
}
.animate-content .animate-inside > *, 
.animate-top > *{
    -webkit-transform: translateY(var(--margin-anim-top));
    transform: translateY(var(--margin-anim-top));
    opacity: 0;
}
.animate-content.animate-active .animate-inside > * ,
.animate-top.animate-active > * {
	-webkit-animation: slide-top var(--time-anim-inside-top) ease-in-out var(--time-anim-inside-delay) forwards;
	        animation: slide-top var(--time-anim-inside-top) ease-in-out var(--time-anim-inside-delay) forwards;
}
.animate-cards .col, .animate-medium-block {
    position: relative;
    overflow: hidden;
}
.animate-cards .card-component,
.animate-cards .card-solid,
.animate-medium-block {
    -webkit-transform: translateY(var(--margin-anim-top));
    transform: translateY(var(--margin-anim-top));
    opacity: 0;
}
.animate-cards .card-component.animate-active,
.animate-cards .card-solid.animate-active,
.animate-medium-block.animate-active {
	-webkit-animation: slide-top-cards var(--time-anim-inside-top) ease-in-out var(--time-anim-inside-delay) forwards;
    animation: slide-top-cards var(--time-anim-inside-top) ease-in-out var(--time-anim-inside-delay) forwards;
}

@-webkit-keyframes slide-top {
    0% {
        opacity: 0;
        -webkit-transform: translateY(var(--margin-anim-top));
        transform: translateY(var(--margin-anim-top));
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
        transform: translateY(0px);
    }
}
@keyframes slide-top {
    0% {
        opacity: 0;
        -webkit-transform: translateY(var(--margin-anim-top));
        transform: translateY(var(--margin-anim-top));
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
        transform: translateY(0px);
    }
}

@-webkit-keyframes slide-top-cards {
    0% {
        opacity: 0;
        -webkit-transform: translateY(var(--margin-anim-top-cards));
        transform: translateY(var(--margin-anim-top-cards));
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
        transform: translateY(0px);
    }
}
@keyframes slide-top-cards {
    0% {
        opacity: 0;
        -webkit-transform: translateY(var(--margin-anim-top-cards));
        transform: translateY(var(--margin-anim-top-cards));
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
        transform: translateY(0px);
    }
}