/* Import Montserrat from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap"); /* applies to every element — makes sizing and spacing more predictable */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* enables smooth scrolling when anchor links are clicked */
html {
    scroll-behavior: smooth;
}

/* the base styles for the whole page */
body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    color: #ffffff;
    background-color: #f2f2f2;
    line-height: 1.4;
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: white;
    box-shadow: 0 4px 0 #047c0c;
    z-index: 1000;
    box-sizing: border-box;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 3rem;
    box-sizing: border-box;
}

.nav a {
    text-decoration: none;
    color: #222;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.navLinks {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.resumeBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 1.25rem;
    border: 2px solid #222;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.resumeBtn:hover {
    background: #222;
    color: white;
}

[id] {
    scroll-margin-top: 50px;
}

body {
    padding-top: 50px;
}

/* a wrapper div that constrains your content width */
.mainContainer {
    width: 70%;
    margin: 0 auto;
    position: relative;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 1.99rem;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1em;
}

h5 {
    font-size: 0.83em;
}

h6 {
    font-size: 0.67em;
}

h1,
h2,
h3 {
    color: #222222;
    font-weight: 700;
}

h4,
h5,
h6 {
    color: #222222;
    font-weight: 400;
}

#contactSection::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: white;
    z-index: -1;
}


#contactSection {
    display: flex;
    position: relative;
    height: fit-content;
    align-content: center;
    justify-content: center;
}

#contactContainer {
    display: flex;
    width: 100%;
    gap: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.contactBigText {
    display: flex;
    gap: 1rem;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.contactSmallText {
    font-size: 0.8rem;
    color: black;
    text-align: center;
}

.contactBlackLine {
    flex: 1;
    min-width: 0;
    border-top: 2px solid #047c0c;
    border-radius: 200px;
}

.contactBox {
    display: flex;
    width: fit-content;
    flex-shrink: 0;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 2px solid #047c0c;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 2px 2px 3px;
}

#emailLink,
#linkedinLink {
    color: black;
    text-decoration: none;
    max-height: 23px;
}

/* 1600 px for smaller laptops/tablets so drawings don't pop out where they shouldn't */
@media (max-width: 1600px) {
    .mainContainer {
        max-width: 85%;
    }
}


@media (max-width: 1000px) {
    .contactBigText {
        flex-direction: column;
    }

    .contactBlackLine {
        display: none;
    }
}