::-webkit-scrollbar {
    width: 0px;
}


body {
    position: relative;
    height: var(--window-height);
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
    -o-transition: all 2s linear;
    -moz-transition: all 2s linear;
    -webkit-transition: all 2s linear;
    background-image: radial-gradient(circle at var(--planet-x) var(--planet-y), #120801, #160500, #190204, #19000c, #160014, #120116, #0e0218, #080319, #070316, #060213, #05020f, #04020b);
    transition: background-image 2s linear;
    transition-delay: 1s;
}
body::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/statics/images/space-texture.webp);
    background-size: cover;
    background-repeat: repeat;
    z-index: -1;
    opacity: 0.05;
}

body.change-bg {
    transition-delay: 1s;
    background-image: linear-gradient(to bottom, #080319, #09031b, #0a031e, #0b0420, #0c0423, #150524, #1c0624, #230623, #2e071d, #360a16, #3a100e, #3b1904);
}

p {
    font-weight: 400;
    line-height: 2;
}

h1,
h2,
p {
    max-width: 60ch;
}

ul {
    list-style: none;
}

.stars-group {
    -o-transition: opacity 1s ease, margin 2.5s ease;
    -moz-transition: opacity 1s ease, margin 2.5s ease;
    -webkit-transition: opacity 1s ease, margin 2.5s ease;
    transition: opacity 1s ease, margin 2.5s ease;
    margin: 0 0 0 0;
}

#stars.slide {
    opacity: 0.5;
    margin: 0 0 0 -100px;

}

#stars2.slide {
    opacity: 0.3;
    margin: 0 0 0 -150px;

}

#stars3.slide {
    opacity: 0.4;
    margin: 0 0 0 -250px;
}

.container {
    height: 100%;
    position: relative;
    transition: all 0.8s ease;
    z-index: 10;
  }
  
.section-slide {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    overflow: hidden;
}

.flex {
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.nav-guide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(1, 1, 0, 0.8);
    z-index: 111111;
}

.nav-guide p {
    font-size: var(--h1-fs);
    font-weight: 300;
    text-align: center;
}

.nav-guide button {
    font-size: var(--p-bigger);
    color: white;
    padding: 1rem 3rem;
    border: 1px solid white;
    border-radius: 2rem;
}

.nav-guide ul {
    display: flex;
    width: max-content;
    height: max-content;
    margin: 2rem auto;
}

.nav-guide ul li {
    width: clamp(2.5rem, 4vw, 8rem);
    aspect-ratio: 1 / 1;
    margin: 0 1rem;
}

.sections-links {
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: space-evenly;
    position: fixed;
    left: 0;
    top: 50%;
    width: 5%;
    height: 25%;
    transform: translateY(-20%);
    max-height: 180px;
    list-style: none;
    z-index: 121;
}

.sections-links li {
    display: block;
    height: auto;
    width: 70%;
    padding: 0.3rem;
    -o-transition:  all 0.3s ease;
    -moz-transition:  all 0.3s ease;
    -webkit-transition:  all 0.3s ease;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.section-link {
    display: block;
    width: 100%;
    max-width: 1rem;
    aspect-ratio: 1/1;
    backdrop-filter: blur(2px);
    background-color: #ffffff1f;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.section-link.active {
    background-color: white;
}

body #header {
    backdrop-filter: blur(0px);
}

.magnetic,
.magnetic span {
    will-change: transform;
    -o-transition: transform 0.23s linear;
    -moz-transition: transform 0.23s linear;
    -webkit-transition: transform 0.23s linear;
    transition: transform 0.23s linear;
}

.magnetic span {
    display: block;
    pointer-events: none;
}

