@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');



body{
    margin:0;
    
    
}
*{
    box-sizing: border-box;
}
li{
    padding-top: 5px;

}
p,li,code,strong,span,a{
    line-height: 1.5;
}
h1{
    text-align: center; /* Center-align headings */
    
}

.col-75 p {
    text-align: left; /* Left-align body text */
    font-size: 1.1rem;
}
code{
    font-size: 15px;
}
.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color:#333;
    
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.214);

    
    
    top: 0px;
    position:fixed;
    width: 100%;
    color: white;
    transition:0.0s;
    transition-timing-function:ease-in-out;
    z-index: 10;
}

.navmenu{

    display: flex;
    gap: 20px;
    padding-right: 5%;

}
.navmenu a{
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: bold;
    color: white;
    transition:color 0.3s, transform 0.8s;/*this property used for smooth animation between two state. quickly or slowely changes properties like color, background-color, width, height, opacity.*/

    display: inline-block; /*if i don't use it, then tranform poperty will not working because of anchor tag default display property(inline)*/
    
}
.navmenu a:hover,.navmenu a.active{
    color:#f39c12 ;
    transform: scale(1.2);
}
.nav .logo{
    width: 50px;
    height: 50px;
    margin-left: 30px;
    position: relative;
    
}
.nav .logo .mylogo{
    
    height: 100%;
    width: 100%;
    
}

.nav img{
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50px;
    border: 3px solid #3498db;

    
}

#navsearch{
    width: 200px;
    padding: 8px 14px;
    border-radius:10px;
    font-size: 18px;
    border: none;
}
.nav .hamberger {
    background-color: #0078D7; 
    border: none;
    font-size: 20px;
    padding: 10px 15px;
    color: white;
    border-radius: 8px; 
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav .hamberger:hover {
    background-color: #0053a6; 
    transform: scale(1.05); /
}



/*To design a row div element */
.row{
    float: left;
    position: relative;
    overflow: hidden;
   
    
    
}
.col-25 h2{
    font-size: 23px;
}
.col-25{
    background-color:#333333;
    color: white;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    width: max(20% , 185px);
    font-size: 18px;
    white-space:nowrap;
    padding-bottom: 100px;
    
}
.col-25 a{
    text-decoration: none;
    color: white;
    display: block;
    padding:5px 8px;
    text-align: left;
    border-bottom: 1px solid black;
}

.col-25 a:hover{
    background-color: dodgerblue;
}
.col-25 a.active{
    background-color: #04AA6A;
}
.col-75{
    padding-top: 15px;
    padding-bottom: 150px;
    margin-left: max(20% , 185px);
    width: 70%;
    padding-left: 8px;
    position:fixed;
    height: 100vh;
    overflow: auto;
    word-wrap: break-word;
    background-color: #ddc;
}

.col-75::-webkit-scrollbar{
    display: none;
}


.col-75 .projectname{
    font-size: 15px;
    text-align: center;
    width: 100%;
   
}

.col-75 .beginnerpurpose{
    background-color: inherit;
    padding: 8px;
    padding-left: 5px;
    font-size: 18px;
    width: 100%;
    
}
.col-75 .beginnerpurpose .condition{
    background-color: rgb(255, 255, 255);
    padding: 4px;
}
.col-75 .showcontent{
    background-color:bisque;
    margin: 0;
    padding:14px;
    font-size: 18px;
    position: relative;
}


.col-75 .snipet{
    background-color: #eee;
    position: relative;
    padding:8px;
    color:black;
    font-size: 18px;
}
.col-75 .htmlcontainer,.col-75 .jscontainer,.csscontainer{
    background-color:rgba(255, 255, 255, 0.562);
    padding: 8px;
    color: black;
}



.col-75 .beginnersection section{
    padding:10px;
    
    background-color: bisque;
    white-space:normal;
    
    
}


.col-75 ul:has(pre> code),.col-75 pre:has(code){
    padding-left: 10px;
    background-color: #333;
    border-radius: 5px;
    color: #00FFFF;
    margin-top: 5px;
}





pre{
    white-space:pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
}








@media screen and (max-width:600px) {
    .nav .hamberger{
        display:inline-block;
    }
    .navmenu{
        display:none;
    }
    .nav .hamberger{
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .navmenu a{
        padding: 5px;
    }
    #navsearch{
        width: 160px;
    }
    .nav .hamberger{
        font-size: 18px;
        border-radius: 30px;
    }
    .nav .logo{
        width: 50px;
        height: 50px;
    

    }
    .col-25{
        display: none;
        position: fixed;
        word-wrap: nowrap;
        width:min(50%, 200px);
        z-index: 10;
        
    }
    .col-25 h2{
        font-size: 25px;
    }
    .col-75{
        margin-left: 0%;
        width: 100%;
    }
    
    
}
@media screen and (max-width:400px) {
    
    .navmenu{
        padding: 5px;
    }
    .navmenu a{
        font-size:1rem;
    }
    .nav .logo{
        
        width: 40px;
        height: 40px;
    }
    
}

@media screen and (max-width:350px) {

    *{
        font-size: 16px;
    }
    code{
        font-size: 13px;
    }
    h1{
        font-size: 25px;
    }
    h2,h3{
        font-size: 20px;
    }





    .nav .logo{
        width: 40px;
        height: 40px;
    }
   
    .col-25{

        display: none;
        position: fixed;
        word-wrap: nowrap;
        width: 50%;
        z-index: 10;
        
    }
    .col-25 h2{
        font-size: 20px;
    }
    .col-25 h3{
        font-size: 18px;
    }
    .col-25 a{
        font-size: 17px;
    }
    .col-75{
        margin-left: 0%;
        width: 100%;
    }
    #navsearch{
        width: 70px;
        padding: 6px;
        
    }
    .navmenu{
        padding: 5px;
    }
    .navmenu a{
        font-size: 14px;
        display: block;
        padding: 0px;   
    }
    .nav .hamberger{
        font-size: 16px;
        padding: 8px;
    }
   
 

}


