@charset "utf-8";

@font-face{
	font-family: lm10;
	src:url("../Fonts/lmroman10-regular.otf")
}
@font-face{
	font-family: lm12b;
	src:url("../Fonts/lmroman12-bold.otf")
}
@font-face{
	font-family: lm12;
	src:url("../Fonts/lmroman12-regular.otf")
}
@font-face{
	font-family: lm17;
	src:url("../Fonts/lmroman17-regular.otf")
}


/* CSS Document */


/*globals */ 

			h1 {
				text-decoration: none;
				color: #4A4A4A;
				padding: 0;
				margin: 0;
				font-weight: normal;
               
			}

ul{
	list-style: none;
}

li{
	font-size: 1.6rem;
}

			h3{
				text-decoration: none;
				color: #4A4A4A;
				padding: 0;
				margin: 0;
				font-weight: normal;
				font-size: 1.6rem;
			}

			h2 {
				font-weight: normal;
				font-size: 3.2rem;
			}

			p {
				text-decoration: none;
				padding: 0;
				margin: 0;
				font-weight: normal;
				font-size: 1.6rem;
			}

			body {
				max-width: 800px;
				margin: 20px auto;
				background-color: #ffffff;
			}


			html{
				font-size: 62.5%; 
				font-family: arial, "sans-serif";
				text-align: center;
                line-height: 1.3;
				background-color: #ffffff;
			}


/* header*/ 

			#header{
				font-size: 1.4rem;
				margin: 0;
				padding-top: 15px;
			}

			.nametl{
				float: left; 
				margin-top: 30px;
			}

			.nametl a{
				text-decoration: none;
				font-family: 'font1',Arial,Sans-serif;
				color: #333333;
				font-weight: 500;
				-webkit-text-stroke: 0.4px #333333;
				
			}
			.abt {
				float:left;
				padding: 8px;
				text-decoration: none;
				font-size: 1.5rem;
				color: #9ca3af;
				font-weight: 600;
				margin-top: 30px;
				
			}

			.avatar{
				width: 100px;
				height: 100px; 
				float: right;
				border-radius: 50%;
				margin-top: inherit;
			}




/*footer */

			#footer{
				margin-top: 10px; 
				text-align: center;
				font-size: 1.6rem;
				clear: both;
			}

			#nav {	
				margin-top: 100px;
				clear: both;
				
			}

 			#nav ul {
                list-style: none;
				
                margin: 0 auto;
                padding: 1.5em 15px;
                display: table;
            }

            #nav li {
				
                display: inline-block;
                color: #0099e5;
                border-radius: 2em;
				font-size: 1.5rem; 
            }

            #nav a {
                display: inline-block;
                text-decoration: none;
                color: inherit;
                padding: 8px 20px;
                font-weight: 400;
            }

            #nav a span {
                padding-top: 4px;
            }

            #nav li:hover {
                color: white;
                background: #0099e5;
				transition: .5s ease all;
            }

             nav li:active {
                color: white;
                background: #00a3f5;
				
            }


 /*Blogs*/

#blog_sec {
	clear: both;
	font-size: 3.5rem;
	text-align: left;
	font-weight: bold;
}

.mainhw {
    text-align: left;
    clear:both;
    width: 800px;
}

.mainhw h1 {
    color:black;
    font-size: 3rem;
    font-weight: 600;
}

.mainhw b {
    font-size: 1.8rem;
}

#explanation {
    font-family: lm10;
    font-size: 2rem;
    text-align: left;
    
}

.important{
    font-family: lm10;
    font-size: 2rem;
    text-align: right;
    
}

.latexelements {
    clear: both;
}

#imgg {
    margin: auto;
    width:60%;
    padding: 10px;

}
.img-inline{
    align-items: center;
}

#latexelements {
  
    border-color: greenyellow;
    color:#4A4A4A;

    font-size: 1.5rem;
    margin:auto;
    align-items: center;
    max-width: auto;
    overflow: hidden;
    display: block;
    text-align: center;
    margin: 0 auto;
 
}

/* Ensure all containers are white */
* {
    background-color: transparent;
}

html, body {
    background-color: #ffffff !important;
}

#container, #top, #cont, #header, #main, #bottom, #nav, #footer {
    background-color: #ffffff !important;
}

/* Image Grid Styles */
.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
    max-width: 100%;
}

.image-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Modal/Lightbox Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: zoom 0.3s ease-out;
}

@keyframes zoom {
    from {transform: scale(0.3); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.close:hover,
.close:focus {
    color: #ccc;
    text-decoration: none;
}

/* Click outside to close instruction */
.modal::before {
    content: "Click anywhere to close";
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 14px;
    opacity: 0.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal {
        padding-top: 20px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}
