* {
    box-sizing: border-box;
}

html,
:root {
  --primary-color: #0B1A31;
  --secondary-color: lightblue;
  --secondary-color-light: #add8e6;
  --text-color: white;
}  

html {
    scroll-behavior: smooth;
}

body {
  background-color: var(--primary-color);
}

.container img {
  height: 200px;
  width: 155px;
}

.container1 {
  text-align: center;
  padding: 15px;
  width: 900px;
  margin: 20px auto 20px auto;
  background-color: white;
  border: 20px double var(--primary-color);
}

.container2 {
  width: 97%;
  margin: auto;
  background-color: var(--primary-color);
  border: 5px white solid;
  border-image-source: linear-gradient(to bottom, white, var(--primary-color));
  border-image-slice: 1;
}


.container {
  height: 200px;
  width: 155px;
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1000px);
  animation: gallery 20s linear infinite;
  cursor: pointer;
  margin: auto;
}

.container span {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i)*36deg)) translateZ(325px);
  -webkit-box-reflect: below 2.5px linear-gradient(transparent, transparent, rgba(3,3,3,0.2));
}

.container span img {
  position: absolute;
  border-radius: 10px;
  border: 6px ridge #ccc;
}

@keyframes gallery {
  0% {
    transform: perspective(1000px) rotateY(360deg);
  }
  100% {
    transform: perspective(1000px) rotateY(0deg);
  }
}

.textCaslon {
    color: var(--primary-color);
    font-family: "Libre Caslon Display", Georgia, 'Times New Roman', Times, serif;
        &.text0 {
            font-size: 18px;
        }
        &.text2 {
            font-size: 18px;
        }
    }

.textFranklin {
    color: var(--primary-color);
    font-family: "Libre Franklin", 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        &.text1 {
            font-weight: 200;
            font-size: 80px;
            letter-spacing: 6px;
        }
}


#scrollcontainer {
  display: flex;        
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;   
  height: 525px;
  -ms-overflow-style: none;
  scrollbar-width: none;  
  position: sticky;
}

#scrollcontainer::-webkit-scrollbar {
  display: none;
}

.item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 850px;
  height: 525px;  
  border: 20px double var(--primary-color);
  background-color: white; 
  padding: 10px;
  object-fit: contain;
  padding-right: 30px;
}

.item img {
  width: 325px;
}

.spacer {
  height: 150px;
  width: 100%;
}
.spacer1 {
  height: 75px;
  width: 100%;
}