/* page template */
body.pages {
    background-color: #156959;
}

.page-content {
    font-family: 'Montserrat'; 
    color: #ffffff;
}

.page-content a {
    color: #ffffff;
    text-decoration: underline;
}

.page-content a:hover {
    color: #D4EFF9;
}

/* all sections container, initial layout*/
.a-container { 
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.a-container button {
    background-color: #07945A;
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    padding: 0.75% 2%;
    font-size: 1.2rem;
    font-family: 'Montserrat-Bold';
    font-weight: 700;
    transition-duration: 0.4s;
    margin-top: 10px;
}

.a-container button:hover {
    background-color: #07643E;
    
}

/* first section */
.first {
    background-color: #FFFFFF; 
    position: relative;
}

/* second section */
.second {
    background-color: #D2EDF6;
    position: relative;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: end;
    padding-right: 120px;
}

.second h1 {
    font-family: 'Impact';
    color: #07945A;
    font-size: 50px;
    text-align: right; 
}

.second p {
    font-family: 'Montserrat';
    color: #000000;
    font-size: 20px;
    text-align: right; 
    margin-top: 10px;
    padding-left: 70px;
}

/* third section */
.third {
    background-color: #016759;
    position: relative;
    padding: 60px;
    /* margin-bottom: -50px; */
    padding-left: 120px;
}

.third h1 {
    font-family: 'Impact';
    color: #ffffff;
    font-size: 50px;
    text-align: left; 
}

.third p {
    font-family: 'Montserrat';
    color: #ffffff;
    font-size: 20px;
    text-align: left; 
    margin-top: 30px;
    padding-right: 70px;
}

#third-bottom {
    display: flex;
    flex-direction: column;
    align-items: end;
    padding-right: 70px;
    margin-top: 30px;
}

#third-bottom p {
    text-align: right;
    padding-right: 0px;
}

/* fourth section */
.fourth {
    background-color: #40474c;
    position: relative;
    padding: 120px;
    margin-bottom: -50px;
    display: flex;
    overflow: hidden;
}

.fourth h1 {
    font-family: 'Impact';
    color: #ffffff;
    font-size:40px;
    text-align: left; 
    margin-right: auto;
}

.fourth select {
    background-color: #07945A;
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat-Bold';
    font-weight: 700;
    transition-duration: 0.4s;
    margin: 10px;
}


/* images container */
.images {
    display: flex;
    position: relative;
    height: 100dvh; 
    width: 100%;
    overflow: hidden;
}

/* logo */
.images img {
    position: absolute;
    bottom: 0;
}

.logo {
    margin: 1.11% 0;
}

.logo img {
    width: 25%;
    position: relative;
    padding-top: 2.89%;
    margin-left: -0.89%;
    height: 195px;
    width: 185px;
}

/* individual elements positioning */
.hill4 {
    transform: translateY(4.44%);
}

.plant2 {
    width: 13.77%;  
    transform: translate(-50%, -50%);
    top: 70%;
    left: 21.20%;
}

.hill3 {
    transform: translateY(7.78%);
}

.hill2 {
    transform: translateY(6.11%);
}

.plant6 {
    width: 95.81%;
    transform: translate(-50%, -50%);
    top: 46.67%;
    left: 61%;
}

.tree {
    width: 113.77%;
    transform: translate(-50%, -50%);
    top: 42.22%;
    left: 55.39%;
}

.plant4 {
    width: 18.36%;
    height: 29%;
    transform: translate(-50%, -50%);
    top: 65.5%;
    left: 62.87%;
}

.plant3 {
    width: 18%;
    height: 25%;
    transform: translate(-50%, -50%);
    top: 83.9%;
    left: 42.28%;
}

.hill1 {
    transform: translateY(5.5%);
}

.plant5 {
    width: 30.54%;
    transform: translate(-50%, -50%);
    top: 84.44%;
    left: 87.96%;
}

.plant1 {
    width: 83.83%;
    transform: translate(-50%, -50%);
    top: 70%;
    left: 29.6%;
}

/* title section */
.title {
    z-index: 1;
    margin: 7.6% 2.1% 0 4.17%;
}

