/* General body style */
body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 0; 
    margin-top: 70px;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}


/* Container styling */
.container {
    max-width: Auto;
    margin: auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
} 


/* Style for all section inside body*/
section {
    margin: 0;
    padding: 20px; 
    margin-left: 80px;
    margin-right: 80px;
}



/* Opening Section */
.opening-section {
    margin-top: 60px;
	display: flex;
    justify-content: flex-start; 
	gap: 230px;
} 

.opening-text {
	flex: 1;
    max-width: 48%;
}

.opening-text p {
    line-height: 1.5;
}

.opening-block {
	flex: 1; 
    background-color: white;
    max-width: 48%;
}


.opening-section h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 36px;
    margin: 0; 
    line-height: 1.2;
}

.opening-section .highlight {
    color: rgb(144, 0, 255);
} 

.opening-section p {
    font-size: 17px; 
    margin: 0;
} 

.opening-section h1+p {
    margin-top: 25px;
} 

.opening-section .learning-icon {
    font-family: Georgia, 'Times New Roman', Times, serif; 
    margin-top: 45px;
    background-color: #586adf;
    color: white; 
    padding: 2px 20px; 
    border: none; 
    border-radius: 5px; 
    display: inline-block; 
    text-align: center; 
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.opening-section .learning-icon:hover {
    background-color: darkblue; 
    transform: scale(1.05);
}  

.opening-section .learning-link {
    text-decoration: none; 
    display: inline-block; 
}

/* Opening block */ 

.icon-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    column-gap: 15px; 
}
.icon-item {
    display: flex;
    align-items: center;
    gap: 10px; 
    border: 1px solid #ccc;
    padding: 15px;
}
.icon-item img {
    width: 24px;
    height: 24px;
}
.icon-item i {
    font-size: 24px;
}




/* learning-method */ 
.learning-method {
    margin-top: 40px;
}

.learning-method h1 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 25px;
    margin: 0; 
    line-height: 1.2;
} 

.learning-method .highlight {
    color: rgb(144, 0, 255);
} 

.learning-method .l-m-t {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #f4f4f4;
    padding: 20px;
    display: flex;
    gap: 20px; 
    justify-content: space-between;
    align-items: stretch; 
    margin-top: 20px; 
    height: 150px;
}

.learning-method .l-m-t > div {
    background-color: #fff; 
    border: 1px solid #ccc; 
    border-radius: 8px; 
    padding: 15px;
    text-align: left; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-bottom-color 0.3s ease;
}

.learning-method .l-m-t > div h3 {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ccc; 
    padding-bottom: 5px; 
    transition: border-bottom-color 0.3s ease;
}

.learning-method .l-m-t > div p {
    font-size: 14px;
    color: #555;
    margin-top: 20px;
}

.learning-method .l-m-t > div:hover {
    transform: scale(1.05); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
} 

.learning-method .l-m-t > div:hover h3 {
    border-bottom: 2px solid blue;
    transition: border-bottom-color 0.3s ease;
} 

.l-m-t p {
    line-height: 1.5;
}




/* Welcome Section */
.welcome-section { 
    margin-top: 40px; 
    text-align: left;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.welcome-section h1 {
    font-size: 25px; 
    margin: 0;
}

.welcome-section .highlight {
    color: rgb(144, 0, 255);
}

.welcome-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    background-color: #f4f4f4; 
    padding: 20px;
    gap: 20px;
    margin-top: 25px;
}

.language-item { 
    background-color: #fff; 
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
    text-align: center;
}

.language-item:hover {
    transform: scale(1.05);
    color: #2e41bc; 
    cursor: pointer;
}

.language-item h3 {
    font-size: 16px;
    margin: 0;
} 




/* Portfolio section */
.portfolio-section {
    font-family: Georgia, 'Times New Roman', Times, serif; 
    text-align: left;
    margin-top: 40px;
}

.portfolio-section h1 {
    font-size: 25px;
    margin: 0;
} 

.portfolio-section .highlight {
    color: rgb(144, 0, 255);
} 

.portfolio-and-notebook {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.portfolio-projects { 
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    background-color: #f4f4f4; 
    padding: 20px;
    gap: 20px;
    margin-top: 25px;
}

.project-item { 
    background-color: #fff; 
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
    text-align: left;
} 

.project-item h3 {
    margin: 0;
    font-size: 15px;
}

.project-item h3:nth-of-type(2) {
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
    padding-bottom: 10px; 
    transition: border-bottom-color 0.3s ease;
}

.project-item:hover {
    transform: scale(1.05);
    cursor: pointer;
} 

.project-item:hover h3:nth-of-type(2) {
    border-bottom: 1px solid #2e41bc;
}

.project-item h4 {
    font-size: 13px;
    color: #2e41bc;
} 

.project-item h4::after {
    content: ' \2192';
    font-size: 14px;
    color: #2e41bc;
    margin-left: 55%;
}



/* Notebook container for iframe */
.notebook-container { 
    flex: 1;
    margin-top: 20px;
    border: none; 
    background-color: #f4f4f4; 
}

/* iframe for Jupyter Notebook */
.notebook-container iframe {
    width: 100%;
    height: 100%;
    overflow: auto; 
    border: none; 
}




