font-face { 
  font-family: SpaceGroteskBold;
  src: url('/fonts/SpaceGrotesk-Bold.ttf');
}

@font-face {
  font-family: SpaceGroteskRegular;
  src: url('/fonts/SpaceGrotesk-Regular.ttf');
}

@font-face {
  font-family: SpaceGrotesk;
  src: url('/fonts/SpaceGrotesk-Medium.ttf');
}

:root {
  --red: #ff0000;
  --orange: #ff2a25;
  --black: #000000;
  --white: #ffffff;
  --mushroom: #E7E7E7;
  --graytext: #a8a7a7;
  --lightgray: #d7d7d7;
  --lightergray: #f0f0f0;
  --tmp-img: #909090;
  --purple: #8700FF;
}

html{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: auto;
  font-family: SpaceGrotesk;
}

body.a {
  color: var(--red);
  -moz-transition: color 450ms ease;
  -o-transition: color 450ms ease;
  -webkit-transition: color 450ms ease;
  transition: color 450ms ease;
}

body.a:hover{
  color: var(--purple);
}

div.logo {
  display:inline-block;
}

a {
  color: var(--red);
  -moz-transition: color 450ms ease;
  -o-transition: color 450ms ease;
  -webkit-transition: color 450ms ease;
  transition: color 450ms ease;
  text-decoration: none;
}

a:hover{
  color: var(--purple);
  text-decoration: none;
}

a.markdown{
  color: var(--red);
  -moz-transition: color 450ms ease;
  -o-transition: color 450ms ease;
  -webkit-transition: color 450ms ease;
  transition: color 450ms ease;
  text-decoration: none;
}

a.markdown:hover{
  color: var(--purple);
}


a.menu {
  z-index:100;
  position:relative;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 31px;
  color: var(--red);
  -moz-transition: color 450ms ease;
  -o-transition: color 450ms ease;
  -webkit-transition: color 450ms ease;
  transition: color 450ms ease;
}

a.menu:hover{
  color: var(--purple);
}

a.menu-bright {
  z-index:100;
  position:relative;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 31px;
  color: var(--white);
}

div.header{
  display:inline-block;
  float: right;
}

div.intro-col{
  color: var(--orange);
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
}

#home-image{
  object-position: 50% 0%;
  object-fit: cover;
}


p {
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--black);
}

.news__teaser{
  color: var(--black);
  -moz-transition: color 200ms ease;
  -o-transition: color 200ms ease;
  -webkit-transition: color 200ms ease;
  transition: color 200ms ease;
}

.news__teaser:hover{
  color: var(--red);
  cursor: pointer;
}

h2.preview {
  font-family: SpaceGrotesk;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
}

img.previewimage{
  object-fit: cover;
  -moz-transition: all 450ms ease;
  -o-transition: all  450ms ease;
  -webkit-transition: all  450ms ease;
  transition: all 450ms ease;
}

img.previewimage:hover{
  transform: scale(1.005);
}


h3.preview {
  font-family: SpaceGrotesk;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
}


h4.preview {
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--black);

}

hr.facts {
  color: var(--orange);
  background-color: var(--orange);
  border: none;
  height: 2px;
}

hr.facts-post {
  color: var(--black);
  background-color: var(--black);
  border: none;
  height: 2px;
}

#facts-head {
  color: var(--orange);
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
}

div.fact{
  color: var(--orange);
  display:inline-block;
  vertical-align:top;
}

div.factnum{
  color: var(--orange);
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
}

div.facttext{
  color: var(--orange);
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
}

#botnavblock-home{
  display:none;
}

a.botnav {
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--orange);
}

a.botnav:hover{
  color: var(--purple);
}

#memberblock-home{
  display:none;
}

div.members-front {
  color: var(--black);
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
}

div.support {
  color: var(--black);
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
}

div.members {
  font-size: 35px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--black);
}

div.partnersep{
  display:inline-block;
}

#footer {
  color: var(--red);
  width: calc(100vw - 4px);
  position: relative;
  height: 100px;
  margin-top: 100px;
  margin-left: -50vw;
  left: 50%;
  background-color: #131313;
}

div.foot-head{
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: #5c5c5c;
}

div.foot-content{
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--white);
}

img.logo_foot{
  display:inline-block;
}

a.memberlink {
}


a.foot-link {
  color: var(--white);
}

img.titleimage{
  object-fit: cover;
}

h1.subpage {
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--black);
}

h2.subpage {
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
}

div.about_info_head{
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: 0.35px;
  color: var(--orange);
}

hr.about_info_sep{
  color: var(--mushroom);
  background-color: var(--mushroom);
}

a.about_info_link{
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--black);
}

h1.second-col {
  margin-bottom: 30px;
  font-size: 35px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 40px;
  letter-spacing: normal;
  color: var(--black);
}

