.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    width:100vw;
}
.image-caption {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

  
.title-container {
    display: flex;
    flex-direction: column;
    align-items: center;   /* Center items horizontally within title container */
    width: 100vw;
}

.medal {
    position: absolute;
    width: 9.375rem;      /* 150px ÷ 16px = 9.375rem */
    height: auto;
    left: 12.5rem;  /* 200px ÷ 16px = 12.5rem */
    top: 15rem;
    transform: translateY(-50%);
    z-index: 1;
}

.aux-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    z-index:0;
}
.title {
    font-family: var(--title-font);
    font-size: 7rem;
    font-weight: 400;
    position: relative;
}
  
#subtitle-1{
    font-family: var(--title-font) !important;
    font-weight: 400;
    font-style:italic !important;
    font-size: 1.75rem;
    color: var(--shade-1);
}
  
#subtitle-2{
    font-size: 1.5rem;
    color: var(--background);
    font-family: var(--text-font);
    font-weight:700;
    /* font-style:bold; */
}
.hero-content{
    background: url(https://static.igem.wiki/teams/5316/images/brain-gif-homepage.gif);
    background-size: 100vw;
    color: var(--background);
}
  
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-div{
    display:flex;
    /* position: relative; */
    justify-content:center;
    align-items: center;
    margin:10rem 0;
}
/* .video-div iframe{
    width:90%;
    height:auto;
} */
.pagebody{
    display:block;
    padding-right:5rem;
}

.home-content{
    justify-content: center;
    padding-top: 5rem;
}

p{
    font-family: var(--title-font);
    font-size: 1.6rem;
    color: var(--text);
    text-align: justify;
}

.section1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width:100%;
  }
  
  .section1-text {
    flex: 1;
    margin-right: 10rem;
  }
  
  .section1-image {
    flex: 1;
    height:90vh;
    display: flex;
    justify-content: flex-end;
    margin-left:auto;
  }
  
  .section1-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  
.section2-text p{
    font-family: var(--title-font);
    font-weight:300;
    font-size:2rem;
}

.ren{
    font-family: var(--title-font);
    font-size: 5rem;
    font-weight: 300;
    position: relative;
}

.section2{
    display:flex;
    justify-content: center;
    align-items: center;
    padding:15rem;
}

.full-logo{
    width:10rem;
    height:auto;
    padding-top:2rem;
}

.section3{
    display:flex;
    justify-content: center;
    align-items: center;
    padding:10rem 8rem 4rem 8rem;
}

.section3 p{
    font-family:var(--title-font);
    font-weight:normal;
    font-size:4rem;
}

.btn-container{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom:4rem;
}

.section4{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width:100%;
    padding:8rem 4rem 4rem 4rem;
}

.section4-text {
    flex: 1;
    margin-left: 10rem;
    line-height: 2;
  }
  
.section4-image {
    flex: 1;
    width:70%;
    display: flex;
    justify-content: flex-start;
}
  
.section4-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}