:root {
    --off-white: #F4F3E8;
    --surface: #E8E6D5;
    --dark-green: #243024;
    --primary-green: #58704D;
    --light-green: #8DAA79;
    --purple: #6F5AA8;
    --rust: #A86449;

    /* font-family: 'IBM Plex Mono';    
    font-family: 'Cormorant Garamond';*/
    font-family: 'Source Sans 3';


}

html {
    display: flex;
    justify-content: center;
    /* Centers body horizontally */
    align-items: center;
    /* Centers body vertically */
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    background-color: var(--off-white);
    color: var(--dark-green);
    display: flex;
    flex-direction: column;
    gap: 1vh;
    /*text-align: center;*/

    width: 65%;
    align-items: stretch;



}

.btn {
    width: 125px;
    height: 32px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.primary-btn {
    background-color: var(--primary-green);
    color: var(--off-white);
    border-radius: 5px;
}

.secondary-btn {
    background-color: var(--off-white);
    color: var(--purple);
    border: 2px solid var(--purple);
    border-radius: 5px;
}

.tertiary-btn {
    background-color: var(--off-white);
    color: var(--primary-green);
    border: 2px solid var(--purple);
    border-radius: 5px;
}

.quaternary-btn {
    background-color: var(--off-white);
    color: var(--purple);
    border: 2px solid var(--primary-green);
    border-radius: 5px;
}

h1 {
    color: var(--dark-green);
    font: italic 42px 'Cormorant Garamond';
    font-weight: bolder;
}

h2,
h3 {
    color: var(--primary-green);
    font-family: 'NTR Regular';
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    /* font-style: oblique 20deg; */
    /* oblique 180deg 700 24px  */

}

h4 {
    color: var(--light-green);
    font-size: 20px;
    ;
}

a {
    color: var(--purple);
    text-decoration: underline;
    font-weight: bold;
}

.highlight {
    color: var(--rust);
    border: 2px solid var(--rust);
    border-radius: 5px;
    display: inline-block;
    padding: 1vh;
}

.nav-bar {
    background-color: var(--off-white);
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0px 10px 20px;
}

.nav-bracket {
    color: var(--purple);
    padding: 0px 6px;
    /* space between brackets & text */
}

.nav-link {
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
    padding: 0;
}


.nav-link:hover {
    transform: scale(1.05);
    color: var(--light-green);
}

#navigation {
    display: flex;

}

#links {
    display: flex;
}

#links img {
    width: 32px;
    padding: 2px;
    opacity: 0.8;
}

#hero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.tile {
    background-color: var(--surface);
    border: 2px solid var(--light-green);
    border-radius: 5px;
    padding: 15px;
    position: relative;
    /* helps with stamp placement*/

    font: normal 500 14px 'IBM Plex Mono';
}

.center-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stamp {
    width: 128px;
    opacity: 0.8;
    position: absolute;
    right: 3vh;
    bottom: 2vh;

}

ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.terminal-card {
    width: 30vh;
    background-color: var(--off-white);
    border: 2px solid var(--purple);
    border-radius: 5px;
    padding: 2vh 0vh;
    position: relative;
    /* helps with stamp placement*/
    color: var(--purple);

}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    border-bottom: 2px solid var(--purple);
    padding: 0vh 2vh;


}

.terminal-btns {
    color: var(--purple);
}

.terminal-content {
    padding: 0vh 3vh;
}

/* Spotlight IMAGE */
.spotlight {
    width: 35vw;
    border-radius: 5px;
}

#journal {
    display: flex;
    justify-content: space-between;
}

.carousel-item {
    height: 400px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel {
    width: 90%;
    transition: transform 0.3s ease-in-out;
}

.carousel:hover {
    transform: scale(1.01);
}

.carousel-inner {
    border-radius: 8px;
}

#hardware-cards {
    display: flex;
    flex-direction: row;
    gap: 2vh;
}

.hardware-card {
    width: 35%;
    background-color: var(--off-white);
    border-radius: 5px;
    padding: 5px 15px;
    opacity: 1.0;

    transition: transform 0.3s ease-in-out;
}

.hardware-card:hover {
    transform: translateY(-5px);
    opacity: 0.8;
    /* border: 2px solid var(--purple); */
}

.hardware-card img {
    max-width: 100%;
    transition: transform 0.3s ease-in-out;
}

.hardware-card:hover img {
    transform: scale(1.05);
}

.hardware-card a {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.hardware-card a:hover {
    transform: translateX(5px);
}

#project-cards {
    display: flex;
    flex-direction: row;
    gap: 20px;

}

.project-card {
    background-color: var(--off-white);
    border-radius: 5px;
    padding: 5px 15px;
    opacity: 0.8;

    transition: transform 0.3s ease-in-out;
}

.project-card:hover {
    transform: translateY(-5px);
    opacity: 1.0;
    /* border: 2px solid var(--purple); */
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0px;
}

.folder-icon {
    width: 30px;
    color: var(--primary-green)
}

.card-links {
    display: flex;
    gap: 5px;
}

.card-links img {
    width: 20px;
    cursor: pointer;
}






/* SEPERATE PAGES */



/********** HARDWARE PROJECTS PAGE **********/
#log-menu {
    display: flex;
    gap: 10px;
}
.project-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'NTR Regular';
    font-size: 20px;

}

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    font-size: 18px;
}

.section img {
    max-width: 90%;
    margin: 15px 0px;
}

.section h3,
.section h4 {
    align-self: flex-start;
    text-align: left;
    font-size: 28px;
    

}

.section hr {
    border: none;
    height: 5px;
    background-color: var(--dark-green);
}

.project-title span {
    color: var(--purple);
    font: bold 20px 'NTR Regular';
}

