
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900');

.funder-logo {
  max-height: 80px;   /* adjust to taste: 60–100px works well */
  width: auto;        /* keep aspect ratio */
  object-fit: contain;
}

.contact-logo {
  max-height: 80px;   /* adjust per design */
  width: auto;
  object-fit: contain;
}

.partner-card {
  min-height: 400px; /* adjust so logos + long text fit */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.partner-card img {
  max-width: 150px; /* bigger than 100px */
  height: auto;
  margin-bottom: 10px;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* optional: remove animation jump */
}

.text-justify {
  text-align: justify;
}
    body {
      font-family: 'Roboto', sans-serif;
    }
    .navbar .dropdown:hover .dropdown-menu {
      display: block;
    }
    .fade-in {
      animation: fadeIn 1s ease-in;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .section-title {
      margin-top: 80px;
      margin-bottom: 30px;
    }
    .img-section {
      max-height: 300px;
      object-fit: cover;
      width: 100%;
    }
    .card-img-left {
      height: 100%;
      object-fit: cover;
    }

.section-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.image-block {
  flex: 1;
  background: url('your-image.jpg') no-repeat center/cover;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  min-height: 300px;
}

.text-block {
  flex: 1;
  background: white;
  padding: 2rem;
  position: relative;
  text-align: left;
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(to right, #007fff 33%, #ce1126 33%, #ce1126 66%, #f7d618 66%);
}

.bg-image-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

a{
    color: black;
    text-decoration: none;
}

a:hover {
    color: black;
}

body {
    /* padding-top: 20%; */
    font-family: 'Montserrat', sans-serif;
}

header {
    /* background-color: black; */
    /* padding: 3%; */
}

.text-wrap {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.row > [class^="col-"] {
  min-width: 0;
}


/* Navigation menu */

.navbar {
    /* background-color: rgb(15, 15, 15); */
    /* background-image: url('../imgs/spacetwin_website_HOME_TOP.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh; */
    padding-left: 6%;
    padding-right: 6%;
    /* padding-top: 2%;
    padding-bottom: 2%; */
}

.navbar-brand {
    height: 60px;
    width: auto;
}

.nav-item {
    /* padding-left: 10%; */
}

.nav-link {
    color: black;
    font-size: larger;
    font-weight: bold;
    margin-bottom: 0;

}

.navbar-nav > .active > a {
    color: #1E64C8;
}


.navbar-toggler {
    width: 40px;
    height: 20px;
    position: relative;
    outline: none;
    transition: .5s ease-in-out;
    box-shadow: none;
    border: 0;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: 0;
}

.navbar-toggler span {
    margin: 0;
    padding: 0;
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: rgb(0, 0, 0);
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25 ease-in-out;
}

.middle-bar {
    margin-top: 0px;
}

/* When navigation is clicked */

.navbar-toggler .top-bar {
    margin-top: 0px;
    transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0)
}

.navbar-toggler .bottom-bar {
    margin-top: 0px;
    transform: rotate(-135deg)
}

/* State when the navbar is collapsed */

.navbar-toggler.collapsed .top-bar {
    margin-top: -20px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    margin-top: 20px;
    transform: rotate(0deg);
}

/* Color of 3 lines */

.navbar-toggler.collapsed .toggler-icon {
    background: rgb(0, 0, 0);
}



/* Main */

main {
    text-align: center;
    color: rgb(22, 21, 21);
    /* margin-bottom: 5rem; */
}

#mainNavbar {
  top: 0;
  transition: top 0.3s;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

/* When hidden (on scroll down) */
#mainNavbar.hidden {
  top: -100px; /* Adjust depending on navbar height */
}

/* Always show when hovered */
#mainNavbar:hover {
  top: 0 !important;
}


/* Section 1 */

#poster {
    background-image: url('../images/index/Tower_birdseye_pano.JPG');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    /* padding-top: 10%; */
}

#poster h1 {
	font-family: 'Montserrat', sans-serif;
	color: white;
    font-weight: bolder;
    width: 90%;
    display: inline-block;
    margin-top: 20vh;
}

#poster h3 {
    color: white;
    font-weight: bolder;
    width: 90%;
    display: inline-block;
    margin-top: 20vh;

/* #poster {
    background-image: url('../imgs/spacetwin-web.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 95vh;
    padding-top: 10vh;
} */

/* @media (min-width: 576px) {
    #poster {
      margin-top: 0px;
      height: 220vh;
    }
} */

/* #poster h1 {
    margin-top: 40%;
    font-weight: bold;
    color: white;
} */

/* .reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}
  
.reveal.active{
    transform: translateY(0);
    opacity: 1;
} */

#home-about {
    background-color: #17252e;
    padding-top: 7%;
    padding-bottom: 3%;
}

#home-about h2 {
    color: white;
    font-weight: bold;
}

#home-about p {
    color: white;
    /* width: 80%;
    display: inline-block; */
    /* font-weight: bold; */
}


#home-pictures {
    /* background-image: url('../imgs/spacetwin_website_HOME_BOTTOM.jpg'); */
    background-color: #17252e;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}


#home-research-overview {
    background-image: url('../imgs/spacetwin_website_HOME_BOTTOM.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 5%;
    padding-bottom: 5%;
}

#home-research-overview .card:hover {
    border-color: #e9615f;
    border-width: 5px;
}

#home-research-overview .card-img-overlay {
    /* top: 40%; */
    display: flex;
    justify-content: center;
    align-items: center;
}

#home-research-overview .card-text {
    color: white;
    font-size: x-large;
    font-weight: bolder;
    justify-content: baseline;
}

