* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
}

:root {
    --primary-color: black;
    --secondary-color: white;
    --font-primary: black;
    --font-secondary: #636568;
    --ff: "Google Sans Flex", sans-serif;
    --h1: bold 54px/64px var(--ff);
    --h2: bold 36px/36px var(--ff);
    --h3: bold 24px/30px var(--ff);
    --links: bold 18px/30px var(--ff);
    --p: 18px/30px var(--ff);
    --subtext: 12px/20px var(--ff);
    --transition: 0.3s ease-in-out;
    --shadow: #00000030 0px 0px 10px 0px;
    --shadowdark: #00000030 0px 5px 10px 5px;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Google Sans Flex", sans-serif;
    ;
    background-color: black;
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;
}

/* GRADIENT AND LAYER BLUR EFFECT */
#image-gradient {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -1;
}

.layer-blur {
    height: 0;
    width: 30rem;
    position: absolute;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 15px white;
    rotate: -30deg;
    z-index: -1;
}

#main {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

#main::before {
    content: "";
    z-index: -5;
    background: url(assets/cartographer.png);
    position: absolute;
    inset: 0;
}

/* NABAR */
nav {
    position: fixed;
    top: 0;
    display: flex;
    width: 100vw;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 5rem;
    background-color: #181818;
    background-image: url("assets/cartographer.png");
    z-index: 500;
}

.logo {
    height: 40px;
    width: 183px;
}

/* #main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    background-image: url('assets/gradient.png');
    background-color: #008c8c;
    background-image: url("https://www.transparenttextures.com/patterns/batthern.png");
    This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you!
    background-color: #181818;
    background-size: cover;
    opacity: 0.95;
    z-index: -1;
    top: 0;
    right: 0;
    opacity: 0.5;
} */

nav h1 {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
}

#nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
    /* margin-left: -5%; */
    list-style: none;
}

#nav-menu a {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: #E7E7E7;
}

#nav-menu li {
    z-index: 999;
}

#nav-menu li:hover {
    color: #a7a7a7;
}

.navbar-toggle {
    display: none;
    background: transparent;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: #fff;
    transition: all 0.3s ease-in-out;
}

.btn-contact {
    background-color: #a7a7a7;
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
    z-index: 999;
}

.btn-contact {
    background-color: white;
}

/* MAIN CONTENT */
#header-container {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}

#content {
    max-width: 40rem;
    margin-left: 10%;
    margin-bottom: 200px;
}

.tag-box {
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes animationGradient {
    to {
        background-position: 200%;
    }
}

.tag-box .tag {
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
    cursor: pointer;
}

.tag-box .tag:hover {
    color: #5300a0;
}

.content h1 {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.description {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    max-width: 35rem;
    color: gray;
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-get-started {
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    transition: background-color 0.2s ease;
    color: white;
}

.btn-get-started:hover {
    background-color: #1a1a1a;
}

.btn-signing-main {
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    transition: background-color 0.2s ease;
    background-color: lightgrey;
    color: black;
}

#robot-3d {
    position: absolute;
    top: 0;
    max-height: 100vh;
    /* z-index: -5; */
    right: -20%;
}

/* FOOTER */

#footer {
    width: 80vw;
    margin: auto;
    border-radius: 25px;
    background-color: whitesmoke;
    padding: 50px;
    border: 1px solid #EAEAEA;
    color: black;
}

#footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-content-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-content-left ul,
#footer-tnc ul {
    display: flex;
    gap: 15px;
    color: black;
}

.footer-content-left i {
    color: black;
    font-size: 16px;
}

.footer-content-left{
    font-size: 14px;
}

.footer-content-right table {
    border-spacing: 5vw 10px;
    font-size: 12px;
}

.footer-content-right td,
.footer-content-left,
#footer-tnc a,
#footer-tnc div {
    color: var(--font-secondary);
}

.footer-content-right td a{
    text-decoration: none;
    color: var(--font-secondary);
}

.footer-content-right td th {
    text-align: left;
}

#footer-tnc {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 14px;
}

/* LOGO FLEX */
#logo-flex {
    position: relative;
    height: 11vw;
    overflow: hidden;
}

#logo-flex img {
    position: absolute;
    width: 90vw;
    height: 20vw;
    align-self: center;
    left: 50%;
    transform: translateX(-50%);
}

/* WHATSAPP CONNECT */
#whatsapp-connect {
    position: fixed;
    height: 60px;
    bottom: 2vw;
    right: 2vw;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: lightgreen;
    border-radius: 30px;
    color: white;
    aspect-ratio: 1/1;
    box-shadow: rgb(255 255 255 / 19%) 0px 10px 20px, rgb(255 255 255 / 23%) 0px 6px 6px;
}

#whatsapp-connect:hover {
    cursor: pointer;
}

/* TABLET RESPONSIVE */
@media (max-width: 1300px) {
    #navbar {
        padding: 1rem 0.5rem;
    }

    #content {
        margin-top: 85%;
    }

    #robot-3d {
        scale: 0.8;
        top: -20%;
        right: 2%;
    }
}

@media (max-width: 900px) {
    nav{
        justify-content: space-between;
    }
    #nav-menu{
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.7rem !important;
        position: absolute;
        height: 100vh;
        width: 250px;
        top: 0;
        left: 0;
        padding: 5rem 1.5rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
    }
    #nav-menu.active {
        display: flex;        
    }

    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .navbar-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .navbar-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navbar-toggle{
        display: block;
        z-index: 500;
    }
    #navbar .logo{
        margin-right: -15%;
    }
    .btn-contact{
        padding: 0.4rem 1rem;
    }

    #footer {
        padding: 4vw;
    }

    #footer-content, #footer-tnc {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    #footer-content-left {
        width: 100%;
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    #navbar {
        padding: 0.8rem 0.1rem;
    }

    #navbar h1 {
        font-size: 2rem;
    }

    .btn-signing {
        padding: 0.6rem 1.5rem;
    }

    #content {
        margin-top: 25rem;
        max-width: 30rem;
        margin-left: 10%;
    }

    #robot-3d {
        scale: 0.5;
        top: -25%;
        right: 0;
    }

    #content {
        max-width: 30rem;
        margin-left: 10%;
    }

    .tag-box {
        width: 12rem;
    }

    #content h1 {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .btn-get-started {
        font-size: 0.8rem;
        padding: 0.8rem 1.2rem;
    }

    .btn-signing-main {
        font-size: 0.8rem;
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 600px) {
    #navbar .btn-contact{
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
    #navbar .logo{
        height: 30px;
        width: 137px;
    }
    #footer{
        width: 100%;
    }
}