/* roboto-flex-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-flex-v30-latin-regular.woff2') format('woff2');
}

body {
    font-family: 'Roboto Flex', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #000;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

main {
    padding: 2em;
    width: 100%;
    color: #fff;
    background-image : url('../img/bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    font-family: 'Roboto Flex', sans-serif;
    background-color: #006aff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 12px;
    transition: 0.3s;
}

button:hover {
    background-color: #0051cc;
}

button:active {
    background-color: #003d99;
}

.coming-soon {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.coming-soon h1 {
    font-size: 3.5em;
    margin: 0.2em 0;
}

.coming-soon h2 {
    font-size: 2em;
    margin: 1em 0;
}

.coming-soon p {
    font-size: 1.5em;
    margin: 0.2em 0;
}

.coming-soon hr {
    width: 10%;
    border: 1px solid #006aff;
    margin: 4em 0 1em 0;
}

.hidden {
    display: none !important;
}

#overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.8s ease;
}

#overlay-content {
    background-color: #ffffff;
    color: #000;
    padding: 24px;
    border-radius: 24px;
    width: 60%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: zoomIn 0.4s ease-out;
}

/* Overlay Animation */
@keyframes zoomIn {
  from {transform: scale(0.8); opacity: 0}
  to {transform: scale(1); opacity: 1}
}

#overlay h2 {
    flex: 1;
    margin: 0;
    line-height: 32px;
    min-width: 0;
    text-wrap: balance;
}

#overlay a {
    color: #006aff;
}

#overlay-title {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 2.5em;
}

#overlay-title-spacer {
    width: 32px;
    height: 32px;
}

#overlay-close {
    height: 32px;
    width: 32px;
    font-size: 24px;
    line-height: 24px;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #000;
    cursor: pointer;
}

#overlay-close:hover {
    background-color: #dedede;
}

#overlay-close:active {
    background-color: #bfbfbf;
}

/* Footer */
footer {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 10px 40px;
    background-color: #0a203f;
    color: #c4c4c4;
    box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.4);
}

footer div {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 2em;
}