* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    /* font-family: -apple-system, sans-serif; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-color: #fff;
    --snd-bg-color: #e8b8ec;
    --text-color: #000;
    --main-color: #8a0594;
}


html {
    font-size: 62.5%;
    overflow-x: hidden;

}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.back-duo span {
    color: white;
}

.back-duo {
    display: inline-flex;
    align-items: center;
    gap: -1rem;
    margin-right: auto;
    /* margin-right: auto; */
    /* pushes the .navbar to the right */
    margin-left: 2rem;
    /* this hugs .back-duo to the left */
    text-decoration: none;
    color: var(--bg-color);
    font-size: 1.9rem;
    color: var(--bg-color);
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;

}

/* 
.back-duo:hover {
    transform: scale(1.1);
} */

.back-duo i {
    font-size: 2em;
    margin-top: 0.35rem;
    /* same as text */
}


.back-duo:hover {
    /* color: var(--snd-bg-color); */
    color: var(--snd-bg-color);
    transform: translateY(-2px);
}

.back-duo:hover i,
.back-duo:hover span {
    color: inherit;
}

/*  Container */

/* .project-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 9rem;
    gap: 2rem;
   
}

.project-image img {
   
    margin-top: 3rem;
    width: 80rem;
    height: 40rem;
    
    border-radius: 1rem;
   
}

.project-image p {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.project-details {
    text-align: center;
}  */



:root {
    --bg-color: #fff;
    --snd-bg-color: #e8b8ec;
    --text-color: #000;
    --main-color: #8a0594;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.project-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 2rem;
}

@media(min-width: 768px) {
    .project-container {
        padding: 4rem 6rem;
    }
}

.section {
    display: flex;
    flex-direction: column;
    /* gap: 2rem; */
}

.project-video {
    /* display: flex;
    flex-direction: column; */

    position: relative;
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;



}

.section h1 {
    margin-top: 7rem;
    font-size: 3rem;
    color: var(--main-color);
    text-align: left;
    font-weight: 700;
}


.section #locus {
    margin-top: 7rem !important;
}

.section h2 {
    margin-top: 4rem;
    font-size: 2rem;
    /* font-weight: 800; */
    color: var(--main-color);
    text-align: left;
    font-weight: 700;
}

.section img {
    margin-top: 3rem;
    width: 100%;
    max-width: 120rem;
    height: auto;
    border-radius: 5rem;
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); */
    align-self: center;
    /* padding: 2rem 2rem; */
}



.section p {
    margin-top: 2rem;
    padding: 0rem 4rem;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    text-align: left;
}

.section .caption {
    margin-bottom: 5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    text-align: center;
    font-weight: 500;
}


#flowdia {
    /* border: 2px solid var(--main-color) !important; */
    /* border: none !important; */
    border-radius: 0% !important;
    margin-bottom: 0rem !important;
}




@media (max-width: 600px) {
    .section #ai {
        right: 1rem;
        bottom: 0.5rem;
        font-size: 1.1rem;
        padding: 0.2rem 0.7rem;
    }
}

.project-video video {
    margin-top: 6rem;
    /* width: 100%; */

    width: 100%;
    height: auto;
    display: block;


    /* max-width: rem; */
    /* align-self: center; */
    /* height: auto; */
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);


    /* margin-top: 3rem; */
    /* width: 100%; */
    max-width: 120rem;
    height: auto;
    border-radius: 2rem;
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); */
    align-self: center;
    /* padding: 2rem 2rem; */
}

/* .section .tech-list {
    margin-left: 4rem;
    list-style: disc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 0;
    margin-top: 1rem;
    font-weight: 600;
} */

/* .section .tech-list li {

    
    padding: 0.8rem 1.2rem;
    border-radius: 0.6rem;
    font-size: 1.6rem;
    text-align: left;
} */


.tech-list,
.challenges-list,
.future-list {
    margin-left: 4rem;
    list-style: disc;
    /* lis */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 0;
    margin-top: 1rem;
    font-weight: 600;
}

.tech-list li::marker,
.challenges-list li::marker,
.future-list li::marker {
    color: var(--main-color);
    /* Change to your desired color */
}

.tech-list li,
.challenges-list li,
.future-list li {
    /* color: var(--main-color); */
    padding: 0.8rem 1.2rem;
    border-radius: 0.6rem;
    font-size: 1.6rem;
    text-align: left;
}


.tech-list span,
.challenges-list span,
.future-list span {
    /* color: var(--text-color); */

    font-weight: 650 !important;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    margin: 5rem 0;
}

/* Footer Section Code */

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: var(--snd-bg-color);
}

.footer .social {

    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);


}

.footer .social a {
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 43px;
    height: 43px;
    line-height: 40px;
    display: inline-flex;
    /* flex-direction: row; */
    align-items: center;
    justify-content: center;
    line-height: normal;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    margin-top: 3rem;
    transition: 0.3s ease;
}

.footer .social a:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}

.footer .copyright {
    text-align: center;
    font-size: 17px;
    color: var(--text-color);
    margin-top: 20px;
}

.image-wrapper {
    /* position: relative;
    display: inline-block;
    width: 100%;
    max-width: 120rem;
    height: auto;
    border-radius: 5rem;
    align-self: center; */



    position: relative;
    display: block;
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    border-radius: 5rem;
    overflow: hidden;
}

.image-wrapper img {
    /* width: 100%;
    max-width: 120rem;
    height: auto;
    border-radius: 5rem; */


    width: 100%;
    height: auto;
    display: block;

}

.image-caption-inside {
    /* position: absolute;
    
    bottom: 0;
    width: 100%;
    height: 4rem;
    align-content: center;
    max-width: 120rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff !important;
    font-size: 1.4rem;
    padding: 5rem 0;
    text-align: right !important;
    border-radius: 0 0 5rem 5rem; */



    position: absolute;
    font-style: italic;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff !important;
    font-size: 1.5rem !important;
    padding: 0.8rem 1.2rem;
    align-content: center;
    text-align: right !important;
    box-sizing: border-box;
}

/* .video-caption {
    text-align: right !important;
    
    font-size: 1.5rem !important;
    font-style: italic;
    padding: 1rem 0.5rem;
    color: var(--text-color);
}

@media(max-width: 768px) {
    .video-caption {
        font-size: 1.2rem;
        padding-right: 1rem;
    }
} */


.video-caption {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: right;
    font-size: 1.4rem;
    font-style: italic;
    padding: 0.5rem 1rem 0;
    color: var(--text-color);
    margin: 0;
}

@media(max-width: 768px) {
    .video-caption {
        font-size: 1.2rem;
        padding: 0.3rem 1rem 0;
    }
}


/* reveal */

/* .reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s ease;

}

.reveal.active {
    transform: translateY(0px);
    opacity: 1;
} */

body .reveal {
    /* more specific */
    opacity: 0 !important;
    position: relative;
    transform: translateY(50px);
    transition: all 0.5s ease;
    /* ... */
}

body .reveal.active {
    opacity: 1 !important;
    transform: translateY(0px);
    /* ... */
}