:root{
    --primary-color: #ff286e;
}

html, body, .main, .container{
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    background-color: black;
}

.main{
    display: grid;
    grid-template-rows: 10% 81% 9%;
}

.container{
    display: grid;
    grid-template-columns: 33.3% 33.4% 33.3%;
    grid-template-rows: 100%;
}

.content-center{
    display: table;
    width: 100%;
    height: 100%;
    align-self: center;
}
.center-cell{
    display: table-cell;
    margin: auto;
    vertical-align: top;
    height:100%;
}


.content-right{
    background: url(img/RCS_WEBPAGE_BKG_RIGHT.jpg) no-repeat;
    background-size: cover;
}
.content-left{
    background: url(img/RCS_WEBPAGE_BKG_LEFT.jpg) no-repeat;
    background-size: cover;
}

.pack-header{
    width: 100%;
}
.phlay-container{
    align-self: start;
    justify-self: center;
    max-width: 640px;
    width: 100%;
    height: 80%;
    display: grid;
}

.frame{
    align-self: center;
    justify-self: center;
    margin: auto;
    border: none;
    width: 100%;
    height: 100%;
    background: black;    
}

.header{
    display: grid;
    width: 100%;
    grid-template-rows: 60% 40%;
    grid-template-rows: 100%;
    background-color: white;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    text-align: center;
}
.title{
    margin: 0;
    font-size: 2.5em;
    margin-block-end: 0;
    margin-block-start: 0;
}
.subtitle{
    margin: 0;
    font-size: 1.1em;
    margin-block-end: 0;
    margin-block-start: 0;
}

.content-img{
    height: 100%;
}

.separator{
    width: 102%;
    align-self: end;
}
.cta{
    width: 100%;
    display: none;
    align-self: end;
}

.logo{
    width: 12%;
    align-items: flex-start;
}

.footer{
    width: 100%;
    display: grid;
    align-items: center;
    justify-items: center;
    background: white;
}
.countdown{
    font-family: Poppins, sans-serif;
    font-size: 1.7em;
    font-weight: 800;
    align-self: end;
    display: flex;
}
.countdown .simply-word{
    display: inline;
}
.countdown > .simply-days-section .simply-word{
    margin-right: 5px;
}

.tutorial-overlay{
    display: none;
    justify-items: center;
    align-items: center;
    position: absolute;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
}
.tutorial-popup{
    display: grid;
    justify-items: center;
    align-items: center;
    background-color: #ff286e;
    bottom: 0;
    width: 13%;
    border-radius: .5em;
}

#iframe-tutorial{
    width: 100%;
    grid-area: 1/1/1/1;
    align-self: start;
    border-radius: .5em;
}

.close-icon{
    display: grid;
    grid-area: 1/1/1/1;
    background-color: #ff286e;
    border-radius: 2em;
    align-items: center;
    justify-items: center;
    z-index: 1000000;
    align-self: start;
    justify-self: end;
    margin-top: -3%;
    margin-right: -3%;
    padding: 10px;
}
#close-icon-svg{
    width: 14px;
}
#info-container{
	display: grid; 
	width: 100%;
}
#info-icon{
    width: 5%;
    justify-self: center;
    align-self: center;
    margin-top: 3%;
}

/* MOBILE PORTRAIT */
@media only screen and (max-width: 480px){
	body{
		background: black;
	}
	
    .content-right, .content-left, .header, .footer, .pack-header, .countdown, #info-container{
        display: none;
    }
    
    .phlay-container{
        height: 100%;
        width: 100%;
    	background: black;
    }

    .frame{
        width: 100%;
        height: 100%;
    }
    
    
    .main{
        display: grid;
        grid-template-rows: 100%;
    }
    .container{
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 100%;
        overflow-y: scroll;
    }
    
    @media only screen and (min-height: 670px){
		.footer{
			display: grid !important;
			background: var(--primary-color);
        }
        .separator{
            display: none;
        }
        .cta{
            display: block;
        }
		.main{
			 grid-template-rows: 80% 20%;
		}
		
	}

}


/* MOBILE LANDSCAPE */
@media only screen and (max-width: 900px) and (orientation: landscape){

    .main, .container{
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 100%;
    }
    
    .content-right, .content-left, .footer, .header, .pack-header, #info-container{
        display: none;
    }
    
    .center-cell{
    	vertical-align: middle;
    }
    
    .frame{
        width: 100%;
        height: 100%;
    }
    
    .phlay-container{
        width: 100%;
    	height: 100%;
    	margin: auto;
        max-width: 1000px;
    	background: black;
    }
}


/* TABLET PORTRAIT */
@media only screen and (min-width: 481px) and (max-width: 1024px) and (orientation: portrait){
    .content-right, .content-left, .header, .pack-header, .countdown, #info-container{
        display: none;
    }
  
    .main{
        grid-template-rows: 90% 10%;
    }

    .phlay-container{
        width: 100%;
    	height: 100%;
    	margin: auto;
    }
    
    .frame{
        width: 100%;
        height: 100%;
    }
    
    .container{
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 100%;
    }

    .footer{
        display: grid !important;
        background: var(--primary-color);
    }
    .separator{
        display: none;
    }
    .cta{
        display: block;
        width: auto;
        height: 112%;
    }
}


/* TABLET LANDSCAPE */
@media only screen and (min-width: 901px) and (max-width: 1366px) and (orientation: landscape){
    
    .main{
        grid-template-rows: 10% 81% 9%;
    }

    .phlay-container{
        width: 100%;
        height: 40%;
        max-width: 600px;
    	margin: auto;
    }

    #pack-header-ita{
        display: block;
        max-width: 600px;
        margin: auto;
    }
    
    .cta{
        display: none;
        width: auto;
        height: 112%;
    }
}