* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font: 400 14px 'poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 30px;
    color: #727272;
    font-size: 16px;
    font-weight: 300;
    overflow-x: hidden;
}

section {
    display: block;
}

.home {
    width: 100%;
    height: 100vh;
    position: fixed;
    overflow: hidden;
    background-size: cover;
    z-index: 0;
}

.gradient-overlay1 {
    opacity: 0.7;
    background: linear-gradient(to right,
            #f45c43, #eb3349);
    height: 100%;
    position: fixed;
    width: 100%;
    animation: bg infinite 15s;

}

@keyframes bg {
    0% {
        background: linear-gradient(to right, #f45c43, #eb3349);
    }

    20% {
        background: linear-gradient(to right, #1a2980, #26d0ce);
    }

    40% {
        background: linear-gradient(to right, #aa076b, #61046f);
    }

    60% {
        background: linear-gradient(to right, #c31432, #240b36);
    }

    80% {
        background: linear-gradient(to right, #1a2980, #eb3349);
    }

    100% {
        background: linear-gradient(to right, #8e2de2, #4a00e0);
    }
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
}

.name-block {
    position: absolute;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: table;
    transition: all 0.5s;
    z-index: 1;
}

.name-block-container {
    display: table-cell;
    vertical-align: middle;
    padding-left: 240px;
    transform: rotate(34deg);
    -webkit-transform: rotate(34deg);
}

h1 {
    letter-spacing: 1px;
    font-size: 50px;
    line-height: 60px;
}

.name-block-container h1 span {

    font-size: 26px;
    font-weight: 300;
    display: block;
    text-transform: capitalize;
}

.name-block-container h1,
.name-block-container h2 {
    text-transform: capitalize;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.name-block-container h2 {
    font-size: 26px;
    min-height: 26px;
}

.btn {
    line-height: 1.25;
    border: 2px solid transparent;
    border-radius: 0;
    padding-left: 12px 28px;
    margin: 20px 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    position: relative;
    color: #fff;
    background: #333;
    z-index: 20;
    letter-spacing: 2px;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    text-decoration: none;
}

.btn-download {
    border: none;
    font-size: 14px;
    padding: 16px 25px 16px 25px;
}

.btn-download:hover {
    border: none;
    color: #fff;
    background-color: #333;
    letter-spacing: 2px;
}

.btn-download:before {
    position: absolute;
    /* content: '\f407'; */
    font-family: 'Ionicons';
    top: 12px;
    right: 16px;
    font-size: 24px;

}

.btn-download:hover:before {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-name: fadeOutDown;
    transform-origin: center bottom;
}

.btn-download:after {
    content: "";
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
    right: 0;
    top: 0;
    height: 100%;
    width: 0;
    z-index: -1;
    transition: all .3s;
}

.btn-download:hover:after {
    width: 50px;
    height: 70px;
    right: -5px;
    top: -5px;
    transform: rotate(15deg);
}

.social {
    position: absolute;
    bottom: 15%;

}

ul {
    margin-top: 0;
    margin-bottom: 1rem;
    list-style: none;
    padding-left: 0;
}

.social li {
    display: inline-block;
    margin-right: 2px;
    text-align: center;

}

.social a {
    border: 2px solid #fff;
    color: #fff;
    display: inline-block;
    height: 35px;
    width: 35px;
    transition: all 0.5s;
    text-decoration: none;

}

.social li i {
    line-height: 32px;
    font-size: 12px;

}

.social a:hover {
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid transparent;
    color: #333;
}



/* --------------------> */
.menu-blocks {
    transition: all 0.5s;
    cursor: pointer;
}

.about-block {
    position: absolute;
    width: 430px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: table;
    transition: all 0.5s;
    z-index: 99;
}

.about-block-container {
    display: table-cell;
    vertical-align: middle;
    padding: 150px 0 0 70px;
    transform: rotate(34deg);
}

.about-block:hover {
    border: 15px solid rgba(255, 255, 255, 0.1);

}

h2.menu-item {
    position: relative;
    color: rgb(253, 253, 253);
    margin: 50px;
    font-size: 28px;
    font-weight: 600;
    transition: all 1s ease-out;
}

h2.about.menu-item:before {
    /* content: '01'; */
    
    
}

h2.menu-item:before {
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 14px;
    transition: all 0.5s ease;
    text-decoration: none;
}

h2.menu-item:after {
    position: absolute;
    content: '';
    top: -10px;
    left: -20px;
    width: 70px;
    height: 1px;
    background: transparent;
    transition: all 0.5s ease;
    text-decoration: none;
}

.menu-block:hover h2.menu-item:before {
    top: -20px;
    left: -40px;
}

.menu-block:hover h2.menu-item:after {
    top: 12px;
    left: -40px;
}

.menu-blocks:hover {
    background: rgba(255, 255, 255, 0.1)s;
}

/* -------------------> */

.portfolio-block {
    position: absolute;
    width: 430px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: table;
    transition: all 0.5s;
    z-index: 1;

}

.portfolio-block-container {
    display: table-cell;
    vertical-align: middle;
    transform: rotate(34deg);
    text-decoration: none;
}

.portfolio-block:hover {
    border: 15px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

h2.portfolio.menu-item:before {
    /* content: '02'; */
    
}

.blog-block {
    position: absolute;
    width: 430px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: table;
    transition: all 0.5s;
    z-index: 1;
}

.blog-block:hover {
    border: 15px solid rgba(255, 255, 255, 0.1);
}

.blog-block-container {
    display: table-cell;
    vertical-align: middle;
    padding-left: 50px;
    transform: rotate(34deg);
}

h2.blog.menu-item:before {
    /* content: '03'; */
}

.contact-block {
    position: absolute;
    width: 430px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: table;
    transition: all 0.5s;
    z-index: 1;

}

.contact-block-container {
    display: table-cell;
    vertical-align: middle;
    transform: rotate(34deg);
}

.contact-block:hover {
    border: 15px solid rgba(255, 255, 255, 0.1);
}

h2.contact.menu-item:before {
    /* content: '04'; */
}





/*++++++++++ Rotate++++++++++****/

@media(max-width:1919px) and (min-width:1280px) {
    .name-block {
        transform: rotate(-34deg);
        left: -190px;
        top: 10px;
    }

    .about-block {
        transform: rotate(-34deg);
        left: 382px;
        top: -151px;
    }

    .portfolio-block {
        transform: rotate(-34deg);
        left: 577px;
        top: 89px;
    }

    .blog-block {

        transform: rotate(-34deg);
        left: 772px;
        top: 428px;
    }

    .contact-block {

        transform: rotate(-34deg);
        left: 1067px;
        top: 48px;
    }
}



/**============Responsive==========**/



@media (min-width:1280px) and (max-width:1920px) {
    .name-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: -190px;
        top: 10px;
    }

    .about-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 382px;
        top: -151px;
    }

    .portfolio-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 577px;
        top: 89px;
    }

    .blog-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 772px;
        top: 428px;
    }

    .contact-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 1067px;
        top: 48px;
    }
}


@media (min-width:1025px) and (max-width:1280px) {
    .name-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: -200px;
        top: -80px;
    }

    .about-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 419px;
        top: -160px;
        width: 350px;
        height: 300px;
    }

    .portfolio-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 586px;
        top: 88px;
        width: 350px;
        height: 300px;
    }

    .blog-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 753px;
        top: 335px;
        width: 350px;
        height: 300px;
    }

    .contact-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 900px;
        top: -70px;
        width: 350px;
        height: 300px;
    }
}

