@font-face {
  font-family: 'SuperCaramel';
  src: URL('../SuperCaramel/SuperCaramel-5yBza.ttf');
}

.main {
  margin: 20px;
  border-radius: 25px;
  background: #FFFFFF;
}

h1 {
  margin: 0px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-family: SuperCaramel;
  font-weight: normal;
  font-size: 50;
  text-align: center;
  color: #39B697;
}

.portfolio-navigation {
  text-align: center;
  font-family: 'SuperCaramel';
  padding-top: 20;
  padding-bottom: 20;
}

.portfolio-navigation ul {
  display: flex;
  justify-content: center;
	list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-navigation ul li {
  display: inline-block;
  position: relative;
}

.portfolio-navigation ul li a {
  margin-left: 20px;
  margin-right: 20px;
  padding: 20px 25px;
  color: #5CDAAD;
  font-size: 40;
}

.portfolio-navigation ul li a:hover {
  color: #39B697;
}

.portfolio-navigation ul li .selected {
  padding: 10px 15px;
  border-radius: 20px;
  background: #5CDAAD;
  color: #FFFFFF;
  letter-spacing: 0.1rem;
}

.portfolio-navigation ul li .selected:hover {
  color: #FFFFFF;
}

.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.product {
  padding-left: 15px;
  padding-right: 15px;
}

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

.image-carousel {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 25px;
  background-color: #000000;
  transition: opacity 1s ease-in-out;
}

.cycle-photo-previous {
  width: 40px;
  height: 40px;
  margin-right: 10px;

  transform: scaleX(-1) !important;
  background-image: url(../Media/arrow.png);

  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  cursor: pointer;
}

.image-carousel img {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 25px;
  transition-duration: 1s;
  transition: opacity 2s ease-in-out;
}

.image-visible {
  opacity: 1;
}

.image-hidden {
  opacity: 0;
}

.cycle-photo-next {
  width: 40px;
  height: 40px;
  margin-right: 10px;

  background-image: url(../Media/arrow.png);

  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  cursor: pointer;
}

h3 {
  font-family: SuperCaramel;
  font-weight: normal;
  font-size: 40;
}

.product h3 {
  padding: 5px 0px;
  margin: 0;
  display: flex;
  justify-content: center;
}

.product h3 a {
  padding: 20px 25px;
  color: #39B697;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-grid img {
  padding: 10;
}

#panel {
  display: none;
  z-index: 999;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color:rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
}

#panel button {
  position: fixed;
  top: 10px;
  left: 10px;
  width: 60px;
  height: 60px;
}


#panel button:hover {
  background: #5CDAAD;
}

#panel .image {
  display: flex;
  align-items: center;
  margin: auto;
}

#panel .cycle-photo-previous {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}

#panel img {
  width: 800;
  height: 800;
  margin-top: auto;
  margin-bottom: auto;
}

#panel .cycle-photo-next {
  width: 80px;
  height: 80px;
  margin-left: 10px;
}

.image-preview {
  display: flex;
  justify-content: center;
}

.image-preview button {
  position: fixed;
  top: 10px;
  left: 10px;
  width: 60px;
  height: 60px;
}


.image-preview button:hover {
  background: #5CDAAD;
}

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

.display-slideshow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.image-preview .image {
  display: flex;
  align-items: center;
  margin: auto;
}

.image-preview .cycle-photo-previous {
  width: 60px;
  height: 60px;
  margin-right: 10px;
}

.image-preview img {
  width: 508;
  height: 508;
  margin-top: auto;
  margin-bottom: auto;
}

.image-preview .cycle-photo-next {
  width: 60px;
  height: 60px;
  margin-left: 10px;
}

.image-selected {
  border: 2px solid #5CDAAD;
  border-radius: 25px;
}