#scroll-down {
    position: absolute;
    bottom: 5%;
    left: 50%;
    aspect-ratio: 1 / 1;
    height: var(--h1-fs);
    font-weight: 300;
    -o-transform: translate(-50%, 100%);
    -ms-transform: translate(-50%, 100%);
    -moz-transform: translate(-50%, 100%);
    -webkit-transform: translate(-50%, 100%);
    transform: translate(-50%, 100%);
    -o-transition: all 1.2s var(--fast-slow-trans) 0.5s;
    -moz-transition: all 1.2s var(--fast-slow-trans) 0.5s;
    -webkit-transition: all 1.2s var(--fast-slow-trans) 0.5s;
    transition: all 1.2s var(--fast-slow-trans) 0.5s;
    cursor: pointer;
    opacity: 0;
    z-index: 1;
}

#scroll-down.fade-in {
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    opacity: 1;
    -o-transition-delay: 1.8s;
    -moz-transition-delay: 1.8s;
    -webkit-transition-delay: 1.8s;
    transition-delay: 1.8s;
}

#scroll-down.idle {
    opacity: 0;
    -o-transition: all 0.3s ease 0.2s;
    -moz-transition: all 0.3s ease 0.2s;
    -webkit-transition: all 0.3s ease 0.2s;
    transition: all 0.3s ease 0.2s;
}


/* HOME */

#section-1 {
    position: relative;
    width: 100vw;
    height: var(--window-height);
    background-color: transparent;
    overflow: hidden;
    z-index: 111;
}

#section-1:focus {
    outline: none;
}

.intro-container {
    position: absolute;
    top: 50%;
    left: 10%;
    height: max-content;
    width: max-content;
    margin: auto auto auto 0;
    flex-direction: column;
    align-items: flex-start;
    -o-transform: translate(0, -30%);
    -ms-transform: translate(0, -30%);
    -moz-transform: translate(0, -30%);
    -webkit-transform: translate(0, -30%);
    transform: translate(0, -30%);
}

.intro-container.idle {
    transform: translate(-7%, -30%);
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 0;
}

.intro-container.active {
    transform: translate(0, -30%);
    transition: transform 1s cubic-bezier(.7, 0, .2, 1), opacity 0.3s ease;
    transition-delay: 2s;
    opacity: 1;
}

.group1 {
    font-size: calc(var(--font-size-xxl) + 1vw);
    color: white;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: var(--white-space-8);
}

.group1 > span:first-of-type {
    font-size: var(--font-size-xl);
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
}

.group1 > span:last-of-type {
    font-weight: 500;
}

.group2 {
    font-size: var(--font-size-lg);
    font-weight: 300;
    max-width: 23ch;
    line-height: 1.6;
}

.words-group {
    overflow: hidden;
}

.group1,
.group2 {
    display: block;
    -o-transform:  translateY(500px) rotate(30deg);
    -ms-transform:  translateY(500px) rotate(30deg);
    -moz-transform:  translateY(500px) rotate(30deg);
    -webkit-transform:  translateY(500px) rotate(30deg);
    transform: translateY(500px) rotate(30deg);

    -o-transition: all 1.8s var(--fast-slow-trans);
    -moz-transition: all 1.8s var(--fast-slow-trans);
    -webkit-transition: all 1.8s var(--fast-slow-trans);
    transition: all 1.8s var(--fast-slow-trans);
}

.intro-container.fade-in .group1,
.intro-container.fade-in .group2 {
    -o-transform: translateY(0) rotate(0deg);
    -ms-transform: translateY(0) rotate(0deg);
    -moz-transform: translateY(0) rotate(0deg);
    -webkit-transform: translateY(0) rotate(0deg);
    transform: translateY(0) rotate(0);
}

.intro-container.active .group1,
.intro-container.active .group2 {
    transition-delay: 2s;
}


.planet {
    height: 50vh;
    aspect-ratio: 1 / 1;
    position: fixed;
    top: 36%;
    right: 10%;
    z-index: 10;
    -o-transform: scale(0);
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0);
}

.planet > svg #crates1,
.planet > svg #crates2 {
    opacity: 0;
    transition: all 0.3s ease;
    transition-delay: 1s;
}