.logo h1 {
    font-family: 'Impact';
    color: #016759; 
    font-size: 8.75rem;
    font-weight: 100;
    line-height: 0.11%;
    float: right;
    padding-top: 14.78%;
    letter-spacing: 2px;
}

.title h2 {
    clear: both; 
    font-family: 'Montserrat-Bold';
    font-weight: 700;
    color: #07945A;
    font-size: 2.4rem;
    line-height: 1; 
}

.title p {
    color: #084334;
    font-family: 'Montserrat';
    font-size: 1.375rem;
    padding: 1.11% 0;
    font-weight: 300;
}

.title button {
    background-color: #07945A;
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    padding: 1.11% 3.5%;
    font-size: 1.563rem;
    font-family: 'Montserrat-Bold';
    font-weight: 700;
    transition-duration: 0.4s;
}

.title button:hover {
    background-color: #07643E;
    
}

/* media queries for mobile and better responsiveness  */

/* uploaded fonts used for home page */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100;
    src: url('https://static.igem.wiki/teams/5103/documents/homepage/montserrat-regular.woff');
}
@font-face {
    font-family: 'Montserrat-Bold';
    font-style: normal;
    font-weight: 700;
    src: url('https://static.igem.wiki/teams/5103/documents/homepage/montserrat-bold.woff');
}

/*NAV-BAR*/
.hidden {
  opacity: 0;
  pointer-events: none;
}

#svgContainer {
  position: fixed;
  top: -15%;
  right: -5%;
  background: transparent;
  border-radius: 0.5rem;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#svgContainer:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

#svgObject {
  width: 100%;
  height: auto;
  min-width: 50rem;
}

text:hover {
  fill: yellow;
}

.burger-menu {
  position: fixed;
  top: 0.5rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1100;
}

.dropdown-item {
  cursor: pointer;
}

/* header style */
.model3d-header {
    padding: 4% 0;
}

.model3d-header img {
    float: left;
    padding: 6% 2% 0 0;
    width: 280px;
}

.bg-hero {
    margin-bottom: 65px;
    background-color: #D4EFFA; 
}

.header-title {
    font-family: 'Impact';
    color: #016759; 
    font-size: 100px;
    padding-top: 60px;
}

.header-text {
    font-family: 'Montserrat';
    color: #000000;
    font-size: 20px;
}

