@font-face {
    font-family: 'MesloLGS NF';
    src: url('app/assets/fonts/MesloLGLDZNerdFontMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MesloLGS NF';
    src: url('app/assets/fonts/MesloLGLDZNerdFontMono-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

b,
hl,
.bold-text {
    font-family: 'MesloLGS NF', sans-serif;
    font-weight: bold;
}

hl {
    background-color: rgba(255, 255, 0, 0.85);
    color: black;
    padding: 2px;
}

html {
    background-color: #0065b3;
    color: #fff;
    font-family: 'MesloLGS NF', sans-serif;
    font-size: 1.1em;
    margin: 0;
    padding: 0;
}

body {
    padding: 0 5vw 5vh 5vw;
    height: 100vh;
}

.splash {
    position: fixed;
    font-size: x-large;
    top: 35%;
    left: 0;
    text-shadow: 0px 0px 0px #000;
    background: linear-gradient(to bottom, #0065b3 55%, transparent);
    z-index: 9;
    height: auto;
    transition: all 0.7s ease;
    padding-left: 5em;
    width: 90vw;
}

.splash.move-up {
    font-size: xx-large;
    top: 0;
    padding: 0.5em 1em;
    left: 1em;
}

.splash.move-up {
    text-shadow: 4px 4px 0px #000;
}

#splash-text {
    white-space: nowrap;
    word-break: break-all;
}

#subtitle {
    font-size: 0.7em;
}

#profiles {
    font-size: 0.55em;
    line-height: 32px;
}
#profiles p {
    margin: 2px;
}

#banner {
    position: unset;
    line-height: 1.2em;
    opacity: 0;
    display: flex;
    justify-content: left;
    height: 192px;
    transition: opacity 0.7s ease;
}
#banner > div {
    max-width: 70%;
}
#banner > img {
    align-self: self-end;
    margin-right: 1em;
    margin-left: auto;
    height: 100%;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    border-color: white;
    border-width: 2px;
    transition: all 0.7s ease;
}
#banner > img.fade-out {
    margin-right: 1em;
    height: 0;
    bottom: 100%;
    left: 100%;
    border-radius: 10px;
    border-color: white;
    border-width: 2px;
}
.splash.move-up #banner {
    opacity: 1;
}
.content {
    padding-bottom: 5em;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
}

.addresses {
    color: white;
}

.address {
    font-size: 16px;
    margin-top: 4px;
    opacity: 0;
    top: -20px;
    transform: translateY(20px);
    animation: 0.5s forwards;
    text-align: right;
    line-height: 28px;
}

.main {
    width: 100%;
    height: 100%;
    padding-top: 2px;
    margin-left: 2em;
}

.main > div > * {
    opacity: 0;
    top: -70px;
    transform: translateY(70px);
    animation: 0.7s forwards;
}

.main h1,
.main span {
    font-size: 1.7em;
    /*! max-height: 54px; */
    /*! min-height: 54px; */
    text-shadow: 3px 3px 0px #000;
    line-height: 64px;
    overflow: visible;
    align-items: center;
    display: flex;
    margin: 0;
    padding: 0;
}

.main p {
    line-height: 32px;
    margin: 0;
}

hr {
    border-color: white;
    margin: 15px 0;
}

@keyframes fadeIn {
    to {
        opacity: 0.6;
        transform: translateY(0);
    }
}

@keyframes fadeInClear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
    color: white;
    font-family: 'MesloLGS NF', sans-serif;
    font-weight: bold;
    text-decoration: underline;
}

.carousel-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 192px;
    white-space: nowrap;
    align-items: center;
}

.carousel-image {
    position: absolute;
    /*! padding: 0 1em; */
    height: 90%;
    /* object-fit: contain; */
    /* object-fit: cover; */
    border: 1px solid #e5e5e5;
    margin: 1em;
}

.carousel-image.active {
    opacity: 1;
    position: relative;
    transform: translateX(0);
    display: inline-block;
}

.carousel-container .carousel-image:not(.active) {
    transform: translateX(100%);
}

/** button css */

.buttons-group {
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 64px;
}

.button b {
    font-size: 1.2em;
    max-height: 32px;
    line-height: 32px;
}

.button ul {
    padding: 0;
    margin: 0;
}

.button ul::before {
    content: '~ ';
    display: inline;
}
.button ul::after {
    content: ' ~';
    display: inline;
}

.button li {
    display: inline;
    padding: 0.5em;
}

.button {
    background: linear-gradient(to bottom, #e66465, #9198e5);
    border: none;
    color: white;
    width: 100%;
    padding: 8px;
    line-height: 31px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    align-content: center;
    font-size: 0.9em;
    margin: 8px;
    cursor: pointer;
    border-radius: 1em;
    border-color: white;
    border-width: 2px;
    box-shadow: #000 2px 2px 2px;
    transition: all 0.5s ease;
}

.button:hover {
    background-position: 90%;
    border-width: 4px;
    box-shadow: #000 6px 6px 6px;
}

div.video {
    display: flex;
    align-items: start;
    justify-content: center;
    max-height: 480px;
    margin: 0 5px;
    width: 100%;
}

div.video > video {
    max-width: 100%;
    max-height: 95%;
    z-index: 2;
}
div.video > p {
    position: absolute;
    width: 90%;
    margin: 4px;
    text-align: center;
    font-weight: bold;
}

div.video > .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    display: block;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}