.planet:not(.initial) > svg #crates1,
.planet:not(.initial) > svg #crates2 {
    opacity: 1;
}


.planet.fade-in {
    -o-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);

    -o-transition: all 1s ease 0.2s;
    -moz-transition: all 1s ease 0.2s;
    -webkit-transition: all 1s ease 0.2s;
    transition: all 1s ease 0.2s;
}

.mars-objects {
    opacity: 0;
    -o-transition: opacity 2s ease-out;
    -moz-transition: opacity 2s ease-out;
    -webkit-transition: opacity 2s ease-out;
    transition: opacity 2s ease-out;
}

.planet.move-to-about {
    -o-transform: scale(12.5) translate(calc(45vw / -12.5 + 5.5%), 48%) rotate(-5deg);
    -ms-transform: scale(12.5) translate(calc(45vw / -12.5 + 5.5%), 48%) rotate(-5deg);
    -moz-transform: scale(12.5) translate(calc(45vw / -12.5 + 5.5%), 48%) rotate(-5deg);
    -webkit-transform: scale(12.5) translate(calc(45vw / -12.5 + 5.5%), 48%) rotate(-5deg);
    transform: scale(12.5) translate(calc(45vw / -12.5 + 5.5%), 48%) rotate(-5deg);

    -o-transition: all 2.5s cubic-bezier(0.51, 0.05, 0.27, 0.72);
    -moz-transition: all 2.5s cubic-bezier(0.51, 0.05, 0.27, 0.72);
    -webkit-transition: all 2.5s cubic-bezier(0.51, 0.05, 0.27, 0.72);
    transition: all 2.5s cubic-bezier(0.51, 0.05, 0.27, 0.72);
}

.planet.move-to-about .mars-objects {
    opacity: 1;
}

.planet.initial {
    -o-transform: scale(1) translate(0%, 0%) rotate(0deg);
    -ms-transform: scale(1) translate(0%, 0%) rotate(0deg);
    -moz-transform: scale(1) translate(0%, 0%) rotate(0deg);
    -webkit-transform: scale(1) translate(0%, 0%) rotate(0deg);
    transform: scale(1) translate(0%, 0%) rotate(0deg);

    -o-transition: all 2.5s cubic-bezier(0.51, 0.05, 0.28, 0.93);
    -moz-transition: all 2.5s cubic-bezier(0.51, 0.05, 0.28, 0.93);
    -webkit-transition: all 2.5s cubic-bezier(0.51, 0.05, 0.28, 0.93);
    transition: all 2.5s cubic-bezier(0.51, 0.05, 0.28, 0.93);
}


.planet.move-to-contact {
    -o-transform: scale(12.5) translate(calc(45vw / -12.5 + 8.5%), 49.5%) rotate(63deg);
    -ms-transform: scale(12.5) translate(calc(45vw / -12.5 + 8.5%), 49.5%) rotate(63deg);
    -moz-transform: scale(12.5) translate(calc(45vw / -12.5 + 8.5%), 49.5%) rotate(63deg);
    -webkit-transform: scale(12.5) translate(calc(45vw / -12.5 + 8.5%), 49.5%) rotate(63deg);
    transform: scale(12.5) translate(calc(45vw / -12.5 + 8.5%), 49.5%) rotate(63deg);
    -o-transition: all 2s ease;
    -moz-transition: all 2s ease;
    -webkit-transition: all 2s ease;
    transition: all 2s ease;
}


/* ABOUT */

#section-2 {
    position: relative;
    height: var(--window-height);
}


.about-container {
    flex-direction: column;
    width: 90%;
    height: 90%;
    margin: auto;
    max-width: 1800px;
    text-align: center;
    z-index: 111;
}

#hala-home {
    display: block;
    color: white;
    font-size: var(--font-size-base);
    font-family: 'Orbitron', sans-serif;
    text-transform: capitalize;
    font-weight: 500;
    -o-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);

    -o-transition: all 0.7s ease-out;
    -moz-transition: all 0.7s ease-out;
    -webkit-transition: all 0.7s ease-out;
    transition: all 0.7s ease-out;
    opacity: 0;
}