.card-collapse-text {
    font-size: small;
    text-align: start;
    padding: 5%;
    background-color: #e9615f;
    color: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.border-red {
    border-color: #e9615f;
    border-width: 5px;
    border-bottom-left-radius: 0%;
    border-bottom-right-radius: 0%;
    
}

/* #about {
    padding-top: 0%;
    background-color: rgb(241, 235, 235);
    color: rgb(0, 0, 0);
} */

/* #proj-description {
    width: 80%;
    display: inline-block;
} */

/* #about p {
    text-align: justify;
} */

.carousel {
    width: 80%;
    display: inline-block;
}

.carousel-caption {
    top: 10%;
    color: white;
    font-size: xx-large;
    font-weight: bolder;
    padding-bottom: 3%;
    margin: 0;
    align-items: end;
    justify-content: center;
    /* padding-left: 100%; */
    /* background-color: white;
    opacity: 80%; */
}

.carousel-caption h2 {
    /* background-color: rgb(226, 235, 235); */
    /* padding-left: 1%; */
    /* padding-left: 20%;
    padding-top: 4%;
    padding-right: 20%;
    padding-bottom: 4%;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px; */
}

.footer {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding: 0.5%;
    margin-bottom: 0;
    border-bottom: 0;
}

.footer p {
    font-size: small;
    padding: 0;
    margin: 0;
    border: 0;
}

#contact {
    /*border-top-style: solid;*/
    border-top-width: 0.05em;
    border-top-color: rgb(136, 133, 133);
}

.logos {
    background-color: rgb(255, 255, 255);
    /*border-top-style: solid; */
    border-top-width: 0.05em;
    border-top-color: rgb(136, 133, 133);
    justify-content: center;
    align-items: center;
    /* padding: 0.5%; */
    margin-bottom: 0;
    border-bottom: 0; 
}

.copyright {
    background-color: rgb(255, 255, 255);
    border-top-style: solid;
    border-top-width: 0.05em;
    border-top-color: rgb(136, 133, 133);
    color: rgb(0, 0, 0);
    font-size: small;
    justify-content: center;
    align-items: center;
    padding: 0.5%;
    margin-bottom: 0;
    border-bottom: 0; 
}

/* Team page */

#core-team a {
    color: black;
    text-decoration: none;
}

#core-team a:hover {
    color: black;
}


.background-tree {
    background-image: 
	    /* top, transparent red */
		linear-gradient( 
			rgba(255, 255, 255, 0.7),
			rgba(73, 121, 66, 0.7)
		);
		/* your image */
		/*url('../images/Tower_birdseye_pano.JPG'); */
	/*background-color: rgb(220, 220, 220); */
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    /* height: 95vh; */
    /* padding-top: 10vh; */
    justify-content: center;
    /* align-items: center; */
    /* background-color: #ffffff; */
    /* border-top-style: solid;
    border-top-width: 1.2em;
    border-top-color: rgb(255, 255, 255); */
    color: black;
    /* height: 100vh; */
}

/* @media (min-width: 768px) {
    .core-team {
      margin-top: 0px;
      height: 220vh;
    }
} */

/* @media (min-width: 976px) {
    .core-team {
      height: 100vh;
    }
} */

#core-team h1 {
    color: black;
}

.collaborators {
    background-color: rgb(252, 248, 248);
    /* border-top-style: solid;
    border-top-width: 1.2em;
    border-top-color: rgb(255, 255, 255); */
    color: black;
    /* height: 100vh; */
}

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

.collaborators a:hover {
    color: #e9615f;
}

#map { 
    margin-top: 3rem;
    width: 100%;
    height: 600px;
}
#sidebar {
    padding: 10px 0px 10px;
}
.accordion-button {
    padding: 5px 10px 5px 10px;
}
.info_btn {
    color: inherit !important;
    text-decoration: none;  
}
.accordion_header {
    margin: 0px;
}

/* About page */

#goals {
    background-color: white;
    color: black;
}

#goals iframe {
    width: 90%;
    aspect-ratio: 16 / 9;
}

#goals p {
    text-align: left;
}

#goals li {
    text-align: left;
}

/* News page */

.page-title {
    background-image: url('../imgs/spacetwin_website_HOME_TOP.jpg');
}

.page-title h1 {
    color: #0c0942;
    font-weight: bolder;
}

#news {
    /* height: 100vh; */
    background-color: #17262f;
}

.news-post {
    padding-top: 5%;
    padding-bottom: 5%;
    color: white;
    text-align: left;
    border-top-style: solid;
    border-top-width: 0.1em;
    border-top-color: rgb(136, 133, 133);
    border-bottom-style: solid;
    border-bottom-width: 0.1em;
    border-bottom-color: rgb(136, 133, 133);
    
}

.news-post a {
    color: white;
}

.news-post-date {
    font-size: smaller;
    color: rgba(255, 255, 255, 0.6);
    padding-bottom: 2%;
}


/* Research output page */

#research-output {
    /* height: 100vh; */
    /* width: 90%; */
    /* display: inline-block; */
}

#research-output h1 {
    color: white;
}

#research-output .card {
    /* border-radius: 2%; */
    /* border: none; */
    font-family: 'Roboto', sans-serif;
}

#research-output a {
    color: black;
    text-decoration: none;
}

#research-output a:hover {
    color: rgba(0, 0, 0, 0.7)
}

/* Fieldwork page */

#fieldwork-page {
    background-color: #17262f;
}

#fieldwork-page h1 {
    color: white;
}

.leaflet-control-layers-overlays label, .leaflet-control-layers-overlays span, .leaflet-control-layers-overlays div {
    text-align: left;
}

#fieldwork-page iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}