.wrapper {
    background-image: url(images/squid.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: lightcoral;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2em;
    margin: 0;
    padding: 0%;
    text-align: center;
    height: auto;
    background-size: 50% 50%;
    background-color: teal;
}

.heading {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3em;
    color: lightcoral;
    text-shadow: 2px 2px 5px black;
    letter-spacing: .3rem;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
}

.body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    font-size: 1rem;
}

#characters {
    margin-top: 60px;
    background-color: transparent;
    padding: 40px 0;
    color: #f8cfcf;
    font-family: 'Orbitron', sans-serif;
}

.char-row {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}

.char-text {
    padding: 30px;
}

.flip-card {
        background-color: transparent;
        perspective: 1000px; /* Remove this if you don't want the 3D effect */
        margin: auto;
        margin-bottom: 40px;
    }

.flip-card-inner {
        position: relative;
        width: 100%;
        height: 360px;
        text-align: center;
        transition: transform 0.8s;
        transform-style: preserve-3d;
    }

.flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }

.flip-card-front, .flip-card-back {
        background-color: #f8cfcf;
        position: absolute;
        inset: 0;
        color: black;
        position: absolute;
        width: 100%;
        height: 100%;
        border: 1px solid #f1f1f1;
        border-radius: 10px;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.4);
        backface-visibility: hidden;
        overflow: hidden;
        margin: auto;
    }

.flip-card-front img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
}

    .flip-card-front {
        z-index: 2;
        width: 100%;
        height:100%;
        object-fit: cover;
        display: block;
    }

    .flip-card-back {
        transform: rotateY(180deg);
        padding: 20px;
        color: #fff;
        background-color: #043f3d;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .flip-card-inner {
        position: relative;
        width: 100%;
        height: 360px;
        text-align: center;
        transition: transform 0.8s;
        transform-style: preserve-3d;
    }

.navbar-nav > li > a {
    color: black !important;
    font-weight: 600;   
}

.navbar-nav > li > a:focus,
.navbar-nav > li > a:active,
.navbar-nav > li > a:hover {
    color: palevioletred !important;
    background-color: teal !important;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
    background-color: teal  !important;
    color: white !important;
}

.navbar-default .navbar-brand {
    color: black !important; 
    font-weight: 600;
}

.navbar-nav > .active > a {
    color: palevioletred !important;
    background-color: teal !important;
}

.navbar-default .navbar-brand:hover {
    color: black !important;
    font-weight: 600;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: palevioletred !important;
    background-color: teal;
}

.navbar.navbar-default.navbar-fixed-top {
    background-color: #f0f8ff;
    border: none;
}

.card-label {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(248, 207, 207, 0.95);
    color: teal;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    z-index: 3;
}

h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 5px black;
    letter-spacing: .5rem;
    
}

.reverse {
    flex-direction: row-reverse;
}

.footer {
    background-color: #5b5b5b;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1em;
}

@media (max-width: 768px) {
    .char-row, .reverse {
        flex-direction: column;
    }
}

@media screen and (max-width: 800px) {
    nav { 
        overflow: hidden;
        background-color: #5b5b5b;
    }

    .navMenu {
        clear:left;
        width: 100%;
    }

    .navList {
        float: left;
    }

    .navList a {
        text-align: center;
        display: block;
        padding: 1em;
        font-size: 2vh;
        text-decoration: none;
    }

    .wrapper {
        margin-left: 0;
    }

}

.flip-bo-front, .flip-box-back {
    height: 200px;
    width: 200px;
    object-fit: cover;
}

.fa:link {
    color: #1919ad;
    text-decoration: none;
}

.fa:visited {
    color: #000000;
    text-decoration: none;
}

.fa:hover {
    color: #ffffff;
}

.fa:active {
    color: red;
}

.fa:visited {
    color: #01041c;
}

@media print {
    nav, .navMenu {
        display: none;
    }

    .wrapper {
        margin-left: 0;
        width: 100%;
    }
    /* Removes navigation bar and centers content when printing */
}