#hala-home.fade-in {
    -o-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;

    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

#hala-home.idle {
    -o-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);

    -o-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    opacity: 0;
}

#short-bio {
    display: block;
    color: white;
    font-size: var(--font-size-md);
    font-weight: 300;
    margin: clamp(1rem, 4vh, 3rem) 0;
}

#short-bio > div:nth-of-type(1) > span {
    font-family: orbitron;
}

#short-bio.idle {
    -o-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    opacity: 0;
}

#short.active {
    opacity: 1;
}


.bio-span1 {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--p-bigger);
    text-transform: uppercase;
    font-weight: 600;
}

.bio-span2 {
    font-family: 'Festive', cursive;
    font-size: var(--p-medium);
}

#about-btn {
    margin-top: 0;
    animation-delay: 1s;
}

#about-btn.idle {
    animation: about-btn-idle 0.25s ease;
}

@keyframes about-btn-idele {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* SERVICES */

#section-3 {
    position: relative;
    width: 100vw;
    height: var(--window-height);
    background: var(--prime-color);
    text-transform: capitalize;
    -o-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
    transition: all 1s ease-out;
    overflow: visible;
}

.services-container {
    position: relative;
    max-width: 1800px;
    margin: auto;
    height: 90%;
    width: 85%;
    z-index: 1;
}

.services-container::before,
.services-container::after {
    position: absolute;
    content: "";
    left: 50%;
    display: block;
    height: 100%;
    width: 200%;
    background: var(--prime-color);
    border-radius: 50%;
    -o-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    -moz-transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);

    -o-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    z-index: -1;
}

#section-3.active .services-container::before {
    -o-transform: translate(-50%, -17%);
    -ms-transform: translate(-50%, -17%);
    -moz-transform: translate(-50%, -17%);
    -webkit-transform: translate(-50%, -17%);
    transform: translate(-50%, -17%);
}

#section-3.active .services-container::after {
    -o-transform: translate(-50%, 17%);
    -ms-transform: translate(-50%, 17%);
    -moz-transform: translate(-50%, 17%);
    -webkit-transform: translate(-50%, 17%);
    transform: translate(-50%, 17%);
}

#section-3.idle .services-container::before {
    -o-animation: services_before 1.5s cubic-bezier(.7, 0, .2, 1);
    -moz-animation: services_before 1.5s cubic-bezier(.7, 0, .2, 1);
    -webkit-animation: services_before 1.5s cubic-bezier(.7, 0, .2, 1);
    animation: services_before 1.5s cubic-bezier(.7, 0, .2, 1);
}

#section-3.idle .services-container::after {
    -o-animation: services_after 1.5s cubic-bezier(.7, 0, .2, 1);
    -moz-animation: services_after 1.5s cubic-bezier(.7, 0, .2, 1);
    -webkit-animation: services_after 1.5s cubic-bezier(.7, 0, .2, 1);
    animation: services_after 1.5s cubic-bezier(.7, 0, .2, 1);
}

@-o-keyframes services_before {
    0% {
        -o-transform: translate(-50%, -25%);
        transform: translate(-50%, -25%);
    }
    100% {
        -o-transform: translate(-50%, 0%);
        transform: translate(-50%, 0%);
    }
}

@-moz-keyframes services_before {
    0% {
        -moz-transform: translate(-50%, -25%);
        transform: translate(-50%, -25%);
    }
    100% {
        -moz-transform: translate(-50%, 0%);
        transform: translate(-50%, 0%);
    }
}

@-webkit-keyframes services_before {
    0% {
        -webkit-transform: translate(-50%, -25%);
        transform: translate(-50%, -25%);
    }
    100% {
        -webkit-transform: translate(-50%, 0%);
        transform: translate(-50%, 0%);
    }
}

