:root{
    --primary-color: white;
    --phlay-color: black;
}

html, body, .main, .container{
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    background-color: black;
    font-family: 'Arial', sans-serif;
}

.main{
    display: grid;
    grid-template-rows: 10% 85% 5%;
}

.container{
    display: grid;
    grid-template-columns: 34% 32% 34%;
    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, .content-left{
    background-size: cover;
    display: grid;
    align-items: center;
    text-align: center;
}
.content-left{
    background: url(img/FAZZA_WEBPAGE_LEFT.jpg);
    background-size: cover;
}
.content-right{
    background: url(img/FAZZA_WEBPAGE_RIGHT.jpg);
    background-size: cover;
    display: flex;
    justify-content: start;
    align-items: center;
}
.qrcode{
    width: 35%;
    margin-left: 3%;
}

.pack-header{
    width: 100%;
    display: grid;
    text-align: center;
    align-items: center;
}
.pack-header img{
    width: 100%;
    max-width: 640px;
}

.banner-container{
    width: auto;
    background-color: black;
    display: grid;
    align-items: start;
    justify-items: center;
}

.banner-mobile{
    width: 3%;
    margin: 0 auto 0 auto;
}

.phlay-container{
    align-self: center;
    justify-self: center;
    max-width: 640px;
    width: 100%;
    display: grid;
}

.frame{
    align-self: center;
    justify-self: center;
    margin: auto;
    border: none;
    width: 100%;
    height: 100%;
    background: black;    
}

.header{
    display: flex;
    width: 100%;
    background-color: var(--phlay-color);
    color: var(--primary-color);
    font-family: 'Arial', sans-serif;
    text-align: center;
    font-weight: 400;
    align-items: center;
    justify-content: center;
}
.title{
    margin-top: 1%;
    margin-block-end: 0;
    margin-block-start: 0;
    height: 80%;
    justify-self: center;
}
.subtitle{
    margin: 0;
    font-size: 1.1em;
    margin-block-end: 0;
    margin-block-start: 0;
    letter-spacing: 3px;
}

.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: var(--phlay-color);
}


/* MOBILE PORTRAIT */
@media only screen and (max-width: 480px){
	body{
		background: black;
	}
	
    .content-right, .content-left, .header, .pack-header, .countdown, #info-container{
        display: none;
    }
    
    .phlay-container{
        height: 100%;
        width: 100%;
    	background: black;
    }

    .frame{
        width: 100%;
        height: 100%;
    }
    
    .footer{
		display: none;
        }
    .banner-mobile{
        display: block;
        width: 20%;
        margin-top: 8%;
    }
    
    .main{
        display: grid;
        grid-template-rows: 100%;
        overflow-y: auto;
    }
    .container{
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 100%;
        overflow-y: scroll;
    }
    
    @media only screen and (min-height: 670px){
        .main{
            overflow-y: auto;
        }       
        .banner-mobile{
            width: 20%;
            margin-top: 0;
            position: absolute;
            bottom: 3%;
        }
            
        .footer{
            display: flex;
            align-items: center;
            justify-content: center;
        }
		
	}

}


/* 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% !important;
    	margin: auto;
    	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: min-content min-content;
        overflow-y: auto;
    }

    .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: black;
    }
    .footer a{
        width: 100%;
    }
    .banner-mobile{
        max-width: 640px;
        width: 15%;
        display: block;
    }

}


/* TABLET LANDSCAPE */
@media only screen and (min-width: 910px) and (max-width: 1366px) and (orientation: landscape){
    
    .content-right, .content-left, .header, .pack-header, .countdown, #info-container{
        display: none;
    }
  
    .main{
        grid-template-rows: min-content min-content;
        overflow-y: auto;
        justify-content: center;
    }

    .container{
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 100%;
    }

    .phlay-container{
        width: 50%;
    	height: 100%;
        margin: auto;
    }
    
    .frame{
        width: 100%;
        height: 100%;
    }

    .footer{
        display: grid !important;
        background: black;
    }
    .banner-mobile{
        display: block;
        width: 10%;
        margin-top: 10%;
    }
    
}