/*GENERAL STUFF*/

body {
    background-color: #ffffff;
}

p {
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    color: #373737;
    line-height: 30px;
}

h1 {
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    color: #373737;
}

h2 {
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 18px;
    color: #373737;
}

h3 {
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 30px;
    color: #373737;
    line-height: 40px;
}

a:link {
    color: #373737;
    text-decoration: none;
}

a:visited {
    color: #373737;
    text-decoration: none;
}

a:hover {
    color: #373737;
    text-decoration: none;
}

a:active {
    color: #373737;
    text-decoration: none;
}

/*NAVIGATION*/

/* header */

.header {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    z-index: 3;
    padding-top: 50px;
    padding-bottom: 50px;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #ffffff;
}

.header li a {
    display: inline-block;
    text-decoration: none;
    margin-right: 50px;
    margin-bottom: 3px;
}

.header .katie {
    float: left;
    padding-left: 50px;
    text-decoration: none;
    margin-top: 3.5px;
}

/* menu */

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
    display: flex;
}


/* menu icon */

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    position: relative;
    margin-right: 40px;
    user-select: none;
    padding: 10px;
}

.header .menu-icon .navicon {
    background: #373737;
    display: block;
    height: 3px;
    position: relative;
    transition: background .2s ease-out;
    width: 25px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: #373737;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 8px;
}

.header .menu-icon .navicon:after {
    top: -8px;
}

/* menu btn */

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked ~ .menu {
    max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}

@media only screen and (min-width: 600px) {
    .header li {
        text-align: right;
    }


    .header .menu {
        clear: none;
        float: right;
        max-height: none;
    }

    .header .menu-icon {
        display: none;
    }
}


@media only screen and (max-width: 599px) {
    .header li {
        text-align: left;
        margin-top: 20px;
        margin-left: 50px;
    }

    .header li h1 {
        font-size: 36px;
        color: #909090;
    }

    .photo {
        margin-top: 50px;
    }

    .header .menu {
        flex-direction: column;
    }
}

.header {
    transition: transform .8s ease;
}

.header.slide-up {
    transform: translateY(-100%);
}

.header.slide-down {
    transform: translateY(0);
}

/*MAIN STUFF*/

.main-container {
    margin-left: 50px;
    margin-right: 50px;
    padding-top: 122px;
    overflow: hidden;
}

.main-text {
    width: 50%;
    margin: auto;
    margin-top: 150px;
    margin-bottom: 150px;
}

.top-image img {
    width: 100%;
    object-fit: cover;
    height: 70vh;
}

.project-image img {
    width: 100%;
    object-fit: cover;
}

.project-image-2 img {
    width: 100%;
    object-fit: cover;
    margin-top: 50px;
}

.four-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 50px;
    grid-row-gap: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}

@media only screen and (max-width: 1000px) {
    .main-text {
        width: 80%;
    }

    .four-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 50px;
    }
}

@media only screen and (max-width: 600px) {
    .main-text {
        width: 100%;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .top-image img {
        height: auto;
    }
}

/*FOOTER*/
.footer {
    padding-top: 30px;
    padding-bottom: 30px;
    margin: auto;
    text-align: center;
    border-top: 1px solid #909090;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 45px;
    margin-right: 45px;
    margin-top: 150px;
}

.footer h1 {
    padding: 5px;
    color: #909090;
}

@media only screen and (max-width: 600px) {
    .footer h1 {
        text-align: left;
        font-size: 36px;
        margin-top: 15px;
    }

    .footer {
        display: grid;
    }
}

@media screen and (max-width: 900px) {

    .lightbox-arrow {
        display: none;
    }
    
    .lightbox-img {
    max-width: 95%;
    max-height: 95%;
}

}

.lightbox {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    justify-content: center;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.5s ease;
    visibility: hidden;
}

.lightbox.show {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    margin-bottom: 15px;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #909090;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 100;
    font-style: normal;
}

#prev-lightbox {
    left: 5px;
}

#next-lightbox {
    right: 5px;
}

.lightbox-arrow:hover {
    color: #373737;
}

.close {
    position: absolute;
    top: -5px;
    right: 5px;
    font-size: 40px;
    color: #909090;
    cursor: pointer;
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 300;
    font-style: normal;
    transition: color 0.3s ease;
    padding: 10px;
}

.close:hover {
    color: #373737;
}
