body {
  display: flex;
  flex-direction: column;
  margin: 0%;
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
  min-height: 110vh;
  background-image: url(css%20backgrounds/painting22wide.jpeg);
  background-size: cover;
}


body nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: orange;
  width: 100vw;
  z-index: 9998;
}



#siteLogoContainer{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex-grow: 0;
  flex-shrink: 0;
  width: 350px;
  margin-top: 0.3%;
  margin-bottom: 0.3%;
  
}

#siteLogo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  /*width: fit-content;*/
  height: 58px;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: 10px;
  padding-left: 1%;
  padding-right: 2%;
  margin-left:10px;
  /*margin-right: -5%;
  margin-top: -4.5%;
  margin-bottom: -5%;*/
  text-decoration: none;
  
}

#siteLogo .title{
  /*font-family: 'Kalam', cursive;*/
  font-family: 'Pinyon Script', cursive;
  font-weight: bold;
  font-size: 43px;
  color: white;
}

#siteLogo .subtitle{
  font-size: 14px;
  margin-top: -5%;
  color: white;
  font-family: 'Quicksand', sans-serif;
}



.sidebarElements {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 166, 0, 0.884);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9997;
  height: 100%;
  width: 40%;
  transition: 0.5s;
}

@keyframes sidebarfadein {
  from {
    color: rgba(255, 255, 255, 0);
  }
  to{
    color: white;
  }

}

body .closeSidebar a {
  display: none;
  color: rgba(255, 255, 255, 0);
}

.sidebarElements a {
  font-family: 'Quicksand', sans-serif;
  color: white;
  font-size: 150%;
  margin-top: 10%;
  margin-bottom: 10%;
  animation-name: sidebarfadein;
  animation-duration: 2s;
  text-decoration: none;
}

.closeSidebar {
  width: 0%;
}

#sidebarOpener {
  display: none;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  color: white;
  margin-right: 3%;
  flex-grow: 0;
  flex-shrink: 1;
}

.sidebarIconContainer {
  cursor: pointer;
  padding-top: 4%;
  padding-bottom: 4%;
  margin-top: 0.5%;
  margin-bottom: 0.5%;
  z-index: 9998;
}

.sidebarIconContainer .bar1, .sidebarIconContainer .bar2,.sidebarIconContainer .bar3 {
  width: 35px;
  height: 5px;
  background-color: white;
  margin: 6px 0;
  border-radius: 80px;
  transition: 0.4s;
}

.closeSidebarIcon .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.closeSidebarIcon .bar2 {
  opacity: 0;
}

.closeSidebarIcon .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}



@keyframes navshrink {
  from {
    padding-top: 4%;
    padding-bottom: 4%;
  }

  to {
    padding-top: 0%;
    padding-bottom: 0%;
  }
}

@keyframes navgrow {
  from {
    padding-top: 0%;
    padding-bottom: 0%;
  }

  to {
    padding-top: 4%;
    padding-bottom: 4%;
  }
}


.navElements {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-shrink: 0;
  flex-grow: 1;
  margin-left: 13%;
}

.navElements a {
  margin-top: 0.5%;
  margin-bottom: 0.5%;
  font-size: 150%;
  font-family: 'Quicksand', sans-serif;
  color: white;
  transition: transform .2s;
  flex-shrink: 0;
  text-decoration: none;
}



nav .scrolldown {
  padding-top: 0%;
  padding-bottom: 0%;
  animation-name: navshrink;
  animation-duration: 0.2s;
}

nav .scrollup {
  animation-name: navgrow;
  animation-duration: 0.2s;
}


.navElements a:hover {
  -ms-transform: scale(1.5);
  /* IE 9 */
  -webkit-transform: scale(1.5);
  /* Safari 3-8 */
  transform: scale(1.5);
}



body .hidden {
  display: none;
}

.page-title-container{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  display: none;
}

.page-title{
  font-size: xx-large;
  color: white;
  font-family: 'Quicksand', sans-serif;
}


#mainSection {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  width: 100%;
}


.affiliations{
  height: fit-content;
  width: 70%;
  min-width: min-content;
  background-color:rgba(255, 255, 255, 0.491);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Quicksand', sans-serif;
  flex-grow: 1;
  margin-left: 180px;
  margin-right: 180px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation-name: fade-in;
  animation-duration: 2s;
}

@keyframes fade-in {

  from{
    opacity: 0%;
  }

  to{
    opacity: 100%;
  }
  
}

.paragraph-1-container{
  margin: 10px;
}

.website{
  text-decoration: none;
  color: black;
}

.info{
  margin-top: 80px;
  margin-bottom: 80px;
}

.info div, .info a{
  margin: 15px;
}

.info div i, .info a i{
  margin-right: 3px;
}


.title{
  font-size: xx-large;
}

.subtitle-1-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.subtitle-1-container img{
  height: 70px;
  width: 70px;
  margin-left: 10px;
}

.subtitle-1{
  font-size: 34px;
  font-weight: bold;
}

.text-container{
  
  margin-left: 10px;
  margin-right: 10px;
}

.p1,.p2{
  font-size: larger;
}


footer {
  background-color: orange;
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  color: white;
  width: 100%;
}

footer div {
  font-size: 115%;
  margin-top: 1%;
  margin-bottom: 1%;
}

footer .container{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

footer .container div{
  margin: 5px;
}

@media screen and (max-width:350px){
  #mainSection .affiliations,#mainSection .affiliations img{
    margin: 0;
  }
}