:root{
    --body_top_bgc: rgb(15,25,40);
    --body_bot_bgc: rgb(70,160,220);
    --section_bgc: rgb(15,30,40);
    --text_wht: rgb(240,240,240);
}

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

html {
    height: 100%;
}
body {
    height: 100%;
    background: linear-gradient( var(--body_top_bgc),var(--body_bot_bgc) );
}




.section_container{
	scroll-snap-type:y mandatory; 		/* proximity */
	overflow-y: scroll;
    scroll-behavior: smooth;

    width:100%;
    height:100vh;
	/* scroll-padding:20vh leaves paddin to top if wanted */
}

section{
	height:100vh;
	display:flex;
	flex-direction:row;
	justify-content:center;
	align-items:center;
	scroll-snap-align: start;
}


.section_item {}


.section_content{
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	width:80vw;
	min-height:80vh;
	border: none;
	border-radius:25px;

	position:relative;
    /* background-color: var(--section_bgc); */

    background: rgb(222,100,222);
    background: radial-gradient(circle, rgba(222,100,222,1) 0%, rgba(55,15,55,1) 100%);

    box-shadow: 1px -58px 118px -6px rgba(0,0,0,0.81);
    -webkit-box-shadow: 1px -58px 118px -6px rgba(0,0,0,0.81);
    -moz-box-shadow: 1px -58px 118px -6px rgba(0,0,0,0.81);
}


