@import url(https://fonts.bunny.net/css?family=montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i);

* {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: white;
    overflow-x: hidden;

}

body {
    background: #222222;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100dvw;
    height: 100dvh;
}

nav {
    height: 50px;
    width: calc(100dvw - 20px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    overflow-y: hidden;

    position: fixed;
    top: 0;
    padding: 10px;
    background: #191919;
}

#logo {
    height: 50px;
}

nav a {
    font-size: 15px;
    color: white;
    text-decoration-style: dotted;
}

.right {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.right a:last-child {
    margin-right: 10px;
}

nav a:hover {
    text-decoration-style: solid;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 5px;

    width: 550px;
}

.container input, .container select, .result button {
    width: fit-content;
    margin-bottom: 10px;

    padding: 5px 10px;
    outline: none;
    background: transparent;
    border: 1px white dotted;
    border-radius: 5px;
}

.container input[type="submit"], .container select, .result button {
    cursor: pointer;
}

.container input:hover, .container select:hover, .result button:hover {
    border-style: solid;
}

.gender {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.gender input[type="text"] {
    visibility: hidden;
}

.result {
    display: none;
}

.result.generated {
    display: flex;
    flex-direction: column;
}

body:has(.result.generated) .container {
    display: none;
}

canvas {
    width: 1000px;
    height: 550px;
}

.result .actions {
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 10px;

    margin-top: 10px;
}

footer {
    display: none !important;
}

@media screen and (max-width: 640px) {
    .container {
        width: calc(100% - 30px);
    }
}

@media screen and (max-width: 470px) {
    nav .right {
        display: none;
    }

    footer {
        display: flex !important;
        margin-bottom: 10px;
        margin-left: 10px;

        position: fixed;
        bottom: 0;
        left: 0;
    }
}
