@font-face {
    font-family: "SUSEMono", sans-serif;
    src: url("../fonts/SUSEMono-VariableFont_wght.woff2") format("woff2");
}

*,*::before, *::after{
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: oklch(0.978 0.005 258.324);
    color: oklch(0.321 0 89.876);
    margin: 0;
    padding: 0;
}
.container{
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

header {
    display: flex;
    justify-content: space-between;
    background-color: oklch(0.941 0.055 139.433);
    align-items: center;
    padding: 2rem 3rem;
}

html, body {
    height: 100%;
    margin: 0;
}

.wrapper {
    min-height: 100%;
    margin-bottom: -50px;
}

.push {
    height: 50px;
}

.logo h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 600;
}

.logo .slogan {
    margin: 0;
    font-size: 1rem;
    color: oklch(0.45 0 89.876);
}

nav a {
    text-decoration: none;
    color: oklch(0.321 0 89.876);
    margin-left: 1.5rem;
    font-weight: 400;
}

nav a.active {
    font-weight: 600;
}


.maker-section {
    background-color: var(--card);
    border-radius: 1.25rem;
    padding: 3rem 2rem;
    margin: 2rem auto;
    width: 90%;
    max-width: 37.5rem;
    box-shadow:0 8px 30px oklch(0.585 0.204 277.117 / 0.25);

    .button {
        padding: .5rem;
        border: none;
        border-radius: .75rem;
        background-color: oklch(0.941 0.055 139.433);
        cursor: pointer;
        font-size: large;
    }
}

.maker-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.maker-card {
    background-color: oklch(0.941 0.055 139.433);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
}

.card-content {
    display: flex;
    flex-direction: column;

    input, textarea {
        padding: .5rem;
        border: none;
        border-radius: .75rem;
        max-width: 75%;
        min-width: 75%;
    }
}

.maker-image img {
    width: 12.5rem;
    height: 12.5rem;
    border-radius: 50%;
    background-color: oklch(1 0 89.876);
}

.maker-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: oklch(0.387 0 89.876);
}

/* Footer */
footer {
    background-color: oklch(0.941 0.055 139.433);
    border-radius: 1.25rem 1.25rem 0 0;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
}

.footer-content p {
    margin: 0.3rem 0;
    font-size: 1rem;
}

.footer-content a {
    color: oklch(0.321 0 89.876);
    text-decoration: none;
}

.banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 1.25rem;
    font-size: 1rem;
    display: none; 
    z-index: 9999;
    text-align: center;
}

.banner button {
    background: oklch(0.751 0.108 39.394);
    border: none;
    color: white;
    padding: .75rem 1.25rem;
    font-size: 1rem;
    cursor: pointer;
    margin-top: .75rem;
    border-radius: .25rem;
}

.banner button:hover {
    background: oklch(0.63 0.152 144.282);
}

.result-wrapper {
    max-width: 69rem;
    margin: 0 auto;
    padding: 1.5rem;
}
.result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}
@media (min-width: 900px) {
    .result-grid {
        grid-template-columns: 1.1fr 1.3fr;
    }
}

#map {
    width: 100%;
    height: 26rem;
    border-radius: .75rem;
    overflow: hidden;
}
.map-controls {
    display: flex;
    gap: .75rem;
    margin-top: .75rem;
    flex-wrap: wrap;
}
.map-status {
    margin-bottom: .5rem;
    font-size: .9rem;
    opacity: .8;
}
.btn {
    cursor: pointer;
    border-radius: 999px;
    padding: .5rem 1rem;
    border: 0;
}

.btn-primary {
    background: oklch(0.511 0.23 276.966);
    color: oklch(1 0 89.876);
}

.btn-secondary {
    background: oklch(0.928 0.006 264.531);
    color: oklch(0.21 0.032 264.665);
}

.text-center {
    text-align: center;
}

.home {
    align-items: center;
    max-width: 40em;
    display: flex;
    flex-direction: column;
    margin-block-start: 1rem;

    section {
        a {
            background-color: oklch(0.4988 0.0932 239.93 / 33.6%);
            padding: .25rem;
            border-radius: .20rem;
        }

        &:first-of-type a{
            background-color: oklch(0.4988 0.0932 239.93);
            text-decoration: none;
            color: white;
        }
    }
}

.right {
    text-align: end;
}

.register {
    display: flex;
    flex-direction: column;
    margin-block: 10rem;
    max-width: 50%;
    box-shadow:0 8px 30px oklch(0.585 0.204 277.117 / 0.25);
    padding: 2rem;
    border-radius: 1.25rem;
    margin-inline: auto;

    input {
        padding: .5rem;
        border-color: oklch(0.252 0 89.876 / 0.50);
        border-radius: .50rem;
    }
}

.d-flex-col {
    display: flex;
    flex-direction: column;
}

.mb-1 {
    margin-block-start: 1rem;
}