/* Base styles */
html {
    font-size: 16px; 
}

.founder-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5.3125rem;
    background-color: rgba(21, 21, 21, 0.5);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.founder-nav ul {
    display: flex;
    justify-content: flex-start;
    list-style-type: none;
    padding: 0;
    margin-top: 0.625rem; 
    margin-left: 1.25rem; 
}

.founder-nav li {
    padding: 0.9375rem 1.25rem; 
}

.founder-nav a {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.5rem; 
    transition: color 0.3s ease;
}

.founder-nav a:hover {
    color: #E2353E;
}

.founder-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.founder-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.founder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1; 
    transition: opacity 2s ease; 
}

.founder-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: transparent; 
    text-align: center;
    transition: color 2s ease; 
}

.founder-message {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(35, 32, 32, 0.7); 
    padding: 1.25rem; 
    box-sizing: border-box;
}

.message-text {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-size: 2rem;
    color: white;
    margin-bottom: 0.625rem; 
}

.message-text .highlight {
    color: #E2353E; 
}

.founder-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #E2353E; 
    margin: 0;
}

.founder-letter {
    padding: 3.125rem 0;
    background-color: rgb(23, 23, 23);
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 1s ease;
    color: #ffffff;
}

.letter-content {
    max-width: 90%; 
    margin: 0 auto;
    text-align: left;
    padding: 0 1.25rem;
}

.letter-content p {
    margin-bottom: 1.25rem;
}

.footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    position: relative;
    width: 100%;
}

.footer p {
    margin: 0;
}

/* Media Queries */
/* Mobile */
@media screen and (max-width: 660px) {
    .founder-nav{
        height: 4rem;
    }
    .founder-nav a {
        font-size: 0.65rem; 
    }
    .founder-nav li{
        padding: 0.5rem 0.625rem;
    }
    .founder-title {
        font-size: 4rem; 
    }
    .message-text {
        font-size: 0.65rem; 
    }
    .founder-name {
        font-size: 0.65rem; 
    }
    .founder-letter {
        font-size: 0.65rem; 
    }
    .footer{
        padding: 0.7rem 0;
        font-size: 0.6rem;
      }
}

/* Tablet */
@media screen and (min-width: 661px) and (max-width: 800px) {
    .founder-nav a {
        font-size: 1rem; 
    }
    .founder-title {
        font-size: 5.25rem;
    }
    .message-text {
        font-size: 1rem;
    }
    .founder-name {
        font-size: 1rem;
    }
    .founder-letter {
        font-size: 1rem; 
    }
    .footer{
        padding: 0.7rem 0;
        font-size: 0.6rem;
      }
}

/* Laptop */
@media screen and (min-width: 801px) and (max-width: 1100px) {
    .founder-nav a {
        font-size: 1.5rem; 
    }
    .founder-title {
        font-size: 7.875rem;
    }
    .message-text {
        font-size: 1.5rem;
    }
    .founder-name {
        font-size: 1.5rem;
    }
    .founder-letter {
        font-size: 1.5rem; 
    }
    .footer{
        padding: 0.8rem 0;
        font-size: 0.7rem;
      }
}

/* Laptop */
@media screen and (min-width: 1101px) and (max-width: 1600px) {
    .founder-nav a {
        font-size: 1.5rem; 
    }
    .founder-title {
        font-size: 10rem; 
    }
    .message-text {
        font-size: 1.5rem; 
    }
    .founder-name {
        font-size: 1.5rem;
    }
    .founder-letter {
        font-size: 1.5rem; 
    }
    .footer{
        padding: 1rem 0;
        font-size: 0.9rem;
      }
}

/* 4K */
@media screen and (min-width: 1601px){
    .founder-nav a {
        font-size: 1.7rem; 
    }
    .founder-title {
        font-size: 12rem;
    }
    .message-text {
        font-size: 1.5rem;
    }
    .founder-name {
        font-size: 1.5rem;
    }
    .founder-letter {
        font-size: 1.5rem; 
    }
    .footer{
        padding: 1.1rem 0;
        font-size: 1rem;
      }
} 