@keyframes services_before {
    0% {
        transform: translate(-50%, -25%);
    }
    100% {
        transform: translate(-50%, 0%);
    }
}


@-o-keyframes services_after {
    0% {
        -o-transform: translate(-50%, 20%);
        transform: translate(-50%, 20%);
    }
    100% {
        -o-transform: translate(-50%, 0%);
        transform: translate(-50%, 0%);
    }
}
@-moz-keyframes services_after {
    0% {
        -moz-transform: translate(-50%, 20%);
        transform: translate(-50%, 20%);
    }
    100% {
        -moz-transform: translate(-50%, 0%);
        transform: translate(-50%, 0%);
    }
}
@-webkit-keyframes services_after {
    0% {
        -webkit-transform: translate(-50%, 20%);
        transform: translate(-50%, 20%);
    }
    100% {
        -webkit-transform: translate(-50%, 0%);
        transform: translate(-50%, 0%);
    }
}
@keyframes services_after {
    0% {
        transform: translate(-50%, 20%);
    }
    100% {
        transform: translate(-50%, 0%);
    }
}

.service-intro {
    position: absolute;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: var(--font-size-xxl);
    font-weight: 400;
    left: 50%;
    top: 50%;
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#section-3 .services-container .slide-out-text > span > span {
    -o-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
}

#section-3 .services-container.fade-in .slide-out-text > span > span {
    -o-animation: IntroAnim 2.5s var(--fast-slow-trans);
    -moz-animation: IntroAnim 2.5s var(--fast-slow-trans);
    -webkit-animation: IntroAnim 2.5s var(--fast-slow-trans);
    animation: IntroAnim 2.5s var(--fast-slow-trans);
}

@keyframes IntroAnim {
    0% {
        transform: translateY(100%);
        opacity: 0.1;
    }
    12.5% {
        opacity: 0.5;
    }
    25% {
        opacity: 1;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    87.5% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0.1;
    }
}

@-o-keyframes IntroAnim {
    0% {
        -o-transform: translateY(100%);
        transform: translateY(100%);
        opacity: 0.1;
    }
    12.5% {
        opacity: 0.5;
    }
    25% {
        opacity: 1;
    }
    50% {
        -o-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    87.5% {
        opacity: 0.5;
    }
    100% {
        -o-transform: translateY(-100%);
        transform: translateY(-100%);
        opacity: 0.1;
    }
}

@-moz-keyframes IntroAnim {
    0% {
        -moz-transform: translateY(100%);
        transform: translateY(100%);
        opacity: 0.1;
    }
    12.5% {
        opacity: 0.5;
    }
    25% {
        opacity: 1;
    }
    50% {
        -moz-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    87.5% {
        opacity: 0.5;
    }
    100% {
        -moz-transform: translateY(-100%);
        transform: translateY(-100%);
        opacity: 0.1;
    }
}

@-webkit-keyframes IntroAnim {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
        opacity: 0.1;
    }
    12.5% {
        opacity: 0.5;
    }
    25% {
        opacity: 1;
    }
    50% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    87.5% {
        opacity: 0.5;
    }
    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        opacity: 0.1;
    }
}


.service-item {
    position: relative;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 70%;
    width: 33%;
    color: white;
    border-radius: 2rem;
    padding: var(--white-space-24);
    overflow: hidden;

    -o-transform: translateY(20%);
    -ms-transform: translateY(20%);
    -moz-transform: translateY(20%);
    -webkit-transform: translateY(20%);
    transform: translateY(20%);
    
    -o-transition: transform 1s var(--fast-slow-trans),
                    opacity 0.7s var(--fast-slow-trans);
    -moz-transition: transform 1s var(--fast-slow-trans),
                    opacity 0.7s var(--fast-slow-trans);
    -webkit-transition: transform 1s var(--fast-slow-trans),
                        opacity 0.7s var(--fast-slow-trans);
    transition: transform 1s var(--fast-slow-trans),
                opacity 0.7s var(--fast-slow-trans);
    opacity: 0;
}

