/*
 * Globals
 */


/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none;
  /* Prevent inheritance from `body` */
}


/*
 * Base structure
 */

body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

main {
  background-color: #1c2d1c;
}

.cover-container {
  max-width: 100%;
  background-image: url(images/minervini_produkte_banner.jpg);
  background-repeat: no-repeat;
  background-size: cover;

}

.cover {
  position: absolute;
  top: 50%;
  right: 10%;
  z-index: 20;
}

/*
 * Header
 */

.navbar-dark .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
  border-bottom-color: pink;
}
.navbar-dark .nav-link+.nav-link {
  margin-left: 1rem;
}

.navbar-dark .active {
  color: rgb(81, 193, 212) !important;
  border-bottom-color: rgb(81, 193, 212);
}

@media (max-width: 767px) { 
  .navbar-dark .nav-link:hover,
  .navbar-dark .nav-link:focus,
  .navbar-dark .active,
  .navbar-dark .nav-link{
    border-style: none;
  }
}
  
#navi {
  overflow:hidden;
  background-color:  #1f3223;
  }
.content{
  padding: 16px;
}

.sticky{
  position: fixed;
  top: 0;
  width:100%;
}

.sticky + .content{
  padding-top: 60px;
}

.about-me {
  list-style-type: none;
}

.bi {
  color: rgb(81, 193, 212);
  font-weight: 500;
  padding-right: 5px;
}

/* Flipcard begin */
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 100%;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color:  rgb(31, 50, 35);
  color: white;
  transform: rotateY(180deg);
}

/* Flipcard end */

/* Overlay begin */
.container2 {
  position: relative;
  width: 100%;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1f3223;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
}

.container2:hover .overlay {
  height: 100%;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 0%;
  left: 0%;
  /* -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%); */
  transform: translate(0%, 0%);
  text-align: center;
}
/* Overlay end */

.btn {
  background-color: #1f3223;
  color: #f1f1f1;
}

a {
  color: #1f3223;
  text-decoration: none;
}

a.hover {
  color: #76a3e7;
  text-decoration: none;
}

section {
  margin-top: 70px;
}