*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
/*Контент в боксах*/
.boxImg{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/*Картинки контента боксов*/
.boxImg img{
    width: 100%;
    height: 100%;
}

/*Шапка*/
.hBlock{                      
    position: absolute;
    top:2px;
    left: 10px;
    right: 10px;
    bottom: 86%; 
    background-color: #dfe6e9;
    overflow: hidden;
}
/*Логотип*/
.logo{
    position: absolute;
    widows: 100%;
    height: 100%;
    top: 1%;
    left: 20%;
    right: 60%;
    bottom: 10%;
        
}
.logo img{
    width: 100%;
    height: 100%;
}
/*Текст шапки*/
.hBlock h1{
/*
    position: absolute;
    top: 20%;
    left: 45%;
*/
    text-align: center;
    color: black;
    
    
    
    
}

.hBlock:hover h1{
    transform: scale(1.2)  ;
    transition: 3s;
}


/*Основной блок*/
.mainBlock{                     
    position: absolute;
    top:15%;
    left: 5px;
    right: 5px;
    bottom: 5px;
}

/*Левый блок*/
.lBlock{                      
    position: absolute;
    top:0%;
    left: 5px;
    right: 50%;
    bottom: 0px;
    background-color: #534858;   
}

/*Правый блок*/
.rBlock{                      
    position: absolute;
    top:0%;
    left: 50%;
    right: 5px;
    bottom: 0px;
    background-color: #607D8B;
    transition: 5s;
}
/*Контейнер который будет закрывать боксы*/
.container{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.container:before, .container:after{
    content: '';
    width: 450px;
    height: 450px;
    position: absolute;
    top: 15%;
    left: 0;
    background: blue;
    opacity: .1;
    transition: 1s;
}
.container:before {
    transform: translateX(355%) rotate(45deg);
}
.container:after {
    transform: translateX(-155%) rotate(45deg);
}
/*Текст который должен появиться*/
.text{
    position: absolute;
    top:30%;
    color: white;
    text-align: center;
}
.text h1{
    transform: scale(0);
    transition: .5s;
}
/*Фрейм перед наведением для левого блока*/
.frameBox{
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: #474a51;
    top: 30%;
    left: 33%;
    opacity: 0.7;
}
.frameBox{
    transform: scale(2.5) rotate(45deg);
    transition:1.5s;
}

.boxImg:hover .frameBox{
    transform: scale(0) rotate(-225deg);
    transition: .5s;
}

/*Фрейм перед наведением для правого блока*/
.frameBox2{
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: #474a51;
    top: 30%;
    left: 30%;
    opacity: 0.7;
}
.frameBox2{
    transform: scale(2.5) rotate(45deg);
    transition:1.5s;
}

.boxImg:hover .frameBox2{
    transform: scale(0) rotate(-225deg);
    transition: .5s;
}
/*Основной текст на блоках*/
.mainText{
    position: absolute;
    text-align: center;
    color: azure;
    top: 30%;
    transition: .5s;
}
.boxImg:hover .mainText{
    transform: scale(0) rotate(-225deg);
    transition:.5s;
}

.boxImg:hover img{
    transform: scale(1.5);
    transition: .5s;
}
.boxImg:hover .container::before{
    transform: translateX(50%) rotate(135deg) scale(2);
    background-color: maroon;
    transition: 1s;
    opacity: .6;
    
}
.boxImg:hover .container::after{
    transform: translateX(5%) rotate(135deg) scale(2);
    background-color: brown;
    transition: 1s;
    opacity: .6;
}
.boxImg:hover .text h1 {
    transform: scale(1);
    transition: 1s;
}
/*Footer*/
footer {
        position: absolute;
        height: 300px;
        width: 100%;
        background-color: #333333;
    }

    p.copyright {
        position: absolute;
        width: 100%;
        color: black;
        line-height: 40px;
        font-size: 0.7em;
        text-align: center;
        bottom:-20px;
    }