*{
    padding:0;
    margin:0;
}

.container:{
    font-family: Montserrat,sans-serif;
}


/* banner start */

.banner{
    width:100%;
    height: 100vh;
    background:linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.8)), url(images/banner-bg.jpeg) center no-repeat;
    background-size: cover;
}

/* logo start */

.logo{
    height:80px;
    width:80px;
    position:fixed;
    top:20px;
    left:50px;
    z-index: 100;

}

.logo img{
    width:100%;
}
/* logo end */

/* banner end */

/* navbar start */



.hamburger-menu{
    width:35px;
    height:30px;
    display: flex;
    position:fixed;
    top:40px;
    right:50px;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    z-index: 100;
}

.line{
    width:inherit;
    height:5px;
    background-color: #16c3cf;
    border-radius: 25px;
    transition: all .5s;
}

.line2{
    height: 3px;
}

.top-nav{
    height:15vh;
    width:100%;
    background: linear-gradient(rgba(0,0,0,.8),rgba(0,0,0,.8)),url(images/nav-bg.jpeg) no-repeat 50% 0;
    background-size: cover;
    position: fixed;
    top: -15vh;
    z-index: 50;
    transition:all .4s;

}

.change .top-nav{
    top:0;
}

.change .line1{
    transform:rotateZ(-45deg);
    transform-origin: right;
}

.change .line3{
    transform:rotateZ(45deg);
    transform-origin:right ;
}

.change .line2{
    transform:translateX(5px) translateY(20px);
}