#newshead {
  margin-top: 40px;
  height: 18px;
  font-size: 13px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 18px;
  letter-spacing: 0.35px;
  color: var(--orange);
}

img.person {
  object-fit: cover;
}

span.person_name {
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--black);
}

span.person_role {
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--graytext);
}

img.leftimage {
  object-fit: cover;
}

img.leftimage-res { 
  object-fit: cover;
}

div.research-head{
  position:relative;
}

div.research-head-sub{
  position:absolute;
  bottom:0px;
}


div.research_small_head{
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  color: var(--orange);
}

span.publication{
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--black);
}

span.publication-info{
  color: var(--graytext);
}

hr.pubsep{
  background-color: var(--mushroom);
  border-top: 0.5px solid  var(--mushroom);
}

div.header_background {
  position:absolute;
  top: 0px;
  margin-left: -50vw;
  left: 50%;
  width: 100%;
  background-color: #f3f3f3;
  z-index: -100;
}

img.header_background {
  position:absolute;
  top: 0px;
  margin-left: -50vw;
  left: 50%;
  width: 100%;
  object-fit:cover;
  z-index: -100;
}

span.research_title {
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--white);
}

span.parent_title{
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--white);
}

#navbutton {
  display: none;
}

img.speaker-img{
  object-fit: cover;
  float:left;
}

div.lecture-entry{
  overflow: hidden;
}

h3.lecture-date{
  color:var(--graytext);
}

div.res-preview{ 
  width: 45%;
  display:inline-block;
  margin-right: 4%;
  vertical-align:top;
}

div.youtube-preview-wrapper{ 
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
}

iframe.youtube-preview{ 
  width: 100%;
  height: 100%;
  position: absolute;
	top: 0; bottom: 0; left: 0; right: 0;
}


