body {
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0px;
    padding: 0px;
    font-family: "Prompt", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.main{
    padding: 10px;
}
#menu-bar{
    position: sticky;
    top: 0;
    z-index: 1;
}

.main-left{
    position: absolute;
    display: inline-block;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(189,15,15,1);
    border-radius: 10px;
    width: 29%;
    height: 110vh;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

.main-right{
    position: absolute;
    display: inline-block;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(189,15,15,1);
    border-radius: 10px;
    height: 110vh;
    width: 67%;
    padding-top: 10px;
    padding-bottom: 10px;
    left: 31%;
}

.main-right img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.left-text{
    text-align: center;
    color: white;
    background: linear-gradient(120deg,rgba(157,31,20,1) 0,rgba(189,15,15,1) 30%, rgba(0, 0, 0, 0.1) 100%);
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px;
    border-radius: 10px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.5));
}

.teacher{
    display: flex;
    padding: 10px;
    background: linear-gradient(120deg,rgba(157,31,20,1) 0,rgba(189,15,15,1) 30%, rgba(255, 255, 255, 0.3) 100%);
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.5));
    text-align: center;
    height: 15%;
    border-radius: 10px;

    transform: translateX(-10%);
    -webkit-transform: translateX(-10%);
    opacity: 0.5;

    -webkit-animation: slide 1s forwards;
    animation: slide 1s forwards;

}

.teacher img{
    flex: 1;
    display: inline-block;
    vertical-align: top;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.text-container{
    flex: 2;
    display: inline-block;
    background: white;
    vertical-align: middle;
    bottom: 10px;
    height: 100%;
    text-align: center;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.text-container div{
    vertical-align: middle;
    transform: translateY(70%);
}

.text-container p{
    font-size: 15px;
    position: relative;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

@-webkit-keyframes slide {
    100% { -webkit-transform: translateX(0%);
        opacity: 1; }
}

@keyframes slide {
    100% { transform: translateX(0%); 
        opacity: 1;
    }
}