/*
 * 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);
}

.cover-container {
  position: relative;
  background-image: url(../images/Bild6.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 100% 0px ;
}

.inner{
  position: absolute;
  top: 40%;
  right: 30px;
  left: 30px;
 text-align: center;
 color: red;
}

/*
 * Header
 */

.navbar .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: red;
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  border-bottom-color: rgba(255, 0, 0, 0.25);
}

.navbar .nav-link + .nav-link {
  margin-left: 1rem;
}

.navbar .active {
  color: rgba(255, 0, 0, 0.25);
  border-bottom-color: rgba(255, 0, 0, 0.25);
}


@media (max-width: 767.98px) { 
  .inner{
    color: #222;
    background-color: lightgray;
    width: 80%;
  }
}

section .container{
  padding: 30px;
  text-align: left;
}

.font-italic{
  font-style: italic;
}

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

.bi{
  color:  rgba(255, 0, 0, 0.25);
  padding-right: 5px;
}

/**Flipcard**/
/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 100%;
  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: dodgerblue;
  color: white;
  transform: rotateY(180deg);
}
/**Flipcard Ende**/


/**Zoom**/
/* Container needed to position the overlay. Adjust the width as needed */
.container1 {
  position: relative;
  width: 100%;
}

/* Make the image to responsive */
.image {
  width: 100%;
  height: auto;
}

/* The overlay effect (full height and width) - lays on top of the container and over the image */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #008CBA;
  overflow: hidden;
  width: 100%;
  height: 100%;
  transform: scale(0);
  transition: .3s ease;
}

/* When you mouse over the container, the overlay text will "zoom" in display */
.container1:hover .overlay {
  transform: scale(1);
  height: 100%;
  width: 100%;
}

/* Some text inside the overlay, which is positioned in the middle vertically and horizontally */
.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
/**Zoom Ende**/

@media screen and (max-width: 600ppx){
  div.flip-card-back{
    display: none;
  }
}


/*Button*/
.btn-primary {
  color: #fff;
  background-color: rgba(255, 0, 0, 0.25);
  border-color: rgba(255, 0, 0, 0.25);
}

.form-check-input:checked {
  background-color: rgba(255, 0, 0, 0.25);
  border-color: rgba(255, 0, 0, 0.25);
}

/*Datenschutz*/
a {
  color: rgba(255, 0, 0, 0.25);
  text-decoration: none;
}
a:hover{
  color: rgba(255, 0, 0, 0.25);
}