@charset "UTF-8";


@font-face {
    font-family: "Futura";
    src: url("font/FuturaStd-Book.WOFF") format("woff");
}

@font-face {
    font-family: "Futura";
    src: url("font/FuturaStd-Bold.WOFF") format("woff");
    font-weight: bold;
}

@font-face {
    font-family: "Futura";
    src: url("font/FuturaStd-Oblique.WOFF") format("woff");
    font-style: italic, oblique;
}

div {
    color: #333;
    font-family: "Futura", sans-serif;
    font-size: 15px;
    letter-spacing: .5px;
}

body {
    padding: 0;
    margin: 0;
}

.wrapper {
    width: 1000px;
    margin: 0 auto;
}

.wrapper .description {
    width: 150px;
}

.description .callout {
    width: 100%;
    height: 150px;
    box-sizing: border-box;
    border: 4px solid #333;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
    line-height: 1.1rem;
    letter-spacing: -1px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

nav {
    width: 100%;
    height: 12rem;
    padding-bottom: 2.5rem;
    box-sizing: border-box;
    background-color: white;
}

nav .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    background-color: inherit;
}

nav .wrapper #projectName {
    width: 300px;
    height: 100px;
}

#projectName .box {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 4px solid #333;
    padding: 1rem;
}

nav .wrapper #projectName h1 {
    font-family: "Futura", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2.75rem;
    letter-spacing: -1px;
}

nav .wrapper #projectName h2 {
    font-family: "Futura", sans-serif;
    font-style: italic;
    font-size: 15px;
    padding-left: 4px;
}

nav .nav-items {
    display: flex;
}

nav .nav-item {
    padding: 0 10px;
}

nav .nav-item a {
    font-family: "Futura", sans-serif;
    font-size: 14px;
    padding: 0 2px;
    color: #333;
    text-decoration: none;
}

nav .nav-item a:hover {
    border-bottom: 4px solid #333;
}

section {
    width: 100%;
}

section .wrapper {
    display: flex;
    padding: 10rem 0;
}

/* **********************************
LETTERFORMS
********************************** */

#letterforms,
#classification,
footer {
    background-color: #efefef;
}

#letterforms .wrapper {
    display: flex;
    justify-content: center;
}

#letterforms .wrapper > a {
    width: 725px;
    height: 305px;
    background-color: white;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    box-sizing: border-box;
    border: 4px solid #333;
}

#letterforms .wrapper > a :hover #lowercase-letter .label {
    background-color: #ff0;
    background-repeat: no-repeat;
}

/* **********************************
PARAGRAPH
********************************** */

#paragraph .wrapper {
    display: flex;
    justify-content: space-between;

}


#paragraph .description p {
    line-height: 20px;
    font-size: 11px;
}

#paragraph .description span {
    font-weight: bold;
    font-size: 15px;
}

#theparagraph {
    width: 70%;
}



/* **********************************
   CLASSIFICATION SECTION
********************************** */

#classification .wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.parent-box {
    width: 215px;
    height: 215px;
    /* Fixed size */
    background-color: white;
    box-sizing: border-box;
    border: 4px solid #333;
    position: relative;
    overflow: hidden;
    /* Prevents content from breaking out */
    transition: all 0.3s ease-in-out;
}

/* Default classification letter visibility */
.parent-box #classification1,
.parent-box #classification2,
.parent-box #classification3,
.parent-box #classification4 {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

/* Hide classification letter when hovered */
.parent-box:hover #classification1,
.parent-box:hover #classification2,
.parent-box:hover #classification3,
.parent-box:hover #classification4 {
    opacity: 0;
    visibility: hidden;
}

/* FIX: Ensuring hover text is fully visible inside the box */
.parent-box .info-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    /* Keeps it inside the original box */
    background-color: white;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    justify-content: flex-start;
    /* Align text to the top */
    align-items: flex-start;
    text-align: left;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow-y: scroll;
    /* Enables scrolling if text is too long */
}

/* Make sure the scrollbar is always visible */
.parent-box .info-hover::-webkit-scrollbar {
    width: 8px;
    /* Make scrollbar wider */
    display: block;
    /* Force visibility */
}

/* Style the scrollbar thumb (the moving part) */
.parent-box .info-hover::-webkit-scrollbar-thumb {
    background: #939292;
    border-radius: 10px;
    /* Dark color for visibility */
}

/* Style the scrollbar track (the background) */
.parent-box .info-hover::-webkit-scrollbar-track {
    background: #f0efef;
    border-radius: 10px;
    /* Light background to contrast */
}

/* Ensure text is properly arranged inside */
.parent-box .info-hover p {
    margin: 0;
    padding: 0;
    font-size: 11px;
    /* Reduces text size slightly */
    line-height: 1.2;
}

/* Show hover text inside the box without cutting off */
.parent-box:hover .info-hover {
    opacity: 1;
    visibility: visible;
}

/* **********************************
   EXPRESSIVE TYPE
********************************** */

#expressive .wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#expressive-type {
    height: 600px;
    width: 800px;
    box-sizing: border-box;
    border: 4px solid #333;
}

/* **********************************
   LABEL STYLING
********************************** */

.label {
    background-color: #333;
    padding: 7px 10px;
    font-size: 11px;
    letter-spacing: 1px;
    color: white;
    position: absolute;
    bottom: 0;
    right: 0;
}

/* Flex-end for aligning text at the bottom */
.flex-end {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

/* ********************************** 

/* Process Section */

#process2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
    column-gap: 60px;
}

/* Text Wrapper */
.wrapper2 {
    max-width: 500px;
}

/* Heading Styling */
#process2 h2 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    color: #222;
    margin-bottom: 15px;
}

/* Paragraph Styling */
#process2 p {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

/* Image Styling */
.process-img {
    width: 100%;
    max-width: 820px;
    border-radius: 10px;
    display: block;
    justify-self: end;
    object-fit: cover;
}


/* **********************************
FOOTER
********************************** */

footer {
    display: flex;
    height: 10rem;
    text-align: center;
    align-items: center;
}

footer p {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
}
