@import url('https://fonts.googleapis.com/css2?family=Poppins');
.floating {
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-left: 30px;
    margin-top: 5px;
}

.loader {
    border: 16px solid #3f3f52;
    border-top: 16px solid #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

.loading {
    background: #0d1927;
    position: fixed;
    width: 100%;
    z-index: 5;
    height: 100%;
    top: 0;
    left: 0;
}

.loader {
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }
    50% {
        transform: translate(0, 30px);
    }
    100% {
        transform: translate(0, -0px);
    }
}

@keyframes zoom-in {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        transform: scale(0.3, 0.3);
    }
    100% {
        opacity: 1;
        transform: scale(1, 1);
    }
}

@keyframes fade-left {
    0% {
        transform: translate(200px, 0px);
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

body {
    color: white;
    font-family: Poppins;
    background-color: #060d14;
    letter-spacing: 1px;
}

.go-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 4;
    cursor: pointer;
}

.go-top span {
    color: dodgerblue;
    font-size: 40px;
}

.go-top span:hover {
    color: rgb(110, 143, 235);
}

p {
    text-align: left;
    font-weight: 100;
}

#s2,
#s3,
#s4,
#s5 {
    width: 100%;
    text-align: center;
}

#s3,
#s5 {
    background-color: #101925;
    padding-top: 20px;
}

#s5 {
    padding-bottom: 20px;
}

#s2 div,
#s3 div,
#s4 div,
#s5 div {
    z-index: 1;
}

h1,
p {
    animation: fade 1s;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.548);
}

h1.title {
    position: relative;
    margin: 20px 0 20px 0;
    z-index: 3;
}

.nav-up {
    top: -40px;
}

.nav-down {
    top: 0px;
}

header {
    z-index: 4;
    position: sticky;
    top: 0;
    background-color: #09121db9;
    text-align: center;
    padding: 10px;
    transition: 0.5s;
    margin-top: -10px;
}

header a {
    cursor: pointer;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    margin-right: 20px;
    text-decoration: none;
    transition: 0.2s;
}

header a.passive:hover {
    color: #0085FF;
}

header a.active {
    color: #0085FF;
}

header a.passive {
    color: #9485F0;
}

.bg {
    width: 100%;
    margin-left: -80px;
    margin-top: -60px;
    height: 100%;
    overflow: show;
    z-index: -1;
}

.bg img {
    width: 110%;
    filter: brightness(0.7);
    object-fit: cover;
}

.hero div {
    width: 50%;
    text-align: center;
}

#layer1,
#layer2,
#layer3 {
    position: absolute;
    left: 0px;
    width: 100%;
    height: 30vh;
    /* object-fit: cover;
    object-position: 100% 50%; */
}

#layer1 {
    z-index: -5;
    top: 30vh;
}

#layer2 {
    z-index: -3;
    top: 40vh;
}

#layer3 {
    z-index: -1;
    top: 50vh;
}

.hero h1 {
    font-size: 80px;
    margin-top: 120px;
    z-index: -2;
}

.hero div img {
    margin-top: 80px;
    width: 80%;
    animation: floating 3s infinite;
}

.hero {
    display: flex;
    flex-direction: row;
}

.hero-foot {
    display: flex;
    flex-direction: row;
    padding: 50px;
    background: #0f0f2e;
    margin-top: -30px;
    z-index: 2;
}

.hero-foot div {
    width: 50%;
    text-align: center;
}

button {
    cursor: pointer;
    font-weight: 700;
    font-size: 30px;
    color: white;
    background: #49ac8e;
    box-shadow: 4px 8px 4px 2px rgba(38, 157, 183, 0.22);
    border-radius: 20px;
    border: none;
    padding: 30px;
    text-align: center;
    transition: 0.2s;
}

button:hover {
    background-color: rgb(41, 109, 109);
}

.hero-foot div p {
    color: #aaa;
}

.hero-foot div button {
    animation: fade-left 1s;
}

.flex {
    display: flex;
    flex-direction: row;
    margin-top: -50px;
    z-index: 1;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.inner {
    width: 100%;
}

.inner div {
    padding: 40px;
}

.inner div p {
    color: #aaa;
}

img.dev-circle {
    width: 60%;
}

.deep {
    background-color: #11142bbe;
}

.full {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.548);
}

.full p {
    padding: 30px;
    color: #aaa;
    background-color: #01030c86;
}

.triple div {
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.548);
    background-color: #08091dce;
    padding: 20px;
    margin: auto;
    margin-top: 60px;
    width: 240px;
    height: 260px;
    text-align: left;
}

.triple div h2 {
    margin-bottom: 40px;
}

.triple div button {
    position: absolute;
    bottom: 40px;
    left: 20px;
    font-size: 20px;
    padding: 20px;
}

.triple div p {
    color: #aaa;
}

