@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');

html, body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Cabin", sans-serif;
  background-color: #F6F5F0;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
  height: 20vh;
}

.worknav{
  margin-bottom: 3em;
}

.navleft > div > a {
  text-decoration: none;
  color: #212A37;
}

.navright {
  display: flex;
  justify-content: center;
  gap: 2em;
  align-items: center;
  flex-direction: row;
  width: 100vw;
  font-size: 1.75em;
}

.navleft {
  margin-top: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3em;
  width: 80vw;
}

.fa {
  padding: 1em;
  font-size: 1em;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

.fa:hover {
  transition: ease-in-out;
  opacity: 70%;
}

.fa-facebook {
  width: 1.5em;
  color: #212A37;
}

.fa-instagram {
  width: 1.5em;
  color: #212A37;
}

.navright > a {
  text-decoration: none;
  color: #212A37;
}

.imagecont {
  width: 100vw;
  height: 65vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-top: 2em;
}

.works {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.foot {
  display: flex;
  justify-content: space-around;
  margin: 1em;
  font-size: 1.5em;
  height: 15vh;
}

.footleft > div > a {
  text-decoration: none;
  color: #212A37;
}

.footleft > div > a:hover {
  transition: ease-in-out;
  opacity: 70%;
}

.footleft {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1em;
}

.footright {
  display: flex;
  align-items: center;
}

.gallery {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 3em;
  gap: 2em;
}

.gallerycont {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: space-between;
}

.overlay {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text {
  opacity: 0;
  font-size: 2em;
  /*color: #D4D0CD;*/
  color: #F6F5F0;
  text-align: center;
  pointer-events: none;
}

.hover:hover {
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.aboutText {
  text-align: justify;
  margin: 2.5em;
  font-size: 1.2em;
  color: #212A37;
}

.cv {
  margin-bottom: 0;
  padding-bottom: 0;
}

.mainText {
  margin-top: 0;
}

.languageSelect > a {
  text-decoration: none;
  color: #485464;
  font-size: 1.1em;
}

.seperator {
  font-size: 1em;
  color: #485464;
}

.languageSelect {
  justify-content: flex-start;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 2.5em 3em 1em 3em;
  gap: 4px;
  /*position: absolute;
  top: 4vw;
  right: 2.5vw;*/
}

/*table {
  width: 100vw;
}

.firstCol {
  width: 10%;
}*/

.exhibitions {
  display: grid;
  grid-template-columns: 1fr 4fr;
  row-gap: 1em;
  border-top: none;
  margin-top: 1em;
}

/*EXHIBITIONS MAIN PAGE*/

.exhibits {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10vh;
}

.serendipity_exhibit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 45vh;
}

.serendipity-exhib-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.serendipity-exhib-title {
  margin: 2vh;
  font-size: 3vw;
}

.exhibits > a {
  text-decoration: none;
  color: #212A37;
}

/*EXHIBITION SECTION START*/

.exhib-photo {
  width: 100vw;
  height: 55vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.exhib-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exhib-title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5em;
  text-transform: uppercase;
  margin: 0.5em 0;
}

.exhibitText {
  text-align: justify;
  padding: 0 1.5em;
  font-size: 1.4em;
}

.exhibitText > a {
  text-decoration: none;
  color: #485464;
  
}

.mainExhibitText {
  margin: 2em 0;
}