@font-face {
    font-family: "DFont";
    src: url("./_Fonts/BebasNeuePro-SemiExpMiddle.ttf") format("truetype");
}

.wrapper {
    width: 456px;
    height: 768px;

    position: relative;
    top: 0;
    left: 50%;

    transform-origin: top center;
    translate: -50% 0;
}

.window {
    display: none;
}

.active {
    display: block;
}

body {
    background: url("./_Sprites/Background.jpg") no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
    text-align: center;
    user-select: none;
}

.reference-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 960px;
    width: auto;
    opacity: 0.5;
    z-index: 1;
}

.custom-input {
    background: url("./_Sprites/input_field_background.svg") no-repeat center center;
    background-size: 100% 100%;

    font-family: "DFont";
    font-size: 29px;
    text-align: center;

    border: none;
    color: white;

    width: 400px;
    height: 80px;
}

.anon-input {
    background-color: #0c233e;
    border-radius: 30px;

    font-family: "DFont";
    font-size: 29px;
    text-align: center;

    border: none;
    color: white;

    width: 400px;
    height: 200px;

    resize: none;
    padding: 20px;
}

.avatar-selector {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

#avatarContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.avatar-btn {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: #629BE8;

    margin-left: 5px;
    margin-right: 5px;
    width: 90px;
    height: 90px;

    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.avatar-btn:active {
    filter: brightness(80%);
}

.avatar-btn.selected {
    border: 3px solid white;
    border-color: white;
}

.nav-btn {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    cursor: pointer;
    border: none;
    width: 40px;
    height: 40px;
}

.nav-btn:active {
    filter: brightness(80%);
}

.nav-btn-left {
    background-image: url("./_Sprites/button_left.svg");
}

.nav-btn-left:active {
    filter: brightness(80%);
}

.nav-btn-right {
    background-image: url("./_Sprites/button_right.svg");
}

.nav-btn-right:active {
    filter: brightness(80%);
}

.gender-btn {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 70px;
    height: 70px;
    border: none;
    cursor: pointer;
}

.gender-btn:active {
    filter: brightness(80%);
}

.connect-btn {
    background-image: url("./_Sprites/button_background.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;

    font-family: "DFont";
    font-size: 43px;
    text-align: center;
    color: white;

    width: 270px;
    height: 100px;
    border: none;
    cursor: pointer;
}

.connect-btn:active {
    filter: brightness(80%);
}


.auto-size-text {
    overflow: hidden;
}


.carousel-container {
    width: 456px;
    height: 384px;
    overflow: hidden;
    display: flex;
    touch-action: pan-x;
}

.carousel-inner-container {
    padding-left: 100px;
    padding-right: 100px;
    display: flex;
    gap: 50px;
    pointer-events: none;
    position: relative;
    top: 0;
    left: 0;
    touch-action: pan-x;
}

.carousel-item {
    height: 384px;
    width: 256px;
    border-radius: 5px;
    background-color: lightgrey;
}

.fading-edges {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
}

.map-button {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}