body {
    background: rgb(0, 0, 0);
    font-family: 'Roboto Mono', monospace;    margin: 0;
     line-height: 1.5;

     
}



.main-header h1.navi.text {
    margin: 0;
    padding: 40px;
    color: #5bccf6;
    font-size: 40px;
    text-align: center;
    font-weight: bold; 
    text-transform: uppercase;
}

.secondary-nav {
    text-align: center;
    margin: 10px auto;
    padding-left: 350px;
}

.secondary-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.secondary-nav ul li {
    margin-right: 15px;
}

.secondary-nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 19px;
    font-family: 'Titillium', sans-serif;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    line-height: 1.5;
    display: inline-block;
    position: relative;
    font-weight: 500;
    text-transform: uppercase;
}

.secondary-nav ul li a::after {
    content: '';
    width: 0;
    height: 2px;
    background: #2167BA;
    position: absolute;
    left: 0;
    bottom: 0%; 
    transition: width 0.5s;
}

.secondary-nav ul li a:hover::after {
    width: 100%;
}
.page img {
    width: 430px;
    height: 430px;
    height: auto;
    margin-top: -50px;
    padding-top: -10px;
    padding-left: 900px;
}
#dataframes p{
    font-size: 20px;
}
.home-text {
    text-align: left;
    font-weight: bold;
    color: #2167BA; /* Light blue color */
    margin-top: 0;
    padding-left: 250px;
    padding-top: 40px;
    font-size: 30px;
   
}
#content p{
    font-size: 20px;
}
.content {
    text-align: left;
    margin-top: -450px; /* Adjust the value to move the content section up */
    color: #BBBDC0;
    padding: 0 20px;
    font-size: 10px;
    line-height: 1.5;
    padding-left: 70px;
    margin-top:-360px;
    padding-top: 50px;
   
    font-size: 18px;
}



                                    /** data Structures**/



.datastru-heading{
    text-transform: uppercase;
    color: #2167BA;
    padding-top: 200px;
    text-align: center;
    font-size: 38px;
}
.datastru-cont{
    text-decoration: none;
    line-height: 1.5;
    color: #BBBDC0;
    padding-left: 70px;
    padding-top: 10px;
    font-size: 20px;
}
.data{
    
    color: #BBBDC0;
    font-size: 18px;
    padding-left: 70px;
}
* Vectors Section Styles (similar styles for other sections) */
#vectors, #lists, #dataframes, #matrices, #arrays, #factors {
    margin-top: 40px;
    padding-left: 70px;
    text-decoration: none;
    

}

#vectors h2, #lists h2, #dataframes h2, #Matrices h2, #Arrays h2, #Factors h2,vc {
    color: #1857b6;
    font-size: 24px;
    margin-bottom: 10px;
    padding-left: 70px;
    text-decoration: none;
    font-size: 40px;
    text-align: center;
    padding: 30px;

}

/* Code Block Styles */
/* Code Block Styles */
pre {
   margin-left: 70px; /* Adjust this value according to your preference */

    background-color: #4f3e3e;
    padding: 10px;
    color: #BBBDC0;
    border-radius: 5px;
    overflow: auto;
    width: 400px;
    font-size: 17px;
    height: 80px;
}
/* Code Block Styles for Lists */
section[id="lists"] pre {
    margin-left: 70px; /* Adjust this value according to your preference */
    background-color: #3d3d3d;
    padding: 10px;
    color: #BBBDC0;
    border-radius: 5px;
    overflow: auto;
    width: 465px;
    font-size: 17px;
    height: 180px;
}


#vectors p {
    color: #BBBDC0; /* Change to the desired color code */
    padding-left: 70px;
    font-size: 20px;
}
#lists p{
    font-size: 20px;
    color: #BBBDC0; /* Change to the desired color code */
    padding-left: 70px;
}
/* Navigation Link Styles */
.structure-list li a {
    text-decoration: none; /* Remove underline */
    color: #BBBDC0;
    transition: color 0.3s ease;
}

.structure-list li a:hover {
    color: #2167BA;
}
#dataframes p{
    font-size: 20px;
    color: #BBBDC0;
    padding-left: 70px;
}
.data-frame-list{
    font-size: 20px;
    color: #BBBDC0;
    padding-left: 100px;
}
section[id="dataframes"] pre {
    margin-left: 70px; /* Adjust this value according to your preference */
    background-color: #3d3d3d;
    padding: 10px;
    color: #BBBDC0;
    border-radius: 5px;
    overflow: auto;
    width: 450px;
    font-size: 17px;
    height: 170px;
}


#Matrices h2{
    color: #2167BA;
   padding-left: 70px;
   
}

