body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    overflow: hidden;
    margin: 0;
}

#mindmap-container {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-rows: 100%;
    grid-auto-flow: column;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: cubic-bezier(1, 0, 0, 1) 0.5s all;
}

.mindmap-tile {
    width: auto;
    margin: 0;
    padding: 0;
    height: 100vh;
    transition: inherit;
    position: relative;
    animation: .5s starts cubic-bezier(1, 0, 0, 1);
    border-left: 2px solid black;
    border-right: 2px solid black;
    cursor: pointer;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: darkslategray;
    z-index: 1;
}

.mindmap-tile:hover {
    transform: scale(1.1);
    transition: inherit;
    z-index: 2;
}

.center {
    display: grid;
    grid-template-columns: 100%;
}

.mindmap-tile h2 {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    width: 100%;
}

h2 {
    height: min-content;
    margin: 0;
    padding: 10px 0px;
    text-align: center;
}

h1 {
    text-align: center;
    font-size: 43px;
}

#mainH1 {
    position: absolute;
    width: 100%;
    color: black;
    z-index: 3;
}

p {
    text-align: center;
}

button {
    position: fixed;
    top: 0;
    right: 0;
    background-color: red;
    color: black;
    border: none;
    padding: 5px;
    font-size: large;
    cursor: pointer;
    z-index: 5;
}

.content {
    position: fixed;
    width: 100%;
    text-align: left;
    z-index: 4;
}

.content .container p {
    display: grid;
    grid-template-columns: auto min-content;
    opacity: 0;
}

.content .container .pvisible {
    opacity: 1;
    transition: cubic-bezier(0.165, 0.84, 0.44, 1) 5s all;
}

.content .container h2 audio {
    float: right;
}

.content .container img {
    max-height: 500px;
    max-width: 400px;
}

.content .container h2 {
    height: auto;
    width: auto;
    margin: auto;
    padding: auto;
    text-align: left;
    background-color: inherit;
}

.content .container {
    position: fixed;
    width: 98%;
    height: 100%;
    max-width: 1500px;
    left: 50%;
    transform: translateX(-50%);
    overflow-y: auto;
    margin: 1%;
}

.content .container p {
    text-align: left;
}

.invisible {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
    transition: cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s all;
    background-color: burlywood;
}

.visible {
    opacity: 1 !important;
    pointer-events: visible !important;
    z-index: 2 !important;
    transform: scale(1);
    transition: cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s all;
}