:root{
    --primary: #707070;
    --secondary: #d41414;
}

strong {
    color: rgb(0, 0, 0);
}

.cover {
    position: absolute;
}

.uiContent {
    margin: auto;
    margin-top: 10vh;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 90%;
}

.contentBox {
    width: 100%;
    margin-top: 4vh;
    gap: 3rem;
    justify-content: center;
}

.pageHeading {
    text-align: center;
    font-size: 3rem;
}

.inhalt {
    width: 100%;
    min-height: 200px;
    margin-bottom: 3rem;
}

.inhalt h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modalButtons {
    height: 2rem;
}

.screens_frika, .screens_kraut, .screens_porti {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.screens_frika img, .screens_kraut img, .screens_porti img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 2px 2px 10px var(--primary);
    margin-bottom: 1.5rem;
}

.infoText p {
    text-align: center;
}


button {
    width: 20em;
    height: 2rem;
    border-radius: 1rem;
    cursor: pointer;
    border: 2px solid var(--primary);
    font-size: 0.9rem;
    color: var(--secondary);
    background-color: rgba(252, 251, 245, 0.5);
    -webkit-backdrop-filter: blur(0.15rem);
    -moz-backdrop-filter: blur(0.15rem);
    backdrop-filter: blur(0.15rem);
}

button:hover {
    color: rgb(252, 251, 245);
    background-color: var(--secondary);
    border: 2px solid rgb(252, 251, 245);
}



.modal {
    display: none; 
    position: fixed; 
    z-index: 1000;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto; 
    background-color: rgb(0, 0, 0); 
    background-color: rgba(0, 0, 0, 0.93); 
    -webkit-backdrop-filter: blur(0.4rem);
    -moz-backdrop-filter: blur(0.4rem);
    backdrop-filter: blur(0.4rem);
}
  

.modal-content {
    margin: auto;
    width: 70%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.frika_desk, .porti_desk {
    max-width: 60vw;
    max-height: 75vh;
}


.frika_mobile, .kraut_wire, .porti_mobile {
    max-height: 75vh;
}

video {
    border-radius: 2rem;
    border: 10px solid rgb(219, 219, 219);
}



.closeFD, .closeFM, .closeK, .closePD, .closePM {
  color: #f1f1f1;
  position: absolute;
  top: -1.5rem;
  right: 0;
  margin-bottom: 10rem;
  font-size: 28px;
  font-weight: bold;
  font-family: 'Rounded_Elegance';
  src: url("../font/Rounded_Elegance.ttf");
  font-size: 3rem;
}
  
.closeFD:hover,
.closeFD:focus, 
.closeFM:hover,
.closeFM:focus,
.closeK:hover,
.closeK:focus,
.closePD:hover,
.closePD:focus,
.closePM:hover,
.closePM:focus {
  color: #d41414;
  text-decoration: none;
  cursor: pointer;
}

.spaceDivider {
  margin-bottom: 2rem;
}


.modal-content, #caption {
  animation-name: fade;
  animation-duration: 1.8s;
}

@keyframes fade {
  from {opacity:0;}
  to {opacity:1;}
}



@media screen and (max-width: 31.25rem) {


    .buttons {
        height: 6rem;
        justify-content: space-between;
        margin: 1rem 0 1rem 0;
    }

    .krautBtns {
        height: 3rem;
    }

    button {
        width: 15rem;
    }

    .modal-content {
      width: 90%;
      height: 60%;
    }

    .mobile {
        height: 75%;
    }

    .frika_desk, .porti_desk {
        max-width: 80vw;
    }

    .screens_frika, .screens_kraut, .screens_porti {
        grid-template-columns: 1fr;
    }

    video {
        border-radius: 1rem;
    }
}

@media screen and (max-height: 27.8125rem) {


    .screens_frika, .screens_kraut, .screens_porti {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

   .frika_desk, .porti_desk {
       max-width: 50vw;
   }

   video {
       border-radius: 1rem;
   }

}



@media screen and (min-width: 31.25em) and (max-width: 93.75rem) {


    .screens_frika, .screens_kraut, .screens_porti {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .infoText {
        width: 70%;
        margin: auto;
    }


    .buttons {
        height: 5rem;
        justify-content: space-between;
    }

    .krautBtns {
        height: 3rem;
    }

}


@media screen and (min-width: 93.75rem) {


    .frika, .kraut, .porti {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .inhalt h1 {
        grid-column: 1/3;
        grid-row: 1/2;
    }

    .infoText {
        grid-column: 1/2;
        grid-row: 2/3;
        width: 70%;
        margin: auto;
    }

    .buttons {
        grid-column: 2/3;
        grid-row: 2/3;
        height: 100%;
        justify-content: space-between;
    }

    .screens_frika, .screens_kraut, .screens_porti {
        height: 100%;
        grid-column: 1/3;
        grid-row: 3/4;
        margin-top: 2rem;
    }

    .krautBtns {
        justify-content: center;
    }

}