@charset 'utf-8';

@font-face {
    font-family: "Montserrat-Light";
    src: url("./fonts/Montserrat/Montserrat-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Montserrat-Regular";
    src: url("./fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Montserrat-Medium";
    src: url("./fonts/Montserrat/Montserrat-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "Montserrat-Bold";
    src: url("./fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Montserrat-ExtraBold";
    src: url("./fonts/Montserrat/Montserrat-ExtraBold.ttf") format("truetype");
}

body * {
    font-family: "Montserrat-Regular";
}


@keyframes arrowPrev {
    from {
        left: 2em;
    }

    to {
        left: 1.5em
    }
}

@keyframes arrowNext {
    from {
        right: 2em;
    }

    to {
        right: 1.5em
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes waveEnter {
    from {
        width: 400px;
        height: 400px;
    }

    to {
        width: 500px;
        height: 500px;
    }
}

@keyframes waveEnterSmall {
    from {
        width: 260px;
        height: 260px;
    }

    to {
        width: 360px;
        height: 360px;
    }
}

@keyframes topLinkEntrance {
    from {
        top: 0.2em
    }

    to {
        top: 1em
    }
}

@keyframes bottomLinkEntrance {
    from {
        bottom: 0.2em
    }

    to {
        bottom: 1em
    }
}

@keyframes titleEntrance {
    from {
        opacity: 0;
        margin-top: -100px;
    }

    to {
        opacity: 1;
        margin-top: -60px;
    }
}

@keyframes buttonEntrance {
    from {
        margin-top: 50px;
    }

    to {
        margin-top: 10px;
    }
}

body {
    overflow: hidden;
}

h1 {
    font-family: "Montserrat-Bold";
}

h2,
h3 {
    font-family: "Montserrat-Medium";
}

@-moz-document url-prefix() {
    .my-feature-button {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .my-copyright {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .my-feature-button {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .my-copyright {
        background-color: rgba(255, 255, 255, 0.2);
    }

    div.overlay-con {
        background-color: rgba(255, 255, 255, 0.98);
    }
}

@media screen and (min-width: 768px) {
    .works-card-tall {
        grid-row: span 2 / auto;
    }

    .works-card-wide {
        grid-column: span 2 / auto;
    }

    div.overlay-con {
        background-color: rgba(255, 255, 255, 0.98);
    }
}

@keyframes rotations {
    to {
        transform: rotate(360deg)
    }
}

*::-webkit-scrollbar {
    width: 10px;
}

*::-webkit-scrollbar-track {
    background: rgb(150, 150, 150);
}

*::-webkit-scrollbar-thumb {
    background: rgb(100, 100, 100);
}

*::-webkit-scrollbar-thumb:hover {
    background: rgb(50, 50, 50);
}

.fill {
    position: fixed;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-color: #000;
}

.con-wave-circle {
    position: absolute;
    max-width: 500px;
    max-height: 500px;
    width: 500px;
    height: 500px;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    top: 50%;
    z-index: 2;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
    opacity: 0.5;
    -webkit-animation: waveEnter 0.6s ease;
    -webkit-animation-iteration-count: 1;
    animation: waveEnter 0.6s ease;
    animation-iteration-count: 1;
}

.wave-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: linear-gradient(45deg, #0067a3 20%, #54ffe5 120%);
}


.my-container {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
}

.carousel-item-background {
    opacity: 0;
    position: absolute;
    z-index: 1;
}

.carousel-item-background-1 {
    background-image: linear-gradient(225deg, #0067a3 20%, #54ffe5 120%);
    width: 100%;
    height: 100%;
}


.carousel-item-background-2 {
    background: url(../img/carousel/900/1.jpg) no-repeat center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.carousel-item-background-3 {
    background: url(../img/carousel/900/2.jpg) no-repeat center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.carousel {
    height: 100%;
}

.carousel-inner>.carousel-item {
    height: 100%;
}

.window-img-vignette {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    background: rgba(0, 0, 0, .6);
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
}


.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    opacity: 0.8;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
    width: initial;
}

.carousel .carousel-control-prev:hover,
.carousel .carousel-control-next:hover {
    opacity: 1;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
    transform: translateY(-50%) scale(0.8);
}

.carousel .carousel-control-prev>img,
.carousel .carousel-control-next>img {
    width: 3em;
    height: 3em;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
}


.carousel .carousel-control-prev {
    -webkit-animation: arrowPrev 1s ease;
    -webkit-animation-direction: alternate;
    -webkit-animation-iteration-count: infinite;
    animation: arrowPrev 1s ease;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    left: 1.5em;
    width: auto;
    height: 48px;
    transform: translateY(-50%);
    top: 50%;
}

.carousel .carousel-control-next {
    -webkit-animation: arrowNext 1s ease;
    -webkit-animation-direction: alternate;
    -webkit-animation-iteration-count: infinite;
    animation: arrowNext 1s ease;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    right: 1.5em;
    width: auto;
    height: 48px;
    transform: translateY(-50%);
    top: 50%;
}

.my-bold-texts {
    font-family: "Montserrat-Bold";
    color: #fff;
    letter-spacing: 0.08em;
}

.my-link-about {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 170px;
    top: 1em;
    color: #fff;
    text-align: center;
    font-size: 24px;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
    z-index: 1;
    cursor: pointer;
}

.my-link-works {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 170px;
    bottom: 1em;
    color: #fff;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
    text-align: center;
    font-size: 24px;
    z-index: 1;
    cursor: pointer;
}

.link-anim-underline {
    height: 3px;
    width: 0;
    background-color: #fff;
    position: relative;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
    display: flex;
    margin: auto;
}

.my-link-about:hover .link-anim-underline {
    width: 155.64px;
}

.my-link-works:hover .link-anim-underline {
    width: 169.39px;
}

.carousel .carousel-inner {
    width: 100%;
    height: 100%;
}

.active .carousel-item-background {
    opacity: 1;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
}

.my-feature-button-container {
    -webkit-animation: buttonEntrance 0.6s ease;
    -webkit-animation-iteration-count: 1;
    animation: buttonEntrance 0.6s ease;
    animation-iteration-count: 1;
    text-align: center;
    position: absolute;
    z-index: 3;
    width: 170px;
    height: 45px;
    margin-left: -85px;
    margin-top: 10px;
    left: 50%;
    top: 50%
}

.my-feature-button {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 6px 14px;
    border-radius: 8px;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
    border: solid 3px transparent;
    -webkit-box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2);
    border-collapse: collapse;
    display: inline-block;
}

.my-feature-button>span {
    color: #fff;
    font-family: "Montserrat-Medium";
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.my-copyright {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 16px;
    text-align: center;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2px 10px;
    border-radius: 8px;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
    border: solid 3px transparent;
    z-index: 1;
    vertical-align: middle;
}

.my-feature-container .feature-click:hover .my-buttons,
.my-container .my-buttons:hover {
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
    background: rgba(255, 255, 255, 0.3);
    border: solid 3px rgba(255, 255, 255, 0.3);
}

.my-feature-title {
    -webkit-animation: titleEntrance 0.6s ease;
    -webkit-animation-iteration-count: 1;
    animation: titleEntrance 0.6s ease;
    animation-iteration-count: 1;
    position: absolute;
    z-index: 3;
    width: 600px;
    margin-left: -300px;
    margin-top: -60px;
    left: 50%;
    top: 50%;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
}

.my-feature-title>span {
    font-family: Montserrat-Bold;
    color: #fff;
    letter-spacing: 0.1em;
    line-height: 1;
    font-size: 60px;
}

.my-feature-title-shadow {
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.my-logo-text {
    background: url(../img/carousel/misc/logo.png) no-repeat center;
    background-size: contain;
    z-index: 1;
    width: 480px;
    height: 65px;
    position: absolute;
    top: calc(50% - 32.5px)
}

.my-logo-icon {
    background: url(../img/carousel/misc/icon.png) no-repeat center;
    background-size: contain;
    z-index: 1;
    width: 480px;
    height: 480px;
    position: absolute;
}

.feature-click-contact a {
    text-decoration: none;
}

.carousel .carousel-inner .carousel-item.carousel-item-left,
.carousel .carousel-inner .carousel-item.carousel-item-right {
    z-index: auto;
    opacity: 1;
    -webkit-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
}

.my-feature-container .carousel-item-background-1 {
    -webkit-animation: fadeIn 0.6s ease;
    -webkit-animation-iteration-count: 1;
    animation: fadeIn 0.6s ease;
    animation-iteration-count: 1;
}

.my-link-about {
    -webkit-animation: topLinkEntrance 0.6s ease;
    -webkit-animation-iteration-count: 1;
    animation: topLinkEntrance 0.6s ease;
    animation-iteration-count: 1;
}

.my-link-works {
    -webkit-animation: bottomLinkEntrance 0.6s ease;
    -webkit-animation-iteration-count: 1;
    animation: bottomLinkEntrance 0.6s ease;
    animation-iteration-count: 1;
}

.my-feature-title>.branding-alt-color {
    color: #54ffe5;
}

.my-feature-container {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
    height: 100%;
}

.my-feature-container .feature-click {
    cursor: pointer;
}

.my-feature-container .feature-click:hover~.carousel-item-background .con-wave-circle {
    transform: translateY(-50%) translateX(-50%) scale(1.1);
    opacity: 0.75;
}

.my-feature-container .feature-click:hover~.carousel-item-background-2,
.my-feature-container .feature-click:hover~.carousel-item-background-3 {
    transform: scale(1.1);
}

.my-feature-container .feature-click:hover~.window-img-vignette {
    background: rgba(0, 0, 0, 0.4);
}

.overlay-con {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    transition: 0.5s ease;
    opacity: 0;
    transform: scale(0);
}

.overlay-con.overlay-active {
    opacity: 1;
    transform: scale(1);
}

#overlay-con-about .overlay-con-content {
    position: absolute;
    color: #000;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 100%;
}

#overlay-con-works .overlay-con-content {
    color: #000;
    margin-top: 24px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 24px;
}

#overlay-con-works .overlay-in-con {
    position: relative;
    margin: 0 auto;
}

.overlay-con.overlay-active .overlay-con-close {
    color: #888;
    display: inline-flex;
    -webkit-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    transition: 0.5s ease;
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 60px;
    z-index: 2;
    line-height: 0.5;
    border: 3px solid transparent;
    cursor: pointer;
    border-radius: 50%;
    width: 41px;
    height: 41px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.overlay-con-close span {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
}

.overlay-con.overlay-active .overlay-con-close:hover,
.overlay-con.overlay-active .overlay-con-close:focus {
    color: #0067a3;
    border: 3px solid #0067a3;
    background-color: #fff;
    transform: scale(0.9);
}

.intro-text {
    padding: 16px 16px 0 16px;
}

.intro-text p {
    font-size: 18px;
}

.orbit-container,
.intro-text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: 300px;
    opacity: 0;
}

.overlay-con.overlay-active .orbit-container,
.overlay-con.overlay-active .intro-text {
    -webkit-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    transition: 0.5s ease;
    -webkit-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    transition-delay: 0.5s;
    opacity: 1;
}

.overlay-con.overlay-active .intro-text {
    -webkit-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    transition-delay: 0.5s;
}

.overlay-con.overlay-active .orbit-container {
    -webkit-transition-delay: 0.7s;
    -o-transition-delay: 0.7s;
    transition-delay: 0.7s;
}

.intro-img {
    position: absolute;
    width: 200px;
    height: 200px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: calc(50% - 100px);
    background-image: url(../img/about-img.jpg);
    background-size: cover;
    border-radius: 50%;
    border: 10px solid #fff;
    box-shadow: 0 0px 16px 0 rgba(0, 0, 0, 0.25);
}

.orbit-ig,
.orbit-git,
.orbit-twitter,
.orbit-dashed {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    height: 200px;
    top: 50%;
    border-radius: 50%;
    margin-top: -100px;
    animation: rotations 15s linear infinite;
}

.orbit-ig.pause-orbit,
.orbit-git.pause-orbit,
.orbit-twitter.pause-orbit,
.orbit-dashed.pause-orbit {
    animation-play-state: paused;
}

.orbit-dashed {
    border: 2px #4A437F dashed;
    z-index: 2;
}

.orbit-ig:before,
.orbit-git:before,
.orbit-twitter:before {
    position: absolute;
    content: '';
    display: block;
    height: 48px;
    width: 48px;
    animation: inherit;
    animation-direction: reverse;
    border-radius: 50%;
    background-size: cover;
}

.orbit-ig:before {
    background-image: url(../img/social-media/instagram.png);
    bottom: 0;
    left: -36px;
    cursor: pointer;
}

.orbit-git:before {
    background-image: url(../img/social-media/git.png);
    bottom: 0;
    right: -36px;
    cursor: pointer;
}

.orbit-twitter:before {
    background-image: url(../img/social-media/twitter.png);
    top: 0;
    margin-top: -60px;
    left: 50%;
    margin-left: -24px;
    cursor: pointer;
}

.works-division {
    font-family: Montserrat-Bold;
    margin-bottom: 36px;
}

.works-division:first-of-type~.works-division {
    margin-top: 36px;
}

.image-mosaic {
    display: grid;
    gap: 1rem;
    /* grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); */
    grid-template-columns: repeat(auto-fit, 240px);
    grid-auto-rows: 240px;
    -webkit-transition: 0.1s ease;
    -o-transition: 0.1s ease;
    transition: 0.1s ease;
    justify-content: center;
}

.works-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.3);
    height: 100%;
    width: 100%;
    border-radius: 12px;
    padding: 0;
    margin: 0;
    position: relative;
    cursor: pointer;
    opacity: 0;
}

.works-card .works-card-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 12px;
    -webkit-transition: 0.1s ease;
    -o-transition: 0.1s ease;
    transition: 0.1s ease;
}

.works-card-text {
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    position: absolute;
    z-index: 1;
    padding: 24px;
    opacity: 0;
    border-radius: 12px;
    overflow: hidden;
    -webkit-transition: 0.1s ease;
    -o-transition: 0.1s ease;
    transition: 0.1s ease;
    background-color: rgba(0, 0, 0, .80);
    backdrop-filter: blur(8px);
    color: #fff;
    opacity: 0;
}

.works-card:hover .works-card-text {
    opacity: 1;
}

.works-card:hover .works-card-img {
    width: calc(100% - 8px);
    height: calc(100% - 8px);
}

/*
.works-card:hover::before {
    opacity: 0;
}

.works-card::before {
    content: "";
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
}


.works-card::before {
    position: absolute;
    content: '';
    display: block;
    height: 40px;
    width: 40px;
    bottom: 0;
    left: 0px;
    cursor: pointer;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.9);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0 10px 0 10px;
    opacity: 1;
    -webkit-transition: 0.1s ease;
    -o-transition: 0.1s ease;
    transition: 0.1s ease;
}

.works-card.works-card-photography::before {
    background-image: url(../img/category-icons/photo-camera-svgrepo-com.svg);
}

.works-card.works-card-website::before {
    background-image: url(../img/category-icons/world-wide-web-svgrepo-com.svg);
}


.works-card .works-type-icon {
    position: absolute;
    content: '';
    display: block;
    height: 40px;
    width: 48px;
    bottom: 4px;
    right: 4px;
    cursor: pointer;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.80);
    border-radius: 12px 0 12px 0;
    opacity: 1;
    -webkit-transition: 0.1s ease;
    -o-transition: 0.1s ease;
    transition: 0.1s ease;
    -webkit-box-shadow: 0 0 16px 0 rgb(0 0 0 / 30%);
    box-shadow: 0 0 16px 0 rgb(0 0 0 / 30%);
}

.works-card:hover .works-type-icon {
    opacity: 0;
}
*/

.works-type-icon span {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 32px;
    color: #000;
}

.works-desc {
    margin-top: 12px;
}

.overlay-con.overlay-active .works-card {
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
    opacity: 1;
}

.works-card.works-card-fillers {
    visibility: hidden;
}

.works-title span {
    display: block;
    font-family: 'Montserrat-Bold';
    font-size: 16px;
}

.works-desc span {
    display: block;
    font-size: 14px;
}

@media only screen and (max-width: 600px), only screen and (max-height: 600px) {
    .my-feature-title.my-feature-title-shadow span {
        font-size: 24px;
    }

    .my-feature-button {
        padding: 2px 6px;
    }

    .my-feature-button>span {
        font-size: 14px;
    }

    canvas.wave-circle {
        transform: scale(0.5);
    }

    .my-feature-title {
        margin-top: -30px
    }

    .my-feature-button-container {
        margin-top: 0;
    }

    .carousel .carousel-control-prev>img,
    .carousel .carousel-control-next>img {
        width: 2em;
        height: 2em;
    }

    @keyframes titleEntrance {
        from {
            opacity: 0;
            margin-top: -100px;
        }

        to {
            opacity: 1;
            margin-top: -30px;
        }
    }

    @keyframes buttonEntrance {
        from {
            margin-top: 50px;
        }

        to {
            margin-top: 0;
        }
    }

    .my-link-about,
    .my-link-works {
        font-size: 18px;
    }

    .my-copyright {
        bottom: 18.5px;
        right: 12px;
        font-size: 12px;
    }
}

.custom-close {
  position: absolute;
  top: -20px;
  right: -20px;
  background: rgba(0,0,0,0.7);   /* dark circle background */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: transform 0.2s ease-in-out;
}

/* Force the × icon to be white */
.custom-close span {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
}

/* Keep it visible on hover */
.custom-close:hover {
  transform: scale(1.1);
  background: rgba(0,0,0,0.9);   /* slightly darker circle */
}

.custom-close:hover span {
  color: #fff; /* stays white even on hover */
}

button.close.custom-close {
    background: rgba(0, 0, 0, .6)
}