* {
    box-sizing: border-box;
}

html {
    min-height: 100vh;
    scroll-behavior: smooth;
}
            
body {
    min-height: 100%;
    font-family: 'Roboto', sans-serif;;
    font-size: 150%;
}

header {
    width: 90%; 
    margin: auto;
}

h1 {
    color: #9d9d9d;
    font-size: 200%;
    line-height: 120%;
}

h3, h4 {
    font-weight: 700;
}

p {
    background-color: #dee8f0; 
    display:inline-block; 
    line-height: 150%; 
    padding: 10px 14px;
}

.table {
    display: grid;
    grid-template-columns: .75fr 2fr 2fr 2fr;
    grid-template-rows: auto;
    border: 4px solid #ccc;
    width: 90%;
    margin: auto;
}

.tableHead {
    padding: .4em 0 .4em .8em;
    background-color: #555a2f;
    color: white;
    border-right: 2px solid #ccc;
}

.row {
    padding: 1em;
    border-right: 4px solid #ccc;
    border-bottom: 4px solid #ccc;
}

code {
    font-size: 120%;
    color: #6c6ce6;
}

ul {
    padding-right: 1em;
}

li {
    margin-bottom: .5em;
}

.midTerm {
    background-color: lightgrey;
    grid-column: 1/5;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 0;
}

.wearehere {
    background-color: #cee6d1;
    }
    
.labsdue {
    color: crimson;
    }
    
.asmtstart {
    color: #6c6ce6;
    }
        
.asmtsdue {
    color: #a13fda;
    }
               
.projectstart, .projectsdue, .asmtstart, .asmtsdue {
    line-height: 30px;
    }
            
.quiz {
    color: #9364ed;
    background-color: beige;
    padding: 10px;
    line-height:140%;
    }
        
.contd {
    color: #7d7b9a
    }
            
.modOne, .modTwo, .modThree, .modFour {
    font-weight: bold;
    color: white;
    padding: 6px;
    text-align: right;
    margin-bottom: 12px;
    } 
                
.modOne {
    background-color: cadetblue;
    }
            
.modTwo {
    background-color: coral;
    }
            
.modThree {
    background-color: #5c419e;
    }

.modFour {
    background-color: #a54fab;
    }

.modsep{
    border-bottom: 20px solid #ccc;
   }

.sumtable {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto;
    border: 4px solid #ccc;
    margin: 20px auto; 
    width: 50%;
}

@media screen and (max-width:1200px) {
    .table {
        display: block;
    }
    .tableHead, .sumtable {
        display: none;
    }
    
    .midTerm {
        flex-direction: column;
    }
}