@import url("https://fonts.googleapis.com/css?family=Allura|Josefin+Sans");
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  list-style: none;
  text-decoration: none;
  font-family: "Josefin Sans", sans-serif;
  background-color: #1d1d1d;
}

h1.title {
  margin-bottom: 20px;
  color: #444444;
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  font-size: 38px;
  word-spacing: 10px;
  letter-spacing: 5px;
  background: #1d1d1d;
}

p {
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 22px;
  color: #a9a9a9;
  background: #1d1d1d;
}

/* Navigation Bar */
.navbar {
  background: #1d1d1d;
  position: fixed; /* Set the navbar to fixed position */
  top: 0; /* Position the navbar at the top of the page */
  width: 100%;
  height: 45px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1;
}

.navbar_items ul {
  display: flex;
}

.navbar_items ul li {
  margin: 0 10px;
}

.navbar_items ul li a {
  text-transform: uppercase;
  color: #ccc;
}

/* Change background on mouse-over */
.navbar a:hover {
  color: white;
}

/* banner_image */
.banner_image {
  background: url("images/banner.png") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
}

.banner_content {
  margin-top: 100px;
  text-align: center;
  color: #1d1d1d;
  background: none;
}

.banner_content h1 {
  text-transform: uppercase;
  line-height: 38px;
  padding: 12px 10px 8px 10px;
  font-size: 38px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(0.2rem);
}

.main_container {
  margin-top: 0px;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.artist_statement,
.text_box,
.portfolio,
.viewer,
.about,
.metod {
  text-align: left;
  margin-top: 2%;
  margin-left: 4%;
  margin-right: 4%;
  margin-bottom: 2%;
  padding: 4% 4%;
  width: 100%;
  max-width: 1200px;
}

/* Artist statement */
.artist_statement {
  background: #1d1d1d;
  color: #ccc;
  justify-content: center;
  margin-top: 4%;
}

/* Text box */
.text_box {
  background: #1d1d1d;
  color: #ccc;
  justify-content: center;
}

/* Portfolio */
.portfolio {
  background: #1d1d1d;
  color: #ccc;
  justify-content: center;
  display: block;
}

.diff_portfolio {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background: none;
  align-items: center;
  
}

.diff_portfolio .diff_portfolio_item {
  order: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
}

/*
  Rollover Image
 */
.figure {
  background-color: #1d1d1d;
  display: block;
  position: relative;
  /* width: 1000px;  can be omitted for a regular non-lazy image */
  max-width: 100%;
  max-height: 800px;
  justify-content: center;
}
.figure img.image-main {
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  max-width: 100%; /* can be omitted for a regular non-lazy image */
  max-height: 800px;
  object-fit: contain;
}
.figure img.image-hover {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  max-width: 100%; /* can be omitted for a regular non-lazy image */
  max-height: 800px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.2s;
}
.figure:hover img.image-hover {
  opacity: 1;
}

.diff_portfolio .diff_portfolio_item h3 {
  color: #ccc;
  margin-bottom: 50px;
  margin-top: 10px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  font-weight: normal;
  background: none;
}

/* Metod */
.metod {
  background: #1d1d1d;
  color: #ccc;
  justify-content: center;
  display: block;
  width: 100%;
  margin-bottom: 4%;
}

/* footer */
.footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  text-align: center;
  background: #1d1d1d;
  padding: 20px 0;
}

.footer a {
  color: #fff;
  background: none;
}

.footer ul {
  display: flex;
}

.footer ul li {
  margin: 0 10px;
}

.footer ul li a {
  color: #ccc;
}

.viewer{
  aspect-ratio: 16/14;
}

.spacer{
  margin-top: 2%;
}

@media (max-width: 720px){

	.navbar{
		height: auto;
		flex-direction: column;
	}

	.navbar_items ul{
    margin-top: 15px;
 		flex-direction: column;
		text-align: center;
	}

	.navbar_items ul li{
		margin-bottom:5px;
	}

	.banner_content h1 {
    font-size: 25px;
  }

  h1.title {
    font-size: 25px;
    letter-spacing: 5px;
  }

  .main_container {
    padding-top: 3%;
  }
}
