body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

.hero-image {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 2;
  transition: all 0.5s ease;
  background-color: transparent;
  height: 80px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: relative;
  height: 50px;
  width: 400px;
  overflow: hidden;
}

.logo-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  transition: opacity 0.5s ease;
  padding-left: 40px;
}

#logoImg1 {
  opacity: 1;
}

#logoImg2 {
  opacity: 0;
}

.nav-links {
  display: flex;
}

.nav-links a {
  display: block;
  color: inherit;
  text-align: center;
  padding: 28px 20px;
  text-decoration: none;
}

/* hides burger icon on wider screen widths*/
.nav-links .icon {
  display: none;
}

@media screen and (max-width: 1100px){ 

  /*Only displays the burger icon if responsive class is not on */
  .nav-links:not(.responsive) a:not(.icon){
  display: none;}

  .nav-links a.icon {
    display: flex;
  }

  /* Allows all the links to be visible */
  .header{
    overflow: visible !important;
  }

  /* Styles the entire dropdown format */
  .nav-links.responsive{
    position: absolute;
    top: 80px;
    display: flex;
    right: 0;
    left: 0;
    flex-direction: column;
    z-index: 1000;
    background-color:rgba(166, 166, 166, 0.5) ;
    max-width: 100%;
  }

  /* Styles individual nav-links in dropdown format */
  .nav-links.responsive a {
    position: static;
    display: block;
    width: auto;
    text-align: left;
    padding: 16px 20px;
  }

  .nav-links a.icon{
    text-align: center;
  }
}

.content {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

.content p {
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: justify;
}

.background-img {
  background-image: url('images/Main_Image.JPG');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  width: 100%;
}

@media (max-width: 768px) {
  .background-img {
      background-attachment: scroll;
  }
}

.centered-logo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -60%); 
  width: 800px !important;
  height: auto !important;
}

/* Scales the logo for smaller screens */
@media screen and (max-width: 800px){
  .centered-logo{
    max-width: 100%;
    height: auto;
  }
}

/* Description underneath logo */
.centered-text {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  color: white;
  text-align: center;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  
  background-color: rgba(138, 138, 138, 0.6); 
  padding: 15px;
  
  backdrop-filter: blur(10px); 
}

@media screen and (min-width: 800px) {
  .centered-text{
    max-width: 60%;
    font-size: 22px;
  }
}

/*Animation Expanding*/

.uniqueImageContainer {
  max-width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden; 
  margin: 50px auto;
}

@media screen and (max-width: 800px){
  .uniqueImageContainer{
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

.uniqueImageWrapper {
  flex: 1; 
  transition: flex-grow 0.5s; 
  min-width: 0; 
  margin: 0 5px;
  position: relative;
}

.uniqueImageWrapper img {
  width: 100%;
  height: 50vh;
  object-fit: cover; 
}

@media screen and (max-width: 800px){
  .uniqueImageWrapper img {
    width: 100%;
    height: 40vh;
    object-fit: cover; 
  }
}

.overlay-text {
  position: absolute;
  left: 10px; 
  bottom: 10px; 
  color: white; 
  background-color: rgba(0, 0, 0, 0.5); 
  padding: 5px; 
  border-radius: 5px; 
  font-size: 28px ;
}

@media screen and (max-width: 800px){
  .overlay-text{
    font-size: 24px;
  }
}

/* Hover effects - disabled because items are
now styled with grid, not flex properties - 

#leftImage:hover {
  flex-grow: 2; 
}

#middleImage:hover {
  flex-grow: 2;
}

#rightImage:hover {
  flex-grow: 2;
}
*/

/* Parallax */

.parallax-container {
  position: relative;
  background: url('images/cool_electrons.png') center/cover no-repeat fixed;
  width: 100%;
  height: 420px; 

  color: white;
}

.content {
  position: absolute;
  top: 50%;
  left: 10%; 
  transform: translateY(-50%);
  width: 75%; 
}

.beach-heading {
  font-size: 2rem;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 20px;

  color: white;

  font-weight: 300;

  background-color: rgba(138, 138, 138, 0.6); 
  padding: 10px;

}

@media screen and (max-width:800px){
  .beach-heading{
    font-size: 1.5em;
  }
}

.shadowed-box {
  background-color: rgba(139, 138, 138, 0.6);
  padding: 20px;
  border-radius: 0px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  position: relative; 
  left: 40%; 
}

/*Institutions*/

.institutions-section {
  padding: 30px 0;
  text-align: center;
}

.institution-heading {
  font-size: 2.5rem;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 30px;
}

.logos-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

@media screen and (max-width:800px){
  .logos-container{
    grid-template-columns: repeat(2, 1fr);
  }
}

.logo-box {
  max-width: 80%; 
  height: auto;  
  justify-self: center;
  align-self: center;
}

.logo-box img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* FOOTER */

.footer-container {
    background-color: #d7345d;
    width: 100%;
    margin-top: 40px;
  }
  
  .custom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px; 
  }
  
  .footer-left,
  .footer-middle,
  .footer-right {
    flex: 1;
    text-align: center;
  }
  
  .footer-logo {
    max-width: 300px; 
    height: auto;
  }

.main-heading {
  font-size: 2.0rem; 
  font-family: 'Roboto', sans-serif; 
  color: #000000; 
  text-align: center; 
  margin-top: 40px; 
  margin-bottom: 20px; 
  letter-spacing: 1px; 
  text-transform: uppercase; 
  font-weight: 300;
}

.institution-heading {
  font-size: 2.0rem; 
  font-family: 'Roboto', sans-serif; 
  color: #000000; 
  text-align: center; 
  margin-top: 30px; 
  margin-bottom: 20px; 
  letter-spacing: 1px; 
  text-transform: uppercase; 
  font-weight: 300;
}