@media (min-width:981px) and (max-width:1024px) {
    .name-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: -190px;
        top: 10px;
    }

    .about-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 382px;
        top: -150px;
    }

    .portfolio-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 577px;
        top: 89px;
    }

    .blog-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 772px;
        top: 428px;
    }

    .contact-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 365px;
        top: 538px;
    }
}

@media (max-width:1024px) {
    .name-block-container h1 {
        font-size: 40px;
        line-height: 1.1;
    }

    .name-block-container h1 span,
    .name-block-container h2 {
        font-size: 22px;
        min-height: 22px;
    }

}

@media (min-width:768px) and (max-width:980px) {
    .name-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: -190px;
        top: 10px;
    }

    .about-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 382px;
        top: -150px;
    }

    .portfolio-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 577px;
        top: 89px;
    }

    .blog-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 336px;
        top: 548px;
    }

    .contact-block {
        -ms-transform: rotate(-34deg);
        -webkit-transform: rotate(-34deg);
        transform: rotate(-34deg);
        left: 9px;
        top: 780px;
    }

}

@media (max-width:800px) and (orientation:landscape) {
    .home {
        background: url(../images/bg.html) #333 30% 30%;
        overflow-y: scroll;
    }

    .name-block,
    .about-block,
    .portfolio-block,
    .blog-block,
    .contact-block {
        position: relative;
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        width: 100%;
        height: auto;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        display: table;
        left: 0;
        top: 0;
    }

    .contact-block {
        border-bottom: none;
    }

    .name-block-container,
    .about-block-container,
    .portfolio-block-container,
    .blog-block-container,
    .contact-block-container {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        padding: 0 0 0 0;
    }

    h2.menu-item {
        line-height: 3em;
        margin-bottom: 0;
        display: block;
    }

    h2.menu-item:after {
        position: absolute;
        content: '';
        top: 15px;
        left: -20px;
        width: 70px;
        height: 1px;
        background: #FFF;
        transition: all 0.5s ease;
    }

    .social {
        position: relative;
        margin: 50px 0;
    }


}

