@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url(https://fonts.googleapis.com/css?family=Codystar);

* {
	padding: 0;
	margin: 0;
	box-string: border-box;
}

html {
	font-family: 'Roboto Mono';
	font-size: 18px;
    scroll-behavior: smooth;
}

#hero {
    width: 100%;
    height: 100vh;
    background:linear-gradient( rgba(0, 0, 0, 0.445), rgba(0, 0, 0, 0.411)), url('./bg.jpg') no-repeat center / cover;
    color: white
}

.container {
    height: 100%;
    display: flex;
}

.center-div {
    align-items: center;
    justify-content: center;
}

.container .info {
    max-width: 50vw;
    text-align: center;
}

.container .info h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.container .info h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.container .info p {
    font-size: 1.2rem;
    max-width: 60%;
    margin: 0 auto;
}

.container .info a {
    text.decoration: none;
    display: inline-block;
    background-color: transparent;
    border-radius: 4px;
    font-size: 1.8rem;
    padding: 0.5cm 2cm;
    margin-top: 2rem;
    color: #ee6c09
}

#lecture {
    height: 100vh;
}

#lecture-title {
    width: 50%;
    height: 100%;
    background: rgba(170, 126, 238, 1.0);
    display: flex;
    flex-direction: column;
}

#lecture-title h1 {
    font-size: 6rem;
}

#lecture-title h2 {
    font-size: 3rem;
    text-align: center;
}

#lecture-link {
    width: 50%;
    height: 100%;
    background: white;
    display: flex;
    
    align-items: left;
    justify-content: left;
}

#lecture-link ul {
    position:relative;
    height: 400px;
    width: 500px;
    
    overflow-x: hidden;
    overflow-y: scroll;
    list-style: none;
    float:left;

    margin: 0 auto;
    padding:0;
    
    border:5px solid rgba(30, 30, 30, .3);
    box-shadow:0 0 10px rgba(0, 0, 0, .3);

    background: rgba(0, 0, 0, .5);
}

#lecture-link li {
    height:90px;
    padding:15px;
    margin:2px 0;
    opacity: 100%;

    background: transparent;
    background-size: 100%;

    text-align: left;

    display: flex;
    flex-direction: column;
}
/*
#lecture-link li:nth-child(odd) {
    background:#aaa;
}
*/

#lecture-link li {
    transition: all .35s ease-out .15s;
    transform-origin: 50% 50%;
}

#lecture-link li.past {
    -webkit-filter:blur(10px);
    filter:blur(10px);
    transform:translateY(-10px);
}

#lecture-link li.future {
    -webkit-filter:blur(10px);
    filter:blur(10px);
    transform:translateY(10px);
}

#lecture-link a {
    font-size: 1.5rem;
    text-align: left;
}

#lecture-link ul {
  counter-reset: li; 
  list-style: none; 
  padding: 0;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

#lecture-link ul a {
  position: relative;
  display: block;
  padding: .4em .4em .4em .8em;
  margin: .5em 0 .5em 2.5em;
  background: #D3D4DA;
  color: #444;
  text-decoration: none;
  transition: all .3s ease-out;
}

#lecture-link ul a:hover {background: #DCDDE1;}       
#lecture-link ul a:before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  left: -2.5em;
  top: 50%;
  margin-top: -1em;
  background: #f9dd94;
  height: 2em;
  width: 2em;
  line-height: 2em;
  text-align: center;
  font-weight: bold;
}

#lecture-link ul a:after {
  position: absolute;
  content: "";
  border: .5em solid transparent;
  left: -1em;
  top: 50%;
  margin-top: -.5em;
  transition: all .3s ease-out;
}

#lecture-link ul a:hover:after {
  left: -.5em;
  border-left-color: #f9dd94;
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 10px
    }
}