/* notes*/
/* This is the css for the portfolio, the first half is the general css for all of the elements and pages. the second half gets more specific */
/* 0000000000 Typography 0000000000 */
/* font-family: 'Inter', sans-serif;
font-family: 'Oswald', sans-serif; / colours / #ffed08 YellowMain / #fa7e33 Orange / #83e0e6 Blue / #d6d6d6 Light Grey / #a3a3a3 Dark Grey / #333333 BLACK / #f3f3f3 WHITE */
h1, h2, h3, h4, h5, p {
    margin-top: 5px;
    margin-bottom: 10px;
}
h1 {
    font-family: 'inter', sans-serif;
    font-size: 48pt;
    text-transform: uppercase;
    color: #333333;
    font-weight: 700;
}
h2 {
    font-family: 'Inter', sans-serif;
    font-size: 18pt;
    font-weight: 700;
}
h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16pt;
    font-weight: 500;
    line-height: 1.3;
}
h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    margin-top: 0;
    padding-top:0;
    vertical-align: top;
    font-size: 10pt;
    text-transform: uppercase;
    text-align: right;
}
h5 {
    font-family: 'Inter', sans-serif;
    font-size: 12pt;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 2em;
    color: #a6a6a6;
}
p {
    font-family: 'Inter', sans-serif;
    font-size: 14pt;
}
a {
    text-decoration: none;
    color: #474747;
    transition: .3s;
}
a:hover {
    color: #fa7e33;
}
/* 0000000000 Layout and grid setup 0000000000 */

html {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    padding: 0;
    position: relative;
    background: #f3f3f3;
    /* Hide scrollbar for IE and Edge */
    -ms-overflow-style: none;
    scrollbar-width: none;  /* Firefox */
    
    /* Preventing selection of the body across browsers */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* typography */
    font-family: 'Inter', sans-serif;
    color: #333333;
    max-width: 100vh;
    overflow-x: hidden;
}

/* horizontal scroll functionality */
.outer-wrapper {
    position: absolute;
    z-index: 1;
    width: 100vW;
    height: 100vH;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
      /* Firefox */
    overflow-y: scroll;
    overflow-x: hidden;
    /* Hide scrollbar for IE and Edge */
    scrollbar-width: thin;
    scrollbar-color: #333333 #d6d6d6;
    transform: translateY(0);
    display: flex;
    justify-content: center;
    transition: transform .4s ease-out .4s, background-color .4s ease;
}
/* Custom Scroll bar */

.outer-wrapper::-webkit-scrollbar {
    width: 10px;
    cursor: pointer;
}
.outer-wrapper::-webkit-scrollbar-track {
    background: #d6d6d6;
}
.outer-wrapper::-webkit-scrollbar-thumb {
    background-color: #333333;
    border-radius: 0px;
    border: none;
}
/* hide scrollbar - Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}
/* creating the horizontal scroll */
.wrapper {
    /* positioning */
    position: relative;
    z-index: 1;
    width: 100vw;
    margin: 0;
    padding: 0;
    display: inline-grid;
    grid-auto-flow: row;
    max-width: 1920px;
}
/* All horizontal scroll sections */
.section {
    width: 100%;
    max-width: 100%;
    padding: 60px;
    margin: 0;
    position: relative;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    column-gap: 16px;
    grid-column-gap: 16px;
    grid-row-gap: 60px;
    grid-auto-flow: row;
    grid-auto-columns: minmax(50px, auto);
}
/* General Main Objects */
/* utility */
.clear {
    clear: both;
    display: block;
    height: 100%;
    width: 1px;
    align-self: center;
}
/* 0000000000 Specific Section Destinctions 0000000000 */
/* SECTION 1 CONTENT*/
.main-item {
    align-self: start;
    justify-self: left;
    justify-content: center;
    align-items: flex-start;
    display: inline-flex;
    grid-column-end: span 4;
    grid-row-end: span 1;
    width: 100%;
    flex-direction: row;
}
/* specific items */
/* dividers and artifacts */
.line-divider {
    height: 1px;
    width: 100%;
    padding-top: 30px;
    border-bottom: #333333 solid 3px;
    grid-column: 2 / span 7;
}
.line2 {
    border-bottom: #333333 solid 1px;
    
}
/* line 1 */
.text-sec {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    column-gap: 16px;
    justify-items: left;
    grid-column: 1 / span 8;
}
.item-spacer {
    grid-column-end: span 1;
}
.item-text {
    grid-column-end:span 2;
}
.item-text a {
    transition: .3s;
    display: inline-block;
    padding-right: 8px;
    align-items: baseline;
    align-self: baseline;
}
.item-text a svg {
    transition: .3s;
    display: inline-block;
}
.item-video {
    grid-column: 1 / span 8;
    padding-bottom:56.25%;
    position: relative;
    background-color: black;
    align-items: center;
    justify-content: center;
}
.item-video.gradshow-vid {
    padding-bottom: 81.82%;
}

