@import url('https://fonts.googleapis.com/css2?family=Bonheur+Royale&family=Grechen+Fuemen&family=Jim+Nightshade&family=Lugrasimo&family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Nothing+You+Could+Do&display=swap');


/* Homepage and general*/
nav {
    display: flex;
    justify-content: space-around;
    background-color: #1B0000;
}

nav a {
    padding: 20px;
    text-decoration: none;
    font-size: 200%;
    text-align: center;
    color: #F9EDDC;
}

nav a:hover {
    background-color: #82604A;
}

.h-font {
    font-family: "Lugrasimo", cursive;
}

#parallax {
    background-image: url(../images/main_banner2.jpg);
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: #1B0000 2px solid;
    margin-bottom: 20px;
}

#introduction {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr 1.5fr;
    margin: 10px 50px 10px 50px;
    grid-column-gap: 2px;
}

#introduction img {
    grid-column: 1/2;
    grid-row: 1/3;
}

#introduction h1 {
    grid-column: 2/3;
    grid-row: 1/2;
    text-align: center;
    align-self: end;
    font-size: 225%;
    color: #523328;
}

#introduction p {
    grid-column: 2/3;
    grid-row: 2/3;
    text-align: center;
    margin: 0 20px 0 20px;
    color: #1B0000;
}

p {
    font-family: "Newsreader", serif;
    color: #1B0000;
    font-size: 1.25em;
}

#intro-robins {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
    margin-top: 50px;
    font-size: 150%;
    color: #82604A;
}

#r1-title {
    grid-column: 1/2;
    grid-row: 1/2;
}

#robin1 img {
    grid-column: 1/2;
    grid-row: 2/3;
    width: 90%;
}

#r1-name {
    grid-column: 1/2;
    grid-row: 3/4;
    color: #164EA2;
}

#r2-title {
    grid-column: 2/3;
    grid-row: 1/2;
}

#robin2 img {
    grid-column: 2/3;
    grid-row: 2/3;
    width: 90%;
}

#r2-name {
    grid-column: 2/3;
    grid-row: 3/4;
    color: #A01825;
}

#r3-title {
    grid-column: 3/4;
    grid-row: 1/2;
}

#robin3 img {
    grid-column: 3/4;
    grid-row: 2/3;
    width: 90%;
}

#r3-name {
    grid-column: 3/4;
    grid-row: 3/4;
    color: #E5A224;
}

#r4-title {
    grid-column: 4/5;
    grid-row: 1/2;
}

#robin4 img {
    grid-column: 4/5;
    grid-row: 2/3;
    width: 90%;
}

#r4-name {
    grid-column: 4/5;
    grid-row: 3/4;
    color: #0F7936;
}

.button {
    text-align: center;
    margin: 20px;
    margin-bottom: 80px;
}

button {
    padding: 5px 9px;
    font-size: 13px;
}

#batfam-songs {
    background-color: #AA8B74;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 45%;
    text-align: center;
}

#batfam-song-content {
    color: #82604A;
}

.modal-content ul {
    display: inline-block;
    text-align: left;
    color: #1B0000;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

footer {
    background-image: url(../images/footer_pic.jpg);
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    height: 150px;
    /* border: 1px solid black; */
    font-size: 100%;
    position: relative;
}

footer a {
    position: absolute;
    right: 700px;
    bottom: 0px;
    color: white;
    background-color: black;
}

#f-credit {
    bottom: 0px;
    position: absolute;
    padding-left: 10px;
}

#f-info {
    bottom: 0px;
    position: absolute;
    right: 0px;
    padding-right: 10px;
}


/* Richard's page */
.r-font {
    font-family: "Grechen Fuemen", cursive;
    font-size: 250%;
    color: #164EA2;
}

#dick-banner {
    max-width: 100%;
    background-color: #060606;
    color: #0096E0;
    font-family: "Grechen Fuemen", cursive;
    padding: 20px;
    text-align: center;
    font-size: 200%;
    border-bottom: solid 7px #F5C229;
}

#dick-banner h1 {
    margin: 10px;
}

#dick-maincontent {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    grid-row-gap: 10px;
}

