*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    font-family: 'Poppins', sans-serif;
}
body{
    /* display: flex; */
    min-height: 100vh;
    /* background: #333; */
    background-image: url('/img/pexels-pixabay-531880.jpg');
}
#side{
    display: flex;
}
.side{
    /* padding-left: 870px; */
    padding-top: 20%;
    margin-left: 80px;
}
.card{
    position: relative;
    width: 350px;
    height: 190px;
    background: #333;
    transition: 0.5s;
}
.card:hover{
    height: 450px;
}
.card .lines{
    position: absolute;
    inset: 0;
    background: #000;
    overflow: hidden;
}
.card .lines::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 600%;
    height: 120px;
    background: linear-gradient(transparent,#45f3ff,#45f3ff,#45f3ff,transparent);
    animation: animate 4s linear infinite;
}
@keyframes animate
{
    0%
    {
        transform: translate(-50%,-50%) rotate(0deg);
    }
    100%
    {
        transform: translate(-50%,-50%) rotate(360deg);
    }
}

.card .lines::after{
    content: '';
    position: absolute;
    inset: 2px;
    background: #292929;
}
.card .imgbx{
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: #000;
    transition: 0.5s;
    z-index: 10;
    overflow: hidden;
}
.card:hover .imgbx{
    width: 250px;
    height: 250px;
}
.card .imgbx::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 150px;
    transform: translate(-50%,-50%);
    background: linear-gradient(transparent,#f03671,#ff3c7b,#ff3c7b,transparent);
    animation: animate2 6s linear infinite;
}
@keyframes animate2
{
    0%
    {
        transform: translate(-50%,-50%) rotate(360deg);
    }
    100%
    {
        transform: translate(-50%,-50%) rotate(0deg);
    }
}
.card .imgbx::after{
    content: '';
    position: absolute;
    inset: 3px;
    background: #292929;
}
.card .imgbx img{
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    filter: grayscale(1);
    transition: 0.5s;
}
.card .imgbx img:hover{
   filter: grayscale(0);
}
.card .content{
    position: absolute;
    /* width: 100%; */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}
.card .content .details{
    padding: 40px;
    text-align: center;
    /* width: 100%; */
    transition: 0.5s;
    transform: translateY(145px);
}

