*{margin:0;padding:0;}

body{
    background: rgb(196, 198, 192);
    padding: 25px;
    padding-top: 0;
}

h1{
    text-align: center;
}

button{
    height: 35px;
    width: 175px;
    border: 1px solid black;
    background: white;
    margin: 10px;
    cursor: pointer;
    box-shadow: 0 0 1px black;
}

button:hover{
    background: rgb(196, 198, 192);
}

.cardContainer{
    width: 90%;
    padding: 25px;
}

.card{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px auto;
    height: 150px;
    background: white;
    padding-right:15px;
    text-decoration: none;
}

    .card:hover{
        box-shadow: 0 0 3px black;
    }

    .card div{
        align-items: center;
        color: black;
        height: 100%;
        flex-grow: 2;
    }

    .card img{
        height: 100%;
    }

    .card h2{
        text-align: center;
        margin: 10px 0;
    }

    .card p{
        text-align:center;
        width: 75%;
        margin: auto;
    }

#lectureBody, html{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    max-width: 100vw;
}

    #video{
        margin: 50px;
    }

    #lectureData{
        margin-right: auto;
        padding-left: 100px;
    }

        #lectureData > *{
            margin: 15px 0;
        }

        #lectureData h2{
            margin: 35px 0 0 0;
        }

        #documents{
            display: flex;
            flex-direction: column;
        }

        #exercises{
            padding-left: 15px;
            margin-top: 0;
        }

    .liPad{
        margin: 10px;
    }

    #questionContainer{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .question{
        display: flex;
        flex-direction: column;
        align-items: center;
        background: white;
        width: 50%;
        margin: 15px;
        padding: 10px;
    }

        .questHead{
            display: flex;
            align-items: center;
            font-size: 12px;
            margin-bottom: 25px;
        }

            .questHead p{
                margin: 0 5px;
            }

    #questionForm{
        flex-direction: column;
        height: 100vh;
        width: 100vw;
        z-index: 2;
        position: fixed;
        background: rgb(196, 198, 192);
        padding: 100px;
        box-sizing: border-box;
    }

        #questionForm label{
            display: flex;
            flex-direction: column;
            margin: 15px;
        }

        #questionForm input{
            width: 50%;
        }

        #questionForm textarea{
            height: 25vh;
        }

#answerContainer{
    width: 50%;
}

    .answer{
        width: 100%;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background:rgb(196, 198, 192);
        margin: 10px;
    }

        .answerHeader{
            display: flex;
            font-size: 12px;
        }

            .answerHeader > *{
                margin: 5px;
            }