body{
  box-sizing:border-box;
  margin:0;
  padding:0;
  color:white;
  background:white;
  overflow: hidden;
}

.reels{
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  overflow-x:hidden;
  overflow-y:auto;
  scroll-snap-type: y mandatory;
}

.proj_frame{
  transform:translateY(.3vh);
  scroll-snap-align: start;
  display:flex;
  width:100vw;
  height:99.5vh;
  top:0;
  left:0;
  margin:0;
  overflow:hidden;
}

#scroller{
  overflow:scroll!important;
  width:100vw;
  height:100vh;
  position:absolute;
  top:0;
  left:0;
  margin:0;
  z-index:999;
}

.proj_image{
  z-index:-1;
  height:100%;
}

.info_wrapper{
 /* position:absolute; */
  /*border:2px solid orange; */
  pointer-events: none;
  width:100%;
  bottom:0;
  color:white;
  /*padding:2rem;*/
}

.proj_desc{
  padding-left:.1rem;
}

/* Centered and cropped image */
.proj_frame {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  text-align: left;
}

.proj_image {
  flex: 1; /* Expand the image to fill the container vertically */
  object-fit: cover; /* Crop the image while maintaining its aspect ratio */
  width: 100%; /* Ensure the image takes up the full width */
  height: 100%; /* Ensure the image takes up the full height */
}

/* Info wrapper at the bottom */
.info_wrapper {
  background: rgba(0, 0, 0, 0.0); /* Add a semi-transparent background */
  color: #fff; /* Set text color to white */
  /*padding: 10px;  Adjust padding as needed */
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: opacity 0.2s; /* Add a smooth transition effect for visibility */
}

/* Show the info wrapper on hover */
.proj_frame:hover .info_wrapper {
  opacity: 1;
}

/* TODO Adjust styling for title and description */
.proj_title {
    font-size: clamp(2rem, 8vw, 7rem);
}

.proj_desc {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
}

.logo{
  width:100%;
  position:fixed;
  z-index:999;
}

.logo img{
  width:50%;
  filter:invert();
}














.admin-menu {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
}

#admin-icon {
  background-color: #f4f4f4;
  border: none;
  cursor: pointer;
  font-size: 24px;
  padding: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content.show {
  display: block; /* Show when 'show' class is added */
}

.dropdown-content button {
  background-color: #f9f9f9;
  border: none;
  color: black;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  width: 100%;
  display: block;
}

.dropdown-content button:hover {
  background-color: #ddd;
}

#modifyTextDialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 2px solid #ccc;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

.dialog-content textarea {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
}

.dialog-content button {
  margin-right: 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  text-align: center;
}

.drop-area {
  border: 2px dashed #ccc;
  padding: 20px;
  cursor: pointer;
}

.drop-area.hover {
  border-color: #333;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.drop-area {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin: 10px 0;
  cursor: pointer; /* Show pointer on hover */
}

.drop-area.hover {
  border-color: #000; /* Change color on hover */
}