h1 {
    font-family: 'GraphikMedium';
    font-size: 48px;
    line-height: 58px;
    color: #fff;
}

h2 {
    font-family: 'GraphikMedium';
    font-size: 36px;
    line-height: 1;
    color: #303843;
}

h3 {
    font-family: 'GraphikMedium';
    font-size: 28px;
    line-height: 1;
    color: #303843;
}

@media only screen and (max-width:767px) {
    h1 {
        font-size: 26px;
        line-height: 34px;
    }
}

/*
*
* Project Image Slider
*
*/
#slider__project-imagess {
    position: relative;
    height: 380px;
    background-color: #F4F6F7;
}

@media only screen and (max-width:767px) {
    #slider__project-imagess {
        height: 320px;
    }
}

/* Project Image Slider Arrows */
.slider-left-arrow,
.slider-right-arrow {
    position: absolute;
    top: 230px;
    cursor: pointer;
    z-index: 1;
}

.slider-left-arrow {
    left: 64px;
}

.slider-right-arrow {
    right: 64px;
    /* transform: rotate(180deg); */
}

.slides-outer-wrapper .slider-header {
    position: absolute;
    max-width: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.slide-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.slider .carousel-dots.slider-dots {
    position: absolute;
    width: 100%;
    bottom: 20px;
}

@media only screen and (max-width:767px) {

    .slider-left-arrow,
    .slider-right-arrow {
        display: none;
    }
}

/* About Section */
#about-section {
    padding: 120px 0;
}

#about-section h3+a,
#about-section h3+p,
#about-section p+h3,
#about-section a+h3 {
    display: block;
    margin-top: 20px;
}

/*  */
#about-section h3 {
    font-family: 'GraphikMedium';
    font-size: 15px;
    line-height: 21px;
    color: #3D3E46;
}

@media only screen and (max-width:767px) {
    #about-section h3 {
        font-size: 16px;
        line-height: 22px;
    }

    #about-section .grid__col:last-child {
        padding-top: 20px;
    }
}

/*  */
#about-section .link {
    margin-bottom: 1px;
    color: #0C4DA2;
}

@media only screen and (min-width:768px) {
    #about-section .link:hover {
        opacity: 0.8;
    }
}

/*  */
#about-section .bullet-point {
    position: relative;
    margin-bottom: 1px;
    display: flex;
    align-items: start;
}

#about-section .bullet-point::before {
    content: '';
    width: 5px;
    height: 5px;
    background-color: #3D3E46;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 9px;
    flex-shrink: 0;
}

/*  */
@media only screen and (max-width:767px) {
    #about-section {
        padding: 75px 0 70px;
    }

    #about-section.pt-30 {
        padding-top: 30px;
    }
}

/* No Projects */
@media only screen and (min-width:768px) {
    #company-container.no-projects #about-section {
        background-color: #E8EAEF;
        padding: 80px 0 110px;
    }
}

@media only screen and (max-width:767px) {
    #company-container.no-projects #about-section {
        position: relative;
        padding: 70px 0;
    }

    #company-container.no-projects #about-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 25px;
        width: calc(100vw - 50px);
        height: 1px;
        background-color: rgba(157, 165, 175, 0.15);
    }
}

/* About body copy */
#about-section p {
    font-size: 14px;
    line-height: 24px;
    color: #3D3E46;
}

#about-section p b {
    color: #000000;
}

#about-section .grid__container__fixed .grid__row:not(:first-child) {
    margin-top: 90px;
}

@media only screen and (max-width:767px) {
    #about-section p {
        font-size: 15px;
    }

    #about-section .grid__row .grid__col:nth-child(2) {
        margin-top: 40px;
    }
}

@media only screen and (min-width:768px) {
    #about-section .grid__row .grid__col:nth-child(2) {
        padding-right: 65px;
    }

    #about-section .grid__row .grid__col:nth-child(3) {
        padding-right: 30px;
    }
}

/* Projects Section */
.projects-section .projects-title {
    width: 1rem;
    margin: auto;

}

.projects-section .projects-title h3 {
    padding-left: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
}

/*  */
/*
*
* This sheet contains the
* project component styles
*
*/
/*
*
* Project Cards Container
*
*/
#component__project-card-containers {
    background-color: white;
    display: grid;
    grid-template-columns: repeat(4, 1fr);

}

/* Tablet (up to 1024px) */
@media only screen and (max-width: 1023px) {
    #component__project-card-containers {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (up to 767px) */
@media only screen and (max-width: 767px) {
    #component__project-card-containers {
        grid-template-columns: 1fr;
    }
}