.item-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.item-image {
    grid-column-end: span 8;
    background-color: black;
    overflow-y: hidden;
    overflow: auto;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
}
.item-image div {
    display: inline-flex;
    grid-auto-flow:column;
    /* flex-direction: column; */
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    flex-direction: row;
}
.image-black {
    background-color: #333333;
}
.item-image::-webkit-scrollbar {
    background: #f3f3f3;
}
.item-image::-webkit-scrollbar-thumb {
    background: #fa7e33;
}
.main-item img { 
    /* using images is better for accessibilityy */
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    margin: 0px;
    display: inline-block;
}
img {
    cursor: pointer;
}
.item-des {
    grid-column-end: span 4;
}
.item-title {
    grid-column-end: span 3;
}
.main-item a:hover {
    font-weight: 700;
}
.main-item a svg{
    width: 22px;
    height: 22px;
    transition: .3s;
    margin-right: 15px;
    display: inline-block;
}
.main-item a:hover svg {
    fill: #fa7e33;
}
/* SECTION FOOTER */
footer.section {
    background: #d6d6d6;
    padding-bottom: 128px;
}
footer.section::after {
    content: "";
    height: 100%;
    position: absolute;
    background-color: #d6d6d6;
    width:100vw;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
footer .text-sec .item-text {
    grid-column-end: span 3;
    justify-self: stretch;
}
.footer-copyright .item-des {
    grid-column-end: span 6;
}
.footer-copyright .item-des p {
    margin-bottom: 24px;
}
.sec-footer a svg {
    width: auto;
    height: 14px;
    mask-type: alpha;
    fill: #333333;
    transition: .3s;
    margin-right: 5px;
}
.sec-footer .cls-1 {
    fill:#333333;
    transition: .3s;
}
.sec-footer a:hover svg, .sec-footer a:hover .cls-1, .sec-footer a.hover_effect svg, .sec-footer a.hover_effect .cls-1  {
    fill: #fa7e33;
}
/* On Load Animations */

@keyframes slideInFromTop{
    0% {
        transform: translateY(100vH);
    }
    100% {
        transform: translateY(0);
    }
}
.outer-wrapper {
    animation: 1s ease-out 0s 1 slideInFromTop;
}
/* 0000000000 Navigation 0000000000 */
/* Close Icon */
.close {
    width:22px;
    height:22px;
    transition: .3s all;
    display: flex;
    align-items: center;
    justify-content: center;
}
.close svg {
    margin:0;
}
.main-navigation {
    position: fixed;
    z-index: 1000;
    left: 0;
    top:0;
    width:40px;
    height: 100vH;
    transition: .3s;
    padding:0;
    display: flex;
    justify-content: left;
    align-content: flex-start; 
}
.index-nav {
    width: 100%;
    max-width: 40px;
    height: 100vH;
    position: relative;
    z-index: 950;
    padding: 10px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-between;
    opacity: 1;
    transition: .3s;
    pointer-events: auto;
}
.backTop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 20;
}
.backTop h4 {
    margin:0;
}
.backTop a {
    font-size: 27pt;
    font-weight: 700;
    font-family: 'inter', sans-serif;
}
.close-nav {
    width: 0px;
}
/* main logo */
.main-logo {
    /* spacing */
    margin: 0;
    padding: 0px;
    width: 22px;
    height: 22px;
    position: relative;
    /* border-bottom: #f3f3f3 solid 2px; */
}
.main-logo svg {
    display: block;
    width: 22px;
    height: 22px;
    transform: rotate(0deg);
    transition: .3s;
}
.main-logo:hover svg, .main-logo.hover_effect svg {
    transform-origin: center;
    transform: rotate(-45deg);
}
.main-logo:hover .cls-1, .main-logo.hover_effect .cls-1  {
    fill:#fa7e33;
}

.hoverable::after {
    display: block;
    pointer-events: none;
    content: attr(title);
    font-weight: 700;
    height: 1px;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}
.item-text a::after {
    display: block;
    pointer-events: none;
    content: attr(title);
    font-weight: 700;
    height: 1px;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}
@media screen and (min-width: 650px) and (max-width: 1080px) {
    h2 {
        font-size: 14pt;
    }
    h5 {
        font-size: 11pt;
        line-height: 1.1;
        margin-bottom: 2em;
    }
    .section {
        padding:  50px;
        grid-row-gap: 40px;
    }
    .text-sec {
        column-gap: 8px;
    }
    .item-spacer {
        position: absolute;
    }
    .line-divider {
        grid-column: 1 / span 8;
        padding-top: 20px;
    }
    .item-des {
        grid-column-end: span 4;
    }
    footer .text-sec .item-text {
        grid-column-end: span 4;
        justify-self: stretch;
    }
}
@media screen and (min-width: 0px) and (max-width: 649px) {
    .section {
        padding:  20px;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 8px;
        grid-column-gap: 8px;
        grid-row-gap: 40px;
        grid-auto-columns: minmax(20px, auto);
    }
    /* Other Sections */
    .text-sec {
        display: inline-grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 8px;
        grid-auto-rows: auto;
        row-gap:30px;
        grid-column-end: span 4;
    }
    .item-spacer {
        position: absolute;
    }
    .line-divider {
        grid-column: 1 / span 4;
        padding-top: 0px;
    }
    h2 {
        font-size: 14pt;
    }
    h5 {
        font-size: 10pt;
        line-height: 1.1;
        margin-bottom: 2em;
    }
    p {
        font-size: 12pt;
    }
    .item-text {
        grid-column: 1 / span 3;
    }
    .item-des {
        grid-column-end: span 4;
    }
    .item-image {
        grid-column-end: span 4;
    }
    .item-video {
        grid-column: 1 / span 4;
    }
    .about-description {
        grid-row: 1 / span 3;
    }
    
}