.card:hover .content .details{
    transform: translateY(0px);
}
.card .content .details h2{
    font-size: 1.25em;
    font-weight: 600;
    color: #45f3ff;
    line-height: 1.2em;
}
.card .content .details h2 span{
    font-size: 0.75em;
    font-weight: 500;
    color: #fff;

}
.card .content .details .data{
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}
.card .content .details .data h3{
    font-size: 1em;
    color: #45f3ff;
    line-height: 1.2em;
}
.card .content .details .data h3 span{
    font-size: 0.85em;
    font-weight: 400;
    color: #fff;
}
.card .content .details .actionBtn{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.card .content .details .actionBtn button{
    padding: 10px 30px ;
    border: none;
    outline: none;
    border-radius: 5px;
    font-weight: 500;
    background: #45f3ff;
    color: #222;
    cursor: pointer;
    opacity: 0.9;
}
.card .content .details .actionBtn button:nth-child(2){
    background: #fff;
}
.card .content .details .actionBtn button:hover{
    opacity: 1;
}



/* inside */
.inside{
    border-right: 2px solid #45f3ff;
    border-left: 2px solid #45f3ff;
    border-top: 2px solid #45f3ff;
    border-bottom: 2px solid #45f3ff;
    padding-top: 40rem;
    width: 800px;
    margin-top: 50px;
    margin-left: 30px;
}
.logo{
    font-size: 70px;
    font-weight: 900;
    font-style: inherit;
    color: transparent;
    padding-right: 100px;
    margin-top: 20px;
    margin-left: 20px;
    -webkit-text-stroke: 1px white;
    background: url('/img/pexels-pixabay-531880.jpg');
    -webkit-background-clip: text;
    background-position: 0 0;
    animation: back 27s linear infinite;
    font-size: 35px;
}

@keyframes back{
    100%{
        background-position: 2000px 0;
    }
}


.logo em{
    color: rgb(16, 238, 16);
}
header{
    color: #000;
    position: absolute;
    top: 30px;
    display: flex;
    margin-top: 20px;
    height: 100px;
    background-color: #45f3ff;
}
header{
    width: 800px;
    border-bottom: 1px solid #45f3ff;

}
.navbar ul{
    display: flex;
    margin-left: 100px;
    margin-top: 30px;
}
.navbar ul li a{
    color: black;
    transition: 0.4s;
}
.navbar ul li a:hover{
    border-bottom: 2px solid #000;
    color: wheat;
}
.navbar ul li{
    margin-left: 30px;
    font-size: 20px;
}
.box-img{
    position: absolute;
    top: 300px;
    margin-left: 20px;
    display: flex;
}
.box-img img{
    width: 250px;
    height: 200px;
    margin-left: 10px;
    border: 2px solid #45f3ff;
    border-radius: 20px 0px 20px 0px;
}
.box-img img:hover{
    border: 3px solid  beige;
}
.img-1 a{
    padding: 10px;
    background-color: #45f3ff;
    border-radius: 20px 0px 20px 0px;
    transition: 0.5s ;
    color: #000;
}
.img-2{
    padding-right: 7rem;
}
.img-1{
    position: relative;
    right: 2rem;
}
.img-1 a:hover{
    background-color: white;
    color: #000;
}
.img-1 span{
    position: relative;
    top: 2rem;
    right: 10rem;
}

.img-2{
    position: relative;
    right: 6rem;
}
.img-2 a{
    padding: 10px;
    background-color: #45f3ff;
    border-radius: 20px 0px 20px 0px;
    transition: 0.5s ;
    color: #000;
}
.img-2 a:hover{
    background-color: white;
    color: #000;
}
.img-2 span{
    position: relative;
    top: 30px;
    right: 8rem;
}
.img-3{
    position: relative;
    right: 18rem;
}
.img-3 a{
    padding: 10px;
    background-color: #45f3ff;
    border-radius: 20px 0px 20px 0px;
    transition: 0.5s ;
    color: #000;
}
.img-3 a:hover{
    background-color: white;
    color: #000;
}
.img-3 span{
    position: relative;
    top: 30px;
    right: 8rem;
}
.button{
    padding-left: 20rem;
    position: relative;
    bottom: 3rem;
}
.button span{
    padding: 10px;
    background-color: #45f3ff;
    color: #000;
    border-radius: 20px 0px 20px 0px;
    transition: 0.5s;
}
.button a{
    color: #000;
    transition: 0.5s;
}
.button span:hover{
    background-color: #fff;
    font-size: 18px;
}

.wrapper{
    display: inline-block;
    position: absolute;
    top: 160px;
    padding-left: 10px;
    height: 100px;
    width: 60.1%;
}
.wrapper .static-txt{
    font-size: 60px;
    color: #fff;
    font-weight: 400;
}
.wrapper .dynamic-txts{
    margin-left: 8rem;
    position: relative;
    bottom: 5rem;
    height: 90px;
    line-height: 90px;
    overflow: hidden;
}
.dynamic-txts li{
    list-style: none;
    font-size: 60px;
    font-weight: 500;
    color: #45f3ff;
    position: relative;
    top: 0;
    animation: slide 6s steps(4) infinite;
}
@keyframes slide{
100%{
    top: -360px;
}
}
.dynamic-txts li span{
    position: relative;
}
.dynamic-txts li span::after{
    content: '';
    /* position: absolute; */
    height: 110%;
    width: 100%;
    /* border-left: 2px solid #45f3ff; */
    left: 0;
    animation: typing 1.5s steps(6) infinite;
}
@keyframes typing{
    100%{
        left: 100%;
        margin: 0 -35px 0 35px;
    }
}

@media screen and (max-width:640px){
    *{
        width: 100%;
    }
    .inside{
        height: 900px;
    }
    header{
        width: 300px;
        font-size: 18px;
    }
    .inside{
        width: 250px;
        padding-right: 50px;
    }
    .navbar ul li{
        margin-left: 20px;
        width: 65px;
    }
    .navbar ul {
        font-size: 18px;
        display: flex;
        padding-top: 40px;
        position: relative;
        right: 80px;
    }
    .navbar ul li a{
        font-size: 15px;
        position: relative;
        right: 12rem;
        bottom: 1rem;
        margin: 3px;
        display: flex;
        font-size: 12px;
    }
    .logo{
        position: relative;
        left: 100px;
        display: flex;
        font-size: 20px;
        bottom: 20px;
        text-align: center;
        color: bisque;
        -webkit-text-stroke: 1px white;
        background: url('/img/pexels-pixabay-531880.jpg');
        -webkit-background-clip: text;
        background-position: 0 0;
        animation: back 27s linear infinite;
        color: transparent;
    }
    
    @keyframes back{
        100%{
            background-position: 2000px 0;
        }
    }
    
    .wrapper{
        padding-right: 30px;
    }
    .static-txt{
        font-size: 18px;
    }
    .dynamic-txts li{
        font-size: 40px;
    }
    .dynamic-txts{
        position: relative;
        right: 35px;
        padding-top: 13px;
    }
    .wrapper .static-txt{
        font-size: 40px;
    }
    .box-img{
        display: block;
        justify-content: space-between;
        padding-bottom: 40rem;
        padding-top: 8rem
    }
    .img-1 {
        padding-bottom: rem;
        position: relative;
        bottom: 8rem;
        left: 3px;
    }
    .img-2{
        position: relative;
        left: 2px;
    }
    .img-3{
        left: 6px;
        top: 50px;
    }
    .box-img img{
        border: 2px solid #45f3ff;
        border-radius: 20px 0px 20px 0px;
    }
    .button{
        position: relative;
        right: 15rem;
        top: 35rem;
    }
    #follow-us{
        position: relative;
        right: 24rem;
        top: 1300px;
        height: 10rem;
    }
    .card{
        width: 300px;
    }
    .imgbx{
        width: 100px;
        height: 100px;
    }
    .content{
        font-size: 17px;
    }

}
