:root {
  --main-color: #49a5d8;
  --main-background-color: #e7e9eb;
}

.style-define,
.style-define a {
  background-color: var(--main-color) !important;
  color: white !important;
}

.navbar-toggler-icon{
  color: white !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px white !important;
}

.post-img {
  max-height: 360px;
  width: 300px !important;
}

@media (min-width: 1965px) {
  .navbar-expand-define {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-define .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-define .navbar-nav .dropdown-menu {
    position: absolute;
  }

  .navbar-expand-define .navbar-nav .nav-link {
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
  }

  .navbar-expand-define .navbar-nav-scroll {
    overflow: visible;
  }

  .navbar-expand-define .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-define .navbar-toggler {
    display: none;
  }

  .navbar-expand-define .offcanvas {
    position: static;
    z-index: auto;
    flex-grow: 1;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    background-color: transparent !important;
    border: 0 !important;
    transform: none !important;
    transition: none;
  }

  .navbar-expand-define .offcanvas .offcanvas-header {
    display: none;
  }

  .navbar-expand-define .offcanvas .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }
}

.card img {
  width: 100%;
}

.card-btn {
  width: 100%;
  text-align: center;
}

nav a {
  color: #fff;
  text-decoration: none;
}

a.nav-link{
  text-align: right;
}

#inprosa_text,
#inpima_text{
  text-align: center;
}

.logoImg{
  height: 50px;
}

.sticky-bottom {
  position: fixed !important;
  bottom: 0px !important;
  display: block;
  background-color: lightgrey;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
}

iframe{
  width: 100vw !important;
  height: auto !important;
}

/*  */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999; /* ensure that the overlay is on top of other elements */
  display: none; /* hide by default */
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: black;
  width: 100%;
  min-height: 96vh;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: -20px;
  right: 0px;
  margin-top: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: transparent;
  font-size: 50px;
  color: white;
  cursor: pointer;
}
.close-btn:hover {
  position: absolute;
  top: -20px;
  right: 0px;
  background-color: transparent;
  color: lightgrey;
  font-size: 50px;
}

.open-overlay {
  margin-top: 20px;
  border: none;
  border-radius: 5px;
  background-color: var(--main-color);
  color: white;
  font-size: 1rem;
  cursor: pointer;
}
.open-overlay:hover {
  background-color: #004C99;
}

iframe{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100% !important;
  height: 75% !important;
}

/* Post Animation */

#image-wrapper {
  position: relative;
  overflow: hidden;
  height: 300px;
}

#image1,
#image2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 576px) {
  .post-img {
    height: auto;
    width: 100% !important;
  }
  .logoImg{
    width: calc((100vw - 50px)/2);
    height: auto;
  }
  #inpima_text{
    font-size: 18px;
  }
  .style-define-text{
    font-size: 15px;
  }
  #aboutme *{
    font-size: 12px !important;
  }
}

.style-define-text{
  color: var(--main-color)
}

.header-text{
  line-height: 17px;
  font-size: 15px;
}

.logodiv{
  padding-top: 10px;
}

.header-text p {
  margin: 0px;
}

@media (max-width: 880px) {
  .header-text{
    line-height: 17px;
    font-size: 13px;
  }
}

@media (max-width: 775px) {
  .logodiv {
    width: 25% !important;
    text-align: center;
  }

  .logodiv img {
    width: 100% !important;
  }
}

@media (max-width: 698px) {
  h4 {
    font-size: 15px !important;   
  }

  .header-text{
    width: 100% !important;
    text-align: center;
    float: left;
    margin-top: 10px !important;
  }

  .logodiv {
    width: 100% !important;
    text-align: center;
  }

  .logodiv img {
    width: 30% !important;
  }

  .navbar-toggler{
    position: absolute;
    right: 20px;
    top: 65px;
  }

  .donkey-area {
    padding: 0 25% !important;
  }
}

@media (max-width: 550px) {
  .header-text{
    width: 100% !important;
    text-align: center;
    float: left;
    margin-top: 10px !important;
  }

  .logodiv {
    width: 100% !important;
    text-align: center;
  }

  .donkey-area {
    padding: 0px 25% !important;
  }
}

@media (max-width: 460px) {
  .navbar-toggler {
    top: 27px;
  }
}

@media (max-width: 430px) {
  .close-btn{
    font-size: 30px !important;
  }
  .header-text{
    text-align: center;
    float: left;
    margin-top: 10px !important;
  }

  .logodiv {
    width: 100% !important;
    text-align: center;
  }

  .logodiv img{
    width: 30% !important;
    text-align: center;
  }
  
  p, h1, a, button, #inpima_text, #inprosa_text{
    font-size: 14px !important;
    margin: 0px !important;
  }

  #inpima_text, #inprosa_text{
    line-height: 15px !important;
  }
}


@media (max-width: 393px) {
  .close-btn{
    font-size: 30px !important;
  }
  .header-text p{
    font-size: 14px !important;
  }
  p, h1, a, button, #inpima_text, #inprosa_text{
    font-size: 14px !important;
    margin: 0px !important;
  }

  #inpima_text, #inprosa_text{
    line-height: 15px !important;
  }
}
@media (max-width: 362px) {
  .close-btn{
    font-size: 30px !important;
  }
  .logodiv img{
    width: 30% !important;
  }

  .header-text p{
    font-size: 11px !important;
  }
  p, h1, a, button, #inpima_text, #inprosa_text{
    font-size: 11px !important;
    margin: 0px !important;
  }

  #inpima_text, #inprosa_text{
    line-height: 15px !important;
  }

  .prosa-anim-btn{
    position: fixed;
    right: 2px;
    bottom: 80px !important;
  }
}

@media (min-width: 340px) {
  .main{
    margin-bottom: 100px;
  }
}

@media (max-width: 282px) {
  .close-btn{
    font-size: 30px !important;
  }
  .header-text p{
    font-size: 8px !important;
  }

  p, h1, a, button, #inpima_text, #inprosa_text{
    font-size: 8px !important;
    margin: 0px !important;
  }

  #inpima_text, #inprosa_text{
    line-height: 15px !important;
  }
}

#inpima_text p, #inprosa_text p{
  margin: 0px !important;
}

.prosa-anim-btn{
  position: fixed;
  right: 10px;
  bottom: 112px !important;
  display: none;
}


/* animation typing */
.css-typing p {
  border-right: .15em solid orange;
  font-family: "Courier";
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
}

.css-typing p:nth-child(1) {
  width: 100%;
  /* -webkit-animation: type 2s steps(40, end); */
  animation: type 2s steps(40, end);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@keyframes type {
  0% {
    width: 0;
  }
  99.9% {
    border-right: .15em solid orange;
  }
  100% {
    border: none;
  }
}

@-webkit-keyframes type {
  0% {
    width: 100%;
  }
  99.9% {
    border-right: .15em solid orange;
  }
  100% {
    border: none;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
@-webkit-keyframes blink {
  50% {
    border-color: tranparent;
  }
}
/* end */
.card{
  border: none !important;
  padding: 2px;
}
/* prossa */

#main {
  text-align: center;
}

#main p{
  line-height: 20px;
  margin: 0px;
}

#more {
  margin: 20px auto 0px;
}