*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'poppins';
}

:root{
    --primary-color: black;
}

body{
    background-color:#e0e0e0;
}

.header{
    min-height: 80px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 8%;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    z-index: 99;
}
.header .logo a{
    font-size: 1.3rem;
    font-weight: 600;
    color: #535353;
}
.header .logo a span{
    color: var(--primary-color);
}

ul li{
    display: inline-block;
}

ul li a{
    margin: 0 10px;
    padding: 0 5px;
    color: #535353;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
}

ul li a::after{
    position: absolute;
    content: "";
    height: 2px;
    width: 0%;
    bottom: 0;
    left: 5px;
    transition: .6s;
    background-color: var(--primary-color);
    border-radius: 3px;
}
ul li a:hover:after{
    width: 85%;
}

.header .fa-bars{
    font-size: 1.3rem;
    color: var(--primary-color);
    display: none;
}

.hero{
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 0 8%;
    align-items: center;
    min-height: 570px;
}

.hero .content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    flex: 50%;
}

/* fade animation  */
 
@keyframes fade{
    85%{
        opacity: 1;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}



.hero .content h1{
    font-size: 3.4rem;
    color: #4169E1;
    line-height: 1.5rem;
    animation: fade 3s forwards;
    transform: translateX(-100px);
    opacity: 0;
}
.hero .content h4{
    font-size: 25px;
    color: black;
    animation: fade 4s forwards;
    transform: translateX(-50px);
    opacity: 0;
}
.hero .content p{
    width: 80%;
    animation: fade 5s forwards;
    transform: translateX(-50px);
    opacity: 0;
}
.hero .content button{
    height: 50px;
    width: 200px;
    padding: 8px 28px;
    border-radius: 3px;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    transition: .6s;
    margin-bottom: 10px;
    animation: fade 6s forwards;
    transform: translateX(-50px);
    opacity: 0;
}
.hero .content button:hover{
    background-color: whitesmoke;
    color: var(--primary-color);
}

.icons i{
    font-size: 20px;
    background-color: var(--primary-color);
    padding: 10px;
    margin-right: 10px;
    border-radius: 50%;
    color: #fff;
    transition: .6s;
    margin-bottom: 20px;
}
.icons i:hover{
    transform: translateY(-8px);
}

.hero-image{
    height: 400px;
    width: 400px;
    border: 2px solid var(--primary-color);
    position: relative;
    border-radius: 50%;
}
.hero-image img{
    border-radius: 50%;
    height: 100%;
    width: 100%;
    padding: 30px;
    transition: all 0.5s;
    transform: scale(0.9);
    animation: zoomout 3s infinite;
}
.hero-image span{
    height: 50px;
    width: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    position: absolute;
    transition: all 0.5s;
    animation: turnanim 2s infinite;
}
.hero-image span i{
    color: #fff;
    font-size: 20px;
}
.hero-image span:nth-of-type(1){
    top: -30px;
    left: 40%;
}

.hero-image span:nth-of-type(2){
    top: 60%;
    right: -5%;
}

.hero-image span:nth-of-type(3){
    top: 60%;
    left: -5%;
}
/* animations */

@keyframes zoomout{
    100%{
        transform: scale(1);
    }
    0%{
        transform: scale(0);
    }
}

@keyframes turnanim{
    0%{
        transform: rotate(20deg);
    }
    50%{
        transform: rotate(-20deg);
    }
    100%{
        transform: rotate(20deg);
    }
}

@media(max-width:1280px){
    .hero{
        min-height: 720px;
    }
    .hero .content h1{
        font-size: 3rem;
    }
}

@media(max-width:900px){
    .header .fa-bars{
        display: block;
    }

    ul{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        border-bottom: 2px solid var(--primary-color);
        opacity: 0;
        transition: .6s;
    }
    ul li{
        display: block;
        margin: 10px 0;
        padding: 5px 0;
    }
    .show{
        opacity: 1;
    }
    .content h1{
        font-size: 2.3rem;
        margin-top: 50px;
        line-height: 1.3rem;
    }.hero{
        flex-direction: column-reverse;
    }
    .hero .content p{
        width: 100%;
        font-size: 1.1rem;
    }
    .hero .hero-image{
        height: 380px;
        width: 380px;
        margin-top: 50px;
        margin-bottom: 30px;
    }
}

@media(max-width:555px){
    .hero .content h1{
        font-size: 1.5rem;
    }
    .hero .content h4{
        font-size: 1rem;
    }
    .hero .content p{
        font-size: 0.9rem;
    }
    .hero .hero-image{
        height: 250px;
        width: 250px;
        margin-top: 80px;
    }
    .hero .content button{
        height: 45px;
        width: 180px;
        font-size: 1rem;
     
    }
}




