
/* Base styling */

body {
    color: #131313;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    font-weight: 500;
}

h1,
h2 {
    font-family: 'CoreCircus', sans-serif;
    letter-spacing: -2px;
}

a {
    color: #131313;
}

.site-width {
    width: 80%;
    max-width: 1200px;
    margin: auto;
}

/* .container {
    margin-top: 60px;
    margin-bottom: 60px;
} */

.homepage .header,
.nav-bar .site-name,
#footer .site-name {
    background-color: #131313;
    width: 100%;
    font-family: 'CoreCircus2DOut', sans-serif;
    color: white;
}

.socials {
    display: flex;
    justify-content: space-between;
}

.full-width-black {
    background-color: #131313;
    color: white;
}

.full-width-black a {
    color: white;
}

a.button {
    text-transform: uppercase;
    color: white;
    background-color: #131313;
    padding: 12px 22px;
    display: inline-block;
    margin: 25px;
    font-size: 13px;
    font-family: 'CoreCircus', sans-serif;
    letter-spacing: -1px;
}

/* Generally no underlines */
a,
.site-name a:hover {
    text-decoration: none;
}

/* Underline links on hover.
   Exception for site name (see rule above) since the 
   outline font looks weird with underlines */
a:hover {
    text-decoration: underline;
}

/* h2 {
    margin-bottom: 30px;
} */

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 5px 0;
}

.breadcrumb {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 15px;
}

.breadcrumb img {
    width: 18px;
    vertical-align: middle;
    padding-bottom: 2px;
}

/* Footer */
#footer {
    /*height: 20vw;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    margin-top: 70px;
    padding: 60px 0;
    font-size: 12px;
}

#footer h3 {
    margin-top: 20px;
    font-size: 14px;
    margin-bottom: 14px;
    font-weight: 600;
}

#footer .site-name {
    font-size: 50px;
    letter-spacing: -2px;
}

#footer .projects {
    /* might need to adjust this based on content */
    min-width: 160px;
}

#footer .projects li {
    height: 20px;
}

#footer .socials {
    flex-direction: column;
    justify-content: end;

    /* might need to adjust this based on content */
    min-width: 180px;

    /* Margin is roughly the height of the header from the projects
       column. Goal is to compensate for the lack of a header on the
       socials section.
     */
    margin-top: 52px;
}

#footer .socials .social {
    padding: 5px;
}

#footer .socials .icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    padding-right: 10px;
}

#footer .footer-inner {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

@media (max-width: 800px) {
    #footer .site-name {
        margin-top: 20px;
        text-align: center;
    }
    #footer {
        flex-direction: column;
    }
}

/* Homepage */
.homepage .header {
    /* take up the full height, less an allowance for the arrow */
    height: calc(100vh - 60px);
    /* don't get smaller than the text, which is set to 16vw */
    min-height: 32vw;
    max-height: 64vw;
    width: 100%;
}

.homepage .header .site-name { 
    letter-spacing: -2vw;
    margin: 0;
    font-size: 16vw;
    line-height: 1em;
    height: 92vh;
}

/* socials container on the homepage is different because the chevron
   adds some additional white space on top of it. Compensate by moving
   half the usual "site-width" top margin to the bottom to balance.
 */
.homepage .site-width.socials-container {
    margin: 30px auto 90px auto;
}

.homepage .socials-container .socials {
    margin: 0 6%;
}

@media (max-width: 850px) {
    /* switch to column display at smaller sizes*/
    .homepage .socials-container .socials {
        display: block;
        columns: 150px 2;
        text-align: center;
    }
    /* inline block the column items so we can center them */
    .homepage .socials-container .socials > div {
        display: inline-block;
    }
    /* padding on the odd (i.e. first row) of icons
     * this would need to be updated if the number of items changes
     */
    .homepage .socials-container .socials > div:nth-child(2n+1) {
        margin-bottom: 30px;
    }
}

