
 /* ----------------------------------------Fonts-----------------------------------------*/
@font-face {
    font-family: "fascinate";
    src: url(./fonts/fonts/Fascinate-Regular.ttf);
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "PressStart2P";
    src: url(./fonts/fonts/PressStart2P-Regular.ttf);
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Roboto" ;
    src: url(./fonts/fonts/Roboto-Black.ttf);
    font-weight: 500;
    font-style: normal;
}

/* ----------------------------------------Root-----------------------------------------*/

:root{
    --bg-color: #FECCA7;
    --text-color: #79468f;
    --text-color2: #FFFBF5;
    --main-color: #FFF0C9;
}

html{
    scroll-behavior: smooth;
}

img{
    width:100%;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scrollbar-color: #8A7CCB #f0dfb3;
}
/* ----------------------------------------Body-----------------------------------------*/

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

/* ----------------------------------------Nav_Bar-----------------------------------------*/

header {
    width: 100%;
    z-index: 1000;
    position: absolute;
    transition: all .35s ease;
    background-color: #fffbf516;
}

nav{
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    padding: 5px 0;
    background-color: transparent;
    z-index: 100;
}

.logo{
    width: 80px;
    cursor: pointer;
    margin-left: 13vh;
    transition: transform 0.3s;
}

.logo:hover{
    transform: scale(1.1);
}


nav ul{
    list-style: none;
    flex:1;
    text-align: right;
    padding-right: 5vh;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 3vh 5vh;
    position: relative;
}

nav ul li a{
    color: var(--text-color2);
    text-decoration: none;
    position: relative;
    font-family: "PressStart2P";
    font-size: 3vh;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 0.4vh;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background:var(--text-color2);
    transition: width 0.3s;
}

nav ul li a:hover::after{
    width: 100%;
}

nav ul li ul.dropdown li{
    display: block;
}

nav ul li ul.dropdown li a{
    margin-left: -1vh;
    font-size: 2vh;
    text-align: center;
}

nav ul li ul.dropdown{
    width: 100%;
    background-color: #fffbf516;
    position: absolute;
    z-index: 999;
    display: none;
}

nav ul li:hover ul.dropdown{
    display: block;
}

/* ----------------------------------------Home Page-----------------------------------------*/


.home-page{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), transparent), url(images/pixelbg2.png);
    background-size: cover;
    background-position: center;
    padding: 0 8%;
    position: relative;
    z-index: 0;
}

.home-text-box {
    color: var(--text-color2);
    position: absolute;
    bottom: 8%;
    padding: 0;
}

.home-text-box p {
    font-size: 5vh;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 5vh;
}

.home-text-box h1 {
    font-size: 15vh;
    line-height: 100%;
    font-family: "PressStart2P";
    margin-bottom: 5vh;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-color2);
    background: url(images/textanimation.png);
    -webkit-background-clip: text; 
    background-size: cover;
    background-position: 0 0;
    animation: back 20s linear infinite;
}

.home-text-box h3 {
    font-size: 5vh;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
}





/* -------------Skills ----------------*/
.skill-container{
    padding: 8rem 6rem 3rem 6rem;
    position: relative;
    margin-top: 0;
}
.skill-content {
    z-index: 2;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.skill-box {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 2px solid var(--text-color2);
    background: #fffbf53e;
    border-radius: 20px;
}

.skill-box img {
    max-width: 100%;
    height: auto; 
}

.skill-img{
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}
.skill-title{
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
}
.center-text h2{
    font-size: 1.7rem;
    font-weight:700;
    text-align: center;
    margin-bottom: 1.3rem;
    z-index: 2;
    font-family: "PressStart2P";
    color: var(--text-color);
}






/* -------------About me----------- */
.aboutme{
    display: grid;
    justify-content: center;
    align-items: center;
}
.aboutmeimg{
    width: 90%;
    z-index: 1;
    display: grid;
    justify-content: center;
    align-items: center;
    margin-top:2rem;
    margin-left: 5rem;
}
.aboutme-text {
    color:var(--text-color);
    position: relative;
    margin-top: -52%;
    left: -17%;
    z-index: 2;
    text-align: center;
}
.aboutme-text h1{
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .1rem;
    margin-bottom: 1.4rem;
    font-family: "PressStart2P";
}
.aboutme-text p{
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    letter-spacing: .1rem;
    font-family: 'Roboto', sans-serif;
}
.btn{
    display: inline-block;
    padding: 13px 60px;
    background: var(--text-color);
    color: var(--text-color2);
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 20px;
    transition: all .35s ease;
    margin-top: 1.5%;
    z-index: 3;
    font-family: "PressStart2P";
    text-decoration: none;
}
.btn:hover{
    transform: translateZ;
    background: #d342c0;
    ;
}


/* ----------------------------------------Learning outcomes-----------------------------------------*/


.lo-page{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), transparent), url(images/pixelbg2.png);
    background-size: cover;
    background-position: center;
    padding: 0 8%;
    position: relative;
    z-index: 0;
}

