* {
  box-sizing: border-box;
}

.fa-home{
  transform:scale(1.5);
}

.home {
height: fit-content;
  width: fit-content;
  position: absolute;
  left: 0;
  z-index: 5;
  top: 0;
  overflow: hidden;
}

.home a {
  color: rgba(230, 241, 249, 0.8);
  padding: 16px;
  text-decoration: none;
  display: block;
  position:relative;
  font-size:17px;
}

/* Change color on hover */
.home a:hover {
  color: black;
}

img{
  width:100%;
}

.overlay {
  height: 100%;
  min-height:100vh;
  background-color: rgba(255,255,255, 0.1);
  margin-left:17%;
  margin-right:17%;
  padding-top:10px;
  z-index: 0;
}

@font-face {
	font-family: "CandideCondensedRegular";
	src: url("/ui/Candide-CondensedMedium.ttf");
}

.candide-condensed-regular {
	font-family: "CandideCondensedRegular", serif;
	font-weight: 400;
	font-style: normal;
}

html {
  background-color:#ffeef8;
}

body {
  margin: 0;
  font-family: "CandideCondensedRegular", serif;
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  text-align:center;
}

.center-fit {
            max-height: 100vh;
            margin: auto;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  padding: 10px;
  display: block;
  max-width: 50vw;
  text-align: center;
  color: #111;
  height: fit-content;
  width:fit-content;
  bottom:10vh;
  position: relative;
  z-index:5;
  border: 1px #111 solid;
  background-color: rgba(255,255,255,0.5);
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
  
}


@media screen and (max-width:500px) {
	div.overlay {
  margin:0;
	}
	div.textcontainer {
  margin-left:7%;
  margin-right:7%;
	}
}

 .controls {
position: absolute;
display: flex;
flex-direction: column;
bottom: 40px;
left: 1rem;
border-radius: 0.5rem;
padding: 0.5rem 1rem;
/* max-height: 14rem; */
overflow: auto;
}
.glass {
background: rgba(255, 255, 255, 0.37);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
backdrop-filter: blur(8px) contrast(0.89) saturate(1.27);
-webkit-backdrop-filter: blur(8px) contrast(0.89) saturate(1.27);
border: 1px solid rgba(255, 255, 255, 0.4);
padding: 0.5rem;
border-radius: 0.5rem;
}