html {
    scroll-behavior: smooth;
    line-height: 1.4;
}


/* navbar  */
@media (max-width:1040px) {

    nav .collapse,
    ul li a {
        color: white;
    }

    .back-video {
        display: none;
    }

    nav {
        background-color: white;
    }

    body {
        padding: 0 7px;
        background: url('bgimg.avif');
        background-size: cover;
    }

    #about {
        padding-right: -90px;
    }

    nav ul {
        color: black;
        font-weight: 500;
        text-align: center;
    }

    #about h1 img {
        display: none;
    }
}

navbar {
    --bs-navbar-padding-x: 119;
}

.navbar img {
    width: 45%;
    margin-left: 5%;
}

nav ul .resume {
    background-color: #9b51e0;
    color: white;
    border-radius: 19px;
    padding: 7px 30px;
}

nav ul .resume:hover {
    background-color: black;
    color: white;
    transition: 0.7s;
}


/* video  */
.back-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

@media (min-aspect-ratio:16/9) {
    .back-video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio:16/9) {
    .back-video {
        width: auto;
        height: 100%;
    }
}




/* about */


#about h1 {
    padding: 5%;
    text-align: center;
    font-size: 160px;
    font-weight: 600;
    color: white;
    transition: .5s;
}

#about h1:hover {
    -webkit-text-stroke: .57px #fff;
    color: transparent;
}

#about h1 img {
    width: 13%;
    opacity: .8;
    border-radius: 100px;
}

#about p {
    /* font-weight: 500; */
    text-align: center;
    color: white;
}

#about .typewrite {
    text-align: center;
    font-size: x-large;
    text-decoration: none;
    color: white;
}


/* projects  */
#project {
    margin: 40px;
    background-color: white;
}


#project {
    padding: 4% 15%;
    text-align: center;
    background-color: #202156;
    color: #fff;
}

/* .proj-image {
    width: 20%;
    border-radius: 100%;
    margin: 10%;
} */

.carousel-item {
    padding: 7% 15%;
}


/* footer  */
.footer a {
    padding: 0 7px;
    color: white;
}


.footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2% 20%;
}