@media (max-width:800px) {

    .name-block {
        padding-top: 30px;
    }

    .name-block,
    .about-block,
    .portfolio-block,
    .blog-block,
    .contact-block {
        position: relative;
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        width: 100%;
        height: auto;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        display: table;
        left: 0;
        top: 0;
        /* padding-top: 8px; */
    }

    .contact-block {
        border-bottom: none;
    }

    .about-block:hover,
    .portfolio-block:hover,
    .blog-block:hover,
    .contact-block:hover {
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .name-block-container,
    .about-block-container,
    .portfolio-block-container,
    .blog-block-container,
    .contact-block-container {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        padding: 0 0 0 0;
    }

    h2.menu-item {
        line-height: 3em;
        margin-bottom: 0;
        display: block;
    }

    h2.menu-item:after {
        position: absolute;
        content: '';
        top: 15px;
        left: -20px;
        width: 70px;
        height: 1px;
        background: #FFF;
        transition: all 0.5s ease;
    }

    .menu-block:hover h2.menu-item:before {
        top: -40px;
        left: -20px;
    }

    .menu-block:hover h2.menu-item:after {
        top: 15px;
        left: -20px;
    }

    .menu-block:hover {
        background: rgba(0, 0, 0, 0);
    }

    .social {
        position: relative;
        margin: 50px 0;
    }

    .social {
        bottom: 0;
    }



}

@media (max-width: 767px) {

    .home {
        animation: none;
        height: 100%;
    }

    .menu2 .name-block-container h1 {
        font-size: 40px;
    }

    .menu2 .name-block-container h1 span,
    .menu2 .name-block-container h2 {
        font-size: 22px;
        min-height: 22px;
    }


    .name-block-container h1 span {
        font-size: 22px;
    }

    .name-block-container h1 {
        font-size: 36px;
    }

    .name-block-container h2 {
        font-size: 22px;
        min-height: 22px;
    }

    h2.menu-item {
        font-size: 20px;
        line-height: 2em;
        margin: 25px 0 25px 40px;
    }

    h2.menu-item:before {
        position: absolute;
        top: -20px;
        left: -20px;
        font-size: 14px;
    }

    .menu-block:hover h2.menu-item:before {
        top: -20px;
        left: -20px;
    }

    h2.menu-item:after {
        display: none;
    }

    .social {
        display: none;
    }

}