@media (max-width: 1280px) {
    .plant3 {
        top: 86.9%;
    }
    .tree {
        width: 140.77%;
        left: 52.39%;
    }
    .plant4 {
        width: 25%;
        top: 70.5%;
    }
    .plant1 {
        width: 90.83%;
        top: 75%;
    }
    .plant2 {
        top: 77%;
    }
    .plant5 {
        width: 35.54%;
        left: 90.5%;
    }
}
@media (max-width: 1024px) {
    .logo h1 {
        font-size: 9.4rem;
        padding: 120px 0;
        margin: 0;
    }
    .first {
        background-color: #f3f2f2;
    }
    .logo img {
        margin: 0;
        width: 210px;
        height: 210px;
    }
    .logo {
        text-align: left;
        clear: both;
        padding-top: 50px;
    }
    .title {
        width: initial;
        text-align: left;
    }
    .title h2 {
        font-size: 3.3rem;
    }
    .title p {
        font-size: 1.5rem;
    }
    .title button {
        font-size: 1.8rem;
    }
    .fourth {
        flex-direction: column;
    }
    .fourth select {
        margin: 0;
    }
    .plant4, .plant2, .plant3 {
        display: none;
    }
    .plant1, .plant5, .plant6, .tree {
        width: initial;
    }
    .tree {
        height: 60%;
        top: 55%;
        left: 64%;
    }
    .plant5 {
        left: 90%;
        z-index: 4;
        height: 46%;
    }
    .plant1 {
        top: 71%;
        left: 35%;
        height: 48%;
        z-index: 1;
    }
    .plant6 {
        left: 50%;
        top: 56%;
        height: 65%;
        overflow-x: hidden;
    }
    .cloud {
        width: initial;
        height: 140%;
    }
    .hill4 {
        width: initial;
        height:90%;
    }
    .hill3 {
        width: initial;
        height: 125%;
        z-index: 1;
    }
    .hill2 {
        width: initial;
        height: 100%;
        z-index: 2;
    }
    .hill1 {
        width: initial;
        height: 180%;
        z-index: 3;
    }
    .model3d-header img { 
        padding-top: 10px;
        width: 10px;
    }
    .model3d-header {
        padding: 7% 0;
    }
    .model3d-header img {
        padding: 9% 2% 0 0;
        width: 28%;
    }
    .header-title {
        font-size: 4.3rem;
    }
    .header-text {
        font-size: 1.4rem;
    }
}
@media (max-width: 820px) {
    .logo h1 {
        font-size: 7.9rem;
        padding: 100px 0;
    }
    .first {
        background-color: #f3f2f2;
    }
    .logo img {
        width: 180px;
        height: 180px;
    }
    .logo {
        text-align: left;
        clear: both;
        padding-top: 50px;
    }
    .title {
        width: initial;
        text-align: left;
    }
    .title h2 {
        font-size: 2.3rem;
    }
    .title p {
        font-size: 1.2rem;
    }
    .title button {
        font-size: 1.5rem;
    }
    .a-container button {
        font-size: 1.5rem;
    }
    .plant4, .plant2, .plant3 {
        display: none;
    }
    .plant1, .plant5, .plant6, .tree {
        width: initial;
    }
    .tree {
        height: 60%;
        top: 52%;
        left: 61%;
    }
    .plant5 {
        left: 90%;
        z-index: 4;
        height: 46%;
    }
    .plant1 {
        top: 71%;
        left: 35%;
        height: 48%;
        z-index: 1;
    }
    .plant6 {
        left: 47%;
        top: 56%;
        height: 65%;
        overflow-x: hidden;
    }
    .cloud {
        width: initial;
        height: 140%;
    }
    .hill4 {
        width: initial;
        height:90%;
    }
    .hill3 {
        width: initial;
        height: 125%;
        z-index: 1;
    }
    .hill2 {
        width: initial;
        height: 100%;
        z-index: 2;
    }
    .hill1 {
        width: initial;
        height: 180%;
        z-index: 3;
    }
    .model3d-header {
        padding: 7% 0;
    }
    .model3d-header img {
        padding: 9% 2% 0 0;
        width: 31%;
    }
    .header-title {
        font-size: 3.7rem;
    }
    .header-text {
        font-size: 1rem;
        text-align: center;
    }
}
@media (max-width: 475px) {
    .logo h1 {
        font-size: 3.75rem;
        float: none;
        padding: 40px 0;
    }
    .first {
        background-color: #f3f2f2;
    }
    .logo img {
        width: 120px;
        height: 120px;
    }
    .logo {
        text-align: center;
        clear: both;
    }
    .title {
        margin: 50px 10px;
        top: 0;
        text-align: center;
    }
    .title h2 {
        font-size: 1.5rem;
    }
    .title p {
        font-size: 1rem;
    }
    .title button {
        font-size: 1rem;
    }
    .plant4, .plant2, .plant3, .tree {
        display: none;
    }
    .plant1, .plant5, .plant6 {
        width: initial;
    }
    .plant5 {
        left: 90%;
        z-index: 4;
        height: 46%;
    }
    .plant1 {
        top: 71%;
        left: 50%;
        height: 48%;
        z-index: 1;
    }
    .plant6 {
        left: 13%;
        top: 56%;
        height: 65%;
        overflow-x: hidden;
    }
    .cloud {
        width: initial;
        height: 140%;
    }
    .hill4 {
        width: initial;
        height:fit-content;
    }
    .hill3 {
        width: initial;
        height: 135%;
        z-index: 1;
    }
    .hill2 {
        width: initial;
        height: 100%;
        z-index: 2;
    }
    .hill1 {
        width: initial;
        height: 180%;
        z-index: 3;
    }
    .model3d-header {
        padding: 7% 0;
    }
    .model3d-header img {
        padding: 15% 2% 0 0;
        width: 31%;
    }
    .header-title {
        font-size: 2.2rem;
    }
    .header-text {
        text-align: center;
        font-size: 0.8rem;
    }
}
@media (max-width: 390px) {
    .model3d-header {
        padding: 7%;
    }
    .model3d-header img {
        padding: 17% 2% 0 0;
        width: 35%;
    }
    .header-title {
        font-size: 3rem;
    }
    .header-text {
        font-size: 0.8rem;
    }
}
