@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Source+Code+Pro&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    background-color: white;
}

header{
    text-align: center;
    padding: 0.5px 2px 4px 2px;
    color: #464646;
}

header :nth-child(2){
    margin-top: -8px;
}

header h1{
    font-size: 25px;
}

header h2{
    font-size: 17px;
}

footer{
    text-align: center;
    font-size: 0.8rem;
    color: #959595;
    padding: 10px;
}

footer .cr{
    color: cadetblue;
}

footer .er{
    text-decoration: none;
    color: #ec2626;
    font-size: 0.7rem;
}

footer :nth-child(2){
    margin-top: -3px;
}

.item {
    background-color: white;
    width: 350px;
    margin: 8px;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 7px;
    
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.item:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.item div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 7px 0;
}

.item div:nth-child(-n+2) {
    margin-top: 0px;
}

.per6 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.day {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0;
    padding: 5px;
    border-radius: 6px;
}

.dayname {
    background-color: darkorange;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: white;
    width: 330px;
    padding: 10px;
    margin: 4px;
    border-radius: 5px;
}

.day:nth-child(odd){
    background-color: #e0e0e0;
}

.day:nth-child(even){
    background-color: #f1eeee;
}

.code {
    height: 25.5px;
    line-height: 25.5px;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.9rem;
    width: 70px;
    background-color: rgb(118, 248, 106);
}

.subject {
    flex-grow: 1;
    background-color: lightseagreen;
    color: white;
}

.code, .subject {
    padding: 4px 7px;
}

.teacher {
    color: #464646;
    font-size: 0.9rem;
    font-weight: 600;

}

.links a {
    margin-top: 5px;
    font-weight: 600;
    border-radius: 4px;
    display:inline-block;
    text-decoration: none;
    color: white;
    padding: 4px 15px;
}

.links a:nth-child(1) {
    background-color: #e8c70c;
}

.links a:nth-child(2) {
    background-color: #0ec97b;
}

.email a, .phone a {
    text-decoration: underline;
    color: cadetblue;
    padding: 0 3px;
    font-size: 0.75rem;
}

.time1, .time2, .time3, .time4, .time5, .time6 {
    border: 1px solid pink;
    color: black;
    padding: 0 4px;
    font-size: 0.9rem;
}

.syllabus {
    background-color: tomato;
    padding: 0.5px 3px;
    border: 1px solid tomato;
    border-radius: 4px;
    font-size: 0.9rem;
}

.syllabus a {
    text-decoration: none;
    padding: 0 3px;
    color: white;
}

.itemNew {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    height: 205.367px;
    justify-content: center;
    text-align: center;
}

.itemLab {
    background-color: #d6f8ff;
}

.itemMinor {
    background-color: #ffebf4;
}

.itemNew div {
    display: flex;
    margin: 5px;
}

.subB {
    padding: 2px 10px;
}

.codeB {
    /* background-color: lawngreen; */
    height: 30px;
    line-height: 30px;
    font-family: 'Source Code Pro', monospace;
}

.nameB {
    cursor: pointer;
    background-color: lightseagreen;
    flex-grow: 1;
    color: white;
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
}

.choice {
    margin-top: 10px;
}

.fa-arrow-circle-left {
    padding-top: 3.25px;
    padding-right: 3px;
}

.tumpo {
    align-items: baseline;
    color: dodgerblue;
    border: 1.5px solid dodgerblue;
    border-radius: 50px;
    padding: 3px 7px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-bottom: 10px;
}