#dick-background {
    grid-column: 2/3;
    grid-row: 1/3;
    border-bottom: solid 7px #F5C229;
    padding-bottom: 30px;
}

#dick-history {
    grid-column: 2/3;
    grid-row: 3/9;
    border-bottom: solid 7px #F5C229;
    padding-bottom: 30px;
}

#dick-skills {
    grid-column: 2/3;
    grid-row: 9/11;
    padding-bottom: 10px;
}

ul {
    font-size: 1.25em;
    font-family: "Newsreader", serif;
    color: #1B0000;
}

#rrobin-flip {
    grid-column: 3/4;
    grid-row: 2/4;
    justify-self: center;
    width: 350px;
    height: 352px;
}

#reras-flip {
    grid-column: 1/2;
    grid-row: 4/6;
    justify-self: center;
    width: 350px;
    height: 444px;
}

#rnightwing-flip {
    grid-column: 3/4;
    grid-row: 6/8;
    justify-self: center;
    width: 350px;
    height: 441px;
}

#rnormal-flip {
    grid-column: 1/2;
    grid-row: 8/10;
    justify-self: center;
    width: 350px;
    height: 459px;
}

.flip-box {
    background-color: transparent;
    /* border: 1px solid #0BC5FE; */
    perspective: 1000px;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    /* border: solid 5px #0BC5FE; */
}

.flip-box:hover .flip-box-inner {
    transform: rotateX(180deg);
}

.flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-box-front {
    background-color: #bbb;
    color: black;
}

.flip-box-back {
    background-color: dodgerblue;
    color: white;
    transform: rotateX(180deg);
}

.rimages {
    max-width: 100%;
    max-height: 100%;
}

#richard-songs {
    background-color: #0BC5FE;
}

#richard-song-content h1 {
    font-family: "Grechen Fuemen", cursive;
    font-size: 250%;
    color: #0096E0;
}

#richard-song-content ul {
    padding-left: 0px;
}


/* Jason's Page */
.j-font {
    font-family: "Jim Nightshade", cursive;
    font-size: 275%;
    color: #A01825;
}

#jason-banner {
    max-width: 100%;
    background-color: #000100;
    color: #D91C26;
    font-family: "Jim Nightshade", cursive;
    padding: 10px;
    text-align: center;
    font-size: 250%;
    border-bottom: solid 7px #253241;
    padding-bottom: 0px;
    margin-bottom: 20px;
}

#jason-banner h1 {
    margin: 10px;
    margin-bottom: 0px;
}

#jason-maincontent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 450px 700px;
    text-align: center;
    box-sizing: border-box;
}

#jason-background {
    grid-column: 1/2;
    grid-row: 1/2;
    align-self: center;
}

#jason-photo {
    grid-column: 2/3;
    grid-row: 1/2;
}

#jason-history {
    grid-column: 1/3;
    grid-row: 2/3;
    text-align: left;
}

#jason-slides {
    grid-column: 1/2;
    grid-row: 3/4;
    justify-self: center;
}

#jason-skills {
    grid-column: 2/3;
    grid-row: 3/4;
}

#jason-skills h2 {
    margin-bottom: 20px;
}

#jason-skills ul {
    list-style-position: inside;
    padding-left: 0px;
    font-size: 1.25em;
}

.j-slide-img {
    vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
    position: relative;
    width: 400px;
    height: 566px;
    text-align: center;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: #3D1D00;
    padding: 2px 16px;
    color: white;
}

#caption {
    color: white;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Three columns side by side */
.column {
    float: left;
    width: 33.33%;
    height: 70px;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

#jason-songs {
    color: white;
    background-color: #253241;
}

#jason-song-content h1 {
    padding-left: 40px;
    font-family: "Jim Nightshade", cursive;
    font-size: 275%;
    color: #D91C26;
}


/* Tim Drake */
.t-font {
    font-family: "Nothing You Could Do", cursive;
    font-size: 225%;
    color: #CC001B;
    text-align: center;
}

