#studioN {
    display: none;
}

#sub-caption {
    font-size: 54px;
    color: white;
}

.preloadDim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .85);
}

.show-logo {
    opacity: 1 !important;
    transform: translateY(-50px);
    transition: transform 1s linear .5s;
}

.show-text {
    opacity: 1;
    visibility: visible;
}

.main-image {
    position: relative;
    width: 100%;
    height: 100vh;
}

.main-image .intro-image {
    width: 100%;
    max-height: 100vh;
}

.main-image .rendering {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.main-image .rendering .pixel {
    background-color: rgba(0, 0, 0, .85);
    flex-basis: 5%;
    height: 7.143vh;
}

.main-image .rendering .render-overlay img {
    width: 100%;
    height: 7.143vh;
}

.main-image .studio-n {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 2s linear 0.5s;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.main-image .studio-n .logo {
    width: 300px;
    opacity: .3;
}

.main-image .studio-n .intro-text {
    width: 50%;
    transition: opacity 2s linear 1s;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.main-image .studio-n .down-indicator {
    bottom: 75px;

}

.main-image .studio-n .down-indicator i {
    padding: 20px;
    transition: .5s ease;

}

.main-image .studio-n .down-indicator i:hover {
    color: #b255aa;
    transition: .5s ease;
}

.main-image .studio-n i {
    -webkit-animation: scroll 1s infinite forwards;
    -o-animation: scroll 1s infinite forwards;
    animation: scroll 1s infinite forwards;
    font-size: 42px;
    color: #fff;
}

.our-services h2 {
    font-size: 48px;
    font-weight: bolder;

}

.our-services h2 span {
    font-size: 64px;
}

.service-item i {
    font-size: 48px;
}

.service-description-popup {
    position: absolute;
    top: -220px;
    left: -40px;
    width: 125%;
    height: 180px;
    background: linear-gradient(rgb(178, 85, 170), rgb(178, 85, 170));
    opacity: 0;
    visibility: hidden;
    transition: all .5s ease;
    border-radius: 20px;
}

.pointer {
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    background-color: rgb(178, 85, 170);
    height: 30px;
    width: 40px;
    position: absolute;
    bottom: -15%;
    left: 45%;
}

.service-item {
    cursor: pointer;
}

.service-item:hover {
    color: #b255aa;
    transition: all .5s ease;
}

.service-item:hover .service-description-popup {
    opacity: 1;
    visibility: visible;
    transition: all .5s ease;
    -webkit-animation: bouncing .5s linear;
    -o-animation: bouncing .5s linear;
    animation: bouncing .5s linear;
}


@keyframes bouncing {
    0% {
        top: -190px;
    }
    50% {
        top: -225px;
    }
    100% {
        top: -220px;
    }
}

.service-description-container {
    width: 100%;
    height: 100%;
    /*clip-path: polygon(16% 2%, 97% 4%, 99% 83%, 85% 85%, 55% 88%, 50% 98%, 45% 88%, 3% 86%, 1% 25%);*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-description-content {
    color: white;
    font-size: 16px;
}

.section-header {
    font-weight: bolder;
    font-size: 56px;
    text-transform: uppercase;
}

.project-image {
    border-right: 1px solid white;
    border-bottom: 1px solid white;
}

.project-preview, .project-image {
    height: 350px;
    flex: 1 1 auto;
    max-width: 50%;
    cursor: pointer;
    overflow: hidden;
}

.project-preview img, .project-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 1s ease;
}

.overlay {
    background-color: rgba(0, 0, 0, .75);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease;
}

.project-description {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-preview:hover img, .project-image:hover img {
    transform: scale(1.2);
    transition: all 1s ease;
}

.project-preview:hover .overlay {
    opacity: 1;
    visibility: visible;
    color: #fff;
    transition: all 1s ease;
}

.description-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -20%;
    left: 0;
    right: 0;
    height: 100%;
    opacity: 0;
    flex-direction: column;
    transition: all 1s ease;
}

.project-preview:hover .overlay .description-content {
    transition: all 1s ease;
    bottom: 0;
    opacity: 1;
}

.bottom-0 {
    bottom: 0;
}

.bottom--35px {
    bottom: -35px;
}

.views-abs {
    position: absolute;
}

.views {
    width: 100%;
    padding: 0 10px 0 0;
    text-align: end;
}


.custom-card {
    height: 300px;
    overflow: hidden;
    transition: all .5s ease;
    cursor: pointer;
    border-radius: 15px;
    border: 2px solid transparent;
    color: #fff;
}

.custom-card .views {
    background: none;
}

.card-background {
    height: 100%;
}

.card-background img {
    transition: all 1s ease;
    object-fit: cover;
    height: 100%;
}

.custom-card p {
    font-size: 16px;
}

.custom-card:hover {
    border: 2px solid #b255aa;
    transition: all 1s ease;
}

.custom-card:hover .card-background img {
    transform: scale(1.3);
    transition: all 1s ease;
}

.card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 8px 20px 8px;
    background: linear-gradient(90deg, black, transparent);
}

.default-text-color {
    color: #b255aa;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: #b255aaa6;
}

.accordion-item ul {
    text-decoration: none;
    padding-left: 20px;
}

.accordion-item ul li {
    list-style: disc;
    display: list-item;
    font-weight: normal;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}

.accordion-item ul li:hover {
    background-color: unset;
    color: unset;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background-color: #b255aa2b;
}

@media only screen and (min-width: 1200px) {
    #images-container > *:nth-child(3n+3) {
        border-right: none;
    }
}

/*MOBILE*/
@media only screen and (max-width: 768px) {
    #sub-caption {
        font-size: 32px !important;
    }

    .logo {
        width: 250px !important;
    }

    #sub-header {
        font-size: 20px !important;
    }

    .main-image .studio-n .intro-text {
        width: 95%;
    }

    .section-header {
        font-size: 42px;
    }

    .project-preview, .project-image {
        max-width: 100%;
        height: 250px;
    }

    #images-container > *:nth-child(2n+2) {
        border-right: none;
    }

    #blog .blog-content {
        width: 100%;
    }
}

@media only screen and (max-width: 450px) {
    #images-container > * {
        border-right: none;
    }
}