.homepage .socials-container .socials > div {
    width: 150px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.homepage .socials-container .socials .social {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.homepage .socials-container .socials .icon {
    vertical-align: middle;
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.homepage .more-container {
    height: 7vh;
    position: relative;
}

.homepage .icon-circle-down {
    width: 100%;
    height: 150px;
    position: absolute;
    top: -68px;
    left: 0;
}

.homepage .triangle-container {
    text-align: center;
    position: relative;
}
.homepage .triangle {
    width: 0;
    height: 0;
    border-left: 53px solid transparent;
    border-right: 53px solid transparent;
    border-top: 53px solid #131313;
    display: inline-block;
}

.homepage .about-container {
    padding: 100px 60px;
    text-align: center;
    font-size: 25px;
}

.homepage .about-container {
    padding: 80px 60px;
    text-align: center;
    font-size: 15px;
}

@media (min-width: 800px) {
    .homepage .about-container {
        padding: 100px 60px;
        font-size: 25px;
    }
}

/* Project long display */
.projects-container {
    margin: 60px auto 60px auto;
}

.project {
    border: 4px solid #131313;
    padding: 0 3%
}

.projects-container .projects a.button {
    margin: 5px 0 25px 0;
}

.projects-container .projects.cards a.button {
    margin: 25px 0 25px 0;
}

.projects-container .project:not(:last-child) {
    margin-bottom: 30px;
}

/* Project card display */
@media (min-width: 800px) {
.projects-container .projects.cards {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.projects-container .projects.cards .project {
    width: 28%;
    border: 4px solid #131313;
    padding: 0 3%;
    margin-right: 4%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* background-color: white; */
    color: #131313;
}

.projects-container .projects.cards .project:last-child {
    margin-right: 0;
}

.projects-container .projects.cards .project p {
    font-size: 14px;
    margin: 0;
}

.projects-container .projects.cards .project:not(:last-child) {
    margin-bottom: 0;
}
}


/* Project Page */
.nav-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 60px;
}

.nav-bar .site-name {
    font-size: 24px;
    font-family: 'CoreCircus', sans-serif;
}

.nav-bar .socials {
    display: flex;
    justify-content: end;
    align-items: center;
    color: white;
}

.nav-bar .social,
.nav-bar .socials .icon {
    height: 25px;
}

.nav-bar .socials .icon {
    width: 22px;
    padding-right: 20px;
}

.project-page .page-title {
    background-color: white;
    color: #131313;
    font-size: 40px;
    font-weight: 600;
    width: 80%;
    margin: 0 auto;
    font-family: 'CoreCircus', sans-serif;
    letter-spacing: -2px;
}

.project-page .project-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 25px;
    margin: 50px auto;
}

.project-page .project-links > div {
    padding: 20px;
}

.project-page .project-links img {
    width: 20px;
    vertical-align: middle;
    padding: 0 5px 3px 0;
}

.project-page .project-links .link {
    color: white;
    font-weight: 600;
}

.project-page .project-links .link:hover {
    text-decoration: none;
    color: #aaaaaa;
}

.text-content {
    margin-top: 30px;
    margin-bottom: 30px;
}

.text-content p:not(:last-child) {
    margin-bottom: 30px;
}

.text-content a {
    font-weight: bold;
}

.text-content.intro {
    font-size: 1.1em;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 30px;
}

.text-content table {
    border-collapse: collapse;
}

.text-content table td {
    padding: 10px;
    border: 4px solid #131313;
}

.text-content ul {
    list-style-type: square;
    margin-left: 30px;
    margin-bottom: 30px;
}

.text-content li {
    margin-bottom: 5px;
}

.gallery {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
    margin: 65px auto;
}

.gallery > div {
    width: 20%;
}

.gallery > div img {
    width: 100%;
    height: auto;
}

.gallery > div p {
    font-size: 12px;
}

.text-content img.column {
    width: 100%;
}

.text-content img.right {
    float: right;
    margin: 0 0 20px 20px;
}

.text-content img.left {
    float: left;
    margin: 0 20px 20px 0;
}


.text-content p.callout {
    border: 4px solid black;
    float: right;
    padding: 20px;
    margin: 0 0 20px 20px;
    font-size: 20px;
}
.text-content p.callout.right {
    float: right;
    margin: 0 0 20px 20px;
}
.text-content p.callout.left {
    float: left;
    margin: 0 20px 20px 0;
}