.section_content::after{
    content: '';
    position: absolute;
    border-radius: inherit;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    background: #DCC878;
    background: radial-gradient(at right bottom, #DCC878 0%, #00000000 50%, #00000000 100%);
}


.section_content::before{
    content: '';
    position: absolute;
    border-radius: inherit;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    background: rgb(125,35,40);
    background: radial-gradient(at right top,  rgba(125,35,40,1) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 100%);
}
    /*
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--section_bgc);;
    border-radius:inherit;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
    z-index: 2;
}*/

@keyframes showRight {
    100% {
        width: 0;
    }
}

/*
.section_content > * { width:80%; }
*/

.section_content_item { 
    width: 80%; 
    z-index: 20; 
}

.logo{
    position: absolute;
    color: var(--text_wht);
    font-size: 3em;
    width: auto;
    top: 1em;
    left: 50%;
    transform: translate(-50%, 0);
    margin:0;
    font-family: 'Paytone One', serif;

    -webkit-mask-image: linear-gradient(-75deg, rgba(0,0,0,.6) 30%, #000 50%, rgba(0,0,0,.6) 70%);
    -webkit-mask-size: 200%;
    animation: shine 8s linear infinite;
}

@keyframes shine {
    /*
  from { -webkit-mask-position: 150%; }
  to { -webkit-mask-position: -50%; } */
  0% {
    -webkit-mask-position: 150%;
  }
  25% {
    -webkit-mask-position: -50%;
  }
  50% {
    -webkit-mask-position: -50%;
  }
  75% {
    -webkit-mask-position: -50%;
  }
  100% { 
    -webkit-mask-position: -50%;
  }
}

.logo > span {
    animation: blinker 1.7s cubic-bezier(.5, 0, 1, 1) infinite alternate;
}
.logo::before {
    content:'Niittynen';
    display: inline;
    opacity: .5;
    animation: none;
}
.logo::after {
    content:'com';
    display: inline;
    opacity: .5;
    animation: none;
}
/*
.logo::before {
    content:'';
    background: var(--section_bgc);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}*/

@keyframes blinker { to { opacity: .5; } }




h1 {
    color: var(--text_wht);
    font-size: 2rem;
    font-family: 'Paytone One';
    margin: .5rem 0;
}

h2 {
    margin: .5rem 0;
    font-family: 'Paytone One';
}

h2, h2 .b {
    position: relative;
    font-size: 1.5rem;
    color: var(--body_bot_bgc);
    overflow: hidden;
}
h2 .b::before {
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--section_bgc);
    border-left: 2px solid #fff;
    animation: typing 4s steps(12) infinite;
}
@keyframes typing {
    40%,60% { left: 100%; }
    100% { left:0%; }
}   

p {
    color: var(--text_wht);
    font-size: 1.75rem;
    margin: 3rem 0;
    font-family: 'Dosis';
}



.btn {
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    border: 1px solid #e74c3c;
    border-radius: 0.6em;
    /* color: #e74c3c; */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-self: center;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    margin: 1em 0;
    padding: 1.2em 2.8em;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    width: auto;
}
.btn:hover, .btn:focus {
    color: #fff;
    outline: 0;
}

.first {
    transition: box-shadow 300ms ease-in-out, color 300ms ease-in-out;
}
.first:hover {
    box-shadow: 0 0 40px 40px #e74c3c inset;
}

.inverse {
    border-color: #3498db;
    color: #fff;
    box-shadow: 0 0 40px 40px #3498db inset, 0 0 0 0 #3498db;
    transition: all 150ms ease-in-out;
}
.inverse:hover {
    box-shadow: 0 0 10px 0 #3498db inset, 0 0 10px 4px #3498db;
}

.flex_row{
    display: flex;
    flex-direction: row;
}

.center {
    justify-content: center;
    align-items: center;
}

.flex_110{
    flex: 1 1 0;
}


.heading {
    z-index: 2;
    float:       left;
    width:       100%;
    transform: rotate(-3deg);
    text-transform: none;
    text-align: center;

    animation: float 8s ease-in-out infinite;
}

.heading p {
    background: rgb(155,210,240) none repeat scroll 0 0;
    background: linear-gradient(333deg, rgba(155,210,240,0.85) 0%, rgba(125,125,220,0.85) 100%);

    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    color: #fff;
    display: inline;
    font-weight: 300;
    line-height: 1.75em;
    padding: 0 1em;

    font-family: 'Paytone One';
    font-size: 3em;

    


    -webkit-mask-image: linear-gradient(-75deg, rgba(0,0,0,.8) 30%, #000 50%, rgba(0,0,0,.8) 70%);
    -webkit-mask-size: 200%;
    animation: shine 8s linear infinite;
}


@keyframes float {
	0% {
		transform: translatey(0px), rotate(-5deg);
	}
	50% {
		transform: translatey(-20px);
        transform: rotate(3deg);
	}
	100% {
		transform: translatey(0px), rotate(-5deg);
	}
}


.glowy {
    /*
    position: relative;
    width: auto;
    height: auto;
    margin: 2em;
    padding: 2em 5em;
    background: linear-gradient(90deg,#5bcedf, #f96161, #fc8f46, #36e494);
    background-size: 400%;
    border-radius: 30px;
    border: none;
    */
    z-index: 1;

    position: absolute;
    bottom: 10%;
    left: 50%;

    transform: translate(-50%,-50%);
    width: auto;
    height: 60px;
    text-align: center;
    line-height: 60px;
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: sans-serif;
    box-sizing: border-box;
    background: linear-gradient(90deg,#5bcedf, #f96161);
    background-size: 400%;
    border-radius: 30px;
    z-index: 1;

    font-family: 'Lemon';
    font-size: 1.25em;

    animation: glowy 8s linear infinite;
}

.glowy::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(90deg,#5bcedf, #f96161, #fc8f46, #36e494);
    background-size: 400px;
    border-radius: 40px;
    opacity: 0;
    transition: 0.5s;
    filter: blur(10px);
    opacity: 1;
}
    

@keyframes glowy {
    0%{
        background-position: 0%;
    }
    100%{
        background-position: 400%;
    }
}



.cta_cont {
    transition: all .25s ease-in;
}
.cta_cont:hover {
    scale: 1.01;
    transform: translateY(-2%);
    -webkit-transform: translateY(-2%);   
}

.cta {
    position: relative;
    background: rgb(200,205,220);
    background: linear-gradient(125deg, rgba(200,205,220,1) 0%, rgba(150,230,225,1) 50%, rgba(195,190,215,1) 100%);
    color: var(--body_top_bgc);
    padding: .5em 4em;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01);
    font-family: "Dosis";
    font-size: 3em;
    margin-top:1em;
    outline: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s ease-in;
}

.cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 15px;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    transform: scale(0.9) translateZ(0);
    filter: blur(15px);
    background: linear-gradient(to left, #ff5770, #e4428d, #c42da8, #9e16c3, #6501de, #9e16c3, #c42da8, #e4428d, #ff5770);
    background-size: 200% 200%;
    -webkit-animation: animateGlow 1.25s linear infinite;
    animation: animateGlow 1.25s linear infinite;
}



@-webkit-keyframes animateGlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}
  
@keyframes animateGlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}


.appear {
    animation-duration: 0.75s;
    animation-delay: 0.5s;
    animation-name: appear-fade;
    animation-timing-function: cubic-bezier(0.26, 0.53, 0.74, 1.48);
    animation-fill-mode: backwards;
}

.appear.glow {
    animation-name: appear-glow;
    animation-timing-function: ease;
}

@keyframes appear-glow {
    0% {
        opacity: 0;
        filter: brightness(3) saturate(3);
        transform: scale(0.8, 0.8);
    }
    100% {
        opacity: 1;
        filter: brightness(1) saturate(1);
        transform: scale(1, 1);
    }
}
.delay { animation-delay: 0.6s; }