.nav-list{
    list-style: none;
    width:80%;
    margin: auto;
    height: inherit;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.nav-link{
    text-decoration: none;
    font-size: 30px;
    font-family: 'Slabo 27px',serif;
    text-transform: uppercase;
    color:#ccc;
    letter-spacing: 1px;
    padding: 5px 10px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .3s;
    display: block;
    transform-origin: top;
    background-color: #000;
}

.nav-link::after{
    content:attr(data-text);
    position: absolute;
    left:0;
    bottom: -100%;
    background-color: #000;
    padding:inherit;
    color:#16c3cf;
    transform:rotateX(-90deg);
    transform-origin: top;

}


.nav-list li{
    perspective: 500px;
}

.nav-link:hover{
    transform:rotateX(90deg);
}

/* navbar end */

/* start 3d button */

.btn-wrapper{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    perspective: 1000px;
}

.banner-btn{
    width:350px;
    height:100px;
    background:linear-gradient(#16c3cf,#156469);
    border:none;
    outline:none;
    font-family: 'Slabo 27px',serif;
    font-size: 35px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color:#fff;
    text-shadow: 0 10px 10px #000;
    cursor: pointer;
    transform: rotateX(70deg) rotateZ(30deg);
    transform-style: preserve-3d;
    transition: transform .5s;
    
}

.banner-btn::before{
    content:"";
    height:15px;
    width:100%;
    position:absolute;
    background-color:#156469;
    bottom:0;
    left:0;
    transform: rotateX(90deg);
    transform-origin: bottom;
}

.banner-btn::after{
    content:"";
    height:100%;
    width:15px;
    position:absolute;
    background-color:#16c3cf;
    top:0;
    right:0;
    transform: rotateY(-90deg);
    transform-origin:right;
}

.banner-btn:hover{
    transform: rotateX(30deg) rotateZ(0deg);
}

/* end 3d button */

/* bottom navigation */

.bottom-nav{
    width:100%;
    height:85vh;
    background: linear-gradient(rgba(0,0,0,.8),rgba(0,0,0,0.8)), url(images/nav-bg.jpeg)50% -15vh;
    background-size: cover;
    position:fixed;
    bottom:-85vh;
    transition:all .4s;
}
.change .bottom-nav{
    bottom:0;
}

.icons{
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    list-style: none;
    display:flex;
    width:70%;
    justify-content: space-between;
}

.icon-item{
    perspective: 1000px;
}

.icon-link{
    width:200px;
    height:200px;
    border:5px solid #fff;
    display:flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 5px;
    transform-style: preserve-3d;
    transition: transform .5s;
}

.icon-link i{
    color:#fff;
    font-size: 40px;
    width:100px;
    height: 100px;
    background-color: #555;
    display: flex;
    justify-content: center;
    align-items: center;
    border:3px solid #fff;
    text-shadow: 0 10px 20px rgba(0,0,0,.5);
    transition: all .5s;
    position: relative;
    overflow: hidden;
}

.icon-link:hover i{
    transform: rotateY(-70deg);
    text-shadow: 10px 0px 20px rgba(0,0,0,.5);
}

.icon-link i::after{
    content: '';
    height: 100%;
    width:100%;
    position: absolute;
    top:-130%;
    right:-130%;
    border-radius: 100%;
    transition: all .3s;
    z-index: -1;
}

.icon-item:nth-child(1) .icon-link i::after{
    background-color: #3b5999;
}
.icon-item:nth-child(2) .icon-link i::after{
    background-color: #cd201f;
}
.icon-item:nth-child(3) .icon-link i::after{
    background-color: #55acee;
}
.icon-item:nth-child(4) .icon-link i::after{
    background-color: #dd4b39;
}

.icon-link:hover i::after{
    top:0;
    right:0;
    border-radius: 0;
}

.icon-link:hover{
    transform: rotateY(35deg);
}


.icon-link::before{
    content: '';
    height:25px;
    width:5px;
    background-color: #fff;
    position: absolute;
    top:0;

}

.icon-link::after{
    content: '';
    height:25px;
    width:5px;
    background-color: #fff;
    position: absolute;
    bottom:0;

}



/* end of bottom navigation */



/* responsive design */

@media(max-width:1600px){
    .icons{
        width:80%;
    }
}

@media(max-width:1200px){
    .top-nav{
        background: #010101;
    }

    .nav-list{
        justify-content: center;
    }

    .nav-link{
        font-size: 25px;
    }

    .icons{
        width:70%;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
    }

    .icon-link{
        width:180px;
        height:180px;
        margin:20px;
    }

    .icon-link i{
        width:130px;
        height:130px;
        font-size: 40px;
    }

}

@media(max-width:900px){
    .banner-btn{
        width:300px;
        height:80px;
        font-size: 30px;
    }

    .top-nav{
        height:25vh;
        top:-25vh;
    }

    .bottom-nav{
        height:75vh;
        bottom:-75vh;
    }

    .nav-list{
        width:70%;
        flex-wrap: wrap;
        align-content: center;

    }

    .nav-link{
        margin:3px 0;
    }

    .icons{
        width:95%;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
    }

    .icon-link{
        width:180px;
        height:180px;
        
    }

    .icon-link i{
        width:90px;
        height:90px;
        font-size: 30px;
    }
}


@media(max-width:700px){
    .nav-list{
        width:60%;
    }

    .icon-link{
        width:120px;
        height:120px;
        
    }

    .icon-link i{
        width:70px;
        height:70px;
    }
}

@media(max-width:550px){
    .banner-btn{
        width:180px;
        height:70px;
        font-size: 25px;
    }

    .logo{
        width:70px;
        height:70px;
        left:30px;
    }

    .top-nav{
        height:30vh;
        top:-30vh;

    }

    .bottom-nav{
        height: 70vh;
        bottom: -70vh;

    }

    .icon-link{
        width:110px;
        height:110px;
        
    }

    .icon-link i{
        width:60px;
        height:60px;
    }
}

@media(max-width:450px){
    .banner-btn{
        width:260px;
        height:60px;
    }
    .top-nav{
        height:35vh;
        top:-35vh;

    }

    .bottom-nav{
        height: 65vh;
        bottom: -65vh;

    }

    .nav-list{
        width:50%;
    }

}