:root {
    --bg: #ffffff;
    --bg-off: #bbbbbb;
    --hover: #999999;
    --surface: #e8e5df;
    --purple: #ca96ff;
    --pink: #ff6eb4;
    --blue: #669aff;
    --red: #ff3f3f;
    --cyan: #00ffff;
    --green: #aaff56;
    --ink: #000000;
    --muted: #6b6560;

    --border: 5px solid black;
    --border-half: 2.5px solid black;
    --shadow: -1vw 1vw 0px var(--ink);
}

body {
    margin: 0px;
    background-image: url(/assets/images/bg_big.png);
    background-size: cover;
    background-attachment: fixed;
}

/* Nav bar start */

nav {
    display: flex;
    justify-content: space-between;
    border-bottom: 5px solid black;
    background-color: var(--bg-off);
    position: sticky;
    top: 0;
    z-index: 99;
}

img {
    height: 4vw;
    padding: 0.5vw;
}

#logo_div {
    border-right: 5px solid black;
}

#logo_div:hover {
    background-color: var(--hover);
}

#main_nav_btns {
    display: flex;
    border-right: 2.5px solid var(--ink);
    border-left: 2.5px solid var(--ink);
}

.btn_div {
    border-left: 2.5px solid var(--ink);
    border-right: 2.5px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_div:hover {
    background-color: var(--hover);
}

.nav_btn_div {
    padding: 1.1vw 2vw 0.9vw 2vw;
}

.nav_link {
    font-family: Bebas Neue;
    font-size: 2vw;
    text-decoration: none;
    color: var(--ink);
}

#ui_btns_div {
    display: flex;
    border-left: 2.5px solid var(--ink);
}

.ui_btn_div{
    padding: 0.5vw;
}

.ui_link{
    display: flex;
}

.ui_svg {
    height: 2vw;
}

/* Header Box */
#header_box {
    background-color: var(--bg);
    display: inline-block;
    margin: 2vw 0vw 1vw 2vw;
    padding: 2vw 3vw 2vw 1vw;
    border: var(--border);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
}


h1 {
    font-size: 16vw;
    font-family: 'Bebas Neue';
    text-decoration: underline 1.5vw var(--pink);
    letter-spacing: 0.5vw;
    margin: 0;
    line-height: 1;
}

h2 {
    font-family: 'Space Mono';
    margin: 1vw 0vw 0vw 3vw;
}

/* Main Body */

h3{
    font-family: 'Bebas Neue';
    font-size: 2vw;
}

p {
    font-family: 'Space Mono';
    font-size: 1.5vw;
}

#mobile_thing {
    display: none;
}

.body_box {
    display: inline-block;
    border: var(--border);
    padding: 0.5vw 0vw 1vw 1vw;
    background-color: var(--bg);
    position: relative;
}

#description_box {
    margin: 2vw 0vw 0vw 5vw;
    transition: all ease-in-out 100ms;
    max-width: 40vw;
    z-index: 1;
}

#friend_box {
    margin: 5vw 0vw -10vw 6vw;
    transition: all ease-in-out 100ms;
    max-width: 40vw;
    z-index: 1s;
    vertical-align: top;
}

#style_box {
    z-index: 2;
    max-width: 60vw;
    margin: -2vw 0vw 0vw 20vw;
    transition: all ease-in-out 100ms;
}

#feedback_box {
    max-width: 30vw;
    margin: -2vw 0vw 0vw 10vw;
    z-index: 1;
    transition: all ease-in-out 100ms;
}

main:has(#description_box:hover) #description_box {
    margin-left: 10vw;
    margin-top: 5vw;
}

main:has(#description_box:hover) #style_box {
    margin-top: 1vw;
}

main:has(#friend_box:hover) #friend_box {
    margin-top: 3vw;
}

main:has(#friend_box:hover) #description_box {
    margin-top: 11vw;
}


main:has(#style_box:hover) #description_box {
    margin-top: -1vw;
}

main:has(#style_box:hover) #style_box {
    margin-top: 1vw;
}

main:has(#style_box:hover) #feedback_box {
    margin-top: 1vw;
}

main:has(#feedback_box:hover) #style_box {
    margin-top: -5vw;
    margin-bottom: 3vw;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;           
    padding: 20px 5%;
    background-color: var(--bg-off);      
    border-top: var(--border);
    font-family: sans-serif;
    font-size: 0.9rem;
    margin-top: 5vw;
}

#foot_left p {
    margin: 5px 0;
}

#foot_right {
    text-align: right;
}

#social_links {
    display: flex;
    justify-content: center;
}

#social_links img {
    width: 3vw;                    
    height: auto;
    transition: transform 0.2s;    
}

#social_links img:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    img {
        height: 7vw;
    }

    #mobile_thing {
        display: inline;
    }

    .nav_link {
        font-size: 4vw;
    }

    .ui_svg {
        height: 4vw;
    }

    h1 {
        font-size: 20vw;
    }

    .body_box {
        display: block;
    }

    h3 {
        font-size: 4vw;
        letter-spacing: 0.25vw;
    }

    p {
        font-size: 3vw;
    }

    #description_box {
        margin: 4vw;
        transition: all ease-in-out 100ms;
        max-width: 80vw;
    }

    #friend_box {
        margin: 4vw;
        transition: all ease-in-out 100ms;
        max-width: 80vw;
    }

    #style_box {
        max-width: 80vw;
        margin: 4vw;
        transition: all ease-in-out 100ms;
    }

    #feedback_box {
        max-width: 80vw;
        margin: 4vw;
        transition: all ease-in-out 100ms;
    }
}
