:root {
    --backgroundclr: #1b262c;
    --darker-backgroundclr: #262b2d;
    --textclr: #bbe1fa;
    --ctaclr: #0e3b59;
    --primaryclr: #3282b8;
    --primarytransparent: #3282b841;
}

nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: var(--backgroundclr);
    border-bottom: 1px solid var(--textclr);
}

nav h3 {
    font-size: 12px;
    color: var(--textclr);
    padding: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    border-radius: 10px;
}

nav h3:hover {
    border: 1px solid;
    background-color: var(--darker-backgroundclr);
}

* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: black;
}

body {
    margin-top: 4rem;
    box-sizing: border-box;
    background-color: var(--backgroundclr);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
    width: 100%;
    padding: 0 1rem;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

/* Back to portfolio button styling */
#portfolio-button-div {
    position: absolute;
    width: 100vw;
    display: flex;
    justify-content: flex-start;
    top: 0;
    left: -10;
    font-size: 10px;
}

#portfolio-button {
    padding: 0.1rem 0.5rem;
    border-radius: 5px;
    box-shadow: 0 0 10px black;
    background-color: var(--darker-backgroundclr);
    margin: none;
    color: beige;
}

.log-reg-title {
    margin-top: 10px;
    color: var(--textclr);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 70%;
}

.log-reg-input {
    padding: 0.6rem;
    width: 100%;
    border: 1px black solid;
    background-color: var(--background-color);
    color: var(--textclr);
}

.log-reg-input:focus {
    outline: none;
    background-color: var(--darker-backgroundclr);
}

.clickable {
    color: rgba(0, 0, 0, 0.482);
    transition: all 0.3s ease;
}

.clickable:hover {
    cursor: pointer;
    color: var(--primaryclr);
}

.small-text {
    font-weight: bolder;
    text-align: center;
    width: 100%;
    font-size: 12px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form button {
    padding: 0.5rem;
    transition: all ease 0.3s;
    border: 1px solid black;
    background-color: var(--backgroundclr);
}

form button:hover {
    cursor: pointer;
    background-color: var(--darker-backgroundclr);
}

.hide {
    display: none;
}

@media (min-width: 400px) {
    body {
        margin-top: 7rem;
    }
    nav h3 {
        font-size: 20px;
    }
    form {
        gap: 1.5rem;
    }

    .log-reg-title {
        font-size: 30px;
    }

    .log-reg-input {
        padding: 1rem;
        font-size: 20px;
    }

    form button {
        font-size: 20px;
        padding: 1rem;
    }

    .small-text {
        font-size: 18px;
    }
}

@media (min-width: 800px) {
    body {
        margin-top: 11rem;
    }

    form {
        gap: 2rem;
    }

    .log-reg-title {
        font-size: 40px;
    }

    .log-reg-input {
        width: 70%;
        padding: 1.5rem;
        font-size: 24px;
    }

    form button {
        font-size: 30px;
        width: 50%;
        margin: 1rem;
    }

    .small-text {
        font-size: 18px;
    }
}