section[id="Matrices"] pre {
    margin-left: 70px; /* Adjust this value according to your preference */
    background-color: #3d3d3d;
    padding: 10px;
    color: #BBBDC0;
    border-radius: 5px;
    overflow: auto;
    width: 450px;
    font-size: 17px;
    height: 170px;
    
    
}
#Matrices p{
    color: #BBBDC0;
    padding-right: 40px;
    padding-left: 70px;
    font-size: 20px;
    
}
#Arrays h2 {
    color: #2167BA;
    padding-left: 70px;
    padding: 15px;
}

section[id="Arrays"] pre {
    margin-left: 70px;
    background-color: #3d3d3d;
    padding: 10px;
    color: #BBBDC0;
    border-radius: 5px;
    overflow: auto;
    width: 330px;
    font-size: 17px;
    height: 150px;
    text-align: left;
}

#Arrays p {
    color: #BBBDC0;
    padding-right: 40px;
    padding-left: 70px;
    font-size: 20px;
}
#Factors h2 {
    color: #2167BA;
    padding-left: 70px;
}

section[id="Factors"] pre {
    margin-left: 70px;
    background-color: #3d3d3d;
    padding: 10px;
    color: #BBBDC0;
    border-radius: 5px;
    overflow: auto;
    width: 450px;
    font-size: 17px;
    height: 170px;
}

#Factors p {
    font-size: 20px;
    color: #BBBDC0;
    padding-right: 40px;
    padding-left: 70px;
}




/** data MANUPULATION**/


#Data-Manipulation h1 {
    text-transform: uppercase;
    color: #5bccf6;
    padding-top: 200px;
    text-align: center;
    font-size: 38px;
    
}
                                    
#Data-Manipulation h2 {
color: #2167BA; 
padding-left: 70px;
text-align: center;
padding: 20px;
font-size: 36px;
}
                                    
#Data-Manipulation p{
font-size: 20px;
color: #BBBDC0;
padding-left: 70px;

padding-right: 20px;
}

#section{
    color: #BBBDC0;
    padding: 10px;
}
code {
    background-color: #201818;
    padding: 2px 4px;
    border: 1px solid #ccc;
    font-size: 16px;
   justify-content: space-between;
}
#Data-Manipulation p{
    font-size: 20px;
}
#Data-Manipulation h3 {
    color: #5bccf6; 
    padding-left: 70px;
    font-weight: 400;
    font-size: 25px;

    }
 strong{
        color: #ffffff;
        font-weight: 200;
    }

    #dplyr-intro h1 {
        color: #2167BA;
    }
    
    .section-list {
        text-align: left;
        margin-top: 20px;
    }
    
    .attractive-list {
        margin-left: 70px;
        text-align: left;
        width: 900px;
        height: 115px;
        background-color: #c1c1c1a7;
        padding: 10px;
        padding-left: 70px;
        border-radius: 10px;
        box-sizing: border-box;
    }
    
    .list-item {
        margin-bottom: 8px;
    }
    
    .list-item code {

        text-align: left;
        background-color: #000000bb;
        padding: 2px 4px;
        border: 1px solid #4a4a4a5d;
        border-radius: 5px;
        font-size: 15px;
        color: #fff;
    }
    
    .attractive-list strong {
        border-radius: 10px;
        color: #000000;
    }
    
                                    /** data Visualisation**/


#Visualisation .h1{
    color: #2167BA;
}
#container{
    padding-left: 70px;

}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
p {
    color: #BBBDC0;
  }

.work {
    width: 300px;
    height: 400px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    padding-left: 30px;
}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: calc(100% - 40px);
    padding-left: 40px;
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(33, 69, 177, 0.6), #1857b6);
    border-radius: 10px;
    position: absolute;
    left: 0;
    align-items: center; 
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

.layer h3 {
    font-weight: 600;
    margin-bottom: 20px;
}

.layer p {
    margin-bottom: 20px;
}

.layer a {
    padding-left: 30px;
    margin-top: 20px;
    color: #2167BA;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #ac0a0a;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #ffffff;
    transition: background 0.5s;
}

.btn:hover {
    background: #ff004f;
} 







html{
    scroll-behavior: smooth;
}



.image-container {
    border-radius: 20px;
    padding: 70px; /* Adjust padding as needed */
    display: flex;
    margin-bottom: 20px;
}

.image-container img {
    border-radius: 20px;

    width: 400px; /* Adjust the width of the image */
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.details-container {
    border-radius: 20px;
    text-align: center;
    width: 100px; /* Adjust width as needed */
    flex: 1;
    position: relative;
    
    right: -100%; /* Initially off-screen */
    background-color: #00000000;
    padding: 10px; /* Adjust padding as needed */
    box-sizing: border-box;
    transition: right 0.8s ease;
}


.image-container:hover img {
    transform: scale(1.1);
}

.image-container:hover .details-container {
    right: 0; /* Slide in on hover */
}

.RChart {
    color: #fff;
    font-size: 18px; /* Adjust the font size as needed */
}




