/* - TYPOGRAPHY - */
@font-face {
    font-family: ABCDiatype;
    src: url(../media/abc-diatype.ttf);
}

@font-face {
    font-family: ABCDiatype;
    src: url(../media/abc-diatype-medium.ttf);
    font-weight: medium;
}

@font-face {
    font-family: ABCDiatype;
    src: url(../media/abc-diatype-bold.ttf);
    font-weight: bold;
}


@font-face {
    font-family: ArialNarrow;
    src: url(../media/arial-narrow.ttf);
}

@font-face {
    font-family: ArialNarrow;
    src: url(../media/arial-narrow-italic.ttf);
    font-style: italic;
}

@font-face {
    font-family: ArialNarrow;
    src: url(../media/arial-narrow-bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: ArialNarrow;
    src: url(../media/arial-narrow-bold-italic.ttf);
    font-weight: bold;
    font-style: italic;
}


* {
    margin: 0;
    padding: 0;
}

:root {
    --light: #ffffff;
    --dark: #000000;
    --highlight: #ffd000;
}

a {
    color: var(--light);
    text-decoration: none;
}

html body {
    font-family: "ABCDiatype";
    transition: all .2s;
}




/* - HOME - */

#home-page {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

#home-page main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


/* - COVER SECTION - */

#wavi-logo {
    width: 250px;
}









/* - INFO SECTION - */

#info-section {
    position: absolute;
    bottom: 0;
    padding: 0 0 150px 0;
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
    z-index: 1000;
}

button {
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;

    background: transparent;

    color: inherit;
    font: inherit;

    line-height: normal;

    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
}


.info-btn {
    --icon-size: 14px;
    align-items: center;
    border: 1px solid var(--light);
    border-radius: 50%;
    display: flex;
    font-size: 20px;
    height: 35px;
    justify-content: center;
    transition: all .2s;
    width: 35px;
    z-index: 4;
}

.info-btn:hover {
    border: 1px solid var(--highlight);
    color: var(--highlight);
    cursor: pointer;
}

.contact-btn a:hover {
    color: var(--highlight);
    cursor: pointer;
}

.info-btn::before {
    content: "?";
    display: block;
    line-height: 1;
}

.info-btn.open::before {
    content: "\d7";
    font-size: 24px;
}


/* - OVERLAY MODAL - */


#info-modal {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}


/* - OVERLAY MODAL - */

.overlay {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    min-height: 300px;

    display: flex;

    z-index: 100;
}

.overlay:not(.open) {
    pointer-events: none;
}


/* BACKDROP */

.backdrop {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: transparent;

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}


/* CONTENT */

.content {
    position: relative;
    z-index: 2;

    margin: auto;

    color: var(--light);
    width: 450px;
    min-width: 300px;

    text-align: center;
    line-height: 1.5;

    opacity: 0;
    transition: opacity 1s;
}


/* OPEN */

.overlay.open .content {
    opacity: 1;
}


/* BACKDROP TRANSITION */

.overlay:not(.open) .backdrop {
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}

.overlay .backdrop {
    transition: backdrop-filter 1s ease-in-out;
    -webkit-transition: -webkit-backdrop-filter 1s ease-in-out;
}







/* - COMPONENTS - */

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}