/* #component__project-card-containers::before,
#component__project-card-containers::after {
    content: '';
    display: table;
} */

#component__project-card-containers::after {
    clear: both;
}

#component__project-card-containers {
    zoom: 1;
}

/*
*
* Project Card
*
*/
.component__project-cards {
    float: left;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/*
*
* Project Card Background Color in ::before
*
*/
.component__project-cards::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background-color: #EFEFEF;
}

/*
*
* Project Card Animating Gradient in ::after
*
*/
.component__project-cards::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background-image: linear-gradient(to right, #EFEFEF, #E2E2E2, #EFEFEF);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    animation-name: animateGradient;
    animation-duration: 1.2s;
    animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    animation-iteration-count: infinite;
    will-change: transform;
}

@keyframes animateGradient {
    0% {
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        transform: translate3d(100%, 0, 0);
    }
}

/*
*
* Project Card Layout when there are
* 1. less than 3 projects
* 2. atleast 4 projects
*
*/
@media only screen and (min-width:768px) {

    /* 4 projects */
    .component__project-cards {
        width: 25vw;
        height: 25vw;
    }

    /* 3 projects */
    /* .component__project-cards:first-child:nth-last-child(1),
    .component__project-cards:first-child:nth-last-child(1)~.component__project-cards,
    .component__project-cards:first-child:nth-last-child(2),
    .component__project-cards:first-child:nth-last-child(2)~.component__project-cards,
    .component__project-cards:first-child:nth-last-child(3),
    .component__project-cards:first-child:nth-last-child(3)~.component__project-cards {
        width: calc(4rem/12 - 30px);
        height: calc(4rem/12 - 30px);
    }

    .component__project-cards:first-child:nth-last-child(1),
    .component__project-cards:first-child:nth-last-child(2),
    .component__project-cards:first-child:nth-last-child(3) {
        margin-left: calc(50vw - 0.5rem + 50px)
    } */

    /* .component__project-cards:first-child:nth-last-child(1)~.component__project-cards,
  .component__project-cards:first-child:nth-last-child(2)~.component__project-cards,
  .component__project-cards:first-child:nth-last-child(3)~.component__project-cards {
    margin-left: 30px;
  } */
}

@media only screen and (max-width:767px) {
    .component__project-cards:not(:first-child) {
        margin-top: 20px;
    }
}

.center {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

/*
*
* Project Image
*
*/
.component__project-cards .project-image {
    position: relative;
    z-index: 3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media only screen and (min-width:767px) {
    .component__project-cards .project-image {
        position: absolute;
        top: -2px;
        left: -2px;
        width: calc(100% + 4px);
        height: calc(100% + 4px);
    }
}

@media only screen and (max-width:767px) {
    .component__project-cards .project-image {
        width: 100vw;
        height: 100vw;
    }
}

/*
*
* Project Details
*
*/
.component__project-cards .project-details {
    position: relative;
    z-index: 4;
}

/* Project Name */
.component__project-cards .project-name {
    font-family: 'GraphikMedium';
}

@media only screen and (min-width:768px) {
    .component__project-cards .project-details {
        position: absolute;
        bottom: 0;
        left: -2px;
        width: calc(100% + 4px);
        background-image: linear-gradient(to top, rgba(7, 7, 7, 0.8), rgba(0, 0, 0, 0));
        height: calc(100% - 87px);
        padding: 0 30px 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        opacity: 0;
        transition: opacity 200ms;
    }

    .component__project-cards:hover .project-details {
        opacity: 1;
    }

    .component__project-cards .project-name {
        font-size: 22px;
        line-height: 30px;
        color: white;
    }

    .component__project-cards .project-location {
        margin-top: 13px;
        font-size: 14px;
        line-height: 1;
        color: white;
    }
}

/*  */
.component__project-cards .project-details.no-location {
    padding-bottom: 40px;
}

@media only screen and (max-width:767px) {
    .component__project-cards .project-details.no-location {
        padding-top: 30px;
    }
}

/*  */
@media only screen and (max-width:767px) {
    .component__project-cards .project-details {
        padding: 25px;
        background-color: white;
    }

    .component__project-cards .project-name {
        font-size: 20px;
        line-height: 28px;
        color: #303843;
    }

    .component__project-cards .project-location {
        margin-top: 7px;
        font-size: 12px;
        line-height: 1;
        color: #303843;
    }
}