.center {
    display: grid;
    place-items: center;
    margin: 0rem;
}

h1 {
    font-size: 5rem;
}

h2 {
    display: flex;
    font-size: 2.5rem;
    width: fit-content;
}

a,
p {
    font-size: 1.5rem;
    padding: 0rem;
}

img {
    width: 60%;
}

hr {
    border-color: #393939;
    width: 75%;
}

.overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background-color: #09090976;
    z-index: 4;
    position: absolute;
    transition: transform 0.2s;
}

.overlay > #bg {
    z-index: 5;
    width: 100%;
    height: 100%;
}

.overlay > #bg > img {
    width: 85dvw;
    z-index: 10;
}

.overlay > a:link, a:visited {
    color: white;
    cursor: pointer;
    text-decoration: underline;
}

.overlay > a:link:active, a:visited:active {
    color: rgb(189, 189, 189);
}

.overlay.visible {
    transform: translate(-50%, -50%) scale(1);
}

.hidden {
    display: none;
}

.contain {
    box-sizing: border-box;
}

.animation:active,
.animation:focus,
.animation:hover {
    background-color: rgb(231, 231, 231);
    color: black;
}

button {
    height: 50px;
    background-color: rgba(30, 144, 255, 0.5);
    transition: 0.2s;
    border: none;
    border-radius: 7px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 5px;
    color: rgb(198, 198, 198);
    cursor: pointer;
}

button:focus,
button:hover {
    background-color: rgba(30, 144, 255, 0.7);
    color: white;
}

button:active {
    background-color: rgba(30, 144, 255, 1);
    color: white;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    margin: 2px;
    transition: 0.2s;
}

/* Track */
::-webkit-scrollbar-track {
    background: #292929; 
}

::-webkit-scrollbar-track-piece {
    background: #292929;
}
    
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}