.subject {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    height: auto;
    min-height: 80px;
    border-style: solid;
    border-width: 1px;
    transition: .2s;
    position:relative;
}

.subject:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    cursor: pointer;
}

.top-left-square {
    border-style: solid;
    border-width: 0 1px 1px 0;
    text-align: center;
    width: 20px;
    height: 20px;
    background-color: white;
}

.workshopHours {
    justify-self: center;
    text-align: center;
    width: 20px;
    height: 20px;
    background-color: white;
}

.top-right-square {
    
    justify-self: end;
    border-style: solid;
    border-width: 0 0 1px 1px;
    text-align: center;
    width: 20px;
    height: 20px;
    background-color: white;
}

.subject-name {
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 4;
}

.bottom-left-square {
    align-self: flex-end;
    border-style: solid;
    border-width: 1px 1px 0px 0;
    text-align: center;
    width: 20px;
    height: 20px;
    background-color: white;
}

.subject-number {
    text-align: center;
}

.bottom-right-square {
    align-self: flex-end;
    justify-self: end;
    border-style: solid;
    border-width: 1px 0px 0px 1px;
    text-align: center;
    width: 20px;
    height: 20px;
    background-color: white;
}

.first-semester {
    grid-column-start: 1;
    grid-column-end: 2;
}

.second-semester {
    grid-column-start: 2;
    grid-column-end: 3;
}

.third-semester {
    grid-column-start: 3;
    grid-column-end: 4;
}
.forth-semester { 
    grid-column-start: 4;
    grid-column-end: 5;
}
.fifth-semester {
    grid-column-start: 5;
    grid-column-end: 6;
}
.sixth-semester {
    grid-column-start: 6;
    grid-column-end: 7;
}
.seventh-semester {
    grid-column-start: 7;
    grid-column-end: 8;
}
.eighth-semester {
    grid-column-start: 8;
    grid-column-end: 9;
}