body {
  margin: 0;
  background: whitesmoke;
}

#flexContainer {
  display: flex;
  padding: 2%;
  padding-bottom: 2%;
}

h1 {
  font-family: sans-serif;
  color: black;
  margin: 2%;
  font-size: 3rem;
  text-align: center;
}

h2 {
  font-family: sans-serif;
  color: black;
  margin: 2%;
  font-weight: normal;
  font-size: 1.8rem;
  text-align: center;
}

#cover {
  width: 100vw;

  top: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  /* position: fixed; */

  /* position: fixed; */
}

.coverimg {
  width: 40%;
  border: 10px white solid;
}

#fileButton {
  margin: 10px;
  width: 30%;
}

#inp {
  width: 30%;
  margin: 10px;
}
#desc {
  width: 30%;
  margin: 10px;
  height: 50px;
}
#tumblr {
  width: 30%;
  margin: 10px;
}

#image {
  max-width: 40%;
  max-height: 50%;
  margin-bottom: 10px;
}

#checkText {
  max-width: 70%;
  text-align: center;
}

.smaller {
  max-width: 70%;
  text-align: center;
}

.leftAlign {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: flex-start;
}

.btn-disable {
  cursor: not-allowed;
  pointer-events: none;
  /*Button disabled - CSS color class*/
  color: #c0c0c0;
  background-color: #ffffff;
}

.l {
  width: 100%;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 40px;
}

#IXcontainer {
  display: flex;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 2px dotted lightgrey;
  border-radius: 20px;
}

.list {
  border: 2px dotted lightgrey;
  border-radius: 20px;
  width: 20%;
  margin-right: auto;
  margin-left: 20px;
  margin-bottom: 50px;
  padding: 20px;
}

header {
  width: 100%;
  display: flex;
}

li a:hover {
  background-color: yellow;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  padding-top: 2%; /* Location of the box */
  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(255, 255, 255, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  border: 1px solid black;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  /* width: 80%; */
  min-height: 50%;
  max-width: 90%;
  max-height: 90%;
  cursor: pointer;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

#imageArea {
  width: 40%;
  height: 60%;
  background-color: lightgrey;
}

p {
  font-family: sans-serif;
  font-size: 1rem;
  margin-bottom: 0;
  margin-top: 0.4rem;
}
ul {
  display: flex;

  display: inline;
  list-style: none;
  padding-inline-start: 0;
}

li {
  font-family: sans-serif;
  font-size: 1rem;
  margin-bottom: 0;
  margin-top: 0.4rem;
  display: inline;
}

li:after {
  content: ", ";
}

li:last-child:after {
  content: "";
}

.item:hover {
  cursor: move;
}

.item:active {
  border: dotted white 3px;
  cursor: grabbing;
}

.item {
  position: absolute;
  max-width: 200px;
  max-height: 300px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

a {
  color: black;
  font-family: sans-serif;
  font-size: 1rem;
  margin-top: 0.4rem;
}
h3 {
  width: 100%;
  color: white;
  text-align: center;
  font-weight: normal;
  margin-bottom: 2%;
}

#gallery {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.cont {
  width: 31%;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  flex-direction: column;
  margin-bottom: 30px;
}
.intext {
  /* text-align: center; */
  margin-bottom: 0px;
  /* margin-top: 20px; */
  width: 95%;
}
.image {
  width: 95%;
  /* border: 1px solid black; */
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin-bottom: 5px;
  transition: 0.2s;
}

.image:hover {
  -webkit-transform: scale(1.01);
  transform: scale(1.01);
}

@media only screen and (max-width: 600px) {
  #imageContainer {
  }
  #IXcontainer {
    /* height: 50vh; */
    width: 90%;
    margin-right: auto;
  }
  .list {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  p {
    font-size: 0.5rem;
  }
  h1 {
    font-size: 2rem;
    margin: 5%;
  }

  header {
    width: 100%;
    flex-direction: column;
  }

  #fileButton {
    width: 80%;
  }

  #inp {
    width: 80%;
  }
  #desc {
    width: 80%;
  }
  #tumblr {
    width: 80%;
  }
  #rightPageCont {
    height: 50vh;
  }

  .cont {
    width: 90%;
  }
}