.services {
    width: 70%;
    margin-left: 60px;
}

#s4 .flex {
    margin-top: 10px;
}

.cards div {
    z-index: 1;
    width: 300px;
    height: 220px;
    margin: 20px;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.548);
}

.cards div:hover {
    width: 320px;
    height: 220px;
}

.cards div h2 {
    position: absolute;
    top: 10px;
    left: 20px;
}

.cards div img:hover {
    filter: brightness(1);
}

.cards div img {
    filter: brightness(0.65);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.cards div p {
    color: #e9e9e9;
    font-size: 10px;
    position: absolute;
    width: 90%;
    bottom: 10px;
    left: 20px;
}

.cards div button {
    font-size: 14px;
    padding: 10px;
    position: absolute;
    border-radius: 5px;
    top: 80px;
    left: 20px;
}

.dev {
    width: 40%;
}

.dev img {
    width: 80%;
}

.dev p {
    color: #aaa;
    overflow: auto;
    text-align: center;
}

.dev button {
    padding: 15px;
    font-size: 25px;
    margin-bottom: 20px;
}

.contact {
    margin-top: 30px;
}

.contact div {
    padding: 0 40px 0 40px;
    text-align: left;
    width: 50%;
    /* margin-left: auto;
        margin-right: auto; */
}

.contact .first {
    border-right: 1px solid #494949;
}

.contact span,
.contact p {
    color: #aaa;
    width: 90%;
}

.contact a {
    color: #94BFFF;
    font-size: 20px;
}

.contact div textarea {
    width: 90%;
    height: 200px;
    border: none;
    resize: none;
    border-radius: 20px;
    padding: 10px;
}

button.message {
    font-size: 14px;
    padding: 10px;
    width: 92%;
}

button.start {
    font-size: 20px;
    padding: 20px;
}

#map {
    padding: 0;
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

#s5 {
    margin-bottom: 60px;
}

footer {
    background-color: #192134;
    padding: 20px;
}

footer div {
    margin: auto;
    width: 250px;
    height: 300px;
}

footer div span,
footer div a,
footer div p {
    color: #aaa;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    display: block;
    margin-top: 10px;
}

.socials {
    height: fit-content;
}

.socials span {
    font-size: 30px;
    color: dodgerblue;
    margin-right: 10px;
    cursor: pointer;
}

@media screen and (max-width: 1115px) {
    #layer1 {
        top: 15vh;
    }
    #layer2 {
        top: 25vh;
    }
    #layer3 {
        top: 35vh;
    }
    .s4-flex {
        flex-direction: column;
    }
    .services {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    .cards div {
        margin-right: 20px;
        margin-bottom: 20px;
    }
    .dev {
        width: 100%;
    }
    .dev img {
        width: 50%;
    }
}

@media screen and (max-width: 900px) {
    .full {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: -15px;
    }
    .triple {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }
    .triple div {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        height: fit-content;
    }
    .triple div button {
        position: relative;
        margin-top: 50px;
        margin-left: -20px;
    }
}

@media screen and (max-width: 768px) {
    #layer1,
    #layer2,
    #layer3 {
        object-fit: cover;
    }
    #layer1 {
        top: 10vh;
    }
    #layer2 {
        top: 20vh;
    }
    #layer3 {
        top: 30vh;
    }
    .contact div {
        width: 80%;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .contact div div {
        padding: 0;
    }
    .contact .first {
        padding-bottom: 20px;
        border: none;
        border-bottom: 1px solid #888686;
    }
    /* .contact div textarea,
        button.message {
            width: 80%;
            margin-left: auto;
            margin-right: auto;
    }
    */
    .cards div {
        margin: auto;
        margin-top: 20px;
    }
    .dev img {
        margin-top: 20px;
    }
    .hero,
    .hero-foot {
        flex-direction: column;
    }
    .hero div,
    .hero-foot div {
        margin-top: 10px;
        width: 100%;
    }
    .hero-foot div button,
    .inner button {
        font-size: 20px;
        padding: 20px;
    }
    .inner button {
        margin-top: -80px;
    }
    header a {
        font-size: 12px;
        margin-right: 10px;
    }
    .hero div h1 {
        font-size: 30px;
        margin-top: 30px;
    }
    .hero div img {
        width: 60%;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .hero-foot div p {
        font-size: 12px;
    }
    .hero-img-div {
        --ms-flex-order: 1;
    }
    h1.title {
        font-size: 25px;
    }
    .flex {
        flex-direction: column;
    }
    .inner {
        width: 100%;
    }
    img.dev-circle {
        width: 70%;
        margin-top: -60px;
        margin-bottom: -45px;
    }
}

@media screen and (max-width: 400px) {
    .hero div img,
    img.dev-circle,
    .dev img {
        width: 100%;
    }
}