body {
    margin: 0;
}

.body-green {

    background-color: #d5dfe3;
}

.body-blue {
    background-color: #c7d0ce;
}

@keyframes swirl {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.navbar-transparent {
    background-color: transparent !important;
}

.gradient-background-green {
    background: radial-gradient(circle, #53655B, #455C4F, #365343, #2D4437, #25362C);
    background-size: 200% 200%;
    animation: swirl 10s infinite linear;
}

.gradient-background-blue {
    background: radial-gradient(circle, #1c3a44, #254d5b, #2E6072, #58808e, #82a0aa);
    background-size: 200% 200%;
    animation: swirl 10s infinite linear;
}

.div-image-wrapper {
    position: fixed;
    height: 70vh;
    width: 100%;
    margin: 5rem auto;
    overflow-y: visible;
    min-height: 300px;
    z-index: -1;
}

.div-image-homes {
    height: 100%;
    width: 100%;
    background-image: url("../images/library.jpg");
    filter: blur(6px);
    -webkit-filter: blur(6px);
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    position: relative;
    box-sizing: border-box;
    z-index: -1;
}

.div-image-dashs {
    height: 100%;
    width: 100%;
    background-image: url("../images/library.jpg");
    filter: blur(8px);
    -webkit-filter: blur(8px);
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    position: absolute;
    box-sizing: border-box;
    z-index: -1;
}


.div-card-s {
    position: absolute;
    right: 4%;
    top: 5%;
    justify-items: center;
    padding: 5px;
    width: 28vw;
    z-index: 3;
}

.div-card-a {
    position: absolute;
    right: 20%;
    top: 28%;
    justify-items: center;
    padding: 5px;
    opacity: .95;
    z-index: 2;
    width: 20vw;
}

@media (max-width: 1024px) {
    .div-image-wrapper {
        position: relative;
        height: 70vh;
        width: 100%;
        margin: 5rem auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* Center vertically */
        gap: 1rem;
    }

    .div-card-s,
    .div-card-a {
        position: static;
        width: 60vw;
        max-width: 350px;
        margin: .5rem auto;
    }
}


.div-header {
    margin-top: 1rem;
    justify-self: center;
}

.div-survey {
    padding: 1rem;
    margin-top: 2rem;
    margin-left: 5rem;
    margin-right: 5rem;
    margin-bottom: 5rem;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
    /* opacity: .85; */
    border-radius: 10px;
}

.div-login {
    padding: 2rem;
    margin: 4.5rem;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
    opacity: .95;
    border-radius: 10px;
    display: flex;
    justify-items: center;
    justify-self: center;
    width: 60%;
}

.div-profile {
    padding: 1rem;
    margin: 2.5em;
    position: absolute;
    top: 10%;
    bottom: 5%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
    opacity: .95;
    border-radius: 10px;
    display: flex;
    justify-items: center;
    justify-self: center;
    width: 60%;
    height: fit-content;
    z-index: 1;
}

.div-edit{
    padding: 2rem;
    margin: 2.5em;
    width: 60%;
    justify-self: center;
    background-color: white;
    opacity: .95;
    border-radius: 10px;
}

.thumbnail-img {
  max-width: 150px;
  max-height: 150px;
  object-fit: cover;
}


.div-submit-button {
    margin-top: 1.5em;
    margin-bottom: .5rem;
    justify-self: center;
}

.div-button {
    margin-top: .5rem;
    justify-self: center;
}

.div-platin {
    justify-items: center;
    justify-self: center;
    padding: 1rem;
    margin: 4rem;
    min-width: 65vw;
    background-color: white;
    border-radius: 10px;
}

.container-white {
    margin-top: 2rem;
    background-color: white;
    opacity: .95;
    border-radius: 10px;
    padding: .5rem;
    z-index: 1;
    position: relative;
}

.nav-profile-img {
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
}

.div-delete {
    justify-items: center;
    padding: .5rem;
}

.red-text {
    color: red;
}

.alert-size {
    margin-top: .5em;
    min-width: 25vw;
    text-align: center;
    justify-self: center;
}

#greeting-popup {
    transition: opacity 1s ease-out;
}

/* Custom Font */
.marko-one-regular {
    font-family: "Marko One", serif;
    font-weight: 400;
    font-style: normal;
    font-size: larger;
}

/* Dashboard + Table */
.div-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 3;
    justify-items: center;
    width: 75vw;
}

.div-book-table {
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
    z-index: 3;
    justify-items: center;
    background-color: #F7FDFC;
    border-radius: 8px;
    padding: 1rem;
    width: 80vw;
    overflow-y: scroll;
}

.table-book-img
{
    max-width: 25px;
    max-height: 25px;
    border-radius: 25%;
}

/* Table */

tr{
   text-align: center; 
} 

th{
    text-align: center;
    vertical-align: middle;
}

td{
    text-align: center;
    vertical-align: middle;
}

/* The Feed */
.div-center-clear
{
    background-color: transparent;
    justify-self: center;
    justify-items: center;
    max-width: 75vw;
    min-width: 50vw;
    margin-top: 2rem;
    padding-top: 1rem;
}

/* Not mine, received this code from the link below */
/* https://tobiasahlin.com/moving-letters/#2 <- animated title*/
/* code related to this link */

.ml2 {
    font-weight: 900;
    font-size: 3.5em;
}

.ml2 .letter {
    display: inline-block;
    line-height: 1em;
}