@media screen and (min-width: 1250px) {
  body {
    width: 1250px;
  }

  div.logo {
    padding-top: 24px;
    padding-left: 30px;
  }

  img.logo {
    height: 113px;
  }

  img.logo_home {
    height: 150px;
    margin-right:-105px;
    margin-bottom:-24px;
  }

  span.menuitem {
    padding-right: 33px;
  }

  span.menu {
    margin-left:-100px;
    padding-right: 6px;
    float: right;
  }

  a.menu {
    font-size: 15px;
    letter-spacing: 0.4px;
    text-decoration: none;
  }

  a.menu:hover {
      text-decoration: none;
      color: black;
    }

  div.header {
    padding-top: 21px;
  }

  #intro-text{
    vertical-align:top;
    display:inline-block;
    margin-top:50px;
    margin-left:30px;
    width:363px
  }

  div.intro-col{
    width:363px;
    font-size:26px;
    line-height: 31px;
  }

  #home-image{
    display:inline-block;
    margin-top:50px;
    margin-left: 60px;
    width: 754px;
  }

  p {
    font-size: 22px;
    line-height: 30px;
  }

  div.leftmargin {
    margin-left: 433px;
  }

  div.sidebar {
    width: 343px;
    height: 100%;
    margin-left: 30px;
    margin-right: 60px;
    float: left;
  }

  h2.sidebar-head {
    font-size: 30px;
  }

  span.sidebar-entry { 
    font-size: 20px;
  }

  ul.sidebar {
    padding-left: 20px;
  }

  span.sidebar-entry { 
    font-size: 25px;
    line-height: 30px;
  }

  li.sidebar-element { 
    padding-bottom: 10px;
  }

  div.rightmargin {
    margin-right: 239px;
  }

  #home-top-sep{
    height:150px;
  }

  #home-pre-fact-sep{
    height:49px;
  }

  #home-post-fact-sep{
    height:0px;
    margin-bottom:-80px;
  }

  div.preview-block{
    display: grid;
    grid-template-columns: 366px 366px 366px ;
    grid-column-gap: 43px;
    grid-row-gap:94px;
    margin-left: 30px;
    margin-top: 50px;
  }

  h2.preview {
    font-size: 24px;
    line-height: 27px;
  }

  img.previewimage{
    width: 366px;
    height: 200px;
  }

  h3.preview {
    font-size: 16px;
    line-height: 20px;
  }

  h4.preview {
    font-size: 13px;
    line-height: 26px;
  }

  hr.facts {
    margin-left: 30px; 
    margin-right: 40px;
  }

  hr.facts-post {
    margin-left: 30px; 
    margin-right: 40px;
  }

  #facts-head {
    font-size: 50px;
    line-height: 55px;
  }

  div.factblock {
    display: grid;
    align-items: center;
    grid-template-columns: 355px auto auto auto auto ;
    grid-column-gap: 50px;
    grid-row-gap: 50px;
    margin-left: 30px;
    margin-top: 50px;
    margin-bottom:30px;
  }

  div.factnum{
    font-size: 60px;
    margin-top:-3px;
    line-height: 60px;
  }

  div.facttext{
    margin-top:10px;
    font-size: 20px;
    line-height: 23px;
  }

  div.factseparator2 {
    display:inline-block;
  }

  #memberblock-front{
    display: grid;
    grid-template-columns: 355px auto auto auto ;
    grid-column-gap: 50px;
    grid-row-gap: 50px;
    margin-left: 30px;
    margin-top: 50px;
    margin-bottom:30px;
  }

  #memberblock{
    display: grid;
    grid-template-columns: auto auto auto ;
    grid-column-gap: 50px;
    margin-bottom:30px;
    margin-left: 438px;
    margin-top: 67px;
  }

  #botnavblock{
    margin-left: 436px;
    margin-top: 167px;
  }

  a.botnav {
    font-size: 30px;
    line-height:40px;
  }

  #memberseperator{
    height:112px;
  }

  div.members-front {
    width: 306px;
    font-size: 50px;
    line-height: 55px;
    margin-bottom:-10px;
  }

  div.support {
    font-size: 50px;
    line-height: 55px;
  }

  img.partnerlogo-front {
    height : 57px;
  }

  img.partnerlogo-industry {
    height : 57px;
    margin-right : 15px;
  }

  div.members {
    margin-bottom: 20px;
    margin-top: 50px;
    grid-column-start: span 3;
    font-size: 35px;
    line-height: 40px;
  }

  img.partnerlogo {
    margin-right: 34px;
    height : 57px;
  }

  div.partnersep{
    width:34px;
  }

  #footer {
    color: var(--red);
    margin-top:100px;
    height:222px;
  }

  div.foot-head{
    margin-top:55px;
    font-size: 14px;
    line-height: 18px;
  }

  div.foot-content{
    margin-top:8px;
    font-size: 13px;
    line-height: 18px;
  }

  #contact{
    display:inline-block;
    vertical-align:top;
    width:274px;
    margin-left: calc(50vw - 625px + 45px);
  }

  #legal{
    display:inline-block;
    vertical-align:top;
    width:126px;
    margin-left:20px;
  }

  #follow{
    display:inline-block;
    vertical-align:top;
    width:126px;
    margin-left:78px;
  }

  img.logo_foot{
    margin-top:49px;
    margin-left:273px;
    width: 273px;
    height: 113px;
  }


  img.titleimage {
    margin-left: 30px;
    margin-top: 41px;
    width: 1000px;
    height: 386px;
  }

  h1.subpage {
    margin-top: 50px;
    margin-bottom: 40px;
    font-size: 35px;
    line-height: 40px;
  }

  h2.subpage {
    margin-top: 48px;
    font-size: 35px;
    line-height: 35px;
  }

  div.about_info_block {
    margin-top:59px;
    margin-bottom:51px;
  }

  div.about_info_head{
    font-size: 13px;
    line-height: 18px; 
  }

  a.about_info_link{
    font-size: 22px;
    line-height: 40px;
  }

  h1.second-col {
    margin-top:50px;
    margin-left: 438px; 
  }

  div.peoplebox{
    display: grid;
    grid-template-columns: repeat(auto-fill, 165px);
    grid-column-gap: 40px;
    grid-row-gap:76px;
  }

  img.person {
    height: 203px;
    width: 165px;
  }

  div.person_descr {
    margin-top:20px;
  }

  span.person_name {
    font-size: 18px;
    line-height: 22px;
  }

  span.person_role {
    font-size: 18px;
    line-height: 22px;
  }

  img.leftimage {
    margin-left: -101px;
    margin-top: 0px;
    width: 669px;
    height: 386px;
  }

  #publink {
    margin-bottom: 50px
  }

  img.leftimage-res {
    margin-left: -143px;
    width: 727px;
    height: 394px;
  }

  div.research-topic {
    margin-bottom: 123px;  
    color: black;
  }

  div.pubskip{
    height : 88px;
  }

  span.publication{
    font-size: 22px;
    line-height: 28px;
  }


  div.header_background {
    height: 482px;
  }

  img.header_background {
    height: 482px;
  }

  div.research-head{
    height: 320px;
    margin-bottom: 80px;
  }

  span.research_title {
    font-size: 60px;
    line-height: 60px;
  }

  span.parent_title{
    font-size: 16px;
    line-height: 25px;
  }

  div.course-grid{
    display:grid;
    grid-template-columns: 28% 28% 28%;
    grid-column-gap: 5%;
    grid-row-gap: 50px;
    juistify-items: stretch;
    margin-bottom: 80px;
  }

  div.course_entry{
    height:100%;
    position:relative;
    background-color:var(--white);
    border: solid;
    border-color:var(--red);
    border-width:3px;
    padding:1.1%;
    vertical-align:top;
    color: var(--black);
  }

  div.course_entry_off{
    height:100%;
    position:relative;
    background-color:var(--lightgray);
    border: solid;
    border-color:var(--red);
    border-width:3px;
    padding:1.1%;
    vertical-align:top;
    color: var(--black);
  }

  div.course_entry:hover{ 
    background-color:var(--lightergray);
    border-width:5px;
    padding: calc(1% - 2px);
  }

  div.course_entry_off:hover{ 
    background-color:var(--lightergray);
    border-width:5px;
    padding: calc(1% - 2px);
  }

  div.course_name{  
    font-size: 20px;
    line-height: 22px;
  }

  div.course_lecturer{  
    font-size: 18px;
    line-height: 22px;
  }

  div.course_description{  
    font-size: 14px;
    line-height: 18px;
  }

  div.course_ects{  
    position:absolute;
    padding:inherit;
    bottom:0px;
    left:0px;
    font-size: 14px;
    line-height: 16px;
    display:inline-block;
  }

  img.course_institute {
    position:absolute;
    padding:inherit;
    bottom:0px;
    right:0px;
    height : 24px;
    vertical-align:top;
    float:right;
  }

  hr.lecsep{
    margin-top:36px;
    margin-bottom:32px;
    border-top: 0.5px solid  var(--mushroom);

  }


  h3.lecture-title{
    font-size:25px;
    line-height:30px;
  }
  
  h3.lecture-date{
    font-size:20px;
    line-height:20px;
    margin-bottom:-10px;
  }

  p.lecture-details{
    font-size:20px;
    line-height:25px;
  }

  img.speaker-img{
    margin-right: 20px;
    margin-bottom: 10px;
    width : 150px;
    height : 200px;
  }


  div.research_small_head{
    font-size: 18px;
    line-height: 18px; 
    margin-top: 30px;
    margin-bottom: 30px;
  }

}

