@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    color: #f0f8ff;
    cursor: pointer;
    scroll-behavior: smooth;
    font-family: 'Fira Sans', sans-serif;
    /* outline: 1px solid red; */
}

/* scrollbar */
::-webkit-scrollbar {
    display: none;
    width: 0px;
}

/* main contents */
main {
    width: calc(99vw - 40px);
    height: calc(99vh - 40px);
    max-width: 1024px;
    overflow-x: hidden;
    overflow-y: auto;

    padding: 20px;
    font-size: clamp(1rem, 0.75rem + 1.2dvw, 1.25rem);

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.container {
    text-align: center;
}

/* Content Styling */
.bd-flag {
    height: 0.8em;
}

.contact-icons img {
    width: 1.28em;
    height: auto;
}

hr {
    width: 50%;
    margin: 0 auto 20px auto;
}

/* Button Styles */
#button-container {
    min-height: 60vh;
}

.single-item {
    border: 1px solid;
    border-radius: 10px 0;
}

.single-item:hover {
    transform: translateY(-2px);
    transition: 256ms;
    background-color: #0c0c0c55;
    backdrop-filter: blur(4px);
}

.button {
    --width: 120px;
    --height: 35px;
    --tooltip-height: 35px;
    --tooltip-width: 111px;
    --gap-between-tooltip-to-button: 18px;
    --button-color: #0c0c0c;
    --tooltip-color: #f0f8ff;
    width: var(--width);
    height: var(--height);
    background: var(--button-color);
    position: relative;
    text-align: center;
    border-radius: 0.45em;
    font-family: "Arial";
    transition: background 0.3s;
}

.button::before {
    position: absolute;
    content: attr(data-tooltip);
    width: var(--tooltip-width);
    height: var(--tooltip-height);
    background-color: var(--tooltip-color);
    font-size: 0.9rem;
    color: #111;
    border-radius: .25em;
    line-height: var(--tooltip-height);
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);
    left: calc(50% - var(--tooltip-width) / 2);
}

.button::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: var(--tooltip-color);
    left: calc(50% - 10px);
    bottom: calc(100% + var(--gap-between-tooltip-to-button) - 10px);
}

.button::after,
.button::before {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

.text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-wrapper,
.text,
.icon {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    color: #f0f8ff;
}

.text {
    top: 0
}

.text,
.icon {
    transition: top 0.5s;
}

.icon {
    color: #f0f8ff;
    top: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon svg {
    width: 24px;
    height: 24px;
}

.button:hover {
    background: #123456;
}

.button:hover .text {
    top: -100%;
}

.button:hover .icon {
    top: 0;
}

.button:hover:before,
.button:hover:after {
    opacity: 1;
    visibility: visible;
}

.button:hover:after {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) - 20px);
}

.button:hover:before {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button));
}


/* copyright */
#copyright {
    font-size: 0.75em;
    line-height: 1.25em;
    text-align: center;
}

/* -- -- -- -- */