/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    
}

#container{
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    
    
}
#menu{
    float: left;
    width:100%;
    font-size: 0.9rem;
    font-weight: 500;
}
.menu-item{
    float:left;
    width:20%;
}
.menu-item a{
    color: black;
    text-decoration: none;
}
#introduction{
    clear: both;
    padding-top: 3rem;
   
}
#introduction h1{
    font-weight: 500;
    font-size: 1.2rem;
     margin-bottom: 2rem;
}
#streamer{
    font-weight: 500;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 3rem;;
}
#intro{
    font-weight: 400;
    font-size: 1.2rem;
    
}
#books{
    float:left;
    width:100%;
    margin-top:3rem;
    font-weight: 600;
}
.book{
    float:left;
    width:100%;
    margin-top: 1rem;
    font-weight: 400;
    margin-bottom: 2rem;
}
.book_cover{
    float:left;
    width:50%;
}
.book_cover img{
    float:left;
    width:100%;
}
.book_info{
    float:left;
    width:50%;
    padding-left:2rem;
    font-size: 0.95rem;
}
.book_info a:visited{
    color: black;
    text-decoration: underline;
    font-weight: 600;
}
.book_meta{
    font-family: 'Roboto Mono';
    font-weight:300;
    font-size: 0.9rem;
    margin-bottom:1rem;
}
.buy-link{
    margin-top:1rem;
    
}
.buy-link a{
    color: black;
    font-weight: 600;
}
.collumnContainer{
    float:left;
    width:100%;
    margin-top:3rem;
    display: flex;
    gap: 2rem;
}
.collumn{
    float:left;
    width:50%;
    
}

.lecture{
    margin-top:1rem;
    font-size: 0.95rem;
    font-weight: 400;
}
.lecture_title{
    font-weight: 400;
    line-height: 1.2rem;
    font-size: 0.9rem;
    font-weight: 400;
}
.lecture_location{
    font-family: 'Roboto Mono';
    font-weight:300;
    font-size: 0.8rem;
    margin-top:0.2rem;
    margin-bottom:0.5rem;
    line-height: 1.2rem;
}
#lectures{
    margin-top:3rem;
    font-weight: 600;
    padding-right:2rem;
    margin-bottom:3rem;
}
#articles{
     margin-top:3rem;
    font-weight: 600;
    padding-left:2rem;
   
}
#education{
    float:left;
     margin-top:3rem;
    font-weight: 600;
    padding-left:2rem;
   
}
.article{
    margin-top:1rem;
    font-size: 0.95rem;
    font-weight: 400;
}
.article_title{
    font-weight: 400;
    line-height: 1.2rem;
    font-size: 0.9rem;
    font-weight: 400;
}
.article_publication{
    font-family: 'Roboto Mono';
    font-weight:300;
    font-size: 0.8rem;
    margin-top:0.2rem;          
}
.read_link{ 
  font-size: 0.8rem;
    font-weight: 400;
}
.read_link a{
    color: black;
    font-weight: 600;
}
.education_item{
    float:left;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    
}
.education_years{
    float:left;
    width:85px;
    height:100%;
    font-family: 'Roboto Mono';
    font-weight:300;
    font-size: 0.8rem;
    
}.education_description{
    float:left;
    width:calc(100% - 85px);
    height:100%;
    padding-left:1rem;
    font-weight: 400;
    line-height: 1.2rem;
    font-size: 0.9rem;
}
/* Media query for screens narrower than 800px */
@media (max-width: 900px) {
    .book{
        overflow: hidden;
    }
    
    .book_cover{
        float: left;
        width: 50%;
        margin-right: 1rem;
        margin-bottom: 1rem;
    }
    
    .book_info{
        float: none;
        width: auto;
        padding-left: 0;
    }
    .collumn{
        float:left;
        width:100%;
        padding:0;
        /* background-color: yellow; */
    }
    #articles{
        padding-left: 0;
         margin-top:1rem;
    }
    #education{
        padding-left: 0;
        margin-top:3rem;
        margin-bottom:3rem;
        
    }
    #lectures{
        padding-right:0;
    }

}

@media (max-width: 420px) {
    .menu-item{
        float:left;
        width:auto;
        padding-right:   11px;
    }
    .streamer{
        hyphens: auto;
    }
    .book_cover{
        float: left;
        width: 50%;
        margin-right: 1rem;
        margin-bottom: 1rem;
    }
    
}