@media screen and (min-width: 789px) and (max-width: 1249px) {
  body {
    width: 789px;
  }

  div.logo {
    padding-top: 13px;
    padding-left: 15px;
  }

  img.logo {
    height: 80px;
  }

  img.logo_home {
    height: 80px;
  }

  span.menuitem {
    padding-right: 20px;
  }

  span.menu {
    margin-left:-150px;
    float: right;
  }

  a.menu {
    font-size: 13px;
    letter-spacing: 0.35px;
    }



  a.menu-bright {
    font-size: 13px;
    letter-spacing: 0.35px;
  }

  div.header {
    padding-top: 6px;
  }


  #intro-text{
    vertical-align:top;
    display:inline-block;
    margin-top:40px;
    margin-left:15px;
    width:231px;
  }

  div.intro-col{
    vertical-align:top;
    width:231px;
    font-size:18px;
    line-height: 20px;
  }

  #home-image{
    display:inline-block;
    margin-top:40px;
    margin-left:30px;
    width:492px;
  }


  p {
    font-size: 18px;
    line-height: 22px;
  }

  div.leftmargin {
    margin-left: 212px;
  }

  div.sidebar {
    width: 172px;;
    height: 100%;
    margin-right: 40px;
    float: left;
  }

  h2.sidebar-head {
    font-size: 20px;
  }

  ul.sidebar {
    padding-left: 20px;
  }

  span.sidebar-entry { 
    font-size: 16px;
    line-height: 22px;
  }

  li.sidebar-element { 
    padding-bottom: 10px;
  }

  div.rightmargin {
    margin-right: 148px;
  }

  #home-top-sep{
    height:55px;
  }

  #home-pre-fact-sep{
    height:10px;
  }

  #home-post-fact-sep{
    height:0px;
    margin-bottom:-20px;
  }
    
  div.preview-block{
    display: grid;
    grid-template-columns: 231px 231px 231px ;
    grid-column-gap: 30px;
    grid-row-gap:50px;
    margin-left: 15px;
  }

  h2.preview {
    font-size: 18px;
    line-height: 22px;
  }

  img.previewimage{
    width: 231px;
    height: 126px;
  }

  h3.preview {
    font-size: 16px;
    line-height: 18px;
  }

  h4.preview {
    font-size: 13px;
    line-height: 26px;
  }

  hr.facts {
    margin-left: 15px; 
    margin-right: 15px;
  }

  hr.facts-post {
    margin-left: 15px; 
    margin-right: 15px;
  }

  #facts-head {
    font-size: 40px;
    line-height: 40px;
  }

  div.factblock {
    display: grid;
    grid-template-columns: 261px auto auto auto auto ;
    align-items: center;
    margin-top: 30px;
    margin-left: 15px;
    margin-bottom: 20px;
  }

  div.factnum{
    font-size: 40px;
    margin-top:2px;
    line-height: 40px;
  }

  div.facttext{
    width: 131px;
    margin-top:4px;
    font-size: 15px;
    line-height: 17px;
  }

  div.factseparator2 {
    display:inline-block;
  }

  #memberblock-front{
    display: grid;
    grid-template-columns: 261px auto auto auto ;
    grid-row-gap: 50px;
    margin-left: 15px;
    margin-top: 50px;
    margin-bottom:20px;
  }

  #botnavblock{
    margin-top:51px;
    margin-left:212px;
  }

  a.botnav {
    font-size: 25px;
    line-height:35px;
  }

  #memberblock{
    display: grid;
    grid-template-columns: auto auto auto ;
    grid-row-gap: 20px;
    margin-left:212px;
    margin-top: 77px;
  }

  #memberseperator{
    height:64px;
  }

  div.members-front {
    font-size: 40px;
    line-height: 40px;
  }

  div.support {
    font-size: 30px;
    line-height: 40px;
  }

  div.members {
    grid-column-start: span 3;
    margin-top: 40px;
    font-size: 25px;
    line-height: 35px;
  }

  img.partnerlogo-front{
    height : 40px;
  }

  img.partnerlogo-industry {
    height : 40px;
    margin-right : 10px;
  }

  img.partnerlogo {
    height : 54px;
  }

  div.partnersep{
    width:34px;
  }

  #footer {
    color: var(--red);
    margin-top:100px;
    height:222px;
  }

  div.foot-head{
    margin-top:55px;
    font-size: 14px;
    line-height: 18px;
  }

  div.foot-content{
    margin-top:8px;
    font-size: 13px;
    line-height: 18px;
  }

  #contact{
    display:inline-block;
    vertical-align:top;
    width:192px;
    margin-left: calc(50vw - 390px + 15px);
  }

  #legal{
    display:inline-block;
    vertical-align:top;
    width:126px;
    margin-left:69px;
  }

  #follow{
    display:inline-block;
    vertical-align:top;
    width:95px;
    margin-left:65px;
  }

  img.logo_foot{
    margin-top:49px;
    margin-left:70px;
    width: 133px;
    height: 55px;
  }


  img.titleimage {
    width: 669px;
    height: 386px;
    margin-left:15px;
    margin-top:25px;
  }

  h1.subpage {
    margin-top: 40px;
    margin-bottom: 29px;
    font-size: 35px;
    line-height: 40px;
  }

  h2.subpage {
    margin-top: 17px;
    margin-bottom: 29px;
    font-size: 35px;
    line-height: 40px;
  }

  div.about_info_block {
    margin-top:59px;
    margin-bottom:51px;
  }

  div.about_info_head{
    font-size: 12px;
    line-height: 17px; 
  }

  a.about_info_link{
    font-size: 18px;
    line-height: 32px;
  }

  h1.second-col {
    margin-top:40px;
    margin-left: 291px; 
  }

  div.peoplebox{
    display: grid;
    grid-template-columns: repeat(auto-fill, 102px);
    grid-column-gap: 28px;
    grid-row-gap:60px;
  }

  img.person {
    height: 126px;
    width: 102px;
  }

  div.person_descr {
    margin-top:18px;
  }

  span.person_name {
    font-size: 18px;
    line-height: 22px;
  }

  span.person_role {
    font-size: 18px;
    line-height: 22px;
  }

  img.leftimage {
    margin-left: -143px;
    width: 572px;
    height: 310px;
  }

  #publink {
    margin-bottom: 40px
  }

  img.leftimage-res {
    margin-left: -143px;
    width: 572px;
    height: 310px;
  }

  div.research-topic {
    margin-bottom: 100px;  
    color: black;
  }

  div.pubskip{
    height : 70px;
  }

  span.publication{
    font-size: 18px;
    line-height: 22px;
  }

  div.header_background {
    height: 330px;
  }

  img.header_background {
    height: 330px;
  }

  div.research-head{
    height:210px;
    position:relative;
    margin-bottom:95px;
  }

  span.research_title {
    font-size: 50px;
    line-height: 60px;
  }

  span.parent_title{
    font-size: 14px;
    line-height: 25px;
  }

  div.course-grid{
    display:grid;
    grid-template-columns: 45% 45%;
    grid-column-gap: 5%;
    grid-row-gap: 30px;
    juistify-items: stretch;
    margin-bottom: 60px;
  }

  div.course_entry{
    position:relative;
    height:100%;
    background-color:var(--white);
    border: solid;
    border-color:var(--red);
    border-width:2px;
    padding:1%;
    color: var(--black);
  }

  div.course_entry_off{
    position:relative;
    height:100%;
    background-color:var(--lightgray);
    border: solid;
    border-color:var(--red);
    border-width:2px;
    padding:1%;
    color: var(--black);
  }

  div.course_entry:hover{ 
    background-color:var(--lightergray);
    border-width:4px;
    padding: calc(1% - 2px);
  }

  div.course_entry_off:hover{ 
    background-color:var(--lightergray);
    border-width:4px;
    padding: calc(1% - 2px);
  }

  div.course_name{  
    font-size: 20px;
    line-height: 22px;
  }

  div.course_lecturer{  
    font-size: 16px;
    line-height: 18px ;
  }

  div.course_description{  
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 10px;
  }

  div.course_ects{  
    position:absolute;
    padding:inherit;
    bottom:0px;
    left:0px;
    font-size: 14px;
    line-height: 16px;
    display:inline-block;
  }

  img.course_institute {
    position:absolute;
    padding:inherit;
    bottom:0px;
    right:0px;
    height : 24px;
    vertical-align:top;
    float:right;
  }

  hr.lecsep{
    color: var(--mushroom);
    margin-top:36px;
    margin-bottom:32px;
    background-color: var(--mushroom);
  }


  h3.lecture-title{
    font-size:25px;
    line-height:30px;
  }
  
  h3.lecture-date{
    font-size:20px;
    line-height:20px;
    margin-bottom:-10px;
  }

  p.lecture-details{
    font-size:16px;
    line-height:20px;
  }

  img.speaker-img{
    margin-right: 20px;
    margin-bottom: 10px;
    width : 150px;
    height : 200px;
  }


  div.research_small_head{
    font-size: 16px;
    line-height: 18px; 
    margin-top: 30px;
    margin-bottom: 30px;
  }

}


