*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: poppins;
    overflow-x: hidden;
}

@font-face {
    font-family: 'Shrimp';
    src: url('fonts/shrimp.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1 /* titles */ {
    font-family: shrimp;
    font-size: clamp(3rem, 8vw, 12rem);
    color: #262626;
}

h2 /* subtitles/descriptions */ {
    font-family: shrimp;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    color: #B1BE8D;
}

h3 /* project deets*/ {
    font-family: poppins;
    font-size: clamp(0.5rem, 3.5vw, 1rem);
    color: #424141;
}

h4 /*body subheadings */ {
    font-family: poppins;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    color: #424141;
}

th {
    font-family: poppins;
    font-size: clamp(0.7rem, 3.5vw, 0.9rem);
}

td {
    font-family: poppins;
    font-size: clamp(0.5rem, 3.5vw, 0.8rem);
}

p /* project blurbs in preview */ {
    font-family: poppins;
    font-size: clamp(0.5rem, 3vw, 1rem);
    color: #452F25; 
    padding-bottom: 1rem;
}

/* global variable for responsive margins */
:root {
    --responsive-pads: clamp(24px, 5vw, 64px);
    --responsive-innerpads: clamp(12px, 5vw, 24px);
    --max-width: 1312px;
    --small-width: 1280px;
}

/* Navbar Things */

.navbar-container{
    display: flex;
    justify-content: right;
    align-items: center;
    height: 80px;
    background: #B1BE8D;
    z-index: 1200;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: fixed;
}

.navbar-menu {
    display: flex;
    flex-direction: row;
    justify-content: right;
    list-style: none;
    margin: 0px;
}

.navbar-item {
    height: 80px;
}

.navbar-links {
    color: #424141;
    text-decoration: none;
    height:100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: right;
    font-size: 1.2rem;
    font-family: shrimp;

}

.navbar-links:hover {
    color: #fff;
    transition: all 0.3s ease;
}

.navbar-toggle {
    display: none;
}

.navbar-toggle.active {
    color: #fff;
}

@media screen and (max-width: 810px) {
    .fa-bars {
        line-height: normal !important;
    }

    .navbar-toggle {
        display: block;
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%);
        color:#424141;
        z-index: 10;
        font-size: 2rem;
        border: none;
        background: none;
        cursor: pointer;
        padding: 0px;
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 var(--responsive-pads);
    }

.navbar-menu {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: -100%;
    width: 100%;
    height: 50%;
    opacity: 0;
    transition: all 0.5s ease;
    background: #B1BE8D;
    z-index: 1200;
    margin: 0;
    }

.navbar-menu.active {
    top: 80px;
    opacity: 1;
    }

.navbar-item { 
    width: 100%;
    display: flex;
    justify-content: center;
    }
}

.navbar-name {
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.5rem, 2vw, 2rem);
    position: absolute;
    left: var(--responsive-pads);
    z-index: 1300;
    font-family: shrimp;
}

/* Landing ------------------------------------------------------- */

.landing {
    background: #F9F1EE;
    height: fit-content;
    display: flex;
    align-items: center;
}

.landing-container {
    width: 100%;
    padding: calc(10% + 80px) 10% 10% 0;
    max-width: var(--max-width);
}

.landing-content {
    display: flex;
    flex-direction: column;
    max-width: var(--max-width);
    padding: var(--responsive-pads);
    gap: 1rem;
    align-items: center;
    justify-content: left;
}i

.landing-content button {
    justify-content: left;
    padding: var(--responsive-pads);
}

#landing-name {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    font-size: clamp(4rem, 4vw, 6rem);
    padding: 0 auto;
    z-index: 1100;
    justify-content: left;
}

.landing h2 {

    justify-content: left;
}

@media screen and (max-width: 1000px) {

    .landing-text {
        display: flex;
        flex-direction: column;
        align-items: left;
        justify-content: left;
    }

    .landing h2 {
        margin-right: 0;
        width: 100%;
    }
}

.landing-content button:hover {
    background: #FFF0F0;
    border-color: #B1BE8D;
    border-width: 1rem;
    color: #424141;
}

.landing-content .final-link {
    text-decoration: none;
    color: #B1BE8D;
    font-family: poppins;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    padding-top: 2rem;
}

.landing-content .final-link:hover {
    color: #424141;
}

.landing-content .final-link i {
    transition: transform 0.3s ease;
}

.landing-content .final-link:hover i {
    transform: translateX(10px);
}

@media screen and (max-width: 1000px) {

    .landing-content .final-link {
        font-size: clamp(1.5rem, 3.5vw, 2rem);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: #B1BE8D;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    font-family: shrimp;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.back-to-top:hover {
    background: #F9F1EE;
    color: #424141;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}


/* Deets start here ---------------------------------------- */


.deets-flex {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 2rem var(--responsive-pads);
}

.deets-box {
    background-color: #EAEFDB;
    border-radius: 1rem;
    padding: var(--responsive-innerpads);
    flex: 1;
}


@media screen and (max-width: 620px) {

    .deets-flex {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem var(--responsive-pads);
    align-items: center;
    }

    .deets-box {
        background-color: #EAEFDB;
        border-radius: 1rem;
        padding: var(--responsive-innerpads);
        width: 100%;
    }
}

/* BODAYYYY rawr ---------------------------------------*/

.body-container {
    padding: 4rem var(--responsive-pads);
    max-width: var(--max-width);
    margin: 0 auto;
}

.content-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.content-section h2 {
    flex: 0 0 35vw;
    margin: 0;
}

.paragraph-chonk {
    flex: 1;
    max-width: 60vw;
}

.paragraph-chonk p {
    margin-bottom: 1rem;
}

.paragraph-chonk p:last-child {
    margin-bottom: 0;
}

/* Competitor Table --------------------------------------- */

.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 0.5rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th, td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 2px solid #FF9E9E;
}

th {
    font-weight: 600;
    color: #FF9E9E;
}

/* Prototype images --------------------------------------- */

.prototypes {
    max-width: var(--max-width);
    margin: 2rem auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.prototypes img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Back to bodyyyyy ------------------------------------  */

@media screen and (max-width: 810px) {
    .body-container {
        padding: 2rem var(--responsive-pads);
    }

    .content-section {
        flex-direction: column;
        gap: 1rem;
    }

    .content-section h2 {
        flex: none;
        width: 100%;
    }

    .paragraph-chonk {
        max-width: 100%;
    }
}

/* FEETTTT */

.footer {
    background: #FCF6EB;
    padding: 100px var(--responsive-pads);

}

.footer h1 {
    font-size: clamp(3rem, 4vw, 5rem);
}

.footer h2 {
    font-family: poppins;
}
.foot-links {
    color: #C5D0A8;
    text-decoration: none;
    height:100%;
    padding: 1rem 0;
    display: grid;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-family: shrimp;
}

.foot-links:hover {
    color: #859E91;
    transition: all 0.3s ease;
}