#tim-banner {
    max-width: 100%;
    background-color: #110B08;
    color: #E5A224;
    font-family: "Nothing You Could Do", cursive;
    padding: 10px;
    text-align: center;
    font-size: 200%;
    border-bottom: solid 7px #FF0A2B;
    padding-bottom: 0px;
    margin-bottom: 20px;
}

#tim-banner h1 {
    margin: 10px;
    margin-bottom: 0px;
    padding: 15px;
}

#tim-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
    text-align: center;
}

#tim-background {
    grid-column: 1/2;
}

#tim-history {
    grid-column: 2/3;
}

#tim-skills {
    grid-column: 3/4;
}

#tim-skills ul {
    list-style-position: inside;
    padding-left: 0px;
}

#tim-pictures {
    box-sizing: border-box;
}

.t-column {
    float: left;
    width: 25%;
}

.t-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    text-align: center;
    align-items: center;
}

#robin-tim {
    grid-column: 2/3;
}

#tim-eras {
    grid-column: 3/4;
}

#red-robin {
    grid-column: 4/5;
}

#normal-tim {
    grid-column: 1/2;
    grid-row: 1/2;
}

/* The Modal (background) */
.t-modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000000;
}

/* Modal Content */
.t-modal-content {
    position: relative;
    background-color: white;
    margin: auto;
    padding: 0px;
    width: 300px;
    max-width: 300px;
}

/* The Close Button */
.t-close {
    color: #FF0A2B;
    position: absolute;
    top: 100px;
    right: 550px;
    font-size: 35px;
    font-weight: bold;
}

.t-close:hover,
.t-close:focus {
    color: #A3000E;
    text-decoration: none;
    cursor: pointer;
}

.TSlides {
    display: none;
}

.t-cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.t-prev,
.t-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #A3000E;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.t-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.t-prev:hover,
.t-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/4 etc) */
.t-numbertext {
    color: #A3000E;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

#tim-pictures img {
    margin-bottom: -4px;
}

.t-caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
}

.t-demo {
    opacity: 0.6;
    width: 80%;
}

.t-active,
.t-demo:hover {
    opacity: 1;
}

#tim-pictures img.hover-shadow {
    transition: 0.3s;
}

.t-hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#tim-songs {
    background-color: #FF0A2B;
}

#tim-song-content h1 {
    font-family: "Nothing You Could Do", cursive;
    font-size: 225%;
    color: #E5A224;
}


/* Damain's Page */
.d-font {
    font-family: "Bonheur Royale", cursive;
    font-size: 260%;
    color: #042A09;
}

#damian-banner {
    max-width: 100%;
    background-color: #02090D;
    color: #0F7936;
    font-family: "Bonheur Royale", cursive;
    padding: 20px;
    text-align: center;
    font-size: 250%;
    border-bottom: solid 7px #F5A435;
}

#damian-banner h1 {
    margin: 0px;
}

#d-slideshow {
    text-align: center;
    border-top: solid 7px #C51D07;
}

#d-slideshow img {
    vertical-align: middle;
}

.d-mySlides {
    display: none;
    padding-top: 10px;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    box-sizing: border-box;
    position: relative;
}

/* Next & previous buttons */
.d-prev,
.d-next {
    cursor: pointer;
    position: absolute;
    top: 60%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #0F7936;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.d-next {
    right: 550px;
    border-radius: 3px 0 0 3px;
}

.d-prev {
    left: 550px;
}

/* On hover, add a black background color with a little bit see-through */
.d-prev:hover,
.d-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#dots {
    position: absolute;
    left: 730px;
    top: 590px;
}

/* The dots/bullets/indicators */
.d-dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0px;
    background-color: #F5A435B8;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.d-active,
.d-dot:hover {
    background-color: #C51D07;
    ;
}

/* Fading animation */
.d-fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

#damian-content {
    text-align: center;
}

#damian-skills ul {
    list-style-position: inside;
    padding-left: 0px;
}

#damian-background h2 {
    margin-top: 0px;
    margin-bottom: 29px;
}

#damian-songs {
    background-color: #C51D07;
    margin-top: 40px;
}

#damian-song-content h1 {
    font-family: "Bonheur Royale", cursive;
    font-size: 275%;
    color: #0F7936;
    padding-left: 40px;
}