/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2021.11.29., 12:57:58
    Author     : janos
*/


html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    scroll-behavior: smooth;
}

body {
    background-color: #640D41;
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

.text-white {
    color: white;
}

.title-layer {
    position: relative;
    z-index: 99;
}

/* FADE OUT TITLE */

.anim-fade-out {
    animation: fade-out 1s forwards;
}
@keyframes fade-out {
    to {
        opacity: 0;
    }
}

/* Loader */

.loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-repeat: no-repeat;
    background-color: #640D41;
    background-position: center;
}

.rotate-device {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-repeat: no-repeat;
    background-color: #640D41;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.rotate-device-container {
    display: none;
}

.preloader-image {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 144px;
    height: auto;
    border-radius: 50%;
    margin: 0 auto;
    top: 45%;
    text-align: center;
    left: 46%;
    z-index: 999;
    display: block;
    overflow: hidden;
}

/* SCROLL INDICATOR 
.mouse {
    display: none;
    height: 45px;
    width: 25px;
    border: 3px solid white;
    border-radius: 32px;
    position: fixed;
    z-index: 99;
    bottom: 45px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}


.scrollWheel {
    height: 20px;
    width: 2px;
    background: white;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 10px;
    border-radius: 1px;
    transform: scaleY(0);
    animation: scroll 2s linear infinite;
}
*/

@keyframes scroll {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    25% {
        transform: scaleY(1);
        transform-origin: top;
    }
    26% {
        transform-origin: bottom;
    }
    50% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* SCROLLBAR */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #ffffff;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #ffffff;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #e6e6e6;
}

.section {
    display: block;
}

#video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.seasons-greetings {
    display: block;
    position: relative;
    width: 45vw;
    background: url('../img/seasons-greetings-title.svg');
    height: 400px;
    background-repeat: no-repeat;
    background-position: center;
}


.view {
    height: 100vh;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view2 {
    height: auto;
}
.view3 {
    height: calc(100vh + 20px);
}

.logos {
    width: 80%;
}

.from-our-family {
    display: none;
}

.to-yours {
    max-width: 540px;
}

.loader-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.scrollAnimation {
    display: none;
    position: fixed;
    z-index: 99;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 0%);
}

.purple-layer {
    position:absolute;
    width:100%;
    height: 100%;
    background: rgb(76,69,158);
    background: linear-gradient(0deg, rgba(76,69,158,1) 0%, rgba(76,69,158,0.7290266448376226) 69%, rgba(255,255,255,0) 100%);

}

.snowflakes-img {
    width: 100%;
}

.mt-big {
    margin-top: 10rem;
}


.phone {
    height: 50px;
    width: 100px;
    border: 3px solid white;
    border-radius: 10px;
    animation: rotate 1.5s ease-in-out infinite alternate;
    /* display: none; */
}

.message {
    color: white;
    font-size: 1em;
    margin-top: 40px;
    /* display: none; */
}

#fullpage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}



@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }
    50% {
        transform: rotate(-90deg)
    }
    100% {
        transform: rotate(-90deg)
    }
}

canvas{
    width: 100%;
    height: 100%;
}

.play-again {
    position: absolute;
    top: calc(50% - 40px);
    left: 48%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 60px;
    cursor: pointer;
}

audio::-webkit-media-controls-timeline,
video::-webkit-media-controls-timeline {
    display: none;
}

.playpause img{

    width:5rem;
    height:auto;
    position:absolute;
    left:0%;
    right:0%;
    top: -30%;
    bottom:0%;
    margin:auto;
    z-index: 99;
}


@media only screen and (max-width: 992px) {
    .play-again {
        left: 46%;
        width:50px;
    }
}

@media only screen and (max-width: 812px) {
    .playpause img{
        width:60px;
        height:60px;
        top: -40%;
    }
}

@media only screen and (max-device-width: 812px) and (orientation: portrait) {
    .rotate-device-container {
        display: block;
    }

}

