html, body{
  min-height: 100%;
  background: #eff5f5;
}

td{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#mainContainer a {
  font-family: 'Cabin', sans-serif;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:2px;
  text-shadow:1px 1px 2px rgba(0,0,0,0.4);
  color:#ffffff !important;
}

.dropdown-menu {
margin-top: 10px !important;
background:#ffffff1e;
}
a.dropdown-toggle {
color:#ffffff !important;
}
a.dropdown-item:hover {
color:#ffffff !important;
background:#ffffff2f;
}
.nav-item a{
color:#ffffff;
}
.nav-item a:hover {
color:#fff !important;
}
.nav-item{
min-width:12vw;
}
#mainContainer {
position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    overflow:hidden;
    z-index:-1; /* Remove this line if it's not going to be a background! */
  background: url("/images/background2.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#news_description{
  margin-top: 50px;
  max-height: 200px;
}
#navbarNavDropdown.collapsing .navbar-nav,
#navbarNavDropdown.show .navbar-nav{
background:#ffffff1e;
padding:12px;
}

/* classes for the effect ////////*/
.slide_to_down{
transform : translateY(-400%);
opacity : 0;
}
.slide_to_up{
transform : translateY(200%);
opacity : 0;
}
.slide-from-left{
transform : translateX(200%);
opacity : 0;
}
.fade-in{
animation: fadeIn 3s;
}
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
.trans{
transition : transform 1s;
}
.card-footer{
  position: absolute;
  text-align: left !important;
  bottom: 0 !important;
}
.image-container span {
    position: absolute;
    top: 30%;
    left: 10%;
    width: 90%;
    text-align: center;
    transform: rotateY(calc(var(--i) * var(--deg))) translateZ(400px);
  }

  .image-container span img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 150px;
    opacity: 0.85;
  }

  .btn-container {
    margin: auto;
    position: relative;
    width: 80%;
  }

  .btn {
    position: absolute;
    /* bottom: -80px; */
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
  }

  #prev {
    left: 20%;
  }

  #next {
    right: 20%;
  }

  .btn:hover {
    filter: brightness(1.5);
    color: #fff;
  }
  h2{
    color: white;
    position: absolute;
    margin-top: 10%;
    margin-left: 5%;
  }
  .neonText {
    color: #fff;
    text-shadow:
        0 0 7px #fff,
        0 0 10px #fff,
        0 0 21px #fff;
  }
  #gallery_anchor{
    text-transform: none !important;
  }
  #fullpage {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: contain;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-color: black;
    animation: scaleUp 0.6s;
  }
  @keyframes scaleUp{
    from {transform:scale(0)}
				to {transform:scale(1)}
  }
  .about_me_img {
    max-width: 200px !important;
    padding: unset;
    border-radius: 25px;
    box-shadow: 0px 0px 15px 5px rgba(51, 51, 255, 0.65);
  }
  .selected_gallery_img{
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 25px;
    box-shadow: 0px 0px 20px 5px rgba(51, 51, 255, 0.65);
  }
/* mobile view classes */
@media (max-width: 520px) {
  .desc-icon {
    position: absolute;
    top: 8%;
    right: 14%;
    z-index: 1;
    width: 12px !important;
    height: 12px !important;
  }
  .zoom-icon {
    position: absolute;
    top: 8%;
    left: 13%;
    z-index: 1;
  }
  .wrapper {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200ch;
  }
   .about_me_img {
    max-width: 200px !important;
  }
  #fullpage {
    display: none;
    position: absolute;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: contain;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-color: black;
    animation: scaleUp 0.6s;
  }
  @keyframes scaleUp{
    from {transform:scale(0)}
				to {transform:scale(1)}
  }
  @media(max-width: 380px)
  {
    .itemDescription{
      height: 150px;
      margin-top: 15px;
      width: 240px !important;
      margin-left: 25px;
    }
    .desc-icon {
      position: absolute;
      top: 10%;
      right: 20%;
      z-index: 1;
      width: 12px !important;
      height: 12px !important;
    }
    .zoom-icon {
      position: absolute;
      top: 10%;
      left: 18%;
      z-index: 1;
    }

  }
  @media(max-height: 750px)
  {
  .wrapper {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 20ch;
  }
  .about_me_img {
    max-width: 150px !important;
  }

  .selected_gallery_img{
    max-width:  250px !important;
  }

  #news_description{
    margin-top: 20px;
    max-height: 150px !important;
  }
  .btn-container {
    position: relative;
    width: 80% !important;
  }

  h2{
    color: white;
    position: absolute;
    margin-top: 5% !important;
    margin-left: 10% !important;
  }

  .board img {
    margin-left: 20%;
    width: 50vw !important;
    /* height: 45.5vh; */
    border-radius: 15%;
    opacity: 0.95;
  }
  .board {
    /* position: absolute; */
    top: -50%;
    cursor: pointer;
  }
  .latest_new_img {
    max-width: 250px !important;
  }

}
  .board {
    /* position: absolute; */
    top: -50%;
    cursor: pointer;
  }
  .image-container {
    margin: auto;
    /* top: 10%; */
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 1s;
  }
  .board img {
    margin-left: 20%;
    width: 65vw;
    /* height: 45.5vh; */
    border-radius: 15%;
    opacity: 0.95;
  }
  .carousel-control-prev{
    display: none;
  }
  .carousel-control-next{
    display: none;
  }

  .dropdown-menu.show {
    margin-top: 10px !important;
    margin-left: 30% !important;
    background:#ffffff1e;
    }
    #logo_img{
      width: 180px !important;
    }
}

@media (min-width: 520px){
  .desc-icon {
    position: absolute;
    top: 10%;
    right: 40%;
    z-index: 1;
    width: 12px !important;
    height: 12px !important;
  }
  .zoom-icon {
    position: absolute;
    top: 10%;
    left: 40%;
    z-index: 1;
  }
  .wrapper {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200ch;
}
  .board {
    margin: auto;
    position: relative;
    /* top: -60%; */
    cursor: pointer;
  }
  .latest_new_img {
    max-width: 500px !important;
  }
  .image-container {
    margin: auto;
    /* top: 20%; */
    bottom: 5%;
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 1s;
  }
  .board img {
    margin-left: 40%;
    width: 14.3vw;
    /* height: 45.5vh; */
    border-radius: 15%;
    opacity: 0.95;
  }
  #about_me_img {
    min-height: 250px !important;
  }

}
 .news_link,  .news_link:hover{
  text-transform: none !important;
  color: #d2d2d2;
  text-decoration: none;
  }

  .carousel-caption{
    /* margin-top: 500px !important; */
    padding-bottom: 0 !important;
  }
  input[type=checkbox] {
    display: none;
  }

  /* #container img.zoomed {
    transition: 0.7s ease;
    transform: scale(1.5);
  } */

  /* description box styles */
  .btn-close {
    position: absolute !important;
    left: 0 !important;
  }

  .overlay{
    position: absolute;
    bottom: 0;
    left: 100%;
    right: 0;
    /* background: rgba(0, 140, 186, 0.8); */
    backdrop-filter: blur(4px);
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
  }

  .text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  .text > p {
    overflow-y: auto;
    width: 300px;
    font-size: 15px;
  }
