@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

html{
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100vw;
}

body {
  min-height: 100vh;
  height: 100vh;
  max-width: 90em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  padding: 0%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  background-image: url("/static/Indigo Foam.jpg");
  background-color: rgb(194, 194, 194);
  background-size: cover;
  animation: fadeIn 2s;
}

/* header {
  background: #66bb6a;
  display: none;
} */

nav {
  max-height: fit-content;
  border-radius: 1.5em;
  flex-direction: row;
  align-items: center;
  padding: 0em;
  padding-left: 1em;
  padding-right: 1em;
  margin: 1em;
  display: flex;
  background:
    linear-gradient(85deg, rgba(47, 47, 47, 0.275), rgba(43, 43, 43, 0.558) 70.71%),
    linear-gradient(135deg, rgba(36, 36, 36, 0.9), rgba(104, 104, 104, 0) 95.71%),
    linear-gradient(340deg, rgba(44, 44, 44, 0.8), rgba(53, 53, 53, 0) 70.71%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(10px);
  box-shadow: 0px 0.3em 1em rgba(0, 0, 0, 0.305);
}
.nav-items{
  flex-direction: row;
  width: 100%;
}
.nav-items > *:first-child{
  flex: 0;
}
.nav-items > #dirbox{
  flex: 2;
}
.nav-items > *:last-child{
  flex: 0;
}

nav>ul{
  align-items: center;
}
.nav-items > li a{
  text-decoration: none;
  color: white;
}

.path-box {
  border-radius: 1em;
  color: rgb(58, 58, 58);
  padding: 1em;
  width: fit-content;
  background: rgb(203, 203, 203);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0px 0.3em 1em rgba(251, 251, 251, 0.089);
}

.previews {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1em;
}

src {
  margin: 1em;
  margin-top: 0%;
  width: 20em;
  display: flex;
  box-shadow: 0px 0.4em 1em rgba(0, 0, 0, 0.305);
}

a {
  color: black;
}

a.button {
  background: rgb(255, 255, 255);
  border: none;
  /* margin-bottom: 1em; */
  color: black;
  padding: 1em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.object-list{
  height: 100%;
  overflow: auto;
}

li {
  list-style: none;
  flex-grow: 1;
  margin: 0;
  padding: 0.5em;
}

ul {
  list-style-type: none;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.imageGrids {
  width: 10em;
  height: 10em;
  object-fit: cover;
}

.imageGrids:hover{
  outline: 0.5em #66bb6a;
  outline-style: solid;
}

/* details.html specifics */
.details-body {
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
  flex-wrap: wrap;
}

article {
  flex: 2;
  display: flex;
  flex-direction: column;
  padding: 1em;
  margin: 1em;
  max-width: fit-content;
  max-height: fit-content;
  border-radius: 1em;
  justify-content: center;
  background-color: #ececec9c;
  backdrop-filter: blur(5px);
}

.main-image-container{
  width: fit-content;
  height: 60vh;
  object-fit: cover;
  border-radius: 1em;
  overflow: auto;
}

#main-image, canvas{
  vertical-align: middle;
  object-fit: cover;
  height: 60vh;
  overflow: auto;
  max-width: 100%;
  border-radius: 1em;
  margin-bottom: 0.5em;
  outline: #92959279 solid;
  box-shadow: 0px .4em 1em rgba(0, 0, 0, 0.305);
}

.second-images-box{
  justify-content: center;
  max-width: fit-content;
  max-height: fit-content;
  flex: 1;
}

.secondary-images{
  /* border-radius: 1em; */
  max-width: 9em;
  max-height: 9em;
  object-fit: scale-down;
  border-radius: 1em;
}

.secondary-images > *{
  border-radius: 1em;
}

.secondary-images > *:first-child{
  outline-color: #4caf50;
  outline-width: 20em;
  outline-style: solid;
}

aside {
  flex: 1;
  padding: 1em;
  background: linear-gradient(217deg, rgba(160, 160, 160, 0.2), rgba(255,0,0,0) 70.71%), linear-gradient(127deg, rgba(255, 255, 255, 0.8), rgba(0,255,0,0) 90.71%), linear-gradient(327deg, rgba(147, 147, 147, 0.8), rgba(0,0,255,0) 70.71%);
  backdrop-filter: blur(10px);
  margin: 1em;
  border-radius: 1em;
  /* min-height: fit-content; */
  height: fit-content;
  min-width: 12em;
  max-width: 17em;
}

.inner-download{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0.8em;
  margin: 0;
  height: fit-content;
  background: linear-gradient(85deg, rgba(47, 47, 47, 0.275), rgba(43, 43, 43, 0.558) 70.71%), linear-gradient(135deg, rgba(36, 36, 36, 0.9), rgba(104, 104, 104, 0) 95.71%), linear-gradient(340deg, rgba(44, 44, 44, 0.8), rgba(53, 53, 53, 0) 70.71%);
  border-radius: 2em;
  max-width: 100%;
  box-shadow: 0px 0.3em 1em rgba(0, 0, 0, 0.305);
}

.inner-download > *:first-child{
  width: 100%;
  /* margin-bottom: 0.2em; */
}

.inner-download > *:not(:first-child){
  flex: 1;
  margin-top: 0.2em;
}

/* change this class from button to download buttons */
.button{
  border-radius: 1em;
  /* padding: 1em; */
}

.info{
  padding: 1em;
  backdrop-filter: blur(10px);
  background: linear-gradient(27deg, rgba(255, 255, 255, 0.84), rgb(255, 255, 255) 70.71%),
  linear-gradient(135deg, rgba(207, 207, 207, 0.9), rgba(196, 196, 196, 0.866) 95.71%), 
  linear-gradient(340deg, rgba(235, 235, 235, 0.8), rgba(239, 239, 239, 0.919) 70.71%);
  border-radius: 2em;
  box-shadow: 0px 0.3em 1em rgba(0, 0, 0, 0.305);
  /* box-shadow: inset 0px -0.1em 1em rgb(106, 106, 106); */
}

.info > p{
  background: rgb(208, 208, 208);
  padding: 0.3em;
  border-radius: 0.5em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* footer {
  background: #4caf50;
  height: 1em;
  margin: 0;
  padding: 0;
  visibility: hidden;
} */

/* about.html specific */
.text-box{
  /* display: flex; */
  max-height: fit-content;
  padding: 1em;
  background: linear-gradient(217deg, rgba(160, 160, 160, 0.2), rgba(255,0,0,0) 70.71%), linear-gradient(127deg, rgba(255, 255, 255, 0.8), rgba(0,255,0,0) 90.71%), linear-gradient(327deg, rgba(147, 147, 147, 0.8), rgba(0,0,255,0) 70.71%);
  backdrop-filter: blur(10px);
  margin: 1em;
  border-radius: 1em;
}
#service-list > li{
  text-indent: -0.5em;
  margin: 1em;
  list-style:circle;
}

.title{
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Turbo Frame */
turbo-frame {
  display: contents !important;
}