@media screen and (max-width: 788px) {
  body {
    width: 320px;
    overflow-x:hidden;
  }

  div.logo {
    padding-top: 11px;
    padding-left: 15px;
  }

  img.logo {
    height: 34px;
  }

  img.logo_home {
    height: 34px;
  }

  #navbutton {
    display: block;
    margin-top:8px;
    width: 38px; 
    margin-right:14px;
  }

  span.menuitem {
    display: block;
  }

  span.menu {
    display:none;
    z-index: 1;
    background-color: var(--orange);
    position: absolute;
    margin-left:-100px;
    width:137px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding-left: 15px;
    float: right;
  }

  a.menu {
    font-size: 13px;
    letter-spacing: 0.35px;
    color:var(--white);
  }

  a.menu-bright {
    font-size: 13px;
    letter-spacing: 0.35px;
  }

  div.header {
    padding-top: 6px;
  }

  div.header:hover span.menu {
    display: block;
  }

  #intro-text{
    margin-top:30px;
    margin-left:15px;
  }

  div.intro-col{
    width:290px;
    font-size:18px;
    line-height: 20px;
  }

  #home-image{
    margin-top:20px;
    margin-left:15px;
    width:290px;
  }

  p {
    font-size: 18px;
    line-height: 22px;
  }

  div.leftmargin {
    margin-left: 15px;
  }

  div.sidebar {
    display: none;
  }

  div.rightmargin {
    margin-right: 15px;
  }

  #home-top-sep{
    height:80px;
  }

  #home-pre-fact-sep{
    height:49px;
  }

  #home-post-fact-sep{
    height:0px;
  }


  div.preview-block{
    display: grid;
    grid-template-columns: 290px ;
    grid-row-gap:28px;
    margin-left: 15px;
  }

  h2.preview {
    font-size: 20px;
    line-height: 24px;
  }

  img.previewimage{
    width: 290px;
    height: 158px;
  }

  h3.preview {
    font-size: 16px;
    line-height: 18px;
  }

  h4.preview {
    font-size: 13px;
    line-height: 26px;
  }

  hr.facts {
    margin-left: 15px; 
    margin-right: 15px;
  }
  hr.facts-post {
    margin-left: 15px; 
    margin-right: 15px;
  }

  #facts-head {
    grid-column-start: span 4;
    font-size: 30px;
    line-height: 30px;
  }

  div.factblock {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-column-gap: 0px;
    grid-row-gap: 10px;
    justify-items:left;
    margin-left: 15px;
    margin-top: 10px;
    margin-bottom:20px;
  }

  div.factnum{
    font-size: 30px;
    margin-top:-3px;
    line-height: 30px;
  }

  div.facttext{
    width: 66px;
    margin-top:4px;
    font-size: 13px;
    line-height: 16px;
  }

  div.factseparator2 {
    margin-top: 33px;
    display:inline-block;
  }

  #memberblock-front{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-column-gap: 0px;
    grid-row-gap: 10px;
    justify-items:left;
    margin-left: 15px;
    margin-top: 0px;
    margin-bottom:20px;
  }

  #botnavblock{
    margin-top:51px;
    margin-left:167px;
  }

  a.botnav {
    font-size: 20px;
    line-height:30px;
  }

  #memberblock{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-column-gap: 0px;
    grid-row-gap: 10px;
    justify-items:left;
    margin-left: 15px;
    margin-top: 0px;
    margin-bottom:20px;
  }

  #memberseperator{
    height:64px;
  }

  div.members {
    grid-column-start: span 3;
    margin-top: 20px;
    font-size: 30px;
    line-height: 30px;
  }

  div.members-front {
    grid-column-start: span 3;
    margin-top: 20px;
    font-size: 30px;
    line-height: 30px;
  }

  div.support {
    grid-column-start: span 4;
    font-size: 30px;
    line-height: 30px;
  }

  img.partnerlogo-front {
    height : 25px;
  }

  img.partnerlogo-industry {
    height : 25px;
    margin-right: 15px;
  }

  img.partnerlogo {
    height : 25px;
  }

  div.partnersep{
    width:16px;
  }

  #footer {
    color: var(--red);
    margin-top:55px;
    height:351px;
  }

  div.foot-head{
    font-size: 14px;
    line-height: 18px;
  }

  div.foot-content{
    margin-top:8px;
    font-size: 13px;
    line-height: 18px;
  }

  #contact{
    padding-top:26px;
    width:192px;
    margin-left:15px;
    margin-left: calc(50vw - 160px + 15px);
  }

  #legal{
    padding-top:33px;
    width:126px;
    margin-left: calc(50vw - 160px + 15px);
  }

  #follow{
    vertical-align:top;
    display:inline-block;
    padding-top:33px;
    width:95px;
    margin-left: calc(50vw - 160px + 15px);
  }

  img.logo_foot{
    vertical-align:bottom;
    margin-left:53px;
    width: 133px;
    height: 55px;
  }

  img.titleimage {
    width: 290px;
    height: 167px;
    margin-top:20px;
    margin-left:15px;
  }

  h1.subpage {
    margin-top: 17px;
    margin-bottom: 29px;
    font-size: 35px;
    line-height: 40px;
  }

  h2.subpage {
    margin-top: 17px;
    margin-bottom: 29px;
    font-size: 35px;
    line-height: 40px;
  }

  div.about_info_block {
    margin-top:59px;
    margin-bottom:51px;
  }

  div.about_info_head{
    font-size: 12px;
    letter-spacing: 0.35px;
  }

  a.about_info_link{
    font-size: 18px;
    line-height: 32px;
  }

  h1.second-col {
    margin-left: 15px; 
  }

  div.peoplebox{
    display: grid;
    grid-template-columns: repeat(auto-fill, 139px);
    grid-column-gap: 12px;
    grid-row-gap:28px;
  }

  img.person {
    height: 171px;
    width: 139px;
  }

  div.person_descr {
    margin-top:18px;
  }

  span.person_name {
    font-size: 16px;
    line-height: 18px;
  }

  span.person_role {
    font-size: 16px;
    line-height: 18px;
  }

  img.leftimage {
    margin-left: -0px;
    width: 290px;
    height: 157px;
  }

  #publink {
    margin-bottom: 40px
  }

  img.leftimage-res {
    margin-left: 0px;
    width: 290px;
    height: 157px;
  }

  div.research-topic {
    margin-bottom: 100px;  
    color: black;
  }

  div.pubskip{
    height : 70px;
  }

  span.publication{
    font-size: 18px;
    line-height: 22px;
  }

  div.header_background {
    height: 330px;
  }

  img.header_background {
    height: 330px;
  }

  div.research-head{
    height:260px;
    position:relative;
    margin-bottom:95px;
  }

  span.research_title {
    font-size: 40px;
    line-height: 50px;
  }

  span.parent_title{
    line-height: 25px;
  }

  div.course-grid{
    margin-bottom: 30px;
  }

  div.course_entry{
    background-color:var(--white);
    border: solid;
    border-color:var(--red);
    border-width:2px;
    width:290px;
    margin-right:0%;
    margin-bottom:20px;
    padding:1%;
    display:inline-block;
    vertical-align:top;
    color: var(--black);
  }

  div.course_entry_off{
    background-color:var(--lightgray);
    border: solid;
    border-color:var(-red);
    border-width:2px;
    width:290px;
    margin-right:0%;
    margin-bottom:20px;
    padding:1%;
    display:inline-block;
    vertical-align:top;
    color: var(--black);
  }

  div.course_entry:hover{ 
    background-color:var(--lightergray);
    border-width:4px;
    padding: calc(1% - 2px);
  }

  div.course_entry_off:hover{ 
    background-color:var(--lightergray);
    border-width:6px;
    padding: calc(1% - 2px);
  }


  div.course_name{  
    font-size: 18px;
    line-height: 22px;
  }

  div.course_lecturer{  
    font-size: 16px;
    line-height: 18px;
  }

  div.course_description{  
    font-size: 14px;
    line-height: 16px;
  }

  div.course_ects{  
    font-size: 14px;
    line-height: 16px;
    display:inline-block;
  }

  img.course_institute {
    height : 24px;
    vertical-align:top;
    float:right;
  }

  hr.lecsep{
    color: var(--mushroom);
    margin-top:26px;
    margin-bottom:22px;
    background-color: var(--mushroom);
  }

  h3.lecture-title{
    font-size:20px;
    line-height:25px;
  }

  h3.lecture-date{
    font-size:15px;
    line-height:15px;
    margin-bottom:-10px;
  }

  p.lecture-details{
    font-size:14px;
    line-height:18px;
  }

  img.speaker-img{
    margin-right: 20px;
    margin-bottom: 10px;
    width : 120px;
    height : 160px;
  }

  div.res-preview{ 
    width: 100%;
    display:inline-block;
  }


  div.research_small_head{
    font-size: 14px;
    line-height: 14px; 
    margin-top: 30px;
    margin-bottom: 30px;
  }

}

