@font-face {
    font-family: 'Rubik Light'; /* 300 */
    font-display: swap;
    src: url('fonts/Rubik-Light.woff2') format('woff2'),
         url('fonts/Rubik-Light.woff') format('woff')
         url('fonts/Rubik-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Rubik Regular'; /* 400 */
    font-display: swap;
    src: url('fonts/Rubik-Regular.woff2') format('woff2'),
         url('fonts/Rubik-Regular.woff') format('woff')
         url('fonts/Rubik-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Rubik Medium'; /* 500 */
    font-display: swap;
    src: url('fonts/Rubik-Medium.woff2') format('woff2'),
         url('fonts/Rubik-Medium.woff') format('woff'),
         url('fonts/Rubik-Medium.ttf') format('truetype'),;
}

@font-face {
    font-family: 'Rubik SemiBold'; /* 600 */
    font-display: swap;
    src: url('fonts/Rubik-SemiBold.woff2') format('woff2'),
         url('fonts/Rubik-SemiBold.woff') format('woff'),
         url('fonts/Rubik-SemiBold.ttf') format('truetype'),;
}

@font-face {
    font-family: 'Rubik Bold'; /* 700 */
    font-display: swap;
    src: url('fonts/Rubik-Bold.woff2') format('woff2'),
         url('fonts/Rubik-Bold.woff') format('woff'),
         url('fonts/Rubik-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Slab Regular'; /* 400 */
    font-display: swap;
    src: url('fonts/RobotoSlab-Regular.woff2') format('woff2'),
         url('fonts/RobotoSlab-Regular.woff') format('woff'),
         url('fonts/RobotoSlab-Regular.ttf') format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;  
}

* {
    box-sizing: border-box;
}

html {
    margin: 0px;
    padding: 0px;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: 'Rubik Regular', 'Calibri', sans-serif;
}

header {
    padding: 1.125em 3em 1.125em 1.5em;
    position: sticky;
    top: 0px;
    background-color: white;
}

footer {
    background-color: #001223;
    color: white;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
    padding-bottom: 5rem;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

h2 {
    font-size: 1.4rem;
}

h2 a, h2 a:visited {
    color: black;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: rgb(0, 0, 0);
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}

.nav-item {
    margin-left: 1.3rem;
}

.nav-link{
    font-family: 'Rubik Bold';
    font-size: 0.9rem;
    color: #000;
    letter-spacing: 0.03em;
}

.nav-link:hover{
    color: #333;
}

.nav-logo {
    font-family: 'Rubik Medium';
    font-size: 2.1rem;
    width: 40%;
}

.in0-centered {
    width: 84%;
    margin-left: auto;
    margin-right: auto;
}

section {
    margin: 10vh auto 12vh;
    width: 84%;
    max-width: 70rem;
}

.in0-form {
    width: 50%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 5fr;
    grid-template-rows: auto auto auto;
    column-gap: 10px;
    row-gap: 10px;;
}

.in0-form input, .in0-form textarea {
    padding: 0.5rem;
    font-size: 1rem;
    font-family: 'Rubik Regular', sans-serif;
}

.in0-form textarea {
    height: 5rem;
}

.in0-form button {
    background: black;
    color: white;
    font-size: 1.2rem;
    padding: 0.5rem;
}

.in0-statement {
    font-family: 'Roboto Slab Regular', 'Calibri', sans-serif;
}

.in0-statement-main {
    letter-spacing: 0.01em;
    line-height: 1.2em;
}

.in0-statement-secondary {
    font-size: 2.5rem;
    color: lightslategray;
}

.in0-project-breaker {
    color: lightslategray;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#logo {
    font-family: 'Rubik Bold', 'Calibri', sans-serif;
    font-size: 40px;
    color: #b91313;
}

.in0-heading {
    padding-top: 6rem;
    font-size: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom-color: #b91313;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    width: 100%;
}

.in0-heading p {
    margin-bottom: 0px;
    color: #b91313;
}

.in0-heading a {
    color: #b91313;
}

.in0-heading a:hover {
    color: #b71010;
}

.in0-breaker {
    margin-top: 40px;
}

.in0-project {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
}

.in0-project-image {
    width: 40%;
}

.in0-project-blurb {
    font-family: 'Rubik Light', 'Calibri', sans-serif;
    margin: auto;
    width: 60%;
    padding-left: 2rem;
    font-size: 1.5rem;
}

.in0-project-blurb h2 {
    font-family: 'Rubik Bold', 'Calibri', sans-serif;
    font-weight: normal;
}

.in0-project-image img {
    width: 100%;
    height: auto;
}

.in0-socials {
    display: flex;
}

.in0-socials img {
    margin: 1rem;
}

@media only screen and (min-width: 900px) {

    .in0-statement-main {
        font-size: 3.0rem;
    }

    .in0-statement-secondary {
        font-size: 2.0rem;
    }

    .in0-project-blurb {
        font-size: 1.25rem;
    }

}

@media only screen and (min-width: 1200px) {

    .in0-statement-main {
        font-size: 3.5rem;
    }
   
    .in0-statement-secondary {
        font-size: 2.5rem;
    }

    .in0-project-blurb {
        font-size: 1.5rem;
    }

}


@media only screen and (max-width: 900px) {

    .in0-statement-main {
        font-size: 2.5rem;
    }

    .in0-statement-secondary {
        font-size: 1.5rem;
    }

    .in0-project-blurb {
        font-size: 1rem;
    }

    .in0-form {
        width: 100%;
    }

}

@media only screen and (max-width: 600px) {

    section {

        margin-top: 5vh;

    }

    .in0-statement-main {
    
        font-size: 2.0rem;

    }

    .in0-statement-secondary {

        font-size: 1.2rem;

    }

    .in0-project {

        margin-top: 2rem;
        display: flex;
        flex-direction: column;
    
    }
    
    .in0-project-image {
    
        width: 100%;
    
    }
    
    .in0-project-blurb {
        font-family: 'Rubik Light', 'Calibri', sans-serif;
        margin: auto;
        width: 100%;
        padding-left: 0px;
        padding-top: 2rem;
        font-size: 1.2rem;
        text-align: justify;
    
    }

    .in0-heading {
        padding-top: 5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: -1.125rem;
        bottom: 0px;
        flex-direction: column;
        background-color: #b91313;
        margin-bottom: 0px;
        width: 100%;
        border-radius: 0px;
        text-align: center;
        transition: 0.3s;
        padding-inline-start: 0px;
        box-shadow:
            0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .nav-link{
        color: #fff;
        width: 100%;
        font-size: 1.5rem;
    }
    
    .nav-link:hover{
        color: #ddd;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 30;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

}
