/* Overlay Details */

html { scrollbar-gutter: stable; } 

body {
    margin: 0;
    padding: 0;
    height: auto;
    overflow-x: hidden;
}

.cardheaderandtext {
    padding-left: 15%;
    padding-right: 15%;
    text-align: left;
    background-color: white;
    max-width: 100%;
}

.card-header {
    background-color: white;
    margin-bottom: 3rem;
    margin-top: 3rem;
    max-width: 100%;
}

.card-title {
    font-weight: bold;
    font-size: 1.6em;
    text-align: center;
    max-width: 100%;
}

.card-text-ov {
    font-weight: 400;
    font-size: 1.0rem;
    text-align: center;
    margin-bottom: 0px;
    max-width: 100%;
}

.card {
    --bs-card-border-color: none;
    --bs-card-border: none;
    max-width: 1366px;
}

.blacklink {
    color: black;
}

.centertext {
    text-align: center;
}


.ov-card-img,
.ov-card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding-left: 0rem;
    padding-right: 0rem;
    max-width: 100%;
}


.col {
    margin-bottom: 10px;
    margin-top: 0px;
    background-color: transparent;
    max-width: 100%;
}

/* .card-title {
    margin-bottom: var(--bs-card-title-spacer-y);
    color: var(--bs-card-title-color);
    text-align: center;
  } */

#fade-wrapper {
    display: none;
    position: fixed;
    /* background: rgba(0, 0, 0, 0.5); */
    background: rgba(0, 0, 0, 0);
    /* opacity: 0.8; */
    width: 75%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 12.5%;
    z-index: 1000;
}

#fade-wrapper-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.overlayContainer {
    margin-left: 0px;
    margin-right: 0px;
    background: rgba(255, 255, 255);
    max-width: 100%;
    overflow-x: hidden;
}

.projectscardcontainer {
    margin-bottom: 0px;
    padding-bottom: 0px;
    max-width: 100%;
}


.close {
    position: absolute;
    top: 60px;
    right: 88%;
    font-size: 40px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1;
}

/* Overlay Details */
.cardheaderandtext {
    padding-left: 5%;
    padding-right: 5%;
    text-align: left;
    background-color: white;
}

.card-header {
    background-color: white;
    max-width: 100%;
}


@media (max-width: 768px) {

    .overlayContainer {
        /*
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        background: rgba(255, 255, 255);
        */
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
        background: rgba(255, 255, 255);
        max-width: 100%;
        overflow-x: hidden;
    }

    .overlayContainerWooFeelfood {
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
        background: #efefef;
        max-width: 100%;
        overflow-x: hidden;
    }

    .cardheaderandtextWooFeelfood {
        padding-left: 15%;
        padding-right: 15%;
        text-align: left;
        background: #efefef;
        max-width: 100%;
    }

    .card-headerWooFeelfood {
        background-color: #efefef;
        margin-bottom: 3rem;
        margin-top: 3rem;
        max-width: 100%;
    }

    .close {
        position: fixed;
        right: 88%;
    }

}

/* Notebooks and PCs */
@media (min-width: 1225px) {

    .ov-card-img,
    .ov-card-img-top {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        padding-left: 0rem;
        padding-right: 0rem;
        max-width: 70%;
    }

    .ov-card-img-2,
    .ov-card-img-top-2 {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        padding-left: 0rem;
        padding-right: 0rem;
        max-width: 95%;
    }
}