@media screen and (min-width: 1440px) {
  body {
    width: 100%;
  }

  div.logo {
    padding-top: 24px;
    padding-left: 2vw;
  }

  #intro-text {
    width: 30vw;
    margin-left: 2vw;
  }

  div.intro-col {
    width: 100%;
    font-size: 30px;
    line-height: 32px;
  }

  #home-image {
    display: inline-block;
    margin-top: 50px;
    margin-left: 10vw;
    width: 55vw;
    height: 20vw;
  }

  div.preview-block{
    display: grid;
    grid-template-columns: 30vw 30vw 30vw ;
    grid-column-gap: 3vw;
    grid-row-gap:94px;
    margin-left: 2vw;
    margin-top: 50px;
  }

  img.previewimage {
    width: 100%;
    height: 230px;
  }

  h2.preview {
    font-size: 26px;
    line-height: 28px;
  }

  #facts-head {
    font-size: 50px;
    line-height: 55px;
  }

  div.factblock {
    display: grid;
    align-items: center;
    grid-template-columns: calc(33vw - 50px) auto auto auto auto ;
    grid-column-gap: 50px;
    grid-row-gap: 50px;
    width: calc( max(1400px, 66vw) ) ;
    margin-left: 2vw;
    margin-top: 50px;
    margin-bottom:30px;
  }

  div.factnum {
    font-size: 90px;
    margin-top: 5px;
    line-height: 85px;
  }

  #memberblock-front{
    display: grid;
    grid-template-columns: calc(33vw - 50px) auto auto auto ;
    grid-column-gap: 50px;
    grid-row-gap: 50px;
    width: 66vw ;

    margin-left:2vw;
    margin-bottom:40px;
  }

  div.members-front {
    font-size: 50px;
    line-height: 55px;
  }

  img.partnerlogo-front {
    height : 70px;
  }
  
  img.partnerlogo-industry {
    height : 70px;
    margin-right: 30px;
  }

  h1.second-col {
    margin-top: 50px;
    margin-left: 35vw;
    font-size: 50px;
  }

  h1.subpage {
    margin-top: 50px;
    margin-bottom: 40px;
    font-size: 50px;
    line-height: 55px;
  }

  #botnavblock {
    margin-left: 35vw;
    margin-top: 150px;
  }

  #memberblock {
    width:600px;
    margin-left: 35vw;
    margin-top: 100px;
  }

  img.titleimage {
    margin-left: 35vw;
    width: calc(min(60vw,1000px));
    height: 500px;
  }

  div.leftmargin {
    margin-left: 35vw;
  }

  div.rightmargin {
    margin-right: calc(10vw+100px);
  }


  hr.facts {
    margin-left: 2vw; 
    margin-right: 2vw;
  }

  hr.facts-post {
    margin-left: 2vw; 
    margin-right: 2vw;
  }


  img.leftimage-res {
    object-fit: cover;
    margin-left: -143px;
    width: 50vw;
    height: 394px;
  }

  span.menu {
    margin-left:-100px;
    padding-right: calc(2vw - 33px);
    float: right;
  }

}

@media screen and (min-width: 2050px) {
  #home-image {
    display: inline-block;
    /*margin-top: 50px;*/
    margin-top: -70px;
    margin-left: 10vw;
    width: 55vw;
    height: 20vw;
  }
}