.service-item:nth-of-type(2) {
    margin: 0 var(--white-space-16);
}

.services-container.fade-in .service-item {
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);

    -o-transition-delay: 2s;
    -moz-transition-delay: 2s;
    -webkit-transition-delay: 2s;
    transition-delay: 2s;
    opacity: 1;
}


.service-item:nth-of-type(1){
    background: radial-gradient(circle at top right, #3b1904, #3a100e, #360a16, #2e071d, #230623, #1c0624, #150524, #0c0423, #0b0420, #0a031e, #09031b, #080319);
}

.service-item:nth-of-type(2){
    background: radial-gradient(ellipse at top, #3b1904, #3a100e, #360a16, #2e071d, #230623, #1c0624, #150524, #0c0423, #0b0420, #0a031e, #09031b, #080319);
    background-size: 700%;
    background-position: center;
}

.service-item:nth-of-type(3){
    background: radial-gradient(circle at top left, #3b1904, #3a100e, #360a16, #2e071d, #230623, #1c0624, #150524, #0c0423, #0b0420, #0a031e, #09031b, #080319);;
}

.service-item h4 {
    font-size: var(--font-size-md);
    font-weight: 400;
}

.service-item a {
    position: relative;
    font-size: calc(var(--font-size-base) * 0.8);
    font-weight: 400;
    color: white;
    border-radius: 3rem;
}

.service-item a span {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    height: 70%;
    aspect-ratio: 1 / 1;
    -o-transform: translate( 170%, -50%);
    -ms-transform: translate( 170%, -50%);
    -moz-transform: translate( 170%, -50%);
    -webkit-transform: translate( 170%, -50%);
    transform: translate( 170%, -50%);
}

.service-item a span svg path {
    stroke-width: 70px;
}

.service-svg {
    display: block;
    width: 95%;
    aspect-ratio: 1 / 1;
    position: absolute;
    bottom: 50%;
    left: 64%;
    -o-transform: translate(-36%, 50%);
    -ms-transform: translate(-36%, 50%);
    -moz-transform: translate(-36%, 50%);
    -webkit-transform: translate(-36%, 50%);
    transform: translate(-36%, 50%);
    z-index: -1;
}

#service-svg3 {
    left: 73%;
    bottom: 40%;
    -o-transform: translate(-53%, 58%);
    -ms-transform: translate(-53%, 58%);
    -moz-transform: translate(-53%, 58%);
    -webkit-transform: translate(-53%, 58%);
    transform: translate(-53%, 58%);
    width: 95%;
}

#service-svg2 img {
    width: 100%;
    height: 100%;
}

#service-svg3 img {
    height: 61%;
    aspect-ratio: 2 / 1;
}

/* CONTACT */

#section-4 {
    position: relative;
    width: 100vw;
    height: var(--window-height);
    z-index: 11;
    overflow: hidden;
}

.contact-container {
    width: 90%;
    max-width: 2000px;
    justify-content: center;
    margin: auto;
    text-align: center;
    text-transform: capitalize;
    font-size: 1rem;
}

.side1 {
    flex-direction: column;
    align-items: flex-start;
    width: 70%;
    height: 90%;
    margin: 0 3rem auto 0;
}

#section-4 .talk-slider {
    width: 95%;
    top: 0%;
    left: 0%;
    -o-transform: translate(0%, 0%);
    -ms-transform: translate(0%, 0%);
    -moz-transform: translate(0%, 0%);
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
}

.side2 {
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    height: 90%;
    margin: auto 0 var(--white-space-24) 0;
}

.reach-methds {
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: flex-start;
    height: max-content;
    width: max-content;
    margin: 0 auto;
}

.reach-methds a,
.reach-methds span {
    color: white;
    font-size: var(--font-size-base);
    font-weight: 400;
    margin-top: var(--white-space-4);
}

