html {
  height: 100%;
  width: 100%;
}

small {
  font-size: xx-small;
}

body {
  background-color: #151929;
  color: #b2bdc7;
  /*color: #dbe3ea*/
  font-family: 'Courier New', Courier, monospace;  
  text-align: center;
  overflow-x: hidden;
  flex-direction: row;
}

#nav-div {
  z-index: 99999;
  width: 100%;
  height: 30px;
  flex-direction: row;
  text-align: center;
  align-items: center;
  /* padding: 0%; */
}

ul {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #676dc1;
  align-items: center;
}

li {
  padding-left: 0px;
  padding-right: 0px;
  font-size: 1.07em;
  font-weight: 700;
  float: left;
  display: inline;
}

li a {
  display: block;
  color: #10131e;
  text-align: center;
  padding: 8px 10px;
  text-decoration: none;

  -webkit-transition: color 0.3s ease-out;
   -moz-transition: color 0.3s ease-out;
   -o-transition: color 0.3s ease-out;
   -ms-transition: color 0.3s ease-out;
   transition: color 0.3s ease-out;
}

li a:hover {
  color: #dedede;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

@media (min-width: 1380px) {
  .center {
    width: 35%;
  }

  li {
    font-size: 1.3em;
    padding-left: 8.6%;
    padding-right: 8.6%;
  }

  #jan::after {
    content: "uary";
  }

  #feb::after {
    content: "ruary";
  }

  #mar::after {
    content: "ch";
  }

  #apr::after {
    content: "il";
  }

  #aug::after {
    content: "ust";
  }

  #sept::after {
    content: "ember";
  }

  #oct::after {
    content: "ober";
  }

  #nov::after {
    content: "ember";
  }

  #dec::after {
    content: "ember";
  }
}

/* Styling gallery section where all images are */
.gallery {
  width: 88%;
  margin: auto;
  display:grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  justify-content:center;
  align-items: center; 
}

/* Styling Particular Image */
.gallery-img {
  object-fit: cover;
  padding: 5px;
  width: 400px;
  height: 400px;
  cursor: pointer;
  transition: transform 0.2s;
}

/* onHover image will expand a little bit */
.gallery-img:hover {
  transform: scale(1.1);
  cursor: zoom-in;
}
/* This section will be seen when we click on image */
.image-popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(21, 25, 41, .97);
}

/* close button when we want to close the bigger image */
.close-button {
  position: absolute;
  top: 20px;
  right: 50px;
  font-size:60px;
  color: #fff;
  cursor: pointer;
}
.close-button:hover{
  color: red;
}

/* when we click on the image it will expand in bigger size and will displayed 
at middle of screen */
#popupImage {
  display: block;
  max-width: 80%;
  max-height: 80%;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.column {
  width: 50%; 
  text-align: center;
}

h6 {
  border: 2px dashed #a5caea;
  padding: 10px;
  margin: 10px; 
  width: 350px; 
  height: 90px;
  /*b2bdc7*/
}

/*calendar*/
h4 {
  font-size: 20px;
  line-height: 1.5px;
}

h5 {
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 10px;
  line-height: 26px;
  word-spacing: 8px;
}

.show {
  display: none;
}

#calendar {
  width: 60%;
  padding: 1%;
  margin-top: 0;
}

.month {
  width: 20%;
  border: 2px solid #a5caea;
  border-radius: 5px;
  margin-left: 1%;
  margin-right: 1%;
  text-align: center;
}

.months {
  display: flex;
  flex-direction: row;
  margin-top: 0%;
  margin-bottom: 2%;
}

.special {
  color: pink;
  font-size: 14px;
}

#replace {
  width: 70%;
  margin-left: 15%;
  font-size: 20px;
  line-height: 25px;
  text-align: center;
}

#replace-div {
  width: 100%;
  max-width: 40%;
  overflow-wrap: normal;
  text-align: center;
}

/*chromebook compatibility*/
@media (min-width:800px) and (max-width: 1380px) {
  h5 {
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 27px;
    word-spacing: 1.5px;
  }

  li {
    font-size: 1.3em;
    padding-left: 8%;
    padding-right: 8%;
  }

  .center {
    width: 37%;
  }
}

#today-is {
  position: absolute; top: 14%; right: -2.5%;
}

#day {
  position: relative;
}

#click-day {
  position: absolute; top: 40%; right: -2.5%;
}

/* Making everything better on phones */
@media (max-width:669px) {
  .gallery{
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    /*grid-gap: 10px;*/
  }
  .gallery-img{
    object-fit: cover;
    width: 320px;
    height: 430px;
  }

  .heading{
    font-size: 20px;
  }

  h1 {
    font-size: 20px;
    line-height: 13px;
  }

  h2 {
    font-size: 18px;
  }

  h4 {
    font-size: 15px;
    line-height: 1.5px;
  }

  .special {
    margin: 4px;
  }

  #calendar {
    margin-top: 20%;
    width: 100%;
    padding: 1%;
  }

  .hide {
    display: none;
  }

  .show {
    display: block;
  }

  .month {
    width: 22.5%;
    border: 2px solid #a5caea;
    border-radius: 5px;
    margin-left: 1%;
    margin-right: 1%;
    text-align: center;
  }

  .months {
    display: flex;
    flex-direction: row;
    margin-top: 2%;
    margin-bottom: 2%;
  }

  .special {
    color: lightpink;
    font-size: 12px;
  }

  #replace {
    font-size: 14px;
    line-height: 18px;
    text-align: center;
  }

  #replace-div {
    display: inline;
    width: 100%;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .column {
    width: 270px;
    display: flex;
    text-align: center;
  }

  #today-is {
    position: absolute; top: 30px; right: -37px;
  }
  
  #day {
    position: absolute;
    top: 40px;
  }
  
  #click-day {
    position: absolute; top: 450px; right: 48px;
  }
}

button {
  background-color: #151929;
  color: #b2bdc7;
  border: 2px solid #a5caea;
  border-radius: 5px;
  width: 160px;
  height: 45px;
  font-family: 'Courier New', Courier, monospace;
}

button:hover {
  background-color: #2f3448;
  border: 2px solid #7d9ab4;
}