.outfit-out {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

:root {

    /* COLORS */
    --imperia-blue:#0A2463;
    --blue-bell:#3E92CC;
    --ghost-white:#FFFAFF;
    --magenta-bloom:#D8315B;
    --carbon-black:#1E1B18;
    --logo-blue:#005DA5;

    /* FONTS */
    --Out:"Outfit";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
}

header {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    margin-top: 1vh;
    border-bottom: 1px solid var(--carbon-black);
    padding-bottom: 10px;
}

header > a {
    text-decoration: none;
}
header > a > h1 {
    margin-left: 2vw;
    font-family: var(--Out);
    font-weight: 300;
    color: var(--carbon-black);
}

header > a > h1 > span{
    font-family: var(--Out);
    font-weight: 300;
    color: var(--logo-blue);
}

.nav-btn {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    /* margin-right: 2vw; */
    align-items: center;
}

.nav-btn > a {
    position: relative;
    font-size: 18px;
    font-family: var(--Out);
    text-decoration: none;
    color: var(--carbon-black);
    transition: all 0.1s ease-in;
}

.nav-btn > a:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--logo-blue);
}

.login-btn {

}

    .nav-btn > button {
        margin-right: 2vw;
        border: transparent;
        background-color: transparent;
        height: fit-content;
        width: fit-content;
        align-self: center;
        border-left: 2px solid var(--carbon-black);
    }

    .nav-btn > button > i {
    font-size: 22px;
    text-align: center;
    align-self: center;
    /* border-left: 1px solid var(--carbon-black); */
    padding-left: 15px;
}

.nav-btn > button > i:hover {
    color: var(--logo-blue);
    position: relative;
}

#loginBtn {
    position: absolute;
    inset: auto;
    top: 70px;
    right: 1vw;
    margin: 0;
    width: fit-content;
    border: transparent;
    background-color: var(--ghost-white);   /* so the triangle can match it */
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    border-radius: 10px;
    padding-bottom:10px;

    /* dropdown animation */
    transform-origin: top right;            /* grows out of the profile corner */
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        overlay 0.2s ease allow-discrete,
        display 0.2s ease allow-discrete;
}

/* open (visible) state */
#loginBtn[open] {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* where the open animation starts from */
@starting-style {
    #loginBtn[open] {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

#loginBtn::backdrop {
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);     /* Safari */
    opacity: 0;
    transition:
        opacity 0.2s ease,
        overlay 0.2s ease allow-discrete,
        display 0.2s ease allow-discrete;
}

#loginBtn[open]::backdrop {
    opacity: 1;
}

@starting-style {
    #loginBtn[open]::backdrop {
        opacity: 0;
    }
}

#loginBtn > form > button {
    width: 100%;
    margin: auto;
    border-radius: 3px;
    padding: 4px;
    margin-top:5px;
    border: transparent;
    background-color: var(--logo-blue);
    font-family: var(--Out);
    font-weight: 200;
    color: var(--ghost-white);
    transition: all 0.1s ease-in;
}

#loginBtn > form > button:hover {
    background-color: var(--carbon-black);
}

#loginBtn > form > a {
    color: var(--carbon-black);
    font-size: 10px;
    cursor: pointer;
    margin-left: auto;
    text-decoration: none;
}

#loginBtn > form > a:hover {
    text-decoration: underline;
}

#loginBtn > form {
    border: transparent;
    padding: 10px 30px;
    display: flex;
    flex-direction: column;
    gap: 1dvh;
}

#loginBtn > form > h1 {
    font-family: var(--Out);
    text-transform: uppercase;
    font-weight: 300;
    margin: auto;
}

#loginBtn > form > label {
    font-family: var(--Out);
    /* margin-left: -1vw; */
}

#loginBtn > form > input {
    padding: 3px;
    width: 120px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.4);
    transition: all 0.3s ease-in-out;
    font-family: var(--Out);
}

#loginBtn > form > input:focus {
    outline: none;
}

#loginBtn > form > input:hover {
    /* transform: scale(1.1); */
}

#loginBtn > form > h1 > span {
    color: var(--logo-blue);
}

@media (max-width: 800px) {
    
    header {

    }

    .nav-btn {
        display: none;
    }
    
.mobile-nav > button {
    width: fit-content;
    height: fit-content;
    border: transparent;
    background-color: transparent;
    margin-right: 2vw;
}

.mobile-nav > button > i {
    font-size: 30px;
}

}



/* Mobile Hamburger Process */

.mobile-nav > button {
    display: none;
}



#mobileDevice {

}

.mobile-nav-btn {

}

   /* <div class="mobile-nav">
            <button commandFor="mobileDevice" command="show-modal">
            <i bi bi-list></i>
            </button>
        </div>

        <dialog id="mobileDevice" closedby="any">
            <div class="nav-btn">
                <a href="/index.html">HOME</a>
                <a href="/pages/about-me.html">ABOUT</a>
                <a href="#">ACTIVE PROJECTS</a>
                <a href="#">GALLERY</a>
                <a href="#">CONTACT</a>

            <button commandFor="loginBtn" command="show-modal">
            <i class="bi bi-person-fill"></i>
            </button>
        </div>
        </dialog> */