.methods a span.gradiant-font,
.methods span span.gradiant-font {
    font-weight: 500;
}

.socials-links a {
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: 1px solid var(--btn-border-clr);
    border-radius: 50%;
}

a.contact-btn {
    width: 90%;
    max-width: 38ch;
}

/*/ Landscape Styles for Small Screens /*/

@media screen and (max-width: 920px) {
    .services-container {
        width: 95%;
    }
    .service-item:nth-of-type(2){
        margin: 0 2rem;
    }
}

/*/ PORTRAITE MODE STYLES (GENERAL) /*/

@media screen and (orientation: portrait){
    /* HOME & PLANET */
    .sections-links {
        display: none;
    }

    .intro-container {
        width: 90%;
        left: 50%;
        top: 80%;
        -o-transform: translate(-50%, -80%);
        -ms-transform: translate(-50%, -80%);
        -moz-transform: translate(-50%, -80%);
        -webkit-transform: translate(-50%, -80%);
        transform: translate(-50%, -80%);
    }

    .intro-container.idle {
        -o-transform: translate(-57%, -80%);
        -ms-transform: translate(-57%, -80%);
        -moz-transform: translate(-57%, -80%);
        -webkit-transform: translate(-57%, -80%);
        transform: translate(-57%, -80%);
    }

    .intro-container.active {
        -o-transform: translate(-50%, -80%);
        -ms-transform: translate(-50%, -80%);
        -moz-transform: translate(-50%, -80%);
        -webkit-transform: translate(-50%, -80%);
        transform: translate(-50%, -80%);
    }

    .group1 {
        font-size: calc(var(--font-size-xxxl) + 1vw);
    }

    .planet.move-to-about {
        -o-transform: scale(7.5) translate(calc(35vw / -7.5 + 4%), 64%) rotate(-5deg);
        -ms-transform: scale(7.5) translate(calc(35vw / -7.5 + 4%), 64%) rotate(-5deg);
        -moz-transform: scale(7.5) translate(calc(35vw / -7.5 + 4%), 64%) rotate(-5deg);
        -webkit-transform: scale(7.5) translate(calc(35vw / -7.5 + 4%), 64%) rotate(-5deg);
        transform: scale(7.5) translate(calc(35vw / -7.5 + 4%), 64%) rotate(-5deg);
    }

    .planet,
    .planet.initial {
        top: 16%;
        right: 5%;
        height: 35vh;
        width: 35vh;
        -o-transform: translateX(50%);
        -ms-transform: translateX(50%);
        -moz-transform: translateX(50%);
        -webkit-transform: translateX(50%);
        transform: translateX(50%);
    }

    .planet.move-to-contact {
        -o-transform:scale(7.5) translate(calc(45vw / -7.5 + 9%), 66%) rotate(63deg);
        -ms-transform: scale(7.5) translate(calc(45vw / -7.5 + 9%), 66%) rotate(63deg);
        -moz-transform: scale(7.5) translate(calc(45vw / -7.5 + 9%), 66%) rotate(63deg);
        -webkit-transform: scale(7.5) translate(calc(45vw / -7.5 + 9%), 66%) rotate(63deg);
        transform: scale(7.5) translate(calc(45vw / -7.5 + 9%), 66%) rotate(63deg);
    }

    /* ABOUT SECTION */

    #about-btn::after {
        display: none;
    }

    /* SERVICES SECTION */

    .services-container {
        height: 95%;
        width: 90%;
        -ms-flex-direction: column;
        flex-direction: column;
        top: 52%;
        transform: translateY(-50%);
    }

    #services .services-container::before,
    #services .about-container::after {
        width: 300%;
    }

    .service-item {
        width: 95%;
        height: 28%;
        padding: 0 1.5rem;
        justify-content: space-around;
        -o-transform: translateY(25%);
        -ms-transform: translateY(25%);
        -moz-transform: translateY(25%);
        -webkit-transform: translateY(25%);
        transform: translateY(25%);
        border-radius: 1rem;
    }

    .service-item:nth-of-type(1),
    .service-item:nth-of-type(2),
    .service-item:nth-of-type(3){
        background: -o-linear-gradient(to top left, #080319, #09031b, #0a031e, #0b0420, #0c0423, #150524, #1c0624, #230623, #2e071d, #360a16, #3a100e, #3b1904);
        background: -moz-linear-gradient(to top left, #080319, #09031b, #0a031e, #0b0420, #0c0423, #150524, #1c0624, #230623, #2e071d, #360a16, #3a100e, #3b1904);
        background: -webkit-linear-gradient(to top left, #080319, #09031b, #0a031e, #0b0420, #0c0423, #150524, #1c0624, #230623, #2e071d, #360a16, #3a100e, #3b1904);
        background: linear-gradient(to top left, #080319, #09031b, #0a031e, #0b0420, #0c0423, #150524, #1c0624, #230623, #2e071d, #360a16, #3a100e, #3b1904);
    }

    .services-container.fade-in .service-item:nth-of-type(1){
        -o-transition-delay: 2s;
        -moz-transition-delay: 2s;
        -webkit-transition-delay: 2s;
        transition-delay: 2s;
    }

    .services-container.fade-in .service-item:nth-of-type(2){
        -o-transition-delay: 2.3s;
        -moz-transition-delay: 2.3s;
        -webkit-transition-delay: 2.3s;
        transition-delay: 2.3s;
        margin: 1rem 0;
    }

    .services-container.fade-in .service-item:nth-of-type(3){
        -o-transition-delay: 2.6s;
        -moz-transition-delay: 2.6s;
        -webkit-transition-delay: 2.6s;
        transition-delay: 2.6s;
    }

    .service-svg {
        width: 60%;
        left: 79%;
    }

    #service-svg3 {
        width: 65%;
        left: 86%;
        -o-transform: translate(-53%, 60%);
        -ms-transform: translate(-53%, 60%);
        -moz-transform: translate(-53%, 60%);
        -webkit-transform: translate(-53%, 60%);
        transform: translate(-53%, 60%);
    }


    /* CONTACT SECTION */

    .contact-container {
        height: 90%;
        width: 90%;
        -ms-flex-direction: column;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin: auto;
    }

    .side1 {
        height: 40%;
        width: 100%;
        align-items: center;
        margin: 0 auto 1rem auto;
    }

    .side2 {
        height: max-content;
        width: 90%;
        align-items: center;
        margin: 0 auto;
        margin-bottom: 15vh;
    }

    .reach-methds {
        margin: 0;
    }

    .reach-methds li:nth-of-type(2){
        margin: clamp(0.5rem, 2vh, 0.9rem) 0;
    }

    #contact a.contact-btn:link,
    #contact a.contact-btn:focus,
    #contact a.contact-btn:active,
    #contact a.contact-btn:visited {
        padding: 2vh clamp(1rem, 10ch, 25vw);
        min-width: max-content;
        margin: 2rem auto 0 auto;
    }

    .footer-social {
        margin: 0 var(--white-space-8);
    }
}

@media screen and (max-width: 500px){
    .group1 {
        font-size: var(--font-size-xxl);
    }
    .group1 > span:first-of-type {
        font-size: var(--font-size-md);
    }
    #scroll-down {
        bottom: 3%;
        height: var(--font-size-xl);
    }
}

/* Portrait Mode Styles (Tablets) */

@media screen and (min-width:650px) {
    #contact a.contact-btn:link,
    #contact a.contact-btn:focus,
    #contact a.contact-btn:active,
    #contact a.contact-btn:visited {
        margin: 4rem auto 0 auto;
    }
}

@media screen and (max-width:650px) {
    .home-nav-btns {
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .home-nav-btns .btn-wrapper {
        padding: 2vh 25vw;
    }
}