/*---common css----*/

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url(img/bg.png);
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    background-size: cover;
    color: #333;
}

/*-----navbar section---*/

.nav-section{
    display: flex;
}

.nav-item li{
    display: inline-block;
    padding: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.nav{
    right: 0%;
    position: absolute;
    animation: fadeInUp 1s forwards;
    animation-delay: 1.5s;
    opacity: 0;

}

.logo img{
    width: 100px;
    animation: fadeInUp 1s forwards;
    animation-delay: 1s;
    opacity: 0;
    margin-left: 30px;
}

/*------3d css----*/

.three{
    width: 1000px;
    height: 1000px;
    position: absolute;
    color: red;
    align-items: center;
    justify-content: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 5;
    animation: fadeInUp 4s forwards;
    animation-delay: 4s;
    opacity: 0;
}

.head{
    font-family: "Alfa Slab One", serif;
    font-weight: bolf;
    font-size: 140px;
    position: absolute;
    left: 27%;
    top: 30%;
    animation: fadeInUp 1s forwards;
    animation-delay: 2.3s;
    opacity: 0;
}

.head2{
    font-family: "Alfa Slab One", serif;
    font-weight: bolf;
    font-size: 130px;
    position: absolute;
    left: 57%;
    top: 30%;
    animation: fadeInUp 1s forwards;
    animation-delay: 2.9s;
    opacity: 0;
}

.flower img{
    width: 20%;
    position: absolute;
    left: 55%;
    z-index: -2;
    top: 70%;
    animation: fadeInUp 2s forwards;
    animation-delay: 5s;
    opacity: 0;
}

/*-----responsive----*/

@media (max-width: 768px) {
    .head {
        font-size: 130px;
        left: 6%;
    }

    .head2 {
        font-size: 120px;
        left: 65%;
    }

    .three{
        width: 800px;
        height: 800px;
        top: 50%;
    }
}

/*-------add animation----*/

@keyframes fadeInUp {
    0% {
        opacity: 0;
        }

        100% {
            opacity: 1;
            ;
        }
    }