@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500&family=Inter:wght@300;400;500&family=Fira+Mono:wght@400;500;700&display=swap');

/* Variables */
:root {
    --teal: #008080;
    --coral: #FF6B61;
    --dark-text: #1c1c1e;
    --light-bg: #f9f9f9;
    
    --main-title-font: 'IBM Plex Sans', sans-serif;
    --default-font: 'Inter', sans-serif;
    --contact-font: 'Fira Mono', monospace;
    
    --main-title-size: 6rem;
    --subtitle-size: 2rem;
    --email-font-size: 1rem;
    --soon-font-size: 1.2rem;


    --main-title-weight: 400;
    --subtitle-weight: 300;
    --main-content-padding: 6rem;
    --teal-bar-width:12rem;
    --subtitle-top-margin: -1.2rem;

}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
    :root{
        --main-content-padding:1rem;
        --main-title-size: 3rem;
        --subtitle-size: 1rem;
        --teal-bar-width:4rem;
        --subtitle-top-margin: -0.8rem;
        --email-font-size: 1rem;
        --soon-font-size: 1rem;

    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px; /*tablet breakpoint variables not requried */
    }
}

/* reset and basic styles */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Layout */
body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    font-family: var(--default-font);
    display: flex;
    min-height: 100vh;
}

aside.teal-strip {
    width: var(--teal-bar-width);
    background-color: var(--teal);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: var(--main-content-padding);
}

.main-title {
    display: grid;
    font-family: var(--main-title-font);
    font-size: var(--main-title-size);
    font-weight: var(--main-title-weight);
    justify-items: start;
}

.subtitle {
    display: grid;
    font-family: var(--default-font);
    font-size: var(--subtitle-size);
    font-weight: 300;
    justify-items: end;
    margin-top: var(--subtitle-top-margin);
}

.title-section h1 {
    margin: 0;
}

.highlight-line {
    width: 100%;
    height: 1.5rem;
    background-color: var(--coral);
    margin-top: 0.5rem;
}

footer.contact-section {
    font-family: var(--contact-font);
}

.credit {
    font-size: var(--email-font-size);
    letter-spacing: 0.1rem;
    position: fixed;
    bottom: 6rem;
    right: 3rem;
}

.email {
    font-size: var(--email-font-size);
    letter-spacing: 0.1rem;
    position: fixed;
    bottom: 4.6rem;
    right: 3rem;
    color: var(--teal);
}

.email:hover,
.email:active,
.email:focus {
    color: var(--coral);
}



.soon-message {
    font-size: var(--soon-font-size);
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}