.portfolio {
  margin-bottom: -15px;
}
.portfolio .portfolio-item {
  position: relative;
  display: block;
  max-width: 25rem;
  margin-bottom: 15px;
}
.portfolio .portfolio-item .portfolio-item-caption {
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background-color: #ef2042;
}
.portfolio .portfolio-item .portfolio-item-caption:hover {
  opacity: 1;
}
.portfolio
  .portfolio-item
  .portfolio-item-caption
  .portfolio-item-caption-content {
  font-size: 1.5rem;
}
@media (min-width: 576px) {
  .portfolio {
    margin-bottom: -30px;
  }
  .portfolio .portfolio-item {
    margin-bottom: 30px;
  }
}

.portfolio-modal .portfolio-modal-dialog {
  padding: 3rem 1rem;
  min-height: calc(100vh - 2rem);
  margin: 1rem calc(1rem - 8px);
  position: relative;
  z-index: 2;
  -moz-box-shadow: 0 0 3rem 1rem rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 3rem 1rem rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 3rem 1rem rgba(0, 0, 0, 0.5);
}
.portfolio-modal .portfolio-modal-dialog .close-button {
  position: absolute;
  top: 2rem;
  right: 2rem;
}
.portfolio-modal .portfolio-modal-dialog .close-button i {
  line-height: 38px;
}
.portfolio-modal .portfolio-modal-dialog h2 {
  font-size: 2rem;
}

/* -----------------------------------------   MY ------------------------------------------------ */

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.profile_animation:hover {
  -webkit-animation: spin 4s linear infinite;
  -moz-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;
}

.profile_normal:hover {
  visibility: hidden;
}

.profile_invert {
  display: none;
}

.profile_normal:hover ~ .profile_invert {
  display: block;
  margin-top: -157px;
}

.profile_invert:hover {
  display: block;
  margin-top: -158px;
}

.bla2 {
  /* -webkit-animation: spin 4s linear infinite;
  -moz-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;

  -webkit-animation: spin 4s linear infinite;
  -moz-animation: spin 4s linear infinite;
  animation: spin 10s; */

  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 10s;
  animation-delay: 1s;
  animation-fill-mode: revert;
  animation-name: spin;
  animation-play-state: paused;
}

.fixed-top {
  border-bottom: 4px solid #ef2042;
}

/* .bg-primary {
      border-right: 3px solid #ef2042;
  } */

@media (min-width: 992px) {
  #sideNav {
    border-right: 4px solid #ef2042;
    border-bottom: 0px !important;
  }
}

@media (min-width: 992px) {
  #smallProfile {
    display: none !important;
  }
}

#smallProfile {
  display: initial;
  /*margin-top: -29px;
  justify-content: center;
  margin-bottom: 23px; */
}

#smallProfile img {
  width: 50px;
  height: 50px;
  border-radius: 150px;
  margin-top: 9px;
  border: 2px solid #f3465b;
  /* margin-right: 15px; */
}

@media (min-width: 408px) {
  .site-text {
    margin-left: -5px;
  }
}

@media (max-width: 408px) {
  .site-text {
    margin-left: 3px;
  }
}

.site-text {
  font-size: 57px;
}

#sideNav .navbar-brand .img-profile {
  border: 0.3rem solid #ee1f43;
  width: 150px;
  height: 150px;
}

section.resume-section {
  border-bottom: 1px solid #ee1f43;
}

.list-icons .list-inline-item i:hover,
.list-social-icons a:hover {
  color: #ee1f43;
}

.away {
  display: none !important;
}

.icon_with_image:hover .icon_red_class {
  display: inline-block;
}

.icon_with_image:hover .icon_grey_class {
  display: none;
}

.icon_red_class {
  display: none;
}

.icon_with_image img {
  width: 50px;
  margin-top: -13px;
}

/* -----------------------------------------   BA   ------------------------------------------------ */

.baguetteBox-button#close-button:hover,
.baguetteBox-button#previous-button:hover,
.baguetteBox-button#next-button:hover {
  background-color: #ee1f43;
}

.baguetteBox-button#previous-button,
.baguetteBox-button#next-button {
  outline: none;
}

/* -----------------------------------------   PORTFOLIO ------------------------------------------------ */

.myPortfolio {
  background-color: #ef2142;
  width: 100%;
  display: flex;
  /* padding: 24px; */
  /* margin-bottom: 80px; */
  overflow-x: scroll;
  border: 1px solid #ef2142;
  border-bottom: none !important;
}

.myPortfolio img {
  width: 144px;
  border-right: 1px solid #ef2042;
}

.myPortfolio img:hover {
  opacity: 0.5;
}

.myPortfolio .horizontal {
  height: 215px;
  width: auto;
}

.myCaption {
  /* border: 1px solid #ef2142;
    border-top: none !important; */
  padding: 14px;
  text-align: center;
}

/* -----------------------------------------   ACHIEVEMNTS ------------------------------------------------ */

#achievements li {
  padding: 5px;
}

/* -----------------------------------------   SCROLL ------------------------------------------------ */

.resume-section ::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

/* width */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #ef2142;
}

/* Handle */
.myPortfolio::-webkit-scrollbar-thumb {
  background: #222121;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: none;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #222121;
  height: 10px;
  width: 10px;
}

/* -----------------------------------------   Button disabled ------------------------------------------------ */

.list-inline-item,
.list-inline-item-disabled {
  display: inline-block;
  margin-top: 10px;
}

.list-inline-item-disabled:not(:last-child) {
  margin-right: 5px;
}

.list-icons .list-inline-item-disabled i:hover,
.list-social-icons .list-inline-item-disabled a:hover {
  color: #495057;
}

.list-social-icons .list-inline-item-disabled a {
  color: #485056;
  opacity: 0.7;
  cursor: default;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto #ef2043;
}