.lo-text-box {
    color: var(--text-color2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    text-align: center;
}

.lo-text-box h1 {
    font-size: 10vh;
    line-height: 100%;
    font-family: "PressStart2P";
    margin-bottom: 5vh;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-color2);
    background: url(images/textanimation.png);
    -webkit-background-clip: text;
    background-size: cover;
    background-position: 0 0;
    animation: back 20s linear infinite;
}

.lo-text-box h3 {
    font-size: 5vh;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
}


/* ---------------Content------------- */


.content {
    width: 90%;
    margin: 5vh auto 5vh; /* Add margin-top to move the box down */
    padding: 5vh 10vh;
    border: 0.5vh solid var(--main-color);
    box-sizing: border-box;
    display: flex; /* Add display flex to align items */
    flex-direction: column; /* Arrange items in a column */
    align-items: center; /* Center items horizontally */
    background-color: var(--main-color);
}

.heading {
    width: 100%; /* Adjust width to take full width */
    text-align:left; /* Center align text */
    margin-bottom: 1.7rem; /* Add margin to separate from content */
    font-family: "PressStart2P";
    color: var(--text-color);
    font-size: 2.5vh;
}

.content .heading{
    position: relative;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
}

.content .heading:hover{
    color:#d342c0;
}

.content .heading:before{
    font-size: 2rem;
    content: '+';
    position: absolute;
    top: 0%;
    right: 20px;
    transform: rotateY(-50%);
}

.content.active .heading:before{
    content: '-';
}



.content-image {
    position: relative;
    overflow: hidden;
    margin-right: 5vh;
}

.content-image img {
    display: inline-block;
    width: 400px; 
    height: 400px; 
    object-fit: cover; 
    margin-left: 5rem; 
}

.carousel {
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.carousel img{
    width: 400px;
    height: 400px;
    object-fit: cover; 
    margin-left: 5rem; 
}



.information {
    width: 100%; /* Adjust width to take full width */
    display: hidden;
    justify-content: space-between;
    align-items: center;
}


.content .information{
    position: relative;
    overflow: hidden;
    height: 0;
    margin-bottom: -2rem;
}


.content.active .information{
    height: auto;
    padding: 10px;
}


.content-image {
    flex: 1;
    margin-right: 4vh;
    overflow: hidden;
}

.sub-heading{
    flex: 1;
    padding-bottom: 1rem;
    color: #834dca;
    font-family: "PressStart2P";
    font-size: 1.5rem;
    font-weight: 700;
}

.sub-sub-heading{
    font-size: 1.5rem;
    font-weight: 700;
    color: #c142ef;
    padding: 1rem 0 0.5rem 0;
    font-family: 'Roboto', sans-serif;
}


.information b{
    color: #f6499d;
}

.information-content {
    flex: 1;
    padding: 1.5rem;
}

.information-more-content{
    flex: auto;
}

.information-more-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    text-align: justify;
    margin: 2rem 0;
}



.information-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    text-align: justify;
}


/* Learn more buttons */

.read-more {
    display: inline-block;
    padding: 13px 60px;
    background: var(--text-color);
    color: var(--text-color2);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 20px;
    transition: all .35s ease;
    margin: 1rem 0;
    font-family: "PressStart2P";
    text-decoration: none;
}

.read-more:hover {
    background-color: #d342c0;
}



/* ----------------------------------------footer-----------------------------------------*/

footer{
    background: #FFF0C9;
    text-align: center;
    text-transform: uppercase;
    padding-top: 30px;
    margin-top: auto;
    font-family: "PressStart2P";
}

footer li{
    list-style: none;
    display: inline-block;
    margin: 10px;
}

.footer-icons a{
    background:var(--text-color);
    color: #FFFBF5;
    padding: 15px;
    border-radius: 100px;
    display: flex;
    font-size: 25px;
    text-decoration: none;
}

.footer-icons a:hover{
    background-color:#d342c0;
    ;
}

.footer-menu{
    margin-top: 1%;
}

.footer-menu a{
    color:var(--text-color);
    text-decoration: none;
}

.footer-menu a:hover{
    color: #d342c0;
}

.footer-copyright{
    background-color: var(--text-color);
    color: #FFFBF5;
    padding: 15px;
    margin-top: 30px;
}

.footer-copyright p{
    margin-bottom: 0px;
}




@media screen and (max-width: 768px) {
    .outcome-boxes {
        padding-left: 5%;
        padding-right: 5%;
    }
}


@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}


@keyframes back{
    100%{
        background-position: 2000px 0;
    }
}


.content-image-wrap{
    padding: 2rem 0;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-items: center;
}


.content-images{
    max-height: 20rem;
    display: flex;
    overflow-x: auto;
}

.content-images::-webkit-scrollbar{
    width: 0;
}

.information .the-image{
    width: auto;
    max-height: 20rem;
    text-align: center;
    padding: 0.5rem 0.5rem;
}

.few-images{
    max-height: 20rem;
    overflow-x: auto;
    margin: 1rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


.information ul{
    padding-left: 2rem;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